node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 6, 6, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 41, 13, 20, 41, 13, 2, 40, 17, 18, 13, 13, 28, 13, 13, 30, 30, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 0, 2 ], [ 0, 3 ], [ 3, 4 ], [ 3, 5 ], [ 0, 6 ], [ 6, 7 ], [ 6, 8 ], [ 0, 9 ], [ 9, 10 ], [ 9, 11 ], [ 0, 12 ], [ 107, 13 ], [ 107, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 18, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 18, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 18, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 18, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 18, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 18, 65 ], [ 65, 66 ], [ 65, 67 ], [ 18, 68 ], [ 68, 69 ], [ 68, 70 ], [ 18, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 76, 78 ], [ 18, 79 ], [ 79, 80 ], [ 79, 81 ], [ 79, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 84, 87 ], [ 88, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 91, 95 ], [ 95, 96 ], [ 95, 97 ], [ 18, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 14, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\t\t\tString[] arr = data.split(\" \");\n\t\t\tlong a = Long.parseLong(arr[0]);\n\t\t\tlong b = Long.parseLong(arr[1]);\n\t\t\tlong c = Long.parseLong(arr[2]);\n\t\t\tlong d = Long.parseLong(arr[3]);\n\n\t\t\tList<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tList<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlong ans = -1 * Long.MAX_VALUE;\n\t\t\tfor (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t}", "ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\t\t\tString[] arr = data.split(\" \");\n\t\t\tlong a = Long.parseLong(arr[0]);\n\t\t\tlong b = Long.parseLong(arr[1]);\n\t\t\tlong c = Long.parseLong(arr[2]);\n\t\t\tlong d = Long.parseLong(arr[3]);\n\n\t\t\tList<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tList<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlong ans = -1 * Long.MAX_VALUE;\n\t\t\tfor (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\t\t\tString[] arr = data.split(\" \");\n\t\t\tlong a = Long.parseLong(arr[0]);\n\t\t\tlong b = Long.parseLong(arr[1]);\n\t\t\tlong c = Long.parseLong(arr[2]);\n\t\t\tlong d = Long.parseLong(arr[3]);\n\n\t\t\tList<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tList<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlong ans = -1 * Long.MAX_VALUE;\n\t\t\tfor (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\t\t\tString[] arr = data.split(\" \");\n\t\t\tlong a = Long.parseLong(arr[0]);\n\t\t\tlong b = Long.parseLong(arr[1]);\n\t\t\tlong c = Long.parseLong(arr[2]);\n\t\t\tlong d = Long.parseLong(arr[3]);\n\n\t\t\tList<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tList<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlong ans = -1 * Long.MAX_VALUE;\n\t\t\tfor (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "try(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\t\t\tString[] arr = data.split(\" \");\n\t\t\tlong a = Long.parseLong(arr[0]);\n\t\t\tlong b = Long.parseLong(arr[1]);\n\t\t\tlong c = Long.parseLong(arr[2]);\n\t\t\tlong d = Long.parseLong(arr[3]);\n\n\t\t\tList<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tList<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlong ans = -1 * Long.MAX_VALUE;\n\t\t\tfor (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\t\t}", "{\n\t\t\tString data = scanner.nextLine();\n\t\t\tString[] arr = data.split(\" \");\n\t\t\tlong a = Long.parseLong(arr[0]);\n\t\t\tlong b = Long.parseLong(arr[1]);\n\t\t\tlong c = Long.parseLong(arr[2]);\n\t\t\tlong d = Long.parseLong(arr[3]);\n\n\t\t\tList<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tList<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlong ans = -1 * Long.MAX_VALUE;\n\t\t\tfor (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\t\t}", "Scanner scanner = new Scanner(System.in)", "Scanner scanner = new Scanner(System.in)", "new Scanner(System.in)", "String data = scanner.nextLine();", "data", "scanner.nextLine()", "scanner.nextLine", "scanner", "String[] arr = data.split(\" \");", "arr", "data.split(\" \")", "data.split", "data", "\" \"", "long a = Long.parseLong(arr[0]);", "a", "Long.parseLong(arr[0])", "Long.parseLong", "Long", "arr[0]", "arr", "0", "long b = Long.parseLong(arr[1]);", "b", "Long.parseLong(arr[1])", "Long.parseLong", "Long", "arr[1]", "arr", "1", "long c = Long.parseLong(arr[2]);", "c", "Long.parseLong(arr[2])", "Long.parseLong", "Long", "arr[2]", "arr", "2", "long d = Long.parseLong(arr[3]);", "d", "Long.parseLong(arr[3])", "Long.parseLong", "Long", "arr[3]", "arr", "3", "List<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};", "xList", "new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t}", "List<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};", "yList", "new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t}", "long ans = -1 * Long.MAX_VALUE;", "ans", "-1 * Long.MAX_VALUE", "-1", "1", "Long.MAX_VALUE", "Long", "Long.MAX_VALUE", "for (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}", "Long x", "xList", "{\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}", "for (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}", "Long y", "yList", "{\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}", "{\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}", "ans = Math.max(ans, x * y)", "ans", "Math.max(ans, x * y)", "Math.max", "Math", "ans", "x * y", "x", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\t\t\tString[] arr = data.split(\" \");\n\t\t\tlong a = Long.parseLong(arr[0]);\n\t\t\tlong b = Long.parseLong(arr[1]);\n\t\t\tlong c = Long.parseLong(arr[2]);\n\t\t\tlong d = Long.parseLong(arr[3]);\n\n\t\t\tList<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tList<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlong ans = -1 * Long.MAX_VALUE;\n\t\t\tfor (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)) {\n\t\t\tString data = scanner.nextLine();\n\t\t\tString[] arr = data.split(\" \");\n\t\t\tlong a = Long.parseLong(arr[0]);\n\t\t\tlong b = Long.parseLong(arr[1]);\n\t\t\tlong c = Long.parseLong(arr[2]);\n\t\t\tlong d = Long.parseLong(arr[3]);\n\n\t\t\tList<Long> xList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(a);\n\t\t\t\t\tadd(b);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tList<Long> yList = new ArrayList<Long>() {\n\t\t\t\t{\n\t\t\t\t\tadd(c);\n\t\t\t\t\tadd(d);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tlong ans = -1 * Long.MAX_VALUE;\n\t\t\tfor (Long x : xList) {\n\t\t\t\tfor (Long y : yList) {\n\n\t\t\t\t\tans = Math.max(ans, x * y);\n\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { try(Scanner scanner = new Scanner(System.in)) { String data = scanner.nextLine(); String[] arr = data.split(" "); long a = Long.parseLong(arr[0]); long b = Long.parseLong(arr[1]); long c = Long.parseLong(arr[2]); long d = Long.parseLong(arr[3]); List<Long> xList = new ArrayList<Long>() { { add(a); add(b); } }; List<Long> yList = new ArrayList<Long>() { { add(c); add(d); } }; long ans = -1 * Long.MAX_VALUE; for (Long x : xList) { for (Long y : yList) { ans = Math.max(ans, x * y); } } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 8, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 71, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\n\n/**\n * @author yadavd5\n *\n */\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong first= a*c;\n\t\tlong second = a*d;\n\t\tlong third = b*c;\n\t\tlong fourth = b*d;\n\t\tlong firstmax = Math.max(first, second);\n\t\tlong secondman = Math.max(third, fourth);\n\t\tSystem.out.println(Math.max(firstmax, secondman));\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong first= a*c;\n\t\tlong second = a*d;\n\t\tlong third = b*c;\n\t\tlong fourth = b*d;\n\t\tlong firstmax = Math.max(first, second);\n\t\tlong secondman = Math.max(third, fourth);\n\t\tSystem.out.println(Math.max(firstmax, secondman));\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong first= a*c;\n\t\tlong second = a*d;\n\t\tlong third = b*c;\n\t\tlong fourth = b*d;\n\t\tlong firstmax = Math.max(first, second);\n\t\tlong secondman = Math.max(third, fourth);\n\t\tSystem.out.println(Math.max(firstmax, secondman));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong first= a*c;\n\t\tlong second = a*d;\n\t\tlong third = b*c;\n\t\tlong fourth = b*d;\n\t\tlong firstmax = Math.max(first, second);\n\t\tlong secondman = Math.max(third, fourth);\n\t\tSystem.out.println(Math.max(firstmax, secondman));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long first= a*c;", "first", "a*c", "a", "c", "long second = a*d;", "second", "a*d", "a", "d", "long third = b*c;", "third", "b*c", "b", "c", "long fourth = b*d;", "fourth", "b*d", "b", "d", "long firstmax = Math.max(first, second);", "firstmax", "Math.max(first, second)", "Math.max", "Math", "first", "second", "long secondman = Math.max(third, fourth);", "secondman", "Math.max(third, fourth)", "Math.max", "Math", "third", "fourth", "System.out.println(Math.max(firstmax, secondman))", "System.out.println", "System.out", "System", "System.out", "Math.max(firstmax, secondman)", "Math.max", "Math", "firstmax", "secondman", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong first= a*c;\n\t\tlong second = a*d;\n\t\tlong third = b*c;\n\t\tlong fourth = b*d;\n\t\tlong firstmax = Math.max(first, second);\n\t\tlong secondman = Math.max(third, fourth);\n\t\tSystem.out.println(Math.max(firstmax, secondman));\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong first= a*c;\n\t\tlong second = a*d;\n\t\tlong third = b*c;\n\t\tlong fourth = b*d;\n\t\tlong firstmax = Math.max(first, second);\n\t\tlong secondman = Math.max(third, fourth);\n\t\tSystem.out.println(Math.max(firstmax, secondman));\n\t}\n\n}", "Main" ]
import java.util.Scanner; /** * @author yadavd5 * */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long first= a*c; long second = a*d; long third = b*c; long fourth = b*d; long firstmax = Math.max(first, second); long secondman = Math.max(third, fourth); System.out.println(Math.max(firstmax, secondman)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 0, 13, 4, 13, 13, 2, 13, 13, 0, 13, 4, 13, 13, 2, 13, 13, 0, 13, 4, 13, 13, 2, 13, 13, 0, 13, 4, 13, 13, 2, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 17, 40, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 29, 4, 13, 13, 13, 29, 4, 13, 4, 13, 13, 13, 2, 4, 13, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 0, 13, 13, 0, 13, 17, 0, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 13, 13, 2, 13, 17, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 40, 13, 0, 13, 17, 29, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 6, 13, 41, 13, 20, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 572, 11 ], [ 572, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 14, 16 ], [ 572, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 19, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 19, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 19, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 19, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 19, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 19, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 19, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 74 ], [ 19, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 77, 80 ], [ 80, 81 ], [ 80, 82 ], [ 19, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 17, 87 ], [ 87, 88 ], [ 572, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 93, 97 ], [ 89, 98 ], [ 98, 99 ], [ 89, 100 ], [ 100, 101 ], [ 572, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 106, 110 ], [ 102, 111 ], [ 111, 112 ], [ 102, 113 ], [ 113, 114 ], [ 572, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 119, 123 ], [ 115, 124 ], [ 124, 125 ], [ 115, 126 ], [ 126, 127 ], [ 572, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 132, 136 ], [ 128, 137 ], [ 137, 138 ], [ 128, 139 ], [ 139, 140 ], [ 572, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 145, 149 ], [ 141, 150 ], [ 150, 151 ], [ 141, 152 ], [ 152, 153 ], [ 572, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 158, 162 ], [ 154, 163 ], [ 163, 164 ], [ 154, 165 ], [ 165, 166 ], [ 572, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 167, 175 ], [ 175, 176 ], [ 572, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 179, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 185, 191 ], [ 191, 192 ], [ 179, 193 ], [ 193, 194 ], [ 177, 195 ], [ 195, 196 ], [ 177, 197 ], [ 197, 198 ], [ 572, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 207, 208 ], [ 207, 209 ], [ 202, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 211, 214 ], [ 201, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 218, 220 ], [ 218, 221 ], [ 216, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 223, 226 ], [ 222, 227 ], [ 227, 228 ], [ 227, 229 ], [ 227, 230 ], [ 199, 231 ], [ 231, 232 ], [ 199, 233 ], [ 233, 234 ], [ 572, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 237, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 251 ], [ 246, 252 ], [ 252, 253 ], [ 252, 254 ], [ 245, 255 ], [ 255, 256 ], [ 255, 257 ], [ 245, 258 ], [ 258, 259 ], [ 258, 260 ], [ 245, 261 ], [ 261, 262 ], [ 261, 263 ], [ 245, 264 ], [ 264, 265 ], [ 264, 266 ], [ 237, 267 ], [ 267, 268 ], [ 235, 269 ], [ 269, 270 ], [ 235, 271 ], [ 271, 272 ], [ 235, 273 ], [ 273, 274 ], [ 572, 275 ], [ 275, 276 ], [ 275, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 279, 282 ], [ 282, 283 ], [ 282, 284 ], [ 279, 285 ], [ 275, 286 ], [ 286, 287 ], [ 275, 288 ], [ 288, 289 ], [ 572, 290 ], [ 290, 291 ], [ 290, 292 ], [ 292, 293 ], [ 293, 294 ], [ 293, 295 ], [ 292, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 296, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 302, 306 ], [ 301, 307 ], [ 307, 308 ], [ 300, 309 ], [ 309, 310 ], [ 309, 311 ], [ 292, 312 ], [ 312, 313 ], [ 290, 314 ], [ 314, 315 ], [ 572, 316 ], [ 316, 317 ], [ 316, 318 ], [ 318, 319 ], [ 318, 320 ], [ 316, 321 ], [ 321, 322 ], [ 321, 323 ], [ 316, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 327, 328 ], [ 328, 329 ], [ 329, 330 ], [ 330, 331 ], [ 327, 332 ], [ 332, 333 ], [ 333, 334 ], [ 333, 335 ], [ 335, 336 ], [ 336, 337 ], [ 337, 338 ], [ 332, 339 ], [ 339, 340 ], [ 340, 341 ], [ 340, 342 ], [ 326, 343 ], [ 343, 344 ], [ 344, 345 ], [ 345, 346 ], [ 316, 347 ], [ 347, 348 ], [ 347, 349 ], [ 349, 350 ], [ 350, 351 ], [ 351, 352 ], [ 352, 353 ], [ 351, 354 ], [ 354, 355 ], [ 316, 356 ], [ 356, 357 ], [ 356, 358 ], [ 358, 359 ], [ 359, 360 ], [ 360, 361 ], [ 361, 362 ], [ 360, 363 ], [ 363, 364 ], [ 316, 365 ], [ 365, 366 ], [ 365, 367 ], [ 367, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 369, 372 ], [ 372, 373 ], [ 572, 374 ], [ 374, 375 ], [ 374, 376 ], [ 376, 377 ], [ 376, 378 ], [ 374, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 382, 385 ], [ 381, 386 ], [ 386, 387 ], [ 387, 388 ], [ 379, 389 ], [ 389, 390 ], [ 374, 391 ], [ 391, 392 ], [ 391, 393 ], [ 393, 394 ], [ 394, 395 ], [ 395, 396 ], [ 394, 397 ], [ 393, 398 ], [ 398, 399 ], [ 399, 400 ], [ 391, 401 ], [ 401, 402 ], [ 374, 403 ], [ 403, 404 ], [ 403, 405 ], [ 405, 406 ], [ 406, 407 ], [ 407, 408 ], [ 406, 409 ], [ 405, 410 ], [ 410, 411 ], [ 411, 412 ], [ 403, 413 ], [ 413, 414 ], [ 374, 415 ], [ 415, 416 ], [ 415, 417 ], [ 417, 418 ], [ 418, 419 ], [ 419, 420 ], [ 418, 421 ], [ 417, 422 ], [ 422, 423 ], [ 423, 424 ], [ 415, 425 ], [ 425, 426 ], [ 374, 427 ], [ 427, 428 ], [ 427, 429 ], [ 429, 430 ], [ 430, 431 ], [ 431, 432 ], [ 430, 433 ], [ 429, 434 ], [ 434, 435 ], [ 435, 436 ], [ 427, 437 ], [ 437, 438 ], [ 374, 439 ], [ 439, 440 ], [ 439, 441 ], [ 441, 442 ], [ 442, 443 ], [ 443, 444 ], [ 442, 445 ], [ 441, 446 ], [ 446, 447 ], [ 447, 448 ], [ 439, 449 ], [ 449, 450 ], [ 374, 451 ], [ 451, 452 ], [ 451, 453 ], [ 453, 454 ], [ 454, 455 ], [ 455, 456 ], [ 454, 457 ], [ 453, 458 ], [ 458, 459 ], [ 459, 460 ], [ 451, 461 ], [ 461, 462 ], [ 374, 463 ], [ 463, 464 ], [ 463, 465 ], [ 465, 466 ], [ 466, 467 ], [ 467, 468 ], [ 466, 469 ], [ 465, 470 ], [ 470, 471 ], [ 471, 472 ], [ 463, 473 ], [ 473, 474 ], [ 374, 475 ], [ 475, 476 ], [ 475, 477 ], [ 477, 478 ], [ 478, 479 ], [ 479, 480 ], [ 478, 481 ], [ 477, 482 ], [ 482, 483 ], [ 483, 484 ], [ 475, 485 ], [ 485, 486 ], [ 374, 487 ], [ 487, 488 ], [ 487, 489 ], [ 489, 490 ], [ 490, 491 ], [ 491, 492 ], [ 490, 493 ], [ 489, 494 ], [ 494, 495 ], [ 495, 496 ], [ 487, 497 ], [ 497, 498 ], [ 374, 499 ], [ 499, 500 ], [ 499, 501 ], [ 501, 502 ], [ 502, 503 ], [ 503, 504 ], [ 502, 505 ], [ 501, 506 ], [ 506, 507 ], [ 507, 508 ], [ 499, 509 ], [ 509, 510 ], [ 374, 511 ], [ 511, 512 ], [ 511, 513 ], [ 513, 514 ], [ 514, 515 ], [ 515, 516 ], [ 514, 517 ], [ 513, 518 ], [ 518, 519 ], [ 519, 520 ], [ 511, 521 ], [ 521, 522 ], [ 374, 523 ], [ 523, 524 ], [ 523, 525 ], [ 525, 526 ], [ 526, 527 ], [ 527, 528 ], [ 526, 529 ], [ 525, 530 ], [ 530, 531 ], [ 531, 532 ], [ 523, 533 ], [ 533, 534 ], [ 374, 535 ], [ 535, 536 ], [ 535, 537 ], [ 537, 538 ], [ 538, 539 ], [ 539, 540 ], [ 538, 541 ], [ 537, 542 ], [ 542, 543 ], [ 543, 544 ], [ 535, 545 ], [ 545, 546 ], [ 374, 547 ], [ 547, 548 ], [ 547, 549 ], [ 549, 550 ], [ 550, 551 ], [ 551, 552 ], [ 550, 553 ], [ 549, 554 ], [ 554, 555 ], [ 555, 556 ], [ 547, 557 ], [ 557, 558 ], [ 374, 559 ], [ 559, 560 ], [ 559, 561 ], [ 561, 562 ], [ 562, 563 ], [ 563, 564 ], [ 562, 565 ], [ 561, 566 ], [ 566, 567 ], [ 567, 568 ], [ 559, 569 ], [ 569, 570 ], [ 0, 571 ], [ 571, 572 ], [ 571, 573 ] ]
[ "import java.io.*;\nimport java.math.*;\nimport java.util.*;\npublic class Main {\n\tstatic long mod = (long)(1e9+7);\n\tpublic static void main(String[] args) { //Ball out \n\t\t/*\n\t\t * */\n\t\tFastScanner I = new FastScanner(); //Input\n\t\tOutPut O = new OutPut(); //Output\n\t\tlong a = I.nextLong();\n\t\tlong b = I.nextLong();\n\t\tlong c = I.nextLong();\n\t\tlong d = I.nextLong();\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans=max(ans,a*c);\n\t\tans=max(ans,b*c);\n\t\tans=max(ans,a*d);\n\t\tans=max(ans,b*d);\n\t\tO.pln(ans);\n\t}\n\tpublic static double max(double a, double b) {return Math.max(a, b);}\n\tpublic static double min(double a, double b) {return Math.min(a, b);}\n\tpublic static long min(long a, long b) {return Math.min(a,b);}\n\tpublic static long max(long a, long b) {return Math.max(a,b);}\n\tpublic static int min(int a, int b) {return Math.min(a,b);}\n\tpublic static int max(int a, int b) {return Math.max(a,b);}\n\tpublic static long abs(long x) {return Math.abs(x);}\n\tpublic static long ceil(long num, long den) {long ans = num/den; if (num%den!=0) \n\tans++; return ans;}\n\tpublic static long GCD(long a, long b) {\n\t\tif (a==0||b==0) return max(a,b);\n\t\treturn GCD(min(a,b),max(a,b)%min(a,b));\n\t}\n\tpublic static long FastExp(long base, long exp, long mod) {\n\t\tlong ans=1;\n\t\twhile (exp>0) {\n\t\t\tif (exp%2==1) ans*=base;\n\t\t\texp/=2;\n\t\t\tbase*=base;\n\t\t\tbase%=mod;\n\t\t\tans%=mod;\n\t\t}\n\t\treturn ans;\n\t}\n\tpublic static long ModInv(long num,long mod) {return FastExp(num,mod-2,mod);}\n\tpublic static int pop(long x) { //Returns number of bits within a number\n\t\tint cnt = 0;\n\t\twhile (x>0) {\n\t\t\tif (x%2==1) cnt++;\n\t\t\tx/=2;\n\t\t}\n\t\treturn cnt;\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tint nextInt() {return Integer.parseInt(next());}\n\t\tlong nextLong() {return Long.parseLong(next());};\n\t\tdouble nextDouble() {return Double.parseDouble(next());}\n\t}\n\tstatic class OutPut{\n\t\tPrintWriter w = new PrintWriter(System.out);\n\t\tvoid pln(double x) {w.println(x);w.flush();}\n\t\tvoid pln(boolean x) {w.println(x);w.flush();}\n\t\tvoid pln(int x) {w.println(x);w.flush();}\n\t\tvoid pln(long x) {w.println(x);w.flush();}\n\t\tvoid pln(String x) {w.println(x);w.flush();}\n\t\tvoid pln(char x) {w.println(x);w.flush();}\n\t\tvoid pln(StringBuilder x) {w.println(x);w.flush();}\n\t\tvoid pln(BigInteger x) {w.println(x);w.flush();}\n\t\tvoid p(int x) {w.print(x);w.flush();}\n\t\tvoid p(long x) {w.print(x);w.flush();}\n\t\tvoid p(String x) {w.print(x);w.flush();}\n\t\tvoid p(char x) {w.print(x);w.flush();}\n\t\tvoid p(StringBuilder x) {w.print(x);w.flush();}\n\t\tvoid p(BigInteger x) {w.print(x);w.flush();}\n\t\tvoid p(double x) {w.print(x);w.flush();}\n\t\tvoid p(boolean x) {w.print(x);w.flush();}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic long mod = (long)(1e9+7);\n\tpublic static void main(String[] args) { //Ball out \n\t\t/*\n\t\t * */\n\t\tFastScanner I = new FastScanner(); //Input\n\t\tOutPut O = new OutPut(); //Output\n\t\tlong a = I.nextLong();\n\t\tlong b = I.nextLong();\n\t\tlong c = I.nextLong();\n\t\tlong d = I.nextLong();\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans=max(ans,a*c);\n\t\tans=max(ans,b*c);\n\t\tans=max(ans,a*d);\n\t\tans=max(ans,b*d);\n\t\tO.pln(ans);\n\t}\n\tpublic static double max(double a, double b) {return Math.max(a, b);}\n\tpublic static double min(double a, double b) {return Math.min(a, b);}\n\tpublic static long min(long a, long b) {return Math.min(a,b);}\n\tpublic static long max(long a, long b) {return Math.max(a,b);}\n\tpublic static int min(int a, int b) {return Math.min(a,b);}\n\tpublic static int max(int a, int b) {return Math.max(a,b);}\n\tpublic static long abs(long x) {return Math.abs(x);}\n\tpublic static long ceil(long num, long den) {long ans = num/den; if (num%den!=0) \n\tans++; return ans;}\n\tpublic static long GCD(long a, long b) {\n\t\tif (a==0||b==0) return max(a,b);\n\t\treturn GCD(min(a,b),max(a,b)%min(a,b));\n\t}\n\tpublic static long FastExp(long base, long exp, long mod) {\n\t\tlong ans=1;\n\t\twhile (exp>0) {\n\t\t\tif (exp%2==1) ans*=base;\n\t\t\texp/=2;\n\t\t\tbase*=base;\n\t\t\tbase%=mod;\n\t\t\tans%=mod;\n\t\t}\n\t\treturn ans;\n\t}\n\tpublic static long ModInv(long num,long mod) {return FastExp(num,mod-2,mod);}\n\tpublic static int pop(long x) { //Returns number of bits within a number\n\t\tint cnt = 0;\n\t\twhile (x>0) {\n\t\t\tif (x%2==1) cnt++;\n\t\t\tx/=2;\n\t\t}\n\t\treturn cnt;\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tint nextInt() {return Integer.parseInt(next());}\n\t\tlong nextLong() {return Long.parseLong(next());};\n\t\tdouble nextDouble() {return Double.parseDouble(next());}\n\t}\n\tstatic class OutPut{\n\t\tPrintWriter w = new PrintWriter(System.out);\n\t\tvoid pln(double x) {w.println(x);w.flush();}\n\t\tvoid pln(boolean x) {w.println(x);w.flush();}\n\t\tvoid pln(int x) {w.println(x);w.flush();}\n\t\tvoid pln(long x) {w.println(x);w.flush();}\n\t\tvoid pln(String x) {w.println(x);w.flush();}\n\t\tvoid pln(char x) {w.println(x);w.flush();}\n\t\tvoid pln(StringBuilder x) {w.println(x);w.flush();}\n\t\tvoid pln(BigInteger x) {w.println(x);w.flush();}\n\t\tvoid p(int x) {w.print(x);w.flush();}\n\t\tvoid p(long x) {w.print(x);w.flush();}\n\t\tvoid p(String x) {w.print(x);w.flush();}\n\t\tvoid p(char x) {w.print(x);w.flush();}\n\t\tvoid p(StringBuilder x) {w.print(x);w.flush();}\n\t\tvoid p(BigInteger x) {w.print(x);w.flush();}\n\t\tvoid p(double x) {w.print(x);w.flush();}\n\t\tvoid p(boolean x) {w.print(x);w.flush();}\n\t}\n}", "Main", "static long mod = (long)(1e9+7);", "mod", "(long)(1e9+7)", "1e9", "7", "public static void main(String[] args) { //Ball out \n\t\t/*\n\t\t * */\n\t\tFastScanner I = new FastScanner(); //Input\n\t\tOutPut O = new OutPut(); //Output\n\t\tlong a = I.nextLong();\n\t\tlong b = I.nextLong();\n\t\tlong c = I.nextLong();\n\t\tlong d = I.nextLong();\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans=max(ans,a*c);\n\t\tans=max(ans,b*c);\n\t\tans=max(ans,a*d);\n\t\tans=max(ans,b*d);\n\t\tO.pln(ans);\n\t}", "main", "{ //Ball out \n\t\t/*\n\t\t * */\n\t\tFastScanner I = new FastScanner(); //Input\n\t\tOutPut O = new OutPut(); //Output\n\t\tlong a = I.nextLong();\n\t\tlong b = I.nextLong();\n\t\tlong c = I.nextLong();\n\t\tlong d = I.nextLong();\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans=max(ans,a*c);\n\t\tans=max(ans,b*c);\n\t\tans=max(ans,a*d);\n\t\tans=max(ans,b*d);\n\t\tO.pln(ans);\n\t}", "FastScanner I = new FastScanner();", "I", "new FastScanner()", "OutPut O = new OutPut();", "O", "new OutPut()", "long a = I.nextLong();", "a", "I.nextLong()", "I.nextLong", "I", "long b = I.nextLong();", "b", "I.nextLong()", "I.nextLong", "I", "long c = I.nextLong();", "c", "I.nextLong()", "I.nextLong", "I", "long d = I.nextLong();", "d", "I.nextLong()", "I.nextLong", "I", "long ans = Long.MIN_VALUE;", "ans", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "ans=max(ans,a*c)", "ans", "max(ans,a*c)", "max", "ans", "a*c", "a", "c", "ans=max(ans,b*c)", "ans", "max(ans,b*c)", "max", "ans", "b*c", "b", "c", "ans=max(ans,a*d)", "ans", "max(ans,a*d)", "max", "ans", "a*d", "a", "d", "ans=max(ans,b*d)", "ans", "max(ans,b*d)", "max", "ans", "b*d", "b", "d", "O.pln(ans)", "O.pln", "O", "ans", "String[] args", "args", "public static double max(double a, double b) {return Math.max(a, b);}", "max", "{return Math.max(a, b);}", "return Math.max(a, b);", "Math.max(a, b)", "Math.max", "Math", "a", "b", "double a", "a", "double b", "b", "public static double min(double a, double b) {return Math.min(a, b);}", "min", "{return Math.min(a, b);}", "return Math.min(a, b);", "Math.min(a, b)", "Math.min", "Math", "a", "b", "double a", "a", "double b", "b", "public static long min(long a, long b) {return Math.min(a,b);}", "min", "{return Math.min(a,b);}", "return Math.min(a,b);", "Math.min(a,b)", "Math.min", "Math", "a", "b", "long a", "a", "long b", "b", "public static long max(long a, long b) {return Math.max(a,b);}", "max", "{return Math.max(a,b);}", "return Math.max(a,b);", "Math.max(a,b)", "Math.max", "Math", "a", "b", "long a", "a", "long b", "b", "public static int min(int a, int b) {return Math.min(a,b);}", "min", "{return Math.min(a,b);}", "return Math.min(a,b);", "Math.min(a,b)", "Math.min", "Math", "a", "b", "int a", "a", "int b", "b", "public static int max(int a, int b) {return Math.max(a,b);}", "max", "{return Math.max(a,b);}", "return Math.max(a,b);", "Math.max(a,b)", "Math.max", "Math", "a", "b", "int a", "a", "int b", "b", "public static long abs(long x) {return Math.abs(x);}", "abs", "{return Math.abs(x);}", "return Math.abs(x);", "Math.abs(x)", "Math.abs", "Math", "x", "long x", "x", "public static long ceil(long num, long den) {long ans = num/den; if (num%den!=0) \n\tans++; return ans;}", "ceil", "{long ans = num/den; if (num%den!=0) \n\tans++; return ans;}", "long ans = num/den;", "ans", "num/den", "num", "den", "if (num%den!=0) \n\tans++;", "num%den!=0", "num%den", "num", "den", "0", "ans++", "ans", "return ans;", "ans", "long num", "num", "long den", "den", "public static long GCD(long a, long b) {\n\t\tif (a==0||b==0) return max(a,b);\n\t\treturn GCD(min(a,b),max(a,b)%min(a,b));\n\t}", "GCD", "{\n\t\tif (a==0||b==0) return max(a,b);\n\t\treturn GCD(min(a,b),max(a,b)%min(a,b));\n\t}", "if (a==0||b==0) return max(a,b);", "a==0||b==0", "a==0", "a", "0", "b==0", "b", "0", "return max(a,b);", "max(a,b)", "max", "a", "b", "return GCD(min(a,b),max(a,b)%min(a,b));", "GCD(min(a,b),max(a,b)%min(a,b))", "GCD", "min(a,b)", "min", "a", "b", "max(a,b)%min(a,b)", "max(a,b)", "max", "a", "b", "min(a,b)", "min", "a", "b", "long a", "a", "long b", "b", "public static long FastExp(long base, long exp, long mod) {\n\t\tlong ans=1;\n\t\twhile (exp>0) {\n\t\t\tif (exp%2==1) ans*=base;\n\t\t\texp/=2;\n\t\t\tbase*=base;\n\t\t\tbase%=mod;\n\t\t\tans%=mod;\n\t\t}\n\t\treturn ans;\n\t}", "FastExp", "{\n\t\tlong ans=1;\n\t\twhile (exp>0) {\n\t\t\tif (exp%2==1) ans*=base;\n\t\t\texp/=2;\n\t\t\tbase*=base;\n\t\t\tbase%=mod;\n\t\t\tans%=mod;\n\t\t}\n\t\treturn ans;\n\t}", "long ans=1;", "ans", "1", "while (exp>0) {\n\t\t\tif (exp%2==1) ans*=base;\n\t\t\texp/=2;\n\t\t\tbase*=base;\n\t\t\tbase%=mod;\n\t\t\tans%=mod;\n\t\t}", "exp>0", "exp", "0", "{\n\t\t\tif (exp%2==1) ans*=base;\n\t\t\texp/=2;\n\t\t\tbase*=base;\n\t\t\tbase%=mod;\n\t\t\tans%=mod;\n\t\t}", "if (exp%2==1) ans*=base;", "exp%2==1", "exp%2", "exp", "2", "1", "ans*=base", "ans", "base", "exp/=2", "exp", "2", "base*=base", "base", "base", "base%=mod", "base", "mod", "ans%=mod", "ans", "mod", "return ans;", "ans", "long base", "base", "long exp", "exp", "long mod", "mod", "public static long ModInv(long num,long mod) {return FastExp(num,mod-2,mod);}", "ModInv", "{return FastExp(num,mod-2,mod);}", "return FastExp(num,mod-2,mod);", "FastExp(num,mod-2,mod)", "FastExp", "num", "mod-2", "mod", "2", "mod", "long num", "num", "long mod", "mod", "public static int pop(long x) { //Returns number of bits within a number\n\t\tint cnt = 0;\n\t\twhile (x>0) {\n\t\t\tif (x%2==1) cnt++;\n\t\t\tx/=2;\n\t\t}\n\t\treturn cnt;\n\t}", "pop", "{ //Returns number of bits within a number\n\t\tint cnt = 0;\n\t\twhile (x>0) {\n\t\t\tif (x%2==1) cnt++;\n\t\t\tx/=2;\n\t\t}\n\t\treturn cnt;\n\t}", "int cnt = 0;", "cnt", "0", "while (x>0) {\n\t\t\tif (x%2==1) cnt++;\n\t\t\tx/=2;\n\t\t}", "x>0", "x", "0", "{\n\t\t\tif (x%2==1) cnt++;\n\t\t\tx/=2;\n\t\t}", "if (x%2==1) cnt++;", "x%2==1", "x%2", "x", "2", "1", "cnt++", "cnt", "x/=2", "x", "2", "return cnt;", "cnt", "long x", "x", "static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tint nextInt() {return Integer.parseInt(next());}\n\t\tlong nextLong() {return Long.parseLong(next());};\n\t\tdouble nextDouble() {return Double.parseDouble(next());}\n\t}", "FastScanner", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st=new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}", "st=new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {return Integer.parseInt(next());}", "nextInt", "{return Integer.parseInt(next());}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {return Long.parseLong(next());}", "nextLong", "{return Long.parseLong(next());}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {return Double.parseDouble(next());}", "nextDouble", "{return Double.parseDouble(next());}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "static class OutPut{\n\t\tPrintWriter w = new PrintWriter(System.out);\n\t\tvoid pln(double x) {w.println(x);w.flush();}\n\t\tvoid pln(boolean x) {w.println(x);w.flush();}\n\t\tvoid pln(int x) {w.println(x);w.flush();}\n\t\tvoid pln(long x) {w.println(x);w.flush();}\n\t\tvoid pln(String x) {w.println(x);w.flush();}\n\t\tvoid pln(char x) {w.println(x);w.flush();}\n\t\tvoid pln(StringBuilder x) {w.println(x);w.flush();}\n\t\tvoid pln(BigInteger x) {w.println(x);w.flush();}\n\t\tvoid p(int x) {w.print(x);w.flush();}\n\t\tvoid p(long x) {w.print(x);w.flush();}\n\t\tvoid p(String x) {w.print(x);w.flush();}\n\t\tvoid p(char x) {w.print(x);w.flush();}\n\t\tvoid p(StringBuilder x) {w.print(x);w.flush();}\n\t\tvoid p(BigInteger x) {w.print(x);w.flush();}\n\t\tvoid p(double x) {w.print(x);w.flush();}\n\t\tvoid p(boolean x) {w.print(x);w.flush();}\n\t}", "OutPut", "PrintWriter w = new PrintWriter(System.out);", "w", "new PrintWriter(System.out)", "void pln(double x) {w.println(x);w.flush();}", "pln", "{w.println(x);w.flush();}", "w.println(x)", "w.println", "w", "x", "w.flush()", "w.flush", "w", "double x", "x", "void pln(boolean x) {w.println(x);w.flush();}", "pln", "{w.println(x);w.flush();}", "w.println(x)", "w.println", "w", "x", "w.flush()", "w.flush", "w", "boolean x", "x", "void pln(int x) {w.println(x);w.flush();}", "pln", "{w.println(x);w.flush();}", "w.println(x)", "w.println", "w", "x", "w.flush()", "w.flush", "w", "int x", "x", "void pln(long x) {w.println(x);w.flush();}", "pln", "{w.println(x);w.flush();}", "w.println(x)", "w.println", "w", "x", "w.flush()", "w.flush", "w", "long x", "x", "void pln(String x) {w.println(x);w.flush();}", "pln", "{w.println(x);w.flush();}", "w.println(x)", "w.println", "w", "x", "w.flush()", "w.flush", "w", "String x", "x", "void pln(char x) {w.println(x);w.flush();}", "pln", "{w.println(x);w.flush();}", "w.println(x)", "w.println", "w", "x", "w.flush()", "w.flush", "w", "char x", "x", "void pln(StringBuilder x) {w.println(x);w.flush();}", "pln", "{w.println(x);w.flush();}", "w.println(x)", "w.println", "w", "x", "w.flush()", "w.flush", "w", "StringBuilder x", "x", "void pln(BigInteger x) {w.println(x);w.flush();}", "pln", "{w.println(x);w.flush();}", "w.println(x)", "w.println", "w", "x", "w.flush()", "w.flush", "w", "BigInteger x", "x", "void p(int x) {w.print(x);w.flush();}", "p", "{w.print(x);w.flush();}", "w.print(x)", "w.print", "w", "x", "w.flush()", "w.flush", "w", "int x", "x", "void p(long x) {w.print(x);w.flush();}", "p", "{w.print(x);w.flush();}", "w.print(x)", "w.print", "w", "x", "w.flush()", "w.flush", "w", "long x", "x", "void p(String x) {w.print(x);w.flush();}", "p", "{w.print(x);w.flush();}", "w.print(x)", "w.print", "w", "x", "w.flush()", "w.flush", "w", "String x", "x", "void p(char x) {w.print(x);w.flush();}", "p", "{w.print(x);w.flush();}", "w.print(x)", "w.print", "w", "x", "w.flush()", "w.flush", "w", "char x", "x", "void p(StringBuilder x) {w.print(x);w.flush();}", "p", "{w.print(x);w.flush();}", "w.print(x)", "w.print", "w", "x", "w.flush()", "w.flush", "w", "StringBuilder x", "x", "void p(BigInteger x) {w.print(x);w.flush();}", "p", "{w.print(x);w.flush();}", "w.print(x)", "w.print", "w", "x", "w.flush()", "w.flush", "w", "BigInteger x", "x", "void p(double x) {w.print(x);w.flush();}", "p", "{w.print(x);w.flush();}", "w.print(x)", "w.print", "w", "x", "w.flush()", "w.flush", "w", "double x", "x", "void p(boolean x) {w.print(x);w.flush();}", "p", "{w.print(x);w.flush();}", "w.print(x)", "w.print", "w", "x", "w.flush()", "w.flush", "w", "boolean x", "x", "public class Main {\n\tstatic long mod = (long)(1e9+7);\n\tpublic static void main(String[] args) { //Ball out \n\t\t/*\n\t\t * */\n\t\tFastScanner I = new FastScanner(); //Input\n\t\tOutPut O = new OutPut(); //Output\n\t\tlong a = I.nextLong();\n\t\tlong b = I.nextLong();\n\t\tlong c = I.nextLong();\n\t\tlong d = I.nextLong();\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans=max(ans,a*c);\n\t\tans=max(ans,b*c);\n\t\tans=max(ans,a*d);\n\t\tans=max(ans,b*d);\n\t\tO.pln(ans);\n\t}\n\tpublic static double max(double a, double b) {return Math.max(a, b);}\n\tpublic static double min(double a, double b) {return Math.min(a, b);}\n\tpublic static long min(long a, long b) {return Math.min(a,b);}\n\tpublic static long max(long a, long b) {return Math.max(a,b);}\n\tpublic static int min(int a, int b) {return Math.min(a,b);}\n\tpublic static int max(int a, int b) {return Math.max(a,b);}\n\tpublic static long abs(long x) {return Math.abs(x);}\n\tpublic static long ceil(long num, long den) {long ans = num/den; if (num%den!=0) \n\tans++; return ans;}\n\tpublic static long GCD(long a, long b) {\n\t\tif (a==0||b==0) return max(a,b);\n\t\treturn GCD(min(a,b),max(a,b)%min(a,b));\n\t}\n\tpublic static long FastExp(long base, long exp, long mod) {\n\t\tlong ans=1;\n\t\twhile (exp>0) {\n\t\t\tif (exp%2==1) ans*=base;\n\t\t\texp/=2;\n\t\t\tbase*=base;\n\t\t\tbase%=mod;\n\t\t\tans%=mod;\n\t\t}\n\t\treturn ans;\n\t}\n\tpublic static long ModInv(long num,long mod) {return FastExp(num,mod-2,mod);}\n\tpublic static int pop(long x) { //Returns number of bits within a number\n\t\tint cnt = 0;\n\t\twhile (x>0) {\n\t\t\tif (x%2==1) cnt++;\n\t\t\tx/=2;\n\t\t}\n\t\treturn cnt;\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tint nextInt() {return Integer.parseInt(next());}\n\t\tlong nextLong() {return Long.parseLong(next());};\n\t\tdouble nextDouble() {return Double.parseDouble(next());}\n\t}\n\tstatic class OutPut{\n\t\tPrintWriter w = new PrintWriter(System.out);\n\t\tvoid pln(double x) {w.println(x);w.flush();}\n\t\tvoid pln(boolean x) {w.println(x);w.flush();}\n\t\tvoid pln(int x) {w.println(x);w.flush();}\n\t\tvoid pln(long x) {w.println(x);w.flush();}\n\t\tvoid pln(String x) {w.println(x);w.flush();}\n\t\tvoid pln(char x) {w.println(x);w.flush();}\n\t\tvoid pln(StringBuilder x) {w.println(x);w.flush();}\n\t\tvoid pln(BigInteger x) {w.println(x);w.flush();}\n\t\tvoid p(int x) {w.print(x);w.flush();}\n\t\tvoid p(long x) {w.print(x);w.flush();}\n\t\tvoid p(String x) {w.print(x);w.flush();}\n\t\tvoid p(char x) {w.print(x);w.flush();}\n\t\tvoid p(StringBuilder x) {w.print(x);w.flush();}\n\t\tvoid p(BigInteger x) {w.print(x);w.flush();}\n\t\tvoid p(double x) {w.print(x);w.flush();}\n\t\tvoid p(boolean x) {w.print(x);w.flush();}\n\t}\n}", "public class Main {\n\tstatic long mod = (long)(1e9+7);\n\tpublic static void main(String[] args) { //Ball out \n\t\t/*\n\t\t * */\n\t\tFastScanner I = new FastScanner(); //Input\n\t\tOutPut O = new OutPut(); //Output\n\t\tlong a = I.nextLong();\n\t\tlong b = I.nextLong();\n\t\tlong c = I.nextLong();\n\t\tlong d = I.nextLong();\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans=max(ans,a*c);\n\t\tans=max(ans,b*c);\n\t\tans=max(ans,a*d);\n\t\tans=max(ans,b*d);\n\t\tO.pln(ans);\n\t}\n\tpublic static double max(double a, double b) {return Math.max(a, b);}\n\tpublic static double min(double a, double b) {return Math.min(a, b);}\n\tpublic static long min(long a, long b) {return Math.min(a,b);}\n\tpublic static long max(long a, long b) {return Math.max(a,b);}\n\tpublic static int min(int a, int b) {return Math.min(a,b);}\n\tpublic static int max(int a, int b) {return Math.max(a,b);}\n\tpublic static long abs(long x) {return Math.abs(x);}\n\tpublic static long ceil(long num, long den) {long ans = num/den; if (num%den!=0) \n\tans++; return ans;}\n\tpublic static long GCD(long a, long b) {\n\t\tif (a==0||b==0) return max(a,b);\n\t\treturn GCD(min(a,b),max(a,b)%min(a,b));\n\t}\n\tpublic static long FastExp(long base, long exp, long mod) {\n\t\tlong ans=1;\n\t\twhile (exp>0) {\n\t\t\tif (exp%2==1) ans*=base;\n\t\t\texp/=2;\n\t\t\tbase*=base;\n\t\t\tbase%=mod;\n\t\t\tans%=mod;\n\t\t}\n\t\treturn ans;\n\t}\n\tpublic static long ModInv(long num,long mod) {return FastExp(num,mod-2,mod);}\n\tpublic static int pop(long x) { //Returns number of bits within a number\n\t\tint cnt = 0;\n\t\twhile (x>0) {\n\t\t\tif (x%2==1) cnt++;\n\t\t\tx/=2;\n\t\t}\n\t\treturn cnt;\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tint nextInt() {return Integer.parseInt(next());}\n\t\tlong nextLong() {return Long.parseLong(next());};\n\t\tdouble nextDouble() {return Double.parseDouble(next());}\n\t}\n\tstatic class OutPut{\n\t\tPrintWriter w = new PrintWriter(System.out);\n\t\tvoid pln(double x) {w.println(x);w.flush();}\n\t\tvoid pln(boolean x) {w.println(x);w.flush();}\n\t\tvoid pln(int x) {w.println(x);w.flush();}\n\t\tvoid pln(long x) {w.println(x);w.flush();}\n\t\tvoid pln(String x) {w.println(x);w.flush();}\n\t\tvoid pln(char x) {w.println(x);w.flush();}\n\t\tvoid pln(StringBuilder x) {w.println(x);w.flush();}\n\t\tvoid pln(BigInteger x) {w.println(x);w.flush();}\n\t\tvoid p(int x) {w.print(x);w.flush();}\n\t\tvoid p(long x) {w.print(x);w.flush();}\n\t\tvoid p(String x) {w.print(x);w.flush();}\n\t\tvoid p(char x) {w.print(x);w.flush();}\n\t\tvoid p(StringBuilder x) {w.print(x);w.flush();}\n\t\tvoid p(BigInteger x) {w.print(x);w.flush();}\n\t\tvoid p(double x) {w.print(x);w.flush();}\n\t\tvoid p(boolean x) {w.print(x);w.flush();}\n\t}\n}", "Main" ]
import java.io.*; import java.math.*; import java.util.*; public class Main { static long mod = (long)(1e9+7); public static void main(String[] args) { //Ball out /* * */ FastScanner I = new FastScanner(); //Input OutPut O = new OutPut(); //Output long a = I.nextLong(); long b = I.nextLong(); long c = I.nextLong(); long d = I.nextLong(); long ans = Long.MIN_VALUE; ans=max(ans,a*c); ans=max(ans,b*c); ans=max(ans,a*d); ans=max(ans,b*d); O.pln(ans); } public static double max(double a, double b) {return Math.max(a, b);} public static double min(double a, double b) {return Math.min(a, b);} public static long min(long a, long b) {return Math.min(a,b);} public static long max(long a, long b) {return Math.max(a,b);} public static int min(int a, int b) {return Math.min(a,b);} public static int max(int a, int b) {return Math.max(a,b);} public static long abs(long x) {return Math.abs(x);} public static long ceil(long num, long den) {long ans = num/den; if (num%den!=0) ans++; return ans;} public static long GCD(long a, long b) { if (a==0||b==0) return max(a,b); return GCD(min(a,b),max(a,b)%min(a,b)); } public static long FastExp(long base, long exp, long mod) { long ans=1; while (exp>0) { if (exp%2==1) ans*=base; exp/=2; base*=base; base%=mod; ans%=mod; } return ans; } public static long ModInv(long num,long mod) {return FastExp(num,mod-2,mod);} public static int pop(long x) { //Returns number of bits within a number int cnt = 0; while (x>0) { if (x%2==1) cnt++; x/=2; } return cnt; } static class FastScanner { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st=new StringTokenizer(""); String next() { while (!st.hasMoreTokens()) try { st=new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return st.nextToken(); } int nextInt() {return Integer.parseInt(next());} long nextLong() {return Long.parseLong(next());}; double nextDouble() {return Double.parseDouble(next());} } static class OutPut{ PrintWriter w = new PrintWriter(System.out); void pln(double x) {w.println(x);w.flush();} void pln(boolean x) {w.println(x);w.flush();} void pln(int x) {w.println(x);w.flush();} void pln(long x) {w.println(x);w.flush();} void pln(String x) {w.println(x);w.flush();} void pln(char x) {w.println(x);w.flush();} void pln(StringBuilder x) {w.println(x);w.flush();} void pln(BigInteger x) {w.println(x);w.flush();} void p(int x) {w.print(x);w.flush();} void p(long x) {w.print(x);w.flush();} void p(String x) {w.print(x);w.flush();} void p(char x) {w.print(x);w.flush();} void p(StringBuilder x) {w.print(x);w.flush();} void p(BigInteger x) {w.print(x);w.flush();} void p(double x) {w.print(x);w.flush();} void p(boolean x) {w.print(x);w.flush();} } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 20, 4, 18, 13, 4, 18, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 2, 40, 17, 17, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 13, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 13, 29, 13, 23, 13, 23, 13, 6, 13, 41, 13, 18, 13, 13, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 14, 2, 13, 13, 30, 29, 17, 30, 0, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 29, 17, 29, 17, 12, 13, 30, 14, 4, 13, 29, 18, 13, 40, 13, 29, 40, 17, 12, 13, 30, 29, 2, 2, 17, 13, 2, 13, 17, 23, 13, 12, 13, 30, 42, 2, 4, 13, 40, 4, 13, 18, 13, 13, 40, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 20, 41, 13, 4, 13, 42, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 17, 41, 13, 17, 41, 13, 4, 13, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 13, 14, 2, 2, 13, 17, 2, 17, 13, 30, 37, 20, 42, 17, 30, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 13, 17, 0, 13, 2, 13, 17, 14, 2, 2, 13, 40, 17, 40, 4, 13, 13, 30, 29, 8, 13, 40, 13, 13, 30, 37, 20, 0, 13, 4, 13, 12, 13, 30, 41, 13, 4, 13, 14, 2, 2, 13, 18, 13, 13, 2, 13, 18, 13, 13, 37, 20, 29, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ], [ 0, 64 ], [ 659, 65 ], [ 659, 66 ], [ 66, 67 ], [ 66, 68 ], [ 659, 69 ], [ 69, 70 ], [ 69, 71 ], [ 659, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 74, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 72, 86 ], [ 86, 87 ], [ 659, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 90, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 90, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 90, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 90, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 115, 119 ], [ 119, 120 ], [ 119, 121 ], [ 90, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 124, 128 ], [ 128, 129 ], [ 128, 130 ], [ 90, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 133, 137 ], [ 137, 138 ], [ 137, 139 ], [ 90, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 142, 146 ], [ 146, 147 ], [ 146, 148 ], [ 90, 149 ], [ 149, 150 ], [ 150, 151 ], [ 149, 152 ], [ 659, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 659, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 172, 174 ], [ 167, 175 ], [ 175, 176 ], [ 176, 177 ], [ 167, 178 ], [ 179, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 184, 185 ], [ 162, 186 ], [ 186, 187 ], [ 160, 188 ], [ 188, 189 ], [ 659, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 203, 204 ], [ 203, 205 ], [ 198, 206 ], [ 206, 207 ], [ 207, 208 ], [ 198, 209 ], [ 210, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 211, 216 ], [ 216, 217 ], [ 216, 218 ], [ 211, 219 ], [ 219, 220 ], [ 220, 221 ], [ 211, 222 ], [ 223, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 225, 229 ], [ 224, 230 ], [ 230, 231 ], [ 192, 232 ], [ 232, 233 ], [ 190, 234 ], [ 234, 235 ], [ 190, 236 ], [ 236, 237 ], [ 659, 238 ], [ 238, 239 ], [ 238, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 659, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 252, 257 ], [ 257, 258 ], [ 257, 259 ], [ 252, 260 ], [ 260, 261 ], [ 261, 262 ], [ 252, 263 ], [ 264, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 265, 269 ], [ 269, 270 ], [ 247, 271 ], [ 271, 272 ], [ 245, 273 ], [ 273, 274 ], [ 659, 275 ], [ 275, 276 ], [ 275, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 277, 283 ], [ 283, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 283, 288 ], [ 288, 289 ], [ 288, 290 ], [ 283, 291 ], [ 291, 292 ], [ 292, 293 ], [ 283, 294 ], [ 295, 295 ], [ 295, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 296, 301 ], [ 301, 302 ], [ 301, 303 ], [ 296, 304 ], [ 304, 305 ], [ 305, 306 ], [ 296, 307 ], [ 308, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 310, 314 ], [ 309, 315 ], [ 315, 316 ], [ 277, 317 ], [ 317, 318 ], [ 275, 319 ], [ 319, 320 ], [ 275, 321 ], [ 321, 322 ], [ 659, 323 ], [ 323, 324 ], [ 323, 325 ], [ 325, 326 ], [ 326, 327 ], [ 327, 328 ], [ 328, 329 ], [ 659, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 333, 334 ], [ 333, 335 ], [ 332, 337 ], [ 337, 338 ], [ 338, 339 ], [ 339, 340 ], [ 339, 341 ], [ 337, 342 ], [ 342, 343 ], [ 342, 344 ], [ 337, 345 ], [ 345, 346 ], [ 346, 347 ], [ 337, 348 ], [ 349, 349 ], [ 349, 350 ], [ 350, 351 ], [ 351, 352 ], [ 351, 353 ], [ 350, 354 ], [ 354, 355 ], [ 332, 356 ], [ 356, 357 ], [ 330, 358 ], [ 358, 359 ], [ 659, 360 ], [ 360, 361 ], [ 360, 362 ], [ 362, 363 ], [ 363, 364 ], [ 363, 365 ], [ 362, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 370, 372 ], [ 368, 373 ], [ 373, 374 ], [ 373, 375 ], [ 368, 376 ], [ 376, 377 ], [ 377, 378 ], [ 368, 379 ], [ 380, 380 ], [ 380, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 381, 386 ], [ 386, 387 ], [ 386, 388 ], [ 381, 389 ], [ 389, 390 ], [ 390, 391 ], [ 381, 392 ], [ 393, 393 ], [ 393, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 396, 398 ], [ 395, 399 ], [ 394, 400 ], [ 400, 401 ], [ 362, 402 ], [ 402, 403 ], [ 360, 404 ], [ 404, 405 ], [ 360, 406 ], [ 406, 407 ], [ 0, 408 ], [ 408, 409 ], [ 408, 410 ], [ 410, 411 ], [ 410, 412 ], [ 412, 413 ], [ 412, 414 ], [ 408, 415 ], [ 415, 416 ], [ 415, 417 ], [ 408, 419 ], [ 419, 420 ], [ 419, 421 ], [ 408, 422 ], [ 422, 423 ], [ 422, 424 ], [ 408, 425 ], [ 425, 426 ], [ 425, 427 ], [ 427, 428 ], [ 428, 429 ], [ 429, 430 ], [ 429, 431 ], [ 428, 432 ], [ 432, 433 ], [ 433, 434 ], [ 428, 435 ], [ 435, 436 ], [ 436, 437 ], [ 436, 438 ], [ 435, 439 ], [ 439, 440 ], [ 440, 441 ], [ 440, 442 ], [ 442, 443 ], [ 443, 444 ], [ 444, 445 ], [ 439, 446 ], [ 446, 447 ], [ 447, 448 ], [ 447, 449 ], [ 449, 450 ], [ 450, 451 ], [ 449, 452 ], [ 435, 453 ], [ 453, 454 ], [ 454, 455 ], [ 454, 456 ], [ 453, 457 ], [ 457, 458 ], [ 458, 459 ], [ 427, 460 ], [ 460, 461 ], [ 408, 462 ], [ 462, 463 ], [ 462, 464 ], [ 464, 465 ], [ 465, 466 ], [ 466, 467 ], [ 465, 468 ], [ 468, 469 ], [ 469, 470 ], [ 469, 471 ], [ 471, 472 ], [ 465, 473 ], [ 473, 474 ], [ 474, 475 ], [ 408, 476 ], [ 476, 477 ], [ 476, 478 ], [ 478, 479 ], [ 479, 480 ], [ 480, 481 ], [ 481, 482 ], [ 481, 483 ], [ 480, 484 ], [ 484, 485 ], [ 484, 486 ], [ 476, 487 ], [ 487, 488 ], [ 408, 489 ], [ 489, 490 ], [ 489, 491 ], [ 491, 492 ], [ 492, 493 ], [ 493, 494 ], [ 494, 495 ], [ 493, 496 ], [ 496, 497 ], [ 497, 498 ], [ 497, 499 ], [ 499, 500 ], [ 499, 501 ], [ 492, 502 ], [ 502, 503 ], [ 491, 504 ], [ 504, 505 ], [ 505, 506 ], [ 408, 507 ], [ 507, 508 ], [ 507, 509 ], [ 509, 510 ], [ 510, 511 ], [ 511, 512 ], [ 512, 513 ], [ 510, 514 ], [ 514, 515 ], [ 509, 516 ], [ 516, 517 ], [ 516, 518 ], [ 509, 519 ], [ 519, 520 ], [ 519, 521 ], [ 521, 522 ], [ 509, 523 ], [ 523, 524 ], [ 524, 525 ], [ 524, 526 ], [ 523, 527 ], [ 527, 528 ], [ 528, 529 ], [ 529, 530 ], [ 528, 531 ], [ 527, 532 ], [ 532, 533 ], [ 532, 534 ], [ 534, 535 ], [ 509, 536 ], [ 536, 537 ], [ 537, 538 ], [ 538, 539 ], [ 408, 540 ], [ 540, 541 ], [ 540, 542 ], [ 542, 543 ], [ 543, 544 ], [ 544, 545 ], [ 545, 546 ], [ 543, 547 ], [ 547, 548 ], [ 542, 549 ], [ 549, 550 ], [ 549, 551 ], [ 542, 552 ], [ 552, 553 ], [ 552, 554 ], [ 542, 555 ], [ 555, 556 ], [ 555, 557 ], [ 557, 558 ], [ 542, 559 ], [ 559, 560 ], [ 560, 561 ], [ 560, 562 ], [ 559, 563 ], [ 563, 564 ], [ 564, 565 ], [ 564, 566 ], [ 563, 567 ], [ 567, 568 ], [ 567, 569 ], [ 569, 570 ], [ 542, 571 ], [ 571, 572 ], [ 572, 573 ], [ 573, 574 ], [ 573, 575 ], [ 572, 576 ], [ 576, 577 ], [ 576, 578 ], [ 571, 579 ], [ 579, 580 ], [ 580, 581 ], [ 542, 582 ], [ 582, 583 ], [ 582, 584 ], [ 584, 585 ], [ 585, 586 ], [ 586, 587 ], [ 587, 588 ], [ 587, 589 ], [ 586, 590 ], [ 590, 591 ], [ 590, 592 ], [ 585, 593 ], [ 593, 594 ], [ 594, 595 ], [ 594, 596 ], [ 593, 597 ], [ 597, 598 ], [ 597, 599 ], [ 599, 600 ], [ 599, 601 ], [ 585, 602 ], [ 602, 603 ], [ 603, 604 ], [ 604, 605 ], [ 604, 606 ], [ 606, 607 ], [ 603, 608 ], [ 608, 609 ], [ 609, 610 ], [ 609, 611 ], [ 602, 612 ], [ 612, 613 ], [ 613, 614 ], [ 614, 615 ], [ 614, 616 ], [ 616, 617 ], [ 614, 618 ], [ 602, 619 ], [ 619, 620 ], [ 620, 621 ], [ 584, 622 ], [ 622, 623 ], [ 622, 624 ], [ 624, 625 ], [ 408, 626 ], [ 626, 627 ], [ 626, 628 ], [ 628, 629 ], [ 629, 630 ], [ 629, 631 ], [ 631, 632 ], [ 628, 633 ], [ 633, 634 ], [ 634, 635 ], [ 635, 636 ], [ 635, 637 ], [ 637, 638 ], [ 637, 639 ], [ 634, 640 ], [ 640, 641 ], [ 640, 642 ], [ 642, 643 ], [ 642, 644 ], [ 633, 645 ], [ 645, 646 ], [ 628, 647 ], [ 647, 648 ], [ 408, 649 ], [ 649, 650 ], [ 649, 651 ], [ 651, 652 ], [ 652, 653 ], [ 653, 654 ], [ 654, 655 ], [ 653, 656 ], [ 656, 657 ], [ 0, 658 ], [ 658, 659 ], [ 658, 660 ] ]
[ "import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.net.ConnectException;\nimport java.rmi.dgc.Lease;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Deque;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.NoSuchElementException;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.Stack;\nimport java.util.TreeMap;\nimport java.util.TreeSet;\n\nimport static java.util.Comparator.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tpublic void solve() {\n\t\tlong A = nl();\n\t\tlong B = nl();\n\t\tlong C = nl();\n\t\tlong D = nl();\n\t\tlong max = -(long)(1e18)-1;\n\t\tmax = Math.max(max, A * C);\n\t\tmax = Math.max(max, A * D);\n\t\tmax = Math.max(max, B * C);\n\t\tmax = Math.max(max, B * D);\n\t\tout.println(max);\n\t}\n\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}\nclass FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n\tprivate static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n\tpublic boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n\tpublic String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\tpublic long nextLong() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\tpublic double nextDouble() { return Double.parseDouble(next());}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.net.ConnectException;", "ConnectException", "java.net", "import java.rmi.dgc.Lease;", "Lease", "java.rmi.dgc", "import java.util.ArrayDeque;", "ArrayDeque", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Deque;", "Deque", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.NoSuchElementException;", "NoSuchElementException", "java.util", "import java.util.Objects;", "Objects", "java.util", "import java.util.Set;", "Set", "java.util", "import java.util.Stack;", "Stack", "java.util", "import java.util.TreeMap;", "TreeMap", "java.util", "import java.util.TreeSet;", "TreeSet", "java.util", "import static java.util.Comparator.*;", "import static java.util.Comparator.*;", "import static java.util.Comparator.*;", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tpublic void solve() {\n\t\tlong A = nl();\n\t\tlong B = nl();\n\t\tlong C = nl();\n\t\tlong D = nl();\n\t\tlong max = -(long)(1e18)-1;\n\t\tmax = Math.max(max, A * C);\n\t\tmax = Math.max(max, A * D);\n\t\tmax = Math.max(max, B * C);\n\t\tmax = Math.max(max, B * D);\n\t\tout.println(max);\n\t}\n\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}", "Main", "// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "// Scanner\n\tprivate FastScanner scan = new FastScanner();", "scan", "new FastScanner()", "public static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}", "main", "{\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}", "Main main = new Main();", "main", "new Main()", "main.solve()", "main.solve", "main", "main.out.close()", "main.out.close", "main.out", "main", "main.out", "String[] args", "args", "// ======================================================================\n\tpublic void solve() {\n\t\tlong A = nl();\n\t\tlong B = nl();\n\t\tlong C = nl();\n\t\tlong D = nl();\n\t\tlong max = -(long)(1e18)-1;\n\t\tmax = Math.max(max, A * C);\n\t\tmax = Math.max(max, A * D);\n\t\tmax = Math.max(max, B * C);\n\t\tmax = Math.max(max, B * D);\n\t\tout.println(max);\n\t}", "solve", "{\n\t\tlong A = nl();\n\t\tlong B = nl();\n\t\tlong C = nl();\n\t\tlong D = nl();\n\t\tlong max = -(long)(1e18)-1;\n\t\tmax = Math.max(max, A * C);\n\t\tmax = Math.max(max, A * D);\n\t\tmax = Math.max(max, B * C);\n\t\tmax = Math.max(max, B * D);\n\t\tout.println(max);\n\t}", "long A = nl();", "A", "nl()", "nl", "long B = nl();", "B", "nl()", "nl", "long C = nl();", "C", "nl()", "nl", "long D = nl();", "D", "nl()", "nl", "long max = -(long)(1e18)-1;", "max", "-(long)(1e18)-1", "-(long)(1e18)", "(long)(1e18)", "1", "max = Math.max(max, A * C)", "max", "Math.max(max, A * C)", "Math.max", "Math", "max", "A * C", "A", "C", "max = Math.max(max, A * D)", "max", "Math.max(max, A * D)", "Math.max", "Math", "max", "A * D", "A", "D", "max = Math.max(max, B * C)", "max", "Math.max(max, B * C)", "Math.max", "Math", "max", "B * C", "B", "C", "max = Math.max(max, B * D)", "max", "Math.max(max, B * D)", "Math.max", "Math", "max", "B * D", "B", "D", "out.println(max)", "out.println", "out", "max", "int ni(){ return scan.nextInt();}", "ni", "{ return scan.nextInt();}", "return scan.nextInt();", "scan.nextInt()", "scan.nextInt", "scan", "int[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}", "ni", "{int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}", "int[] a = new int[n];", "a", "new int[n]", "n", "for(int i = 0; i < n; i++){a[i] = ni();}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{a[i] = ni();}", "{a[i] = ni();}", "a[i] = ni()", "a[i]", "a", "i", "ni()", "ni", "return a;", "a", "int n", "n", "int[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}", "ni", "{int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}", "int[][] a = new int[y][x];", "a", "new int[y][x]", "y", "x", "for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}}", "int i = 0;", "int i = 0;", "i", "0", "i < y", "i", "y", "i++", "i++", "i", "{for(int j = 0; j < x; j++){a[i][j] = ni();}}", "{for(int j = 0; j < x; j++){a[i][j] = ni();}}", "for(int j = 0; j < x; j++){a[i][j] = ni();}", "int j = 0;", "int j = 0;", "j", "0", "j < x", "j", "x", "j++", "j++", "j", "{a[i][j] = ni();}", "{a[i][j] = ni();}", "a[i][j] = ni()", "a[i][j]", "a[i]", "a", "i", "j", "ni()", "ni", "return a;", "a", "int y", "y", "int x", "x", "long nl(){return scan.nextLong();}", "nl", "{return scan.nextLong();}", "return scan.nextLong();", "scan.nextLong()", "scan.nextLong", "scan", "long[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}", "nl", "{long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}", "long[] a = new long[n];", "a", "new long[n]", "n", "for(int i = 0; i < n; i++){a[i] = nl();}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{a[i] = nl();}", "{a[i] = nl();}", "a[i] = nl()", "a[i]", "a", "i", "nl()", "nl", "return a;", "a", "int n", "n", "long[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}", "nl", "{long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}", "long[][] a = new long[y][x];", "a", "new long[y][x]", "y", "x", "for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}}", "int i = 0;", "int i = 0;", "i", "0", "i < y", "i", "y", "i++", "i++", "i", "{for(int j = 0; j < x; j++){a[i][j] = nl();}}", "{for(int j = 0; j < x; j++){a[i][j] = nl();}}", "for(int j = 0; j < x; j++){a[i][j] = nl();}", "int j = 0;", "int j = 0;", "j", "0", "j < x", "j", "x", "j++", "j++", "j", "{a[i][j] = nl();}", "{a[i][j] = nl();}", "a[i][j] = nl()", "a[i][j]", "a[i]", "a", "i", "j", "nl()", "nl", "return a;", "a", "int y", "y", "int x", "x", "String ns(){return scan.next();}", "ns", "{return scan.next();}", "return scan.next();", "scan.next()", "scan.next", "scan", "String[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}", "ns", "{String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}", "String[] a = new String[n];", "a", "new String[n]", "n", "for(int i = 0; i < n; i++){a[i] = ns();}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{a[i] = ns();}", "{a[i] = ns();}", "a[i] = ns()", "a[i]", "a", "i", "ns()", "ns", "return a;", "a", "int n", "n", "String[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}", "ns", "{String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}", "String[][] a = new String[y][x];", "a", "new String[y][x]", "y", "x", "for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}}", "int i = 0;", "int i = 0;", "i", "0", "i < y", "i", "y", "i++", "i++", "i", "{for(int j = 0; j < x; j++){a[i][j] = ns();}}", "{for(int j = 0; j < x; j++){a[i][j] = ns();}}", "for(int j = 0; j < x; j++){a[i][j] = ns();}", "int j = 0;", "int j = 0;", "j", "0", "j < x", "j", "x", "j++", "j++", "j", "{a[i][j] = ns();}", "{a[i][j] = ns();}", "a[i][j] = ns()", "a[i][j]", "a[i]", "a", "i", "j", "ns()", "ns", "return a;", "a", "int y", "y", "int x", "x", "class FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n\tprivate static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n\tpublic boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n\tpublic String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\tpublic long nextLong() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\tpublic double nextDouble() { return Double.parseDouble(next());}\n}", "FastScanner", "private final InputStream in = System.in;", "in", "System.in", "System", "System.in", "private final byte[] buffer = new byte[1024];", "buffer", "new byte[1024]", "1024", "private int ptr = 0;", "ptr", "0", "private int buflen = 0;", "buflen", "0", "private boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "hasNextByte", "{\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}", "if (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}", "ptr < buflen", "ptr", "buflen", "{\n\t\t\treturn true;\n\t\t}", "return true;", "true", "{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}", "ptr = 0", "ptr", "0", "try {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "IOException e", "{\n\t\t\t\te.printStackTrace();\n\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t}", "buflen = in.read(buffer)", "buflen", "in.read(buffer)", "in.read", "in", "buffer", "if (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}", "buflen <= 0", "buflen", "0", "{\n\t\t\t\treturn false;\n\t\t\t}", "return false;", "false", "return true;", "true", "private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}", "readByte", "{ if (hasNextByte()) return buffer[ptr++]; else return -1;}", "if (hasNextByte()) return buffer[ptr++]; else return -1;", "hasNextByte()", "hasNextByte", "return buffer[ptr++];", "buffer[ptr++]", "buffer", "ptr++", "ptr", "return -1;", "-1", "1", "private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}", "isPrintableChar", "{ return 33 <= c && c <= 126;}", "return 33 <= c && c <= 126;", "33 <= c && c <= 126", "33 <= c", "33", "c", "c <= 126", "c", "126", "int c", "c", "public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}", "hasNext", "{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}", "while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;", "hasNextByte() && !isPrintableChar(buffer[ptr])", "hasNextByte()", "hasNextByte", "!isPrintableChar(buffer[ptr])", "isPrintableChar(buffer[ptr])", "isPrintableChar", "buffer[ptr]", "buffer", "ptr", "ptr++", "ptr", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}", "next", "{\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}", "if (!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "throw new NoSuchElementException();", "new NoSuchElementException()", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int b = readByte();", "b", "readByte()", "readByte", "while(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}", "isPrintableChar(b)", "isPrintableChar", "b", "{\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}", "sb.appendCodePoint(b)", "sb.appendCodePoint", "sb", "b", "b = readByte()", "b", "readByte()", "readByte", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "public long nextLong() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}", "nextLong", "{\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}", "if (!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "throw new NoSuchElementException();", "new NoSuchElementException()", "long n = 0;", "n", "0", "boolean minus = false;", "minus", "false", "int b = readByte();", "b", "readByte()", "readByte", "if (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}", "b == '-'", "b", "'-'", "{\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}", "minus = true", "minus", "true", "b = readByte()", "b", "readByte()", "readByte", "if (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}", "b < '0' || '9' < b", "b < '0'", "b", "'0'", "'9' < b", "'9'", "b", "{\n\t\t\tthrow new NumberFormatException();\n\t\t}", "throw new NumberFormatException();", "new NumberFormatException()", "while(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}", "true", "{\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}", "if ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}", "'0' <= b && b <= '9'", "'0' <= b", "'0'", "b", "b <= '9'", "b", "'9'", "{\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}", "n *= 10", "n", "10", "n += b - '0'", "n", "b - '0'", "b", "'0'", "if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}", "b == -1 || !isPrintableChar(b)", "b == -1", "b", "-1", "1", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "{\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}", "return minus ? -n : n;", "minus ? -n : n", "minus", "-n", "n", "n", "{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}", "throw new NumberFormatException();", "new NumberFormatException()", "b = readByte()", "b", "readByte()", "readByte", "public int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}", "nextInt", "{\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}", "long nl = nextLong();", "nl", "nextLong()", "nextLong", "if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();", "nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE", "nl < Integer.MIN_VALUE", "nl", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "nl > Integer.MAX_VALUE", "nl", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "throw new NumberFormatException();", "new NumberFormatException()", "return (int) nl;", "(int) nl", "public double nextDouble() { return Double.parseDouble(next());}", "nextDouble", "{ return Double.parseDouble(next());}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tpublic void solve() {\n\t\tlong A = nl();\n\t\tlong B = nl();\n\t\tlong C = nl();\n\t\tlong D = nl();\n\t\tlong max = -(long)(1e18)-1;\n\t\tmax = Math.max(max, A * C);\n\t\tmax = Math.max(max, A * D);\n\t\tmax = Math.max(max, B * C);\n\t\tmax = Math.max(max, B * D);\n\t\tout.println(max);\n\t}\n\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tpublic void solve() {\n\t\tlong A = nl();\n\t\tlong B = nl();\n\t\tlong C = nl();\n\t\tlong D = nl();\n\t\tlong max = -(long)(1e18)-1;\n\t\tmax = Math.max(max, A * C);\n\t\tmax = Math.max(max, A * D);\n\t\tmax = Math.max(max, B * C);\n\t\tmax = Math.max(max, B * D);\n\t\tout.println(max);\n\t}\n\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}", "Main" ]
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.net.ConnectException; import java.rmi.dgc.Lease; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.NoSuchElementException; import java.util.Objects; import java.util.Set; import java.util.Stack; import java.util.TreeMap; import java.util.TreeSet; import static java.util.Comparator.*; public class Main { public static void main(String[] args) { Main main = new Main(); main.solve(); main.out.close(); } // ====================================================================== public void solve() { long A = nl(); long B = nl(); long C = nl(); long D = nl(); long max = -(long)(1e18)-1; max = Math.max(max, A * C); max = Math.max(max, A * D); max = Math.max(max, B * C); max = Math.max(max, B * D); out.println(max); } // ------------------------------------------ // ライブラリ // ------------------------------------------ // Print private PrintWriter out = new PrintWriter(System.out); // Scanner private FastScanner scan = new FastScanner(); int ni(){ return scan.nextInt();} int[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;} int[][] ni(int y, int x){int[][] a = new int[y][x]; for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;} long nl(){return scan.nextLong();} long[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;} long[][] nl(int y, int x){long[][] a = new long[y][x]; for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;} String ns(){return scan.next();} String[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;} String[][] ns(int y, int x){String[][] a = new String[y][x]; for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;} } class FastScanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolean hasNextByte() { if (ptr < buflen) { return true; }else{ ptr = 0; try { buflen = in.read(buffer); } catch (IOException e) { e.printStackTrace(); } if (buflen <= 0) { return false; } } return true; } private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;} private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;} public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();} public String next() { if (!hasNext()) throw new NoSuchElementException(); StringBuilder sb = new StringBuilder(); int b = readByte(); while(isPrintableChar(b)) { sb.appendCodePoint(b); b = readByte(); } return sb.toString(); } public long nextLong() { if (!hasNext()) throw new NoSuchElementException(); long n = 0; boolean minus = false; int b = readByte(); if (b == '-') { minus = true; b = readByte(); } if (b < '0' || '9' < b) { throw new NumberFormatException(); } while(true){ if ('0' <= b && b <= '9') { n *= 10; n += b - '0'; }else if(b == -1 || !isPrintableChar(b)){ return minus ? -n : n; }else{ throw new NumberFormatException(); } b = readByte(); } } public int nextInt() { long nl = nextLong(); if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 170, 17 ], [ 170, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 20, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 20, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 52, 54 ], [ 20, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 57, 63 ], [ 63, 64 ], [ 63, 65 ], [ 20, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 20, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 18, 79 ], [ 79, 80 ], [ 170, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 81, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 81, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 96, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 106, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 95, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 81, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 128, 129 ], [ 81, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 137, 138 ], [ 81, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 81, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 154, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 150, 167 ], [ 167, 168 ], [ 0, 169 ], [ 169, 170 ], [ 169, 171 ] ]
[ "import java.io.BufferedReader; \nimport java.io.IOException; \nimport java.io.InputStreamReader; \nimport java.util.Scanner; \nimport java.util.StringTokenizer; \n\npublic class Main\n{ \n\tstatic class FastScanner \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\t\t\n\t\tpublic FastScanner() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\t\t\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\t\t\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\t\t\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\t\t\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\t\t\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t} \n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fc=new FastScanner();\n\t\tlong a = fc.nextLong();\n\t\tlong b = fc.nextLong();\n\t\tlong c = fc.nextLong();\n\t\tlong d = fc.nextLong();\n\t\tlong res1 = Math.max((a*c), (a*d));\n\t\tlong res2 = Math.max((b*c), (b*d));\n\t\tlong res=Math.max(res1, res2);\n\t\tSystem.out.print(res);\n\t}\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main\n{ \n\tstatic class FastScanner \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\t\t\n\t\tpublic FastScanner() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\t\t\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\t\t\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\t\t\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\t\t\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\t\t\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t} \n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fc=new FastScanner();\n\t\tlong a = fc.nextLong();\n\t\tlong b = fc.nextLong();\n\t\tlong c = fc.nextLong();\n\t\tlong d = fc.nextLong();\n\t\tlong res1 = Math.max((a*c), (a*d));\n\t\tlong res2 = Math.max((b*c), (b*d));\n\t\tlong res=Math.max(res1, res2);\n\t\tSystem.out.print(res);\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tFastScanner fc=new FastScanner();\n\t\tlong a = fc.nextLong();\n\t\tlong b = fc.nextLong();\n\t\tlong c = fc.nextLong();\n\t\tlong d = fc.nextLong();\n\t\tlong res1 = Math.max((a*c), (a*d));\n\t\tlong res2 = Math.max((b*c), (b*d));\n\t\tlong res=Math.max(res1, res2);\n\t\tSystem.out.print(res);\n\t}", "main", "{\n\t\tFastScanner fc=new FastScanner();\n\t\tlong a = fc.nextLong();\n\t\tlong b = fc.nextLong();\n\t\tlong c = fc.nextLong();\n\t\tlong d = fc.nextLong();\n\t\tlong res1 = Math.max((a*c), (a*d));\n\t\tlong res2 = Math.max((b*c), (b*d));\n\t\tlong res=Math.max(res1, res2);\n\t\tSystem.out.print(res);\n\t}", "FastScanner fc=new FastScanner();", "fc", "new FastScanner()", "long a = fc.nextLong();", "a", "fc.nextLong()", "fc.nextLong", "fc", "long b = fc.nextLong();", "b", "fc.nextLong()", "fc.nextLong", "fc", "long c = fc.nextLong();", "c", "fc.nextLong()", "fc.nextLong", "fc", "long d = fc.nextLong();", "d", "fc.nextLong()", "fc.nextLong", "fc", "long res1 = Math.max((a*c), (a*d));", "res1", "Math.max((a*c), (a*d))", "Math.max", "Math", "(a*c)", "a", "c", "(a*d)", "a", "d", "long res2 = Math.max((b*c), (b*d));", "res2", "Math.max((b*c), (b*d))", "Math.max", "Math", "(b*c)", "b", "c", "(b*d)", "b", "d", "long res=Math.max(res1, res2);", "res", "Math.max(res1, res2)", "Math.max", "Math", "res1", "res2", "System.out.print(res)", "System.out.print", "System.out", "System", "System.out", "res", "String[] args", "args", "static class FastScanner \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\t\t\n\t\tpublic FastScanner() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\t\t\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\t\t\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\t\t\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\t\t\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\t\t\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t} \n\t}", "FastScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastScanner() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t}", "FastScanner", "{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t}", "br = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in))", "br", "new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in))", "String next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t}", "next", "{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t}", "while (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t}", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t}", "try\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t}", "catch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t}", "IOException e", "{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t}", "nextInt", "{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t}", "nextLong", "{ \n\t\t\treturn Long.parseLong(next()); \n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t}", "nextDouble", "{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t}", "nextLine", "{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t}", "String str = \"\";", "str", "\"\"", "try\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t}", "catch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t}", "IOException e", "{ \n\t\t\t\te.printStackTrace(); \n\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t}", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main\n{ \n\tstatic class FastScanner \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\t\t\n\t\tpublic FastScanner() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\t\t\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\t\t\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\t\t\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\t\t\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\t\t\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t} \n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fc=new FastScanner();\n\t\tlong a = fc.nextLong();\n\t\tlong b = fc.nextLong();\n\t\tlong c = fc.nextLong();\n\t\tlong d = fc.nextLong();\n\t\tlong res1 = Math.max((a*c), (a*d));\n\t\tlong res2 = Math.max((b*c), (b*d));\n\t\tlong res=Math.max(res1, res2);\n\t\tSystem.out.print(res);\n\t}\n}", "public class Main\n{ \n\tstatic class FastScanner \n\t{ \n\t\tBufferedReader br; \n\t\tStringTokenizer st; \n\t\t\n\t\tpublic FastScanner() \n\t\t{ \n\t\t\tbr = new BufferedReader(new\n\t\t\t\t\tInputStreamReader(System.in)); \n\t\t} \n\t\t\n\t\tString next() \n\t\t{ \n\t\t\twhile (st == null || !st.hasMoreElements()) \n\t\t\t{ \n\t\t\t\ttry\n\t\t\t\t{ \n\t\t\t\t\tst = new StringTokenizer(br.readLine()); \n\t\t\t\t} \n\t\t\t\tcatch (IOException e) \n\t\t\t\t{ \n\t\t\t\t\te.printStackTrace(); \n\t\t\t\t} \n\t\t\t} \n\t\t\treturn st.nextToken(); \n\t\t} \n\t\t\n\t\tint nextInt() \n\t\t{ \n\t\t\treturn Integer.parseInt(next()); \n\t\t} \n\t\t\n\t\tlong nextLong() \n\t\t{ \n\t\t\treturn Long.parseLong(next()); \n\t\t} \n\t\t\n\t\tdouble nextDouble() \n\t\t{ \n\t\t\treturn Double.parseDouble(next()); \n\t\t} \n\t\t\n\t\tString nextLine() \n\t\t{ \n\t\t\tString str = \"\"; \n\t\t\ttry\n\t\t\t{ \n\t\t\t\tstr = br.readLine(); \n\t\t\t} \n\t\t\tcatch (IOException e) \n\t\t\t{ \n\t\t\t\te.printStackTrace(); \n\t\t\t} \n\t\t\treturn str; \n\t\t} \n\t}\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fc=new FastScanner();\n\t\tlong a = fc.nextLong();\n\t\tlong b = fc.nextLong();\n\t\tlong c = fc.nextLong();\n\t\tlong d = fc.nextLong();\n\t\tlong res1 = Math.max((a*c), (a*d));\n\t\tlong res2 = Math.max((b*c), (b*d));\n\t\tlong res=Math.max(res1, res2);\n\t\tSystem.out.print(res);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; import java.util.StringTokenizer; public class Main { static class FastScanner { BufferedReader br; StringTokenizer st; public FastScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } public static void main(String[] args) { FastScanner fc=new FastScanner(); long a = fc.nextLong(); long b = fc.nextLong(); long c = fc.nextLong(); long d = fc.nextLong(); long res1 = Math.max((a*c), (a*d)); long res2 = Math.max((b*c), (b*d)); long res=Math.max(res1, res2); System.out.print(res); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 2, 18, 13, 17, 18, 13, 17, 14, 2, 13, 2, 18, 13, 17, 18, 13, 17, 0, 13, 2, 18, 13, 17, 18, 13, 17, 14, 2, 13, 2, 18, 13, 17, 18, 13, 17, 0, 13, 2, 18, 13, 17, 18, 13, 17, 14, 2, 13, 2, 18, 13, 17, 18, 13, 17, 0, 13, 2, 18, 13, 17, 18, 13, 17, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 21, 22 ], [ 21, 23 ], [ 16, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 28, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 45, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 64, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 80, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 83, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 6, 111 ], [ 111, 112 ] ]
[ "import java.util.*;\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong[] nums = new long[4];\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tnums[i] = scanner.nextInt();\n\t\t}\n\t\tlong result = nums[0] * nums[2];\n\t\tif(result < nums[0]*nums[3])result = nums[0]*nums[3];\n\t\tif(result < nums[1]*nums[2])result = nums[1]*nums[2];\n\t\tif(result < nums[1]*nums[3])result = nums[1]*nums[3];\n\t\tSystem.out.println(result);\n\t\tscanner.close();\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong[] nums = new long[4];\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tnums[i] = scanner.nextInt();\n\t\t}\n\t\tlong result = nums[0] * nums[2];\n\t\tif(result < nums[0]*nums[3])result = nums[0]*nums[3];\n\t\tif(result < nums[1]*nums[2])result = nums[1]*nums[2];\n\t\tif(result < nums[1]*nums[3])result = nums[1]*nums[3];\n\t\tSystem.out.println(result);\n\t\tscanner.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong[] nums = new long[4];\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tnums[i] = scanner.nextInt();\n\t\t}\n\t\tlong result = nums[0] * nums[2];\n\t\tif(result < nums[0]*nums[3])result = nums[0]*nums[3];\n\t\tif(result < nums[1]*nums[2])result = nums[1]*nums[2];\n\t\tif(result < nums[1]*nums[3])result = nums[1]*nums[3];\n\t\tSystem.out.println(result);\n\t\tscanner.close();\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong[] nums = new long[4];\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tnums[i] = scanner.nextInt();\n\t\t}\n\t\tlong result = nums[0] * nums[2];\n\t\tif(result < nums[0]*nums[3])result = nums[0]*nums[3];\n\t\tif(result < nums[1]*nums[2])result = nums[1]*nums[2];\n\t\tif(result < nums[1]*nums[3])result = nums[1]*nums[3];\n\t\tSystem.out.println(result);\n\t\tscanner.close();\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "long[] nums = new long[4];", "nums", "new long[4]", "4", "for(int i = 0; i < 4; i++) {\n\t\t\tnums[i] = scanner.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tnums[i] = scanner.nextInt();\n\t\t}", "{\n\t\t\tnums[i] = scanner.nextInt();\n\t\t}", "nums[i] = scanner.nextInt()", "nums[i]", "nums", "i", "scanner.nextInt()", "scanner.nextInt", "scanner", "long result = nums[0] * nums[2];", "result", "nums[0] * nums[2]", "nums[0]", "nums", "0", "nums[2]", "nums", "2", "if(result < nums[0]*nums[3])result = nums[0]*nums[3];", "result < nums[0]*nums[3]", "result", "nums[0]*nums[3]", "nums[0]", "nums", "0", "nums[3]", "nums", "3", "result = nums[0]*nums[3]", "result", "nums[0]*nums[3]", "nums[0]", "nums", "0", "nums[3]", "nums", "3", "if(result < nums[1]*nums[2])result = nums[1]*nums[2];", "result < nums[1]*nums[2]", "result", "nums[1]*nums[2]", "nums[1]", "nums", "1", "nums[2]", "nums", "2", "result = nums[1]*nums[2]", "result", "nums[1]*nums[2]", "nums[1]", "nums", "1", "nums[2]", "nums", "2", "if(result < nums[1]*nums[3])result = nums[1]*nums[3];", "result < nums[1]*nums[3]", "result", "nums[1]*nums[3]", "nums[1]", "nums", "1", "nums[3]", "nums", "3", "result = nums[1]*nums[3]", "result", "nums[1]*nums[3]", "nums[1]", "nums", "1", "nums[3]", "nums", "3", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "scanner.close()", "scanner.close", "scanner", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long[] nums = new long[4]; for(int i = 0; i < 4; i++) { nums[i] = scanner.nextInt(); } long result = nums[0] * nums[2]; if(result < nums[0]*nums[3])result = nums[0]*nums[3]; if(result < nums[1]*nums[2])result = nums[1]*nums[2]; if(result < nums[1]*nums[3])result = nums[1]*nums[3]; System.out.println(result); scanner.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 85, 5 ], [ 85, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 60, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 71, 75 ], [ 8, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 6, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long mlta = Math.max(a * c, a * d);\n long mltb = Math.max(b * c, b * d);\n long result = Math.max(mlta, mltb);\n\n // 出力\n System.out.println(result);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long mlta = Math.max(a * c, a * d);\n long mltb = Math.max(b * c, b * d);\n long result = Math.max(mlta, mltb);\n\n // 出力\n System.out.println(result);\n }\n}", "Main", "public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long mlta = Math.max(a * c, a * d);\n long mltb = Math.max(b * c, b * d);\n long result = Math.max(mlta, mltb);\n\n // 出力\n System.out.println(result);\n }", "main", "{\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long mlta = Math.max(a * c, a * d);\n long mltb = Math.max(b * c, b * d);\n long result = Math.max(mlta, mltb);\n\n // 出力\n System.out.println(result);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = Long.parseLong(sc.next());", "a", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "long b = Long.parseLong(sc.next());", "b", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "long c = Long.parseLong(sc.next());", "c", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "long d = Long.parseLong(sc.next());", "d", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "long mlta = Math.max(a * c, a * d);", "mlta", "Math.max(a * c, a * d)", "Math.max", "Math", "a * c", "a", "c", "a * d", "a", "d", "long mltb = Math.max(b * c, b * d);", "mltb", "Math.max(b * c, b * d)", "Math.max", "Math", "b * c", "b", "c", "b * d", "b", "d", "long result = Math.max(mlta, mltb);", "result", "Math.max(mlta, mltb)", "Math.max", "Math", "mlta", "mltb", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String args[]", "args", "public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long mlta = Math.max(a * c, a * d);\n long mltb = Math.max(b * c, b * d);\n long result = Math.max(mlta, mltb);\n\n // 出力\n System.out.println(result);\n }\n}", "public class Main {\n\n public static void main(String args[]) {\n\n // 入力\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n sc.close();\n\n // 主処理\n long mlta = Math.max(a * c, a * d);\n long mltb = Math.max(b * c, b * d);\n long result = Math.max(mlta, mltb);\n\n // 出力\n System.out.println(result);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { // 入力 Scanner sc = new Scanner(System.in); long a = Long.parseLong(sc.next()); long b = Long.parseLong(sc.next()); long c = Long.parseLong(sc.next()); long d = Long.parseLong(sc.next()); sc.close(); // 主処理 long mlta = Math.max(a * c, a * d); long mltb = Math.max(b * c, b * d); long result = Math.max(mlta, mltb); // 出力 System.out.println(result); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 0, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 0, 13, 20, 17, 0, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 0, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 0, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 0, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 13, 30, 0, 13, 18, 13, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 128, 5 ], [ 128, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 18, 23 ], [ 23, 24 ], [ 23, 25 ], [ 18, 26 ], [ 26, 27 ], [ 27, 28 ], [ 18, 29 ], [ 30, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 8, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 106, 118 ], [ 8, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 6, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n long esu[];\n esu = new long[4];\n for(int i=0;i<4;i++){\n esu[i] = scanner.nextInt(); \n }\n\n long emu[];\n emu = new long[4];\n\n emu[0] = esu[0]*esu[2];\n emu[1] = esu[0]*esu[3];\n emu[2] = esu[1]*esu[2];\n emu[3] = esu[1]*esu[3];\n //System.out.println(emu[0]);\n\n\n long max = emu[0];\n for(int i=1;i<4;i++){\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }\n\n \n \n \n \n System.out.println(max);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n long esu[];\n esu = new long[4];\n for(int i=0;i<4;i++){\n esu[i] = scanner.nextInt(); \n }\n\n long emu[];\n emu = new long[4];\n\n emu[0] = esu[0]*esu[2];\n emu[1] = esu[0]*esu[3];\n emu[2] = esu[1]*esu[2];\n emu[3] = esu[1]*esu[3];\n //System.out.println(emu[0]);\n\n\n long max = emu[0];\n for(int i=1;i<4;i++){\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }\n\n \n \n \n \n System.out.println(max);\n }\n}", "Main", "public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n long esu[];\n esu = new long[4];\n for(int i=0;i<4;i++){\n esu[i] = scanner.nextInt(); \n }\n\n long emu[];\n emu = new long[4];\n\n emu[0] = esu[0]*esu[2];\n emu[1] = esu[0]*esu[3];\n emu[2] = esu[1]*esu[2];\n emu[3] = esu[1]*esu[3];\n //System.out.println(emu[0]);\n\n\n long max = emu[0];\n for(int i=1;i<4;i++){\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }\n\n \n \n \n \n System.out.println(max);\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n long esu[];\n esu = new long[4];\n for(int i=0;i<4;i++){\n esu[i] = scanner.nextInt(); \n }\n\n long emu[];\n emu = new long[4];\n\n emu[0] = esu[0]*esu[2];\n emu[1] = esu[0]*esu[3];\n emu[2] = esu[1]*esu[2];\n emu[3] = esu[1]*esu[3];\n //System.out.println(emu[0]);\n\n\n long max = emu[0];\n for(int i=1;i<4;i++){\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }\n\n \n \n \n \n System.out.println(max);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "long esu[];", "esu", "esu = new long[4]", "esu", "new long[4]", "4", "for(int i=0;i<4;i++){\n esu[i] = scanner.nextInt(); \n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n esu[i] = scanner.nextInt(); \n }", "{\n esu[i] = scanner.nextInt(); \n }", "esu[i] = scanner.nextInt()", "esu[i]", "esu", "i", "scanner.nextInt()", "scanner.nextInt", "scanner", "long emu[];", "emu", "emu = new long[4]", "emu", "new long[4]", "4", "emu[0] = esu[0]*esu[2]", "emu[0]", "emu", "0", "esu[0]*esu[2]", "esu[0]", "esu", "0", "esu[2]", "esu", "2", "emu[1] = esu[0]*esu[3]", "emu[1]", "emu", "1", "esu[0]*esu[3]", "esu[0]", "esu", "0", "esu[3]", "esu", "3", "emu[2] = esu[1]*esu[2]", "emu[2]", "emu", "2", "esu[1]*esu[2]", "esu[1]", "esu", "1", "esu[2]", "esu", "2", "emu[3] = esu[1]*esu[3]", "emu[3]", "emu", "3", "esu[1]*esu[3]", "esu[1]", "esu", "1", "esu[3]", "esu", "3", "long max = emu[0];", "max", "emu[0]", "emu", "0", "for(int i=1;i<4;i++){\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }", "int i=1;", "int i=1;", "i", "1", "i<4", "i", "4", "i++", "i++", "i", "{\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }", "{\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }", "if(emu[i]>max){\n max = emu[i];\n }\n else{\n }", "emu[i]>max", "emu[i]", "emu", "i", "max", "{\n max = emu[i];\n }", "max = emu[i]", "max", "emu[i]", "emu", "i", "{\n }", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String args[]", "args", "public class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n long esu[];\n esu = new long[4];\n for(int i=0;i<4;i++){\n esu[i] = scanner.nextInt(); \n }\n\n long emu[];\n emu = new long[4];\n\n emu[0] = esu[0]*esu[2];\n emu[1] = esu[0]*esu[3];\n emu[2] = esu[1]*esu[2];\n emu[3] = esu[1]*esu[3];\n //System.out.println(emu[0]);\n\n\n long max = emu[0];\n for(int i=1;i<4;i++){\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }\n\n \n \n \n \n System.out.println(max);\n }\n}", "public class Main{\n public static void main(String args[]){\n Scanner scanner = new Scanner(System.in);\n long esu[];\n esu = new long[4];\n for(int i=0;i<4;i++){\n esu[i] = scanner.nextInt(); \n }\n\n long emu[];\n emu = new long[4];\n\n emu[0] = esu[0]*esu[2];\n emu[1] = esu[0]*esu[3];\n emu[2] = esu[1]*esu[2];\n emu[3] = esu[1]*esu[3];\n //System.out.println(emu[0]);\n\n\n long max = emu[0];\n for(int i=1;i<4;i++){\n if(emu[i]>max){\n max = emu[i];\n }\n else{\n }\n \n }\n\n \n \n \n \n System.out.println(max);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner scanner = new Scanner(System.in); long esu[]; esu = new long[4]; for(int i=0;i<4;i++){ esu[i] = scanner.nextInt(); } long emu[]; emu = new long[4]; emu[0] = esu[0]*esu[2]; emu[1] = esu[0]*esu[3]; emu[2] = esu[1]*esu[2]; emu[3] = esu[1]*esu[3]; //System.out.println(emu[0]); long max = emu[0]; for(int i=1;i<4;i++){ if(emu[i]>max){ max = emu[i]; } else{ } } System.out.println(max); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 0, 13, 2, 18, 13, 17, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 18, 13, 2, 17, 13, 14, 2, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 104, 8 ], [ 104, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 76, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 11, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 9, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.util.*;\nimport java.lang.Math;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong nums[] = new long[4];\n \tlong ans;\n \tlong lstack;\n \n \tfor(int i = 0;i < 4;i++) nums[i] = sc.nextLong();\n \tans = nums[0] * nums[2];\n \tfor(int i = 0;i < 2;i++){\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }\n \n \tSystem.out.println(ans);\n \n\t}\n}", "import java.util.*;", "util.*", "java", "import java.lang.Math;", "Math", "java.lang", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong nums[] = new long[4];\n \tlong ans;\n \tlong lstack;\n \n \tfor(int i = 0;i < 4;i++) nums[i] = sc.nextLong();\n \tans = nums[0] * nums[2];\n \tfor(int i = 0;i < 2;i++){\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }\n \n \tSystem.out.println(ans);\n \n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong nums[] = new long[4];\n \tlong ans;\n \tlong lstack;\n \n \tfor(int i = 0;i < 4;i++) nums[i] = sc.nextLong();\n \tans = nums[0] * nums[2];\n \tfor(int i = 0;i < 2;i++){\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }\n \n \tSystem.out.println(ans);\n \n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n \tlong nums[] = new long[4];\n \tlong ans;\n \tlong lstack;\n \n \tfor(int i = 0;i < 4;i++) nums[i] = sc.nextLong();\n \tans = nums[0] * nums[2];\n \tfor(int i = 0;i < 2;i++){\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }\n \n \tSystem.out.println(ans);\n \n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long nums[] = new long[4];", "nums", "new long[4]", "4", "long ans;", "ans", "long lstack;", "lstack", "for(int i = 0;i < 4;i++) nums[i] = sc.nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "nums[i] = sc.nextLong();", "nums[i] = sc.nextLong()", "nums[i]", "nums", "i", "sc.nextLong()", "sc.nextLong", "sc", "ans = nums[0] * nums[2]", "ans", "nums[0] * nums[2]", "nums[0]", "nums", "0", "nums[2]", "nums", "2", "for(int i = 0;i < 2;i++){\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 2", "i", "2", "i++", "i++", "i", "{\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }", "{\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }", "for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 2", "j", "2", "j++", "j++", "j", "{\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }", "{\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }", "lstack = nums[i]*nums[2+j]", "lstack", "nums[i]*nums[2+j]", "nums[i]", "nums", "i", "nums[2+j]", "nums", "2+j", "2", "j", "if(lstack > ans) ans = lstack;", "lstack > ans", "lstack", "ans", "ans = lstack", "ans", "lstack", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong nums[] = new long[4];\n \tlong ans;\n \tlong lstack;\n \n \tfor(int i = 0;i < 4;i++) nums[i] = sc.nextLong();\n \tans = nums[0] * nums[2];\n \tfor(int i = 0;i < 2;i++){\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }\n \n \tSystem.out.println(ans);\n \n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong nums[] = new long[4];\n \tlong ans;\n \tlong lstack;\n \n \tfor(int i = 0;i < 4;i++) nums[i] = sc.nextLong();\n \tans = nums[0] * nums[2];\n \tfor(int i = 0;i < 2;i++){\n for(int j = 0;j < 2;j++){\n \t\tlstack = nums[i]*nums[2+j];\n if(lstack > ans) ans = lstack;\n }\n }\n \n \tSystem.out.println(ans);\n \n\t}\n}", "Main" ]
import java.util.*; import java.lang.Math; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long nums[] = new long[4]; long ans; long lstack; for(int i = 0;i < 4;i++) nums[i] = sc.nextLong(); ans = nums[0] * nums[2]; for(int i = 0;i < 2;i++){ for(int j = 0;j < 2;j++){ lstack = nums[i]*nums[2+j]; if(lstack > ans) ans = lstack; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 14, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 71, 75 ], [ 12, 76 ], [ 76, 77 ], [ 10, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 78, 82 ], [ 82, 83 ], [ 78, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 78, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 93, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 103, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 92, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 78, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 125, 126 ], [ 78, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 78, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 143, 144 ], [ 78, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 151, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 147, 164 ], [ 164, 165 ] ]
[ "import java.io.*;\nimport java.lang.*;\nimport java.util.*;\n\nclass Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tFastReader scn = new FastReader();\n\t\tlong a = scn.nextLong();\n\t\tlong b = scn.nextLong();\n\t\tlong c = scn.nextLong();\n\t\tlong d = scn.nextLong();\n\n\t\tlong p1 = a * c;\n\t\tlong p2 = a * d;\n\t\tlong p3 = b * c;\n\t\tlong p4 = b * d;\n\n\t\tSystem.out.println(Math.max(p1, Math.max(p2, Math.max(p3, p4))));\n\t}\n\n\n\tstatic class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n {\n st = new StringTokenizer(br.readLine()); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n {\n str = br.readLine(); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n return str; \n } \n }\n}", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "import java.util.*;", "util.*", "java", "class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tFastReader scn = new FastReader();\n\t\tlong a = scn.nextLong();\n\t\tlong b = scn.nextLong();\n\t\tlong c = scn.nextLong();\n\t\tlong d = scn.nextLong();\n\n\t\tlong p1 = a * c;\n\t\tlong p2 = a * d;\n\t\tlong p3 = b * c;\n\t\tlong p4 = b * d;\n\n\t\tSystem.out.println(Math.max(p1, Math.max(p2, Math.max(p3, p4))));\n\t}\n\n\n\tstatic class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n {\n st = new StringTokenizer(br.readLine()); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n {\n str = br.readLine(); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n return str; \n } \n }\n}", "Main", "public static void main(String args[])throws IOException\n\t{\n\t\tFastReader scn = new FastReader();\n\t\tlong a = scn.nextLong();\n\t\tlong b = scn.nextLong();\n\t\tlong c = scn.nextLong();\n\t\tlong d = scn.nextLong();\n\n\t\tlong p1 = a * c;\n\t\tlong p2 = a * d;\n\t\tlong p3 = b * c;\n\t\tlong p4 = b * d;\n\n\t\tSystem.out.println(Math.max(p1, Math.max(p2, Math.max(p3, p4))));\n\t}", "main", "{\n\t\tFastReader scn = new FastReader();\n\t\tlong a = scn.nextLong();\n\t\tlong b = scn.nextLong();\n\t\tlong c = scn.nextLong();\n\t\tlong d = scn.nextLong();\n\n\t\tlong p1 = a * c;\n\t\tlong p2 = a * d;\n\t\tlong p3 = b * c;\n\t\tlong p4 = b * d;\n\n\t\tSystem.out.println(Math.max(p1, Math.max(p2, Math.max(p3, p4))));\n\t}", "FastReader scn = new FastReader();", "scn", "new FastReader()", "long a = scn.nextLong();", "a", "scn.nextLong()", "scn.nextLong", "scn", "long b = scn.nextLong();", "b", "scn.nextLong()", "scn.nextLong", "scn", "long c = scn.nextLong();", "c", "scn.nextLong()", "scn.nextLong", "scn", "long d = scn.nextLong();", "d", "scn.nextLong()", "scn.nextLong", "scn", "long p1 = a * c;", "p1", "a * c", "a", "c", "long p2 = a * d;", "p2", "a * d", "a", "d", "long p3 = b * c;", "p3", "b * c", "b", "c", "long p4 = b * d;", "p4", "b * d", "b", "d", "System.out.println(Math.max(p1, Math.max(p2, Math.max(p3, p4))))", "System.out.println", "System.out", "System", "System.out", "Math.max(p1, Math.max(p2, Math.max(p3, p4)))", "Math.max", "Math", "p1", "Math.max(p2, Math.max(p3, p4))", "Math.max", "Math", "p2", "Math.max(p3, p4)", "Math.max", "Math", "p3", "p4", "String args[]", "args", "static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n {\n st = new StringTokenizer(br.readLine()); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n {\n str = br.readLine(); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n return str; \n } \n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() \n { \n br = new BufferedReader(new InputStreamReader(System.in)); \n }", "FastReader", "{ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n {\n st = new StringTokenizer(br.readLine()); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n } \n return st.nextToken(); \n }", "next", "{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n {\n st = new StringTokenizer(br.readLine()); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n } \n return st.nextToken(); \n }", "while (st == null || !st.hasMoreElements()) \n { \n try\n {\n st = new StringTokenizer(br.readLine()); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{ \n try\n {\n st = new StringTokenizer(br.readLine()); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n }", "try\n {\n st = new StringTokenizer(br.readLine()); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }", "catch (IOException e) \n {\n e.printStackTrace(); \n }", "IOException e", "{\n e.printStackTrace(); \n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine()); \n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() \n { \n return Integer.parseInt(next()); \n }", "nextInt", "{ \n return Integer.parseInt(next()); \n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() \n { \n return Long.parseLong(next()); \n }", "nextLong", "{ \n return Long.parseLong(next()); \n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() \n { \n return Double.parseDouble(next()); \n }", "nextDouble", "{ \n return Double.parseDouble(next()); \n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() \n { \n String str = \"\"; \n try\n {\n str = br.readLine(); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n return str; \n }", "nextLine", "{ \n String str = \"\"; \n try\n {\n str = br.readLine(); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }\n return str; \n }", "String str = \"\";", "str", "\"\"", "try\n {\n str = br.readLine(); \n }\n catch (IOException e) \n {\n e.printStackTrace(); \n }", "catch (IOException e) \n {\n e.printStackTrace(); \n }", "IOException e", "{\n e.printStackTrace(); \n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine(); \n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str" ]
import java.io.*; import java.lang.*; import java.util.*; class Main { public static void main(String args[])throws IOException { FastReader scn = new FastReader(); long a = scn.nextLong(); long b = scn.nextLong(); long c = scn.nextLong(); long d = scn.nextLong(); long p1 = a * c; long p2 = a * d; long p3 = b * c; long p4 = b * d; System.out.println(Math.max(p1, Math.max(p2, Math.max(p3, p4)))); } static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 14, 2, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 17, 30, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 149, 5 ], [ 149, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 45, 67 ], [ 44, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 69, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 69, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 98, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 107, 108 ], [ 107, 109 ], [ 104, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 113, 115 ], [ 110, 116 ], [ 116, 117 ], [ 116, 118 ], [ 44, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 128, 129 ], [ 128, 130 ], [ 125, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 134, 136 ], [ 131, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 140, 141 ], [ 140, 142 ], [ 137, 143 ], [ 143, 144 ], [ 143, 145 ], [ 6, 146 ], [ 146, 147 ], [ 0, 148 ], [ 148, 149 ], [ 148, 150 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n if(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0) {\n if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }\n}\n", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n if(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0) {\n if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n if(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0) {\n if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n if(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0) {\n if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = Long.parseLong(sc.next());", "a", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "long b = Long.parseLong(sc.next());", "b", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "long c = Long.parseLong(sc.next());", "c", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "long d = Long.parseLong(sc.next());", "d", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "if(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0) {\n if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }", "Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0", "Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)))", "Math.max", "Math", "a*c", "a", "c", "Math.max(a*d,Math.max(b*c,b*d))", "Math.max", "Math", "a*d", "a", "d", "Math.max(b*c,b*d)", "Math.max", "Math", "b*c", "b", "c", "b*d", "b", "d", "0", "{\n if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }", "if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }", "a <= 0 && b >= 0 || c <= 0 && d >= 0", "a <= 0 && b >= 0", "a <= 0", "a", "0", "b >= 0", "b", "0", "c <= 0 && d >= 0", "c <= 0", "c", "0", "d >= 0", "d", "0", "{\n System.out.println(0);\n }", "System.out.println(0)", "System.out.println", "System.out", "System", "System.out", "0", "{\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }", "System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))))", "System.out.println", "System.out", "System", "System.out", "Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)))", "Math.max", "Math", "a*c", "a", "c", "Math.max(a*d,Math.max(b*c,b*d))", "Math.max", "Math", "a*d", "a", "d", "Math.max(b*c,b*d)", "Math.max", "Math", "b*c", "b", "c", "b*d", "b", "d", "{\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }", "System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))))", "System.out.println", "System.out", "System", "System.out", "Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)))", "Math.max", "Math", "a*c", "a", "c", "Math.max(a*d,Math.max(b*c,b*d))", "Math.max", "Math", "a*d", "a", "d", "Math.max(b*c,b*d)", "Math.max", "Math", "b*c", "b", "c", "b*d", "b", "d", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n if(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0) {\n if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = Long.parseLong(sc.next());\n long b = Long.parseLong(sc.next());\n long c = Long.parseLong(sc.next());\n long d = Long.parseLong(sc.next());\n if(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0) {\n if(a <= 0 && b >= 0 || c <= 0 && d >= 0) {\n System.out.println(0);\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }else {\n System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))));\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = Long.parseLong(sc.next()); long b = Long.parseLong(sc.next()); long c = Long.parseLong(sc.next()); long d = Long.parseLong(sc.next()); if(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))) < 0) { if(a <= 0 && b >= 0 || c <= 0 && d >= 0) { System.out.println(0); }else { System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)))); } }else { System.out.println(Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)))); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = (a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = (a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = (a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = (a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long ans = (a * c);", "ans", "(a * c)", "a", "c", "ans = Math.max(ans, a * d)", "ans", "Math.max(ans, a * d)", "Math.max", "Math", "ans", "a * d", "a", "d", "ans = Math.max(ans, b * c)", "ans", "Math.max(ans, b * c)", "Math.max", "Math", "ans", "b * c", "b", "c", "ans = Math.max(ans, b * d)", "ans", "Math.max(ans, b * d)", "Math.max", "Math", "ans", "b * d", "b", "d", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = (a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = (a * c);\n ans = Math.max(ans, a * d);\n ans = Math.max(ans, b * c);\n ans = Math.max(ans, b * d);\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long ans = (a * c); ans = Math.max(ans, a * d); ans = Math.max(ans, b * c); ans = Math.max(ans, b * d); System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 14, 2, 13, 13, 30, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 8, 2, 13, 13, 13, 13, 30, 4, 18, 18, 13, 13, 8, 2, 13, 13, 13, 13, 30, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 8, 2, 13, 13, 13, 13, 30, 4, 18, 18, 13, 13, 8, 2, 13, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 117, 5 ], [ 117, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 67, 72 ], [ 57, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 79, 84 ], [ 52, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 96, 101 ], [ 86, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 108, 113 ], [ 6, 114 ], [ 114, 115 ], [ 0, 116 ], [ 116, 117 ], [ 116, 118 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\n\t\t\tlong ac=a*c;\n\t\t\tlong ad=a*d;\n\t\t\tlong bc=b*c;\n\t\t\tlong bd=b*d;\n\t\t\tif(ac>ad) {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t}\t\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\n\t\t\tlong ac=a*c;\n\t\t\tlong ad=a*d;\n\t\t\tlong bc=b*c;\n\t\t\tlong bd=b*d;\n\t\t\tif(ac>ad) {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t}\t\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\n\t\t\tlong ac=a*c;\n\t\t\tlong ad=a*d;\n\t\t\tlong bc=b*c;\n\t\t\tlong bd=b*d;\n\t\t\tif(ac>ad) {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\n\t\t\tlong ac=a*c;\n\t\t\tlong ad=a*d;\n\t\t\tlong bc=b*c;\n\t\t\tlong bd=b*d;\n\t\t\tif(ac>ad) {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long ac=a*c;", "ac", "a*c", "a", "c", "long ad=a*d;", "ad", "a*d", "a", "d", "long bc=b*c;", "bc", "b*c", "b", "c", "long bd=b*d;", "bd", "b*d", "b", "d", "if(ac>ad) {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}", "ac>ad", "ac", "ad", "{\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "if(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}", "bc>bd", "bc", "bd", "{\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}", "System.out.println(ac>bc?ac:bc)", "System.out.println", "System.out", "System", "System.out", "ac>bc?ac:bc", "ac>bc", "ac", "bc", "ac", "bc", "{\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}", "System.out.println(ac>bd?ac:bd)", "System.out.println", "System.out", "System", "System.out", "ac>bd?ac:bd", "ac>bd", "ac", "bd", "ac", "bd", "{\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}", "if(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}", "bc>bd", "bc", "bd", "{\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}", "System.out.println(ad>bc?ad:bc)", "System.out.println", "System.out", "System", "System.out", "ad>bc?ad:bc", "ad>bc", "ad", "bc", "ad", "bc", "{\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}", "System.out.println(ad>bd?ad:bd)", "System.out.println", "System.out", "System", "System.out", "ad>bd?ad:bd", "ad>bd", "ad", "bd", "ad", "bd", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\n\t\t\tlong ac=a*c;\n\t\t\tlong ad=a*d;\n\t\t\tlong bc=b*c;\n\t\t\tlong bd=b*d;\n\t\t\tif(ac>ad) {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t}\t\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\t\n\t\t\tlong a = sc.nextLong();\n\t\t\tlong b = sc.nextLong();\n\t\t\tlong c = sc.nextLong();\n\t\t\tlong d = sc.nextLong();\n\n\t\t\tlong ac=a*c;\n\t\t\tlong ad=a*d;\n\t\t\tlong bc=b*c;\n\t\t\tlong bd=b*d;\n\t\t\tif(ac>ad) {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ac>bc?ac:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ac>bd?ac:bd);\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}else {\n\t\t\t\tif(bc>bd) {\n\t\t\t\t\tSystem.out.println(ad>bc?ad:bc);\t\t\t\t\t\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(ad>bd?ad:bd);\t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t}\t\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long ac=a*c; long ad=a*d; long bc=b*c; long bd=b*d; if(ac>ad) { if(bc>bd) { System.out.println(ac>bc?ac:bc); }else { System.out.println(ac>bd?ac:bd); } }else { if(bc>bd) { System.out.println(ad>bc?ad:bc); }else { System.out.println(ad>bd?ad:bd); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 2, 13, 17, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 6, 13, 41, 13, 2, 17, 17, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 13, 0, 13, 0, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 20, 13, 0, 13, 0, 13, 17, 23, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 17, 41, 13, 42, 2, 0, 13, 4, 13, 40, 17, 30, 14, 2, 13, 17, 3, 0, 18, 13, 40, 13, 13, 29, 20, 12, 13, 30, 41, 13, 17, 41, 13, 4, 13, 42, 2, 13, 17, 0, 13, 4, 13, 41, 13, 2, 13, 17, 14, 13, 0, 13, 4, 13, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 2, 13, 17, 13, 17, 14, 13, 29, 40, 13, 29, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 13, 42, 2, 13, 17, 0, 13, 4, 13, 41, 13, 2, 13, 17, 14, 13, 0, 13, 4, 13, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 2, 13, 17, 13, 17, 14, 13, 29, 40, 13, 29, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 4, 13, 42, 2, 13, 17, 0, 13, 4, 13, 41, 13, 2, 13, 17, 14, 13, 0, 13, 4, 13, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 2, 13, 17, 13, 17, 14, 2, 13, 17, 30, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 13, 17, 0, 13, 17, 14, 13, 29, 40, 13, 29, 13, 12, 13, 30, 0, 13, 4, 18, 13, 13, 0, 13, 17, 13, 14, 2, 13, 40, 17, 0, 18, 13, 17, 40, 17, 12, 13, 30, 14, 2, 13, 13, 4, 13, 29, 18, 13, 40, 13, 12, 13, 30, 14, 2, 13, 17, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 545, 8 ], [ 545, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 12, 19 ], [ 12, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 20, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 20, 47 ], [ 47, 48 ], [ 47, 49 ], [ 20, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 20, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 20, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 20, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 20, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 20, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 20, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 20, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 20, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 20, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 20, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 20, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 20, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 20, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 20, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 20, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 20, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 20, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 20, 136 ], [ 136, 137 ], [ 137, 138 ], [ 20, 139 ], [ 139, 140 ], [ 140, 141 ], [ 9, 142 ], [ 142, 143 ], [ 545, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 144, 148 ], [ 148, 149 ], [ 144, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 144, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 159, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 169, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 158, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 144, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 188, 191 ], [ 191, 192 ], [ 144, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 199, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 195, 212 ], [ 212, 213 ], [ 545, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 218, 220 ], [ 214, 221 ], [ 221, 222 ], [ 214, 223 ], [ 223, 224 ], [ 214, 225 ], [ 225, 226 ], [ 214, 227 ], [ 227, 228 ], [ 214, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 235 ], [ 235, 236 ], [ 235, 237 ], [ 231, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 241, 243 ], [ 214, 244 ], [ 244, 245 ], [ 244, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 246, 250 ], [ 250, 251 ], [ 250, 252 ], [ 246, 254 ], [ 254, 255 ], [ 254, 256 ], [ 256, 257 ], [ 256, 258 ], [ 244, 259 ], [ 259, 260 ], [ 214, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 268 ], [ 268, 269 ], [ 268, 270 ], [ 263, 271 ], [ 271, 272 ], [ 263, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 275, 277 ], [ 277, 278 ], [ 274, 279 ], [ 279, 280 ], [ 273, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 283, 285 ], [ 282, 286 ], [ 281, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 287, 292 ], [ 263, 293 ], [ 293, 294 ], [ 214, 295 ], [ 295, 296 ], [ 295, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 297, 301 ], [ 301, 302 ], [ 301, 303 ], [ 303, 304 ], [ 297, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 305, 309 ], [ 309, 310 ], [ 309, 311 ], [ 311, 312 ], [ 297, 313 ], [ 313, 314 ], [ 313, 315 ], [ 315, 316 ], [ 315, 317 ], [ 297, 318 ], [ 318, 319 ], [ 318, 320 ], [ 320, 321 ], [ 320, 322 ], [ 322, 323 ], [ 297, 324 ], [ 324, 325 ], [ 325, 326 ], [ 326, 327 ], [ 327, 328 ], [ 327, 329 ], [ 329, 330 ], [ 326, 331 ], [ 325, 332 ], [ 332, 333 ], [ 332, 334 ], [ 324, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 338, 339 ], [ 339, 340 ], [ 340, 341 ], [ 340, 342 ], [ 339, 343 ], [ 338, 344 ], [ 297, 345 ], [ 345, 346 ], [ 345, 347 ], [ 347, 348 ], [ 348, 349 ], [ 297, 350 ], [ 350, 351 ], [ 214, 352 ], [ 352, 353 ], [ 352, 354 ], [ 354, 355 ], [ 355, 356 ], [ 355, 357 ], [ 354, 358 ], [ 358, 359 ], [ 358, 360 ], [ 360, 361 ], [ 354, 362 ], [ 362, 363 ], [ 363, 364 ], [ 363, 365 ], [ 362, 366 ], [ 366, 367 ], [ 366, 368 ], [ 368, 369 ], [ 354, 370 ], [ 370, 371 ], [ 370, 372 ], [ 372, 373 ], [ 372, 374 ], [ 354, 375 ], [ 375, 376 ], [ 375, 377 ], [ 377, 378 ], [ 377, 379 ], [ 379, 380 ], [ 354, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 383, 388 ], [ 382, 389 ], [ 389, 390 ], [ 389, 391 ], [ 381, 392 ], [ 392, 393 ], [ 393, 394 ], [ 393, 395 ], [ 395, 396 ], [ 396, 397 ], [ 397, 398 ], [ 397, 399 ], [ 396, 400 ], [ 395, 401 ], [ 354, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 354, 407 ], [ 407, 408 ], [ 214, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 412, 413 ], [ 412, 414 ], [ 411, 415 ], [ 415, 416 ], [ 415, 417 ], [ 411, 418 ], [ 418, 419 ], [ 418, 420 ], [ 420, 421 ], [ 411, 422 ], [ 422, 423 ], [ 423, 424 ], [ 423, 425 ], [ 422, 426 ], [ 426, 427 ], [ 426, 428 ], [ 428, 429 ], [ 411, 430 ], [ 430, 431 ], [ 430, 432 ], [ 432, 433 ], [ 432, 434 ], [ 411, 435 ], [ 435, 436 ], [ 435, 437 ], [ 437, 438 ], [ 437, 439 ], [ 439, 440 ], [ 411, 441 ], [ 441, 442 ], [ 442, 443 ], [ 443, 444 ], [ 444, 445 ], [ 444, 446 ], [ 446, 447 ], [ 443, 448 ], [ 442, 449 ], [ 449, 450 ], [ 449, 451 ], [ 441, 452 ], [ 452, 453 ], [ 453, 454 ], [ 453, 455 ], [ 455, 456 ], [ 456, 457 ], [ 457, 458 ], [ 457, 459 ], [ 456, 460 ], [ 455, 461 ], [ 411, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 462, 466 ], [ 466, 467 ], [ 467, 468 ], [ 468, 469 ], [ 469, 470 ], [ 470, 471 ], [ 470, 472 ], [ 472, 473 ], [ 469, 474 ], [ 468, 475 ], [ 475, 476 ], [ 475, 477 ], [ 467, 478 ], [ 478, 479 ], [ 479, 480 ], [ 479, 481 ], [ 481, 482 ], [ 482, 483 ], [ 482, 484 ], [ 481, 485 ], [ 485, 486 ], [ 485, 487 ], [ 411, 488 ], [ 488, 489 ], [ 488, 490 ], [ 490, 491 ], [ 491, 492 ], [ 411, 493 ], [ 493, 494 ], [ 214, 495 ], [ 495, 496 ], [ 495, 497 ], [ 497, 498 ], [ 498, 499 ], [ 498, 500 ], [ 500, 501 ], [ 501, 502 ], [ 500, 503 ], [ 500, 504 ], [ 504, 505 ], [ 504, 506 ], [ 500, 507 ], [ 497, 508 ], [ 508, 509 ], [ 509, 510 ], [ 509, 511 ], [ 511, 512 ], [ 508, 513 ], [ 513, 514 ], [ 514, 515 ], [ 514, 516 ], [ 513, 517 ], [ 517, 518 ], [ 214, 519 ], [ 519, 520 ], [ 519, 521 ], [ 521, 522 ], [ 522, 523 ], [ 523, 524 ], [ 523, 525 ], [ 522, 526 ], [ 526, 527 ], [ 521, 528 ], [ 528, 529 ], [ 529, 530 ], [ 529, 531 ], [ 531, 532 ], [ 214, 533 ], [ 533, 534 ], [ 533, 535 ], [ 535, 536 ], [ 536, 537 ], [ 537, 538 ], [ 537, 539 ], [ 536, 540 ], [ 535, 541 ], [ 541, 542 ], [ 542, 543 ], [ 0, 544 ], [ 544, 545 ], [ 544, 546 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n //FastReader fr = new FastReader();\n Reader fr = new Reader();\n OutputStream out = new BufferedOutputStream(System.out);\n\n long a = fr.nextLong();\n long b = fr.nextLong();\n long c = fr.nextLong();\n long d = fr.nextLong();\n\n List<Long> list = new ArrayList<>();\n\n long ans1 = a*c;\n long ans2 = a*d;\n long ans3 = b*c;\n long ans4 = b*d;\n long ans5 = c*a;\n long ans6 = c*b;\n long ans7 = d*a;\n long ans8 = d*b;\n\n list.add(ans1);\n list.add(ans2);\n list.add(ans3);\n list.add(ans4);\n list.add(ans5);\n list.add(ans6);\n list.add(ans7);\n list.add(ans8);\n\n long ans = Collections.max(list);\n\n out.write((ans+\"\\n\").getBytes());\n\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n //FastReader fr = new FastReader();\n Reader fr = new Reader();\n OutputStream out = new BufferedOutputStream(System.out);\n\n long a = fr.nextLong();\n long b = fr.nextLong();\n long c = fr.nextLong();\n long d = fr.nextLong();\n\n List<Long> list = new ArrayList<>();\n\n long ans1 = a*c;\n long ans2 = a*d;\n long ans3 = b*c;\n long ans4 = b*d;\n long ans5 = c*a;\n long ans6 = c*b;\n long ans7 = d*a;\n long ans8 = d*b;\n\n list.add(ans1);\n list.add(ans2);\n list.add(ans3);\n list.add(ans4);\n list.add(ans5);\n list.add(ans6);\n list.add(ans7);\n list.add(ans8);\n\n long ans = Collections.max(list);\n\n out.write((ans+\"\\n\").getBytes());\n\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }\n}", "Main", "public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n //FastReader fr = new FastReader();\n Reader fr = new Reader();\n OutputStream out = new BufferedOutputStream(System.out);\n\n long a = fr.nextLong();\n long b = fr.nextLong();\n long c = fr.nextLong();\n long d = fr.nextLong();\n\n List<Long> list = new ArrayList<>();\n\n long ans1 = a*c;\n long ans2 = a*d;\n long ans3 = b*c;\n long ans4 = b*d;\n long ans5 = c*a;\n long ans6 = c*b;\n long ans7 = d*a;\n long ans8 = d*b;\n\n list.add(ans1);\n list.add(ans2);\n list.add(ans3);\n list.add(ans4);\n list.add(ans5);\n list.add(ans6);\n list.add(ans7);\n list.add(ans8);\n\n long ans = Collections.max(list);\n\n out.write((ans+\"\\n\").getBytes());\n\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }", "main", "{\n try\n {\n //FastReader fr = new FastReader();\n Reader fr = new Reader();\n OutputStream out = new BufferedOutputStream(System.out);\n\n long a = fr.nextLong();\n long b = fr.nextLong();\n long c = fr.nextLong();\n long d = fr.nextLong();\n\n List<Long> list = new ArrayList<>();\n\n long ans1 = a*c;\n long ans2 = a*d;\n long ans3 = b*c;\n long ans4 = b*d;\n long ans5 = c*a;\n long ans6 = c*b;\n long ans7 = d*a;\n long ans8 = d*b;\n\n list.add(ans1);\n list.add(ans2);\n list.add(ans3);\n list.add(ans4);\n list.add(ans5);\n list.add(ans6);\n list.add(ans7);\n list.add(ans8);\n\n long ans = Collections.max(list);\n\n out.write((ans+\"\\n\").getBytes());\n\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }", "try\n {\n //FastReader fr = new FastReader();\n Reader fr = new Reader();\n OutputStream out = new BufferedOutputStream(System.out);\n\n long a = fr.nextLong();\n long b = fr.nextLong();\n long c = fr.nextLong();\n long d = fr.nextLong();\n\n List<Long> list = new ArrayList<>();\n\n long ans1 = a*c;\n long ans2 = a*d;\n long ans3 = b*c;\n long ans4 = b*d;\n long ans5 = c*a;\n long ans6 = c*b;\n long ans7 = d*a;\n long ans8 = d*b;\n\n list.add(ans1);\n list.add(ans2);\n list.add(ans3);\n list.add(ans4);\n list.add(ans5);\n list.add(ans6);\n list.add(ans7);\n list.add(ans8);\n\n long ans = Collections.max(list);\n\n out.write((ans+\"\\n\").getBytes());\n\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}", "catch(Exception e){e.printStackTrace();}", "Exception e", "{e.printStackTrace();}", "e.printStackTrace()", "e.printStackTrace", "e", "{}", "{\n //FastReader fr = new FastReader();\n Reader fr = new Reader();\n OutputStream out = new BufferedOutputStream(System.out);\n\n long a = fr.nextLong();\n long b = fr.nextLong();\n long c = fr.nextLong();\n long d = fr.nextLong();\n\n List<Long> list = new ArrayList<>();\n\n long ans1 = a*c;\n long ans2 = a*d;\n long ans3 = b*c;\n long ans4 = b*d;\n long ans5 = c*a;\n long ans6 = c*b;\n long ans7 = d*a;\n long ans8 = d*b;\n\n list.add(ans1);\n list.add(ans2);\n list.add(ans3);\n list.add(ans4);\n list.add(ans5);\n list.add(ans6);\n list.add(ans7);\n list.add(ans8);\n\n long ans = Collections.max(list);\n\n out.write((ans+\"\\n\").getBytes());\n\n\n out.flush();\n out.close();\n }", "Reader fr = new Reader();", "fr", "new Reader()", "OutputStream out = new BufferedOutputStream(System.out);", "out", "new BufferedOutputStream(System.out)", "long a = fr.nextLong();", "a", "fr.nextLong()", "fr.nextLong", "fr", "long b = fr.nextLong();", "b", "fr.nextLong()", "fr.nextLong", "fr", "long c = fr.nextLong();", "c", "fr.nextLong()", "fr.nextLong", "fr", "long d = fr.nextLong();", "d", "fr.nextLong()", "fr.nextLong", "fr", "List<Long> list = new ArrayList<>();", "list", "new ArrayList<>()", "long ans1 = a*c;", "ans1", "a*c", "a", "c", "long ans2 = a*d;", "ans2", "a*d", "a", "d", "long ans3 = b*c;", "ans3", "b*c", "b", "c", "long ans4 = b*d;", "ans4", "b*d", "b", "d", "long ans5 = c*a;", "ans5", "c*a", "c", "a", "long ans6 = c*b;", "ans6", "c*b", "c", "b", "long ans7 = d*a;", "ans7", "d*a", "d", "a", "long ans8 = d*b;", "ans8", "d*b", "d", "b", "list.add(ans1)", "list.add", "list", "ans1", "list.add(ans2)", "list.add", "list", "ans2", "list.add(ans3)", "list.add", "list", "ans3", "list.add(ans4)", "list.add", "list", "ans4", "list.add(ans5)", "list.add", "list", "ans5", "list.add(ans6)", "list.add", "list", "ans6", "list.add(ans7)", "list.add", "list", "ans7", "list.add(ans8)", "list.add", "list", "ans8", "long ans = Collections.max(list);", "ans", "Collections.max(list)", "Collections.max", "Collections", "list", "out.write((ans+\"\\n\").getBytes())", "out.write", "out", "(ans+\"\\n\").getBytes()", "(ans+\"\\n\").getBytes", "(ans+\"\\n\")", "ans", "\"\\n\"", "out.flush()", "out.flush", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }", "st==null || !st.hasMoreElements()", "st==null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }", "try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }", "catch(IOException e)\n {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt()\n {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }", "catch(IOException e)\n {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }", "Reader", "final private int BUFFER_SIZE = 1 << 16;", "BUFFER_SIZE", "1 << 16", "1", "16", "private DataInputStream din;", "din", "private byte[] buffer;", "buffer", "private int bufferPointer", "bufferPointer", "bytesRead;", "bytesRead", "public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }", "Reader", "{\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }", "din = new DataInputStream(System.in)", "din", "new DataInputStream(System.in)", "buffer = new byte[BUFFER_SIZE]", "buffer", "new byte[BUFFER_SIZE]", "BUFFER_SIZE", "bufferPointer = bytesRead = 0", "bufferPointer", "bytesRead = 0", "bytesRead", "0", "public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }", "Reader", "{\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }", "din = new DataInputStream(new FileInputStream(file_name))", "din", "new DataInputStream(new FileInputStream(file_name))", "buffer = new byte[BUFFER_SIZE]", "buffer", "new byte[BUFFER_SIZE]", "BUFFER_SIZE", "bufferPointer = bytesRead = 0", "bufferPointer", "bytesRead = 0", "bytesRead", "0", "String file_name", "file_name", "public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }", "readLine", "{\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }", "byte[] buf = new byte[64];", "buf", "new byte[64]", "64", "int cnt = 0", "cnt", "0", "c;", "c", "while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }", "(c = read()) != -1", "(c = read())", "c", "read()", "read", "-1", "1", "{\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }", "if (c == '\\n')\n break;", "c == '\\n'", "c", "'\\n'", "break;", "buf[cnt++] = (byte) c", "buf[cnt++]", "buf", "cnt++", "cnt", "(byte) c", "return new String(buf, 0, cnt);", "new String(buf, 0, cnt)", "public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }", "nextInt", "{\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }", "int ret = 0;", "ret", "0", "byte c = read();", "c", "read()", "read", "while (c <= ' ')\n c = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg)\n c = read();", "neg", "c = read()", "c", "read()", "read", "do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n ret = ret * 10 + c - '0';\n }", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (neg)\n return -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }", "nextLong", "{\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }", "long ret = 0;", "ret", "0", "byte c = read();", "c", "read()", "read", "while (c <= ' ')\n c = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg)\n c = read();", "neg", "c = read()", "c", "read()", "read", "do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n ret = ret * 10 + c - '0';\n }", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (neg)\n return -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }", "nextDouble", "{\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }", "double ret = 0", "ret", "0", "div = 1;", "div", "1", "byte c = read();", "c", "read()", "read", "while (c <= ' ')\n c = read();", "c <= ' '", "c", "' '", "c = read()", "c", "read()", "read", "boolean neg = (c == '-');", "neg", "(c == '-')", "c", "'-'", "if (neg)\n c = read();", "neg", "c = read()", "c", "read()", "read", "do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n ret = ret * 10 + c - '0';\n }", "ret = ret * 10 + c - '0'", "ret", "ret * 10 + c - '0'", "ret * 10 + c", "ret * 10", "ret", "10", "c", "'0'", "if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }", "c == '.'", "c", "'.'", "{\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }", "while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n ret += (c - '0') / (div *= 10);\n }", "ret += (c - '0') / (div *= 10)", "ret", "(c - '0') / (div *= 10)", "(c - '0')", "c", "'0'", "(div *= 10)", "div", "10", "if (neg)\n return -ret;", "neg", "return -ret;", "-ret", "ret", "return ret;", "ret", "private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }", "fillBuffer", "{\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }", "bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)", "bytesRead", "din.read(buffer, bufferPointer = 0, BUFFER_SIZE)", "din.read", "din", "buffer", "bufferPointer = 0", "bufferPointer", "0", "BUFFER_SIZE", "if (bytesRead == -1)\n buffer[0] = -1;", "bytesRead == -1", "bytesRead", "-1", "1", "buffer[0] = -1", "buffer[0]", "buffer", "0", "-1", "1", "private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }", "read", "{\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }", "if (bufferPointer == bytesRead)\n fillBuffer();", "bufferPointer == bytesRead", "bufferPointer", "bytesRead", "fillBuffer()", "fillBuffer", "return buffer[bufferPointer++];", "buffer[bufferPointer++]", "buffer", "bufferPointer++", "bufferPointer", "public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }", "close", "{\n if (din == null)\n return;\n din.close();\n }", "if (din == null)\n return;", "din == null", "din", "null", "return;", "din.close()", "din.close", "din", "public class Main {\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n //FastReader fr = new FastReader();\n Reader fr = new Reader();\n OutputStream out = new BufferedOutputStream(System.out);\n\n long a = fr.nextLong();\n long b = fr.nextLong();\n long c = fr.nextLong();\n long d = fr.nextLong();\n\n List<Long> list = new ArrayList<>();\n\n long ans1 = a*c;\n long ans2 = a*d;\n long ans3 = b*c;\n long ans4 = b*d;\n long ans5 = c*a;\n long ans6 = c*b;\n long ans7 = d*a;\n long ans8 = d*b;\n\n list.add(ans1);\n list.add(ans2);\n list.add(ans3);\n list.add(ans4);\n list.add(ans5);\n list.add(ans6);\n list.add(ans7);\n list.add(ans8);\n\n long ans = Collections.max(list);\n\n out.write((ans+\"\\n\").getBytes());\n\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }\n}", "public class Main {\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next()\n {\n while(st==null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n String nextLine()\n {\n String str = \"\";\n\n try\n {\n str = br.readLine();\n }\n catch(IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static class Reader\n {\n final private int BUFFER_SIZE = 1 << 16;\n private DataInputStream din;\n private byte[] buffer;\n private int bufferPointer, bytesRead;\n\n public Reader()\n {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public Reader(String file_name) throws IOException\n {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public String readLine() throws IOException\n {\n byte[] buf = new byte[64]; // line length\n int cnt = 0, c;\n while ((c = read()) != -1)\n {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n\n public int nextInt() throws IOException\n {\n int ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do\n {\n ret = ret * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n\n if (neg)\n return -ret;\n return ret;\n }\n\n public long nextLong() throws IOException\n {\n long ret = 0;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n\n public double nextDouble() throws IOException\n {\n double ret = 0, div = 1;\n byte c = read();\n while (c <= ' ')\n c = read();\n boolean neg = (c == '-');\n if (neg)\n c = read();\n\n do {\n ret = ret * 10 + c - '0';\n }\n while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.')\n {\n while ((c = read()) >= '0' && c <= '9')\n {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n\n private void fillBuffer() throws IOException\n {\n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1)\n buffer[0] = -1;\n }\n\n private byte read() throws IOException\n {\n if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException\n {\n if (din == null)\n return;\n din.close();\n }\n }\n\n public static void main(String[] args) throws java.lang.Exception\n {\n try\n {\n //FastReader fr = new FastReader();\n Reader fr = new Reader();\n OutputStream out = new BufferedOutputStream(System.out);\n\n long a = fr.nextLong();\n long b = fr.nextLong();\n long c = fr.nextLong();\n long d = fr.nextLong();\n\n List<Long> list = new ArrayList<>();\n\n long ans1 = a*c;\n long ans2 = a*d;\n long ans3 = b*c;\n long ans4 = b*d;\n long ans5 = c*a;\n long ans6 = c*b;\n long ans7 = d*a;\n long ans8 = d*b;\n\n list.add(ans1);\n list.add(ans2);\n list.add(ans3);\n list.add(ans4);\n list.add(ans5);\n list.add(ans6);\n list.add(ans7);\n list.add(ans8);\n\n long ans = Collections.max(list);\n\n out.write((ans+\"\\n\").getBytes());\n\n\n out.flush();\n out.close();\n }\n\n catch(Exception e){e.printStackTrace();}\n finally{}\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while(st==null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch(IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch(IOException e) { e.printStackTrace(); } return str; } } static class Reader { final private int BUFFER_SIZE = 1 << 16; private DataInputStream din; private byte[] buffer; private int bufferPointer, bytesRead; public Reader() { din = new DataInputStream(System.in); buffer = new byte[BUFFER_SIZE]; bufferPointer = bytesRead = 0; } public Reader(String file_name) throws IOException { din = new DataInputStream(new FileInputStream(file_name)); buffer = new byte[BUFFER_SIZE]; bufferPointer = bytesRead = 0; } public String readLine() throws IOException { byte[] buf = new byte[64]; // line length int cnt = 0, c; while ((c = read()) != -1) { if (c == '\n') break; buf[cnt++] = (byte) c; } return new String(buf, 0, cnt); } public int nextInt() throws IOException { int ret = 0; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (neg) return -ret; return ret; } public long nextLong() throws IOException { long ret = 0; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (neg) return -ret; return ret; } public double nextDouble() throws IOException { double ret = 0, div = 1; byte c = read(); while (c <= ' ') c = read(); boolean neg = (c == '-'); if (neg) c = read(); do { ret = ret * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (c == '.') { while ((c = read()) >= '0' && c <= '9') { ret += (c - '0') / (div *= 10); } } if (neg) return -ret; return ret; } private void fillBuffer() throws IOException { bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); if (bytesRead == -1) buffer[0] = -1; } private byte read() throws IOException { if (bufferPointer == bytesRead) fillBuffer(); return buffer[bufferPointer++]; } public void close() throws IOException { if (din == null) return; din.close(); } } public static void main(String[] args) throws java.lang.Exception { try { //FastReader fr = new FastReader(); Reader fr = new Reader(); OutputStream out = new BufferedOutputStream(System.out); long a = fr.nextLong(); long b = fr.nextLong(); long c = fr.nextLong(); long d = fr.nextLong(); List<Long> list = new ArrayList<>(); long ans1 = a*c; long ans2 = a*d; long ans3 = b*c; long ans4 = b*d; long ans5 = c*a; long ans6 = c*b; long ans7 = d*a; long ans8 = d*b; list.add(ans1); list.add(ans2); list.add(ans3); list.add(ans4); list.add(ans5); list.add(ans6); list.add(ans7); list.add(ans8); long ans = Collections.max(list); out.write((ans+"\n").getBytes()); out.flush(); out.close(); } catch(Exception e){e.printStackTrace();} finally{} } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 13, 14, 2, 4, 18, 13, 13, 17, 30, 14, 2, 4, 18, 13, 13, 17, 30, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 14, 2, 4, 18, 13, 13, 17, 30, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 214, 8 ], [ 214, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 11, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 42, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 11, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 57, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 11, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 72, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 11, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 87, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 11, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 100, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 109, 114 ], [ 108, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 117, 122 ], [ 116, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 116, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 108, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 139, 144 ], [ 138, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 138, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 100, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 161, 166 ], [ 160, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 169, 174 ], [ 168, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 168, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 160, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 192, 195 ], [ 191, 196 ], [ 190, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 190, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 205, 210 ], [ 9, 211 ], [ 211, 212 ], [ 0, 213 ], [ 213, 214 ], [ 213, 215 ] ]
[ "import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger ans1 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans2 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d));\n\t\tBigInteger ans3 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans4 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d));\n\t\tif (ans1.compareTo(ans2) >= 0) {\n\t\t\t// 2 < 1\n\t\t\tif (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger ans1 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans2 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d));\n\t\tBigInteger ans3 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans4 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d));\n\t\tif (ans1.compareTo(ans2) >= 0) {\n\t\t\t// 2 < 1\n\t\t\tif (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger ans1 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans2 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d));\n\t\tBigInteger ans3 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans4 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d));\n\t\tif (ans1.compareTo(ans2) >= 0) {\n\t\t\t// 2 < 1\n\t\t\tif (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger ans1 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans2 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d));\n\t\tBigInteger ans3 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans4 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d));\n\t\tif (ans1.compareTo(ans2) >= 0) {\n\t\t\t// 2 < 1\n\t\t\tif (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "BigInteger ans = BigInteger.ONE;", "ans", "BigInteger.ONE", "BigInteger", "BigInteger.ONE", "BigInteger ans1 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c));", "ans1", "ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c))", "ans.multiply(BigInteger.valueOf(a)).multiply", "ans.multiply(BigInteger.valueOf(a))", "ans.multiply", "ans", "BigInteger.valueOf(a)", "BigInteger.valueOf", "BigInteger", "a", "BigInteger.valueOf(c)", "BigInteger.valueOf", "BigInteger", "c", "BigInteger ans2 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d));", "ans2", "ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d))", "ans.multiply(BigInteger.valueOf(a)).multiply", "ans.multiply(BigInteger.valueOf(a))", "ans.multiply", "ans", "BigInteger.valueOf(a)", "BigInteger.valueOf", "BigInteger", "a", "BigInteger.valueOf(d)", "BigInteger.valueOf", "BigInteger", "d", "BigInteger ans3 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c));", "ans3", "ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c))", "ans.multiply(BigInteger.valueOf(b)).multiply", "ans.multiply(BigInteger.valueOf(b))", "ans.multiply", "ans", "BigInteger.valueOf(b)", "BigInteger.valueOf", "BigInteger", "b", "BigInteger.valueOf(c)", "BigInteger.valueOf", "BigInteger", "c", "BigInteger ans4 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d));", "ans4", "ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d))", "ans.multiply(BigInteger.valueOf(b)).multiply", "ans.multiply(BigInteger.valueOf(b))", "ans.multiply", "ans", "BigInteger.valueOf(b)", "BigInteger.valueOf", "BigInteger", "b", "BigInteger.valueOf(d)", "BigInteger.valueOf", "BigInteger", "d", "if (ans1.compareTo(ans2) >= 0) {\n\t\t\t// 2 < 1\n\t\t\tif (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "ans1.compareTo(ans2) >= 0", "ans1.compareTo(ans2)", "ans1.compareTo", "ans1", "ans2", "0", "{\n\t\t\t// 2 < 1\n\t\t\tif (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "if (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}", "ans1.compareTo(ans3) >= 0", "ans1.compareTo(ans3)", "ans1.compareTo", "ans1", "ans3", "0", "{\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}", "if (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}", "ans1.compareTo(ans4) >= 0", "ans1.compareTo(ans4)", "ans1.compareTo", "ans1", "ans4", "0", "{\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t}", "System.out.println(ans1)", "System.out.println", "System.out", "System", "System.out", "ans1", "{\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}", "System.out.println(ans4)", "System.out.println", "System.out", "System", "System.out", "ans4", "{\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}", "if (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}", "ans3.compareTo(ans4) >= 0", "ans3.compareTo(ans4)", "ans3.compareTo", "ans3", "ans4", "0", "{\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t}", "System.out.println(ans3)", "System.out.println", "System.out", "System", "System.out", "ans3", "{\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}", "System.out.println(ans4)", "System.out.println", "System.out", "System", "System.out", "ans4", "{\n\t\t\tif (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "if (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}", "ans2.compareTo(ans3) >= 0", "ans2.compareTo(ans3)", "ans2.compareTo", "ans2", "ans3", "0", "{\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}", "if (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}", "ans2.compareTo(ans4) >= 0", "ans2.compareTo(ans4)", "ans2.compareTo", "ans2", "ans4", "0", "{\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t}", "System.out.println(ans2)", "System.out.println", "System.out", "System", "System.out", "ans2", "{\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}", "System.out.println(ans4)", "System.out.println", "System.out", "System", "System.out", "ans4", "{\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}", "if (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}", "ans3.compareTo(ans4) >= 0", "ans3.compareTo(ans4)", "ans3.compareTo", "ans3", "ans4", "0", "{\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t}", "System.out.println(ans3)", "System.out.println", "System.out", "System", "System.out", "ans3", "{\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}", "System.out.println(ans4)", "System.out.println", "System.out", "System", "System.out", "ans4", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger ans1 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans2 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d));\n\t\tBigInteger ans3 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans4 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d));\n\t\tif (ans1.compareTo(ans2) >= 0) {\n\t\t\t// 2 < 1\n\t\t\tif (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\tint d = sc.nextInt();\n\t\tBigInteger ans = BigInteger.ONE;\n\t\tBigInteger ans1 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans2 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d));\n\t\tBigInteger ans3 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c));\n\t\tBigInteger ans4 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d));\n\t\tif (ans1.compareTo(ans2) >= 0) {\n\t\t\t// 2 < 1\n\t\t\tif (ans1.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans1.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans1);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tif (ans2.compareTo(ans3) >= 0) {\n\t\t\t\tif (ans2.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans2);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (ans3.compareTo(ans4) >= 0) {\n\t\t\t\t\tSystem.out.println(ans3);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(ans4);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); BigInteger ans = BigInteger.ONE; BigInteger ans1 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(c)); BigInteger ans2 = ans.multiply(BigInteger.valueOf(a)).multiply(BigInteger.valueOf(d)); BigInteger ans3 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(c)); BigInteger ans4 = ans.multiply(BigInteger.valueOf(b)).multiply(BigInteger.valueOf(d)); if (ans1.compareTo(ans2) >= 0) { // 2 < 1 if (ans1.compareTo(ans3) >= 0) { if (ans1.compareTo(ans4) >= 0) { System.out.println(ans1); } else { System.out.println(ans4); } } else { if (ans3.compareTo(ans4) >= 0) { System.out.println(ans3); } else { System.out.println(ans4); } } } else { if (ans2.compareTo(ans3) >= 0) { if (ans2.compareTo(ans4) >= 0) { System.out.println(ans2); } else { System.out.println(ans4); } } else { if (ans3.compareTo(ans4) >= 0) { System.out.println(ans3); } else { System.out.println(ans4); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 20, 4, 18, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 13, 41, 13, 20, 4, 18, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 13, 28, 13, 13, 30, 30, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 109, 5 ], [ 109, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 8, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 8, 81 ], [ 81, 82 ], [ 81, 83 ], [ 81, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 86, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 93, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 6, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = Long.MIN_VALUE;\n\n List<Long> ab = new ArrayList<>();\n ab.add(a);\n if (a * b < 0) {\n ab.add(0L);\n }\n ab.add(b);\n List<Long> cd = new ArrayList<>();\n cd.add(c);\n if (c * d < 0) {\n cd.add(0L);\n }\n cd.add(d);\n\n for (long x: ab) {\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }\n\n System.out.print(max);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = Long.MIN_VALUE;\n\n List<Long> ab = new ArrayList<>();\n ab.add(a);\n if (a * b < 0) {\n ab.add(0L);\n }\n ab.add(b);\n List<Long> cd = new ArrayList<>();\n cd.add(c);\n if (c * d < 0) {\n cd.add(0L);\n }\n cd.add(d);\n\n for (long x: ab) {\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }\n\n System.out.print(max);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = Long.MIN_VALUE;\n\n List<Long> ab = new ArrayList<>();\n ab.add(a);\n if (a * b < 0) {\n ab.add(0L);\n }\n ab.add(b);\n List<Long> cd = new ArrayList<>();\n cd.add(c);\n if (c * d < 0) {\n cd.add(0L);\n }\n cd.add(d);\n\n for (long x: ab) {\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }\n\n System.out.print(max);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = Long.MIN_VALUE;\n\n List<Long> ab = new ArrayList<>();\n ab.add(a);\n if (a * b < 0) {\n ab.add(0L);\n }\n ab.add(b);\n List<Long> cd = new ArrayList<>();\n cd.add(c);\n if (c * d < 0) {\n cd.add(0L);\n }\n cd.add(d);\n\n for (long x: ab) {\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }\n\n System.out.print(max);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long max = Long.MIN_VALUE;", "max", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "List<Long> ab = new ArrayList<>();", "ab", "new ArrayList<>()", "ab.add(a)", "ab.add", "ab", "a", "if (a * b < 0) {\n ab.add(0L);\n }", "a * b < 0", "a * b", "a", "b", "0", "{\n ab.add(0L);\n }", "ab.add(0L)", "ab.add", "ab", "0L", "ab.add(b)", "ab.add", "ab", "b", "List<Long> cd = new ArrayList<>();", "cd", "new ArrayList<>()", "cd.add(c)", "cd.add", "cd", "c", "if (c * d < 0) {\n cd.add(0L);\n }", "c * d < 0", "c * d", "c", "d", "0", "{\n cd.add(0L);\n }", "cd.add(0L)", "cd.add", "cd", "0L", "cd.add(d)", "cd.add", "cd", "d", "for (long x: ab) {\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }", "long x", "ab", "{\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }", "{\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }", "for (long y: cd) {\n max = Math.max(x * y, max);\n }", "long y", "cd", "{\n max = Math.max(x * y, max);\n }", "{\n max = Math.max(x * y, max);\n }", "max = Math.max(x * y, max)", "max", "Math.max(x * y, max)", "Math.max", "Math", "x * y", "x", "y", "max", "System.out.print(max)", "System.out.print", "System.out", "System", "System.out", "max", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = Long.MIN_VALUE;\n\n List<Long> ab = new ArrayList<>();\n ab.add(a);\n if (a * b < 0) {\n ab.add(0L);\n }\n ab.add(b);\n List<Long> cd = new ArrayList<>();\n cd.add(c);\n if (c * d < 0) {\n cd.add(0L);\n }\n cd.add(d);\n\n for (long x: ab) {\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }\n\n System.out.print(max);\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long max = Long.MIN_VALUE;\n\n List<Long> ab = new ArrayList<>();\n ab.add(a);\n if (a * b < 0) {\n ab.add(0L);\n }\n ab.add(b);\n List<Long> cd = new ArrayList<>();\n cd.add(c);\n if (c * d < 0) {\n cd.add(0L);\n }\n cd.add(d);\n\n for (long x: ab) {\n for (long y: cd) {\n max = Math.max(x * y, max);\n }\n }\n\n System.out.print(max);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long max = Long.MIN_VALUE; List<Long> ab = new ArrayList<>(); ab.add(a); if (a * b < 0) { ab.add(0L); } ab.add(b); List<Long> cd = new ArrayList<>(); cd.add(c); if (c * d < 0) { cd.add(0L); } cd.add(d); for (long x: ab) { for (long y: cd) { max = Math.max(x * y, max); } } System.out.print(max); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 40, 17, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 186, 5 ], [ 186, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 44, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 39, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 89, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 108, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 108, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 104, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 134, 136 ], [ 84, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 149, 151 ], [ 142, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 164, 166 ], [ 157, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 174, 176 ], [ 8, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 6, 183 ], [ 183, 184 ], [ 0, 185 ], [ 185, 186 ], [ 185, 187 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //int x = 0;\n //int y = 0;\n\n //ansが負になることを考えて、想定される最低値を設定\n //int型の最大値を超えるためlongを使用※末尾にLをつける\n long calc = 0;\n long ans = -1000000000000000000L; \n\n\n //パターン1、全てのXとYのパターンを試して最大値を比較して更新する\n /* for (int x = a; x <= b; x++) {\n for (int y = c; y <= d; y++) {\n calc = x*y;\n if(calc>=ans){\n ans = calc;\n }\n }\n }\n */\n \n //パターン2、プラス同士やマイナス同士を優先するやり方\n //絶対値取得 Math.abs(i);\n if(a>=0){\n if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }\n }else if(a<0){\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }\n \n System.out.println(ans); \n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //int x = 0;\n //int y = 0;\n\n //ansが負になることを考えて、想定される最低値を設定\n //int型の最大値を超えるためlongを使用※末尾にLをつける\n long calc = 0;\n long ans = -1000000000000000000L; \n\n\n //パターン1、全てのXとYのパターンを試して最大値を比較して更新する\n /* for (int x = a; x <= b; x++) {\n for (int y = c; y <= d; y++) {\n calc = x*y;\n if(calc>=ans){\n ans = calc;\n }\n }\n }\n */\n \n //パターン2、プラス同士やマイナス同士を優先するやり方\n //絶対値取得 Math.abs(i);\n if(a>=0){\n if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }\n }else if(a<0){\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }\n \n System.out.println(ans); \n }\n}", "Main", "public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //int x = 0;\n //int y = 0;\n\n //ansが負になることを考えて、想定される最低値を設定\n //int型の最大値を超えるためlongを使用※末尾にLをつける\n long calc = 0;\n long ans = -1000000000000000000L; \n\n\n //パターン1、全てのXとYのパターンを試して最大値を比較して更新する\n /* for (int x = a; x <= b; x++) {\n for (int y = c; y <= d; y++) {\n calc = x*y;\n if(calc>=ans){\n ans = calc;\n }\n }\n }\n */\n \n //パターン2、プラス同士やマイナス同士を優先するやり方\n //絶対値取得 Math.abs(i);\n if(a>=0){\n if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }\n }else if(a<0){\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }\n \n System.out.println(ans); \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //int x = 0;\n //int y = 0;\n\n //ansが負になることを考えて、想定される最低値を設定\n //int型の最大値を超えるためlongを使用※末尾にLをつける\n long calc = 0;\n long ans = -1000000000000000000L; \n\n\n //パターン1、全てのXとYのパターンを試して最大値を比較して更新する\n /* for (int x = a; x <= b; x++) {\n for (int y = c; y <= d; y++) {\n calc = x*y;\n if(calc>=ans){\n ans = calc;\n }\n }\n }\n */\n \n //パターン2、プラス同士やマイナス同士を優先するやり方\n //絶対値取得 Math.abs(i);\n if(a>=0){\n if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }\n }else if(a<0){\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }\n \n System.out.println(ans); \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long calc = 0;", "calc", "0", "long ans = -1000000000000000000L;", "ans", "-1000000000000000000L", "1000000000000000000L", "if(a>=0){\n if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }\n }else if(a<0){\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }", "a>=0", "a", "0", "{\n if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }\n }", "if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }", "c>=0", "c", "0", "{\n //全て正の範囲同士\n ans = b*d;\n }", "ans = b*d", "ans", "b*d", "b", "d", "if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }", "c<0", "c", "0", "{\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }", "if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n }", "d>=0", "d", "0", "{\n //xが正、yが正負あり得る\n ans = b*d;\n }", "ans = b*d", "ans", "b*d", "b", "d", "if(d<0){\n //xが正、yが負\n ans = a*d; \n }", "d<0", "d", "0", "{\n //xが正、yが負\n ans = a*d; \n }", "ans = a*d", "ans", "a*d", "a", "d", "if(a<0){\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }", "a<0", "a", "0", "{\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }", "if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }", "b>=0", "b", "0", "{\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }", "if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }", "c>=0", "c", "0", "{\n //xが正負ありえる、yが正\n ans = b*d;\n }", "ans = b*d", "ans", "b*d", "b", "d", "if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }", "c<0", "c", "0", "{\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }", "if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n }", "d>=0", "d", "0", "{\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }", "ans = a*c", "ans", "a*c", "a", "c", "calc = b*d", "calc", "b*d", "b", "d", "if(ans<calc){\n ans = calc;\n }", "ans<calc", "ans", "calc", "{\n ans = calc;\n }", "ans = calc", "ans", "calc", "if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n }", "d<0", "d", "0", "{\n //xが正負ありえる、yが負\n ans = a*c; \n }", "ans = a*c", "ans", "a*c", "a", "c", "if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }", "b<0", "b", "0", "{\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }", "if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }", "c>=0", "c", "0", "{\n //xが負、yが正\n ans = b*c;\n }", "ans = b*c", "ans", "b*c", "b", "c", "if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }", "c<0", "c", "0", "{\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }", "if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n }", "d>=0", "d", "0", "{\n //xが負、yが正負あり得る\n ans = a*c;\n }", "ans = a*c", "ans", "a*c", "a", "c", "if(d<0){\n //xが負、yが負\n ans = a*c; \n }", "d<0", "d", "0", "{\n //xが負、yが負\n ans = a*c; \n }", "ans = a*c", "ans", "a*c", "a", "c", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //int x = 0;\n //int y = 0;\n\n //ansが負になることを考えて、想定される最低値を設定\n //int型の最大値を超えるためlongを使用※末尾にLをつける\n long calc = 0;\n long ans = -1000000000000000000L; \n\n\n //パターン1、全てのXとYのパターンを試して最大値を比較して更新する\n /* for (int x = a; x <= b; x++) {\n for (int y = c; y <= d; y++) {\n calc = x*y;\n if(calc>=ans){\n ans = calc;\n }\n }\n }\n */\n \n //パターン2、プラス同士やマイナス同士を優先するやり方\n //絶対値取得 Math.abs(i);\n if(a>=0){\n if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }\n }else if(a<0){\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }\n \n System.out.println(ans); \n }\n}", "public class Main {\n public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n //int x = 0;\n //int y = 0;\n\n //ansが負になることを考えて、想定される最低値を設定\n //int型の最大値を超えるためlongを使用※末尾にLをつける\n long calc = 0;\n long ans = -1000000000000000000L; \n\n\n //パターン1、全てのXとYのパターンを試して最大値を比較して更新する\n /* for (int x = a; x <= b; x++) {\n for (int y = c; y <= d; y++) {\n calc = x*y;\n if(calc>=ans){\n ans = calc;\n }\n }\n }\n */\n \n //パターン2、プラス同士やマイナス同士を優先するやり方\n //絶対値取得 Math.abs(i);\n if(a>=0){\n if(c>=0){\n //全て正の範囲同士\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正、yが正負あり得る\n ans = b*d;\n }else if(d<0){\n //xが正、yが負\n ans = a*d; \n } \n }\n }else if(a<0){\n if(b>=0){\n //xが正負あり得る、bが最大\n if(c>=0){\n //xが正負ありえる、yが正\n ans = b*d;\n }else if(c<0){\n if(d>=0){\n //xが正負ありえる、yが正負あり得る\n ans = a*c;\n calc = b*d;\n if(ans<calc){\n ans = calc;\n }\n }else if(d<0){\n //xが正負ありえる、yが負\n ans = a*c; \n } \n }\n }else if(b<0){\n if(c>=0){\n //xが負、yが正\n ans = b*c;\n }else if(c<0){\n if(d>=0){\n //xが負、yが正負あり得る\n ans = a*c;\n }else if(d<0){\n //xが負、yが負\n ans = a*c; \n } \n }\n }\n }\n \n System.out.println(ans); \n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args ) throws Exception { Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); //int x = 0; //int y = 0; //ansが負になることを考えて、想定される最低値を設定 //int型の最大値を超えるためlongを使用※末尾にLをつける long calc = 0; long ans = -1000000000000000000L; //パターン1、全てのXとYのパターンを試して最大値を比較して更新する /* for (int x = a; x <= b; x++) { for (int y = c; y <= d; y++) { calc = x*y; if(calc>=ans){ ans = calc; } } } */ //パターン2、プラス同士やマイナス同士を優先するやり方 //絶対値取得 Math.abs(i); if(a>=0){ if(c>=0){ //全て正の範囲同士 ans = b*d; }else if(c<0){ if(d>=0){ //xが正、yが正負あり得る ans = b*d; }else if(d<0){ //xが正、yが負 ans = a*d; } } }else if(a<0){ if(b>=0){ //xが正負あり得る、bが最大 if(c>=0){ //xが正負ありえる、yが正 ans = b*d; }else if(c<0){ if(d>=0){ //xが正負ありえる、yが正負あり得る ans = a*c; calc = b*d; if(ans<calc){ ans = calc; } }else if(d<0){ //xが正負ありえる、yが負 ans = a*c; } } }else if(b<0){ if(c>=0){ //xが負、yが正 ans = b*c; }else if(c<0){ if(d>=0){ //xが負、yが正負あり得る ans = a*c; }else if(d<0){ //xが負、yが負 ans = a*c; } } } } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 40, 17, 41, 13, 20, 17, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 18, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 105, 5 ], [ 105, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 68, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 6, 102 ], [ 102, 103 ], [ 0, 104 ], [ 104, 105 ], [ 104, 106 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long result = -1000000000000000001L;\n long[] resultArray = new long[4];\n resultArray[0] = a * c;\n resultArray[1] = a * d;\n resultArray[2] = b * c;\n resultArray[3] = b * d;\n for (int i =0; i < resultArray.length; i++) {\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }\n System.out.println(result);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long result = -1000000000000000001L;\n long[] resultArray = new long[4];\n resultArray[0] = a * c;\n resultArray[1] = a * d;\n resultArray[2] = b * c;\n resultArray[3] = b * d;\n for (int i =0; i < resultArray.length; i++) {\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }\n System.out.println(result);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long result = -1000000000000000001L;\n long[] resultArray = new long[4];\n resultArray[0] = a * c;\n resultArray[1] = a * d;\n resultArray[2] = b * c;\n resultArray[3] = b * d;\n for (int i =0; i < resultArray.length; i++) {\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }\n System.out.println(result);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long result = -1000000000000000001L;\n long[] resultArray = new long[4];\n resultArray[0] = a * c;\n resultArray[1] = a * d;\n resultArray[2] = b * c;\n resultArray[3] = b * d;\n for (int i =0; i < resultArray.length; i++) {\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }\n System.out.println(result);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long result = -1000000000000000001L;", "result", "-1000000000000000001L", "1000000000000000001L", "long[] resultArray = new long[4];", "resultArray", "new long[4]", "4", "resultArray[0] = a * c", "resultArray[0]", "resultArray", "0", "a * c", "a", "c", "resultArray[1] = a * d", "resultArray[1]", "resultArray", "1", "a * d", "a", "d", "resultArray[2] = b * c", "resultArray[2]", "resultArray", "2", "b * c", "b", "c", "resultArray[3] = b * d", "resultArray[3]", "resultArray", "3", "b * d", "b", "d", "for (int i =0; i < resultArray.length; i++) {\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }", "int i =0;", "int i =0;", "i", "0", "i < resultArray.length", "i", "resultArray.length", "resultArray", "resultArray.length", "i++", "i++", "i", "{\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }", "{\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }", "long temp = resultArray[i];", "temp", "resultArray[i]", "resultArray", "i", "if (temp > result) {\n result = temp;\n }", "temp > result", "temp", "result", "{\n result = temp;\n }", "result = temp", "result", "temp", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long result = -1000000000000000001L;\n long[] resultArray = new long[4];\n resultArray[0] = a * c;\n resultArray[1] = a * d;\n resultArray[2] = b * c;\n resultArray[3] = b * d;\n for (int i =0; i < resultArray.length; i++) {\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }\n System.out.println(result);\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long result = -1000000000000000001L;\n long[] resultArray = new long[4];\n resultArray[0] = a * c;\n resultArray[1] = a * d;\n resultArray[2] = b * c;\n resultArray[3] = b * d;\n for (int i =0; i < resultArray.length; i++) {\n long temp = resultArray[i];\n if (temp > result) {\n result = temp;\n }\n }\n System.out.println(result);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long result = -1000000000000000001L; long[] resultArray = new long[4]; resultArray[0] = a * c; resultArray[1] = a * d; resultArray[2] = b * c; resultArray[3] = b * d; for (int i =0; i < resultArray.length; i++) { long temp = resultArray[i]; if (temp > result) { result = temp; } } System.out.println(result); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 17, 41, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 13, 30, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 0, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 105, 11 ], [ 105, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 14, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 61 ], [ 61, 62 ], [ 61, 63 ], [ 14, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 64, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 14, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 78, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 14, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 97, 101 ], [ 12, 102 ], [ 102, 103 ], [ 0, 104 ], [ 104, 105 ], [ 104, 106 ] ]
[ "import java.util.*;\nimport java.math.RoundingMode;\nimport java.math.BigDecimal;\n \n \npublic class Main{\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong ac = a*c;\n\t\tlong ad = a*d;\n\t\tlong bc = b*c;\n\t\tlong bd = b*d;\n\t\tlong r = 0;\n\t\tlong l = 0;\n\t\tif(ac-ad>0) {\n\t\t\tr = ac;\n\t\t}\n\t\telse {\n\t\t\tr = ad;\n\t\t}\n\t\tif(bc-bd>0) {\n\t\t\tl = bc;\n\t\t}\n\t\telse {\n\t\t\tl = bd;\n\t\t}\n\t\tSystem.out.println(Math.max((long)r, (long)l));\n\t\t\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.math.RoundingMode;", "RoundingMode", "java.math", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main{\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong ac = a*c;\n\t\tlong ad = a*d;\n\t\tlong bc = b*c;\n\t\tlong bd = b*d;\n\t\tlong r = 0;\n\t\tlong l = 0;\n\t\tif(ac-ad>0) {\n\t\t\tr = ac;\n\t\t}\n\t\telse {\n\t\t\tr = ad;\n\t\t}\n\t\tif(bc-bd>0) {\n\t\t\tl = bc;\n\t\t}\n\t\telse {\n\t\t\tl = bd;\n\t\t}\n\t\tSystem.out.println(Math.max((long)r, (long)l));\n\t\t\n\t}\n}", "Main", "public static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong ac = a*c;\n\t\tlong ad = a*d;\n\t\tlong bc = b*c;\n\t\tlong bd = b*d;\n\t\tlong r = 0;\n\t\tlong l = 0;\n\t\tif(ac-ad>0) {\n\t\t\tr = ac;\n\t\t}\n\t\telse {\n\t\t\tr = ad;\n\t\t}\n\t\tif(bc-bd>0) {\n\t\t\tl = bc;\n\t\t}\n\t\telse {\n\t\t\tl = bd;\n\t\t}\n\t\tSystem.out.println(Math.max((long)r, (long)l));\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong ac = a*c;\n\t\tlong ad = a*d;\n\t\tlong bc = b*c;\n\t\tlong bd = b*d;\n\t\tlong r = 0;\n\t\tlong l = 0;\n\t\tif(ac-ad>0) {\n\t\t\tr = ac;\n\t\t}\n\t\telse {\n\t\t\tr = ad;\n\t\t}\n\t\tif(bc-bd>0) {\n\t\t\tl = bc;\n\t\t}\n\t\telse {\n\t\t\tl = bd;\n\t\t}\n\t\tSystem.out.println(Math.max((long)r, (long)l));\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long ac = a*c;", "ac", "a*c", "a", "c", "long ad = a*d;", "ad", "a*d", "a", "d", "long bc = b*c;", "bc", "b*c", "b", "c", "long bd = b*d;", "bd", "b*d", "b", "d", "long r = 0;", "r", "0", "long l = 0;", "l", "0", "if(ac-ad>0) {\n\t\t\tr = ac;\n\t\t}\n\t\telse {\n\t\t\tr = ad;\n\t\t}", "ac-ad>0", "ac-ad", "ac", "ad", "0", "{\n\t\t\tr = ac;\n\t\t}", "r = ac", "r", "ac", "{\n\t\t\tr = ad;\n\t\t}", "r = ad", "r", "ad", "if(bc-bd>0) {\n\t\t\tl = bc;\n\t\t}\n\t\telse {\n\t\t\tl = bd;\n\t\t}", "bc-bd>0", "bc-bd", "bc", "bd", "0", "{\n\t\t\tl = bc;\n\t\t}", "l = bc", "l", "bc", "{\n\t\t\tl = bd;\n\t\t}", "l = bd", "l", "bd", "System.out.println(Math.max((long)r, (long)l))", "System.out.println", "System.out", "System", "System.out", "Math.max((long)r, (long)l)", "Math.max", "Math", "(long)r", "(long)l", "String[] args", "args", "public class Main{\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong ac = a*c;\n\t\tlong ad = a*d;\n\t\tlong bc = b*c;\n\t\tlong bd = b*d;\n\t\tlong r = 0;\n\t\tlong l = 0;\n\t\tif(ac-ad>0) {\n\t\t\tr = ac;\n\t\t}\n\t\telse {\n\t\t\tr = ad;\n\t\t}\n\t\tif(bc-bd>0) {\n\t\t\tl = bc;\n\t\t}\n\t\telse {\n\t\t\tl = bd;\n\t\t}\n\t\tSystem.out.println(Math.max((long)r, (long)l));\n\t\t\n\t}\n}", "public class Main{\n\tpublic static void main (String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\t\tlong ac = a*c;\n\t\tlong ad = a*d;\n\t\tlong bc = b*c;\n\t\tlong bd = b*d;\n\t\tlong r = 0;\n\t\tlong l = 0;\n\t\tif(ac-ad>0) {\n\t\t\tr = ac;\n\t\t}\n\t\telse {\n\t\t\tr = ad;\n\t\t}\n\t\tif(bc-bd>0) {\n\t\t\tl = bc;\n\t\t}\n\t\telse {\n\t\t\tl = bd;\n\t\t}\n\t\tSystem.out.println(Math.max((long)r, (long)l));\n\t\t\n\t}\n}", "Main" ]
import java.util.*; import java.math.RoundingMode; import java.math.BigDecimal; public class Main{ public static void main (String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long ac = a*c; long ad = a*d; long bc = b*c; long bd = b*d; long r = 0; long l = 0; if(ac-ad>0) { r = ac; } else { r = ad; } if(bc-bd>0) { l = bc; } else { l = bd; } System.out.println(Math.max((long)r, (long)l)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 18, 36, 13, 20, 23, 13, 12, 13, 30, 4, 18, 13, 12, 13, 30, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 30, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 4, 18, 13, 13, 29, 4, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 6, 13, 12, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 365, 35 ], [ 365, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 38, 49 ], [ 49, 50 ], [ 49, 51 ], [ 38, 52 ], [ 52, 53 ], [ 52, 54 ], [ 38, 55 ], [ 55, 56 ], [ 55, 57 ], [ 38, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 58, 62 ], [ 58, 63 ], [ 38, 64 ], [ 64, 65 ], [ 65, 66 ], [ 36, 67 ], [ 67, 68 ], [ 365, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 77, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 82, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 82, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 82, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 82, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 108, 109 ], [ 108, 110 ], [ 105, 111 ], [ 111, 112 ], [ 111, 113 ], [ 82, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 119, 121 ], [ 116, 122 ], [ 122, 123 ], [ 122, 124 ], [ 82, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 128, 132 ], [ 71, 133 ], [ 133, 134 ], [ 71, 135 ], [ 135, 136 ], [ 71, 137 ], [ 137, 138 ], [ 365, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 139, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 143, 149 ], [ 149, 150 ], [ 139, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 151, 159 ], [ 159, 160 ], [ 139, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 139, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 167, 174 ], [ 174, 175 ], [ 365, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 176, 180 ], [ 180, 181 ], [ 180, 182 ], [ 176, 184 ], [ 184, 185 ], [ 176, 186 ], [ 186, 187 ], [ 176, 188 ], [ 188, 189 ], [ 176, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 190, 198 ], [ 198, 199 ], [ 176, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 203, 208 ], [ 208, 209 ], [ 209, 210 ], [ 202, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 219, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 229, 230 ], [ 228, 231 ], [ 215, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 202, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 176, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 247, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 252, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 247, 261 ], [ 261, 262 ], [ 261, 263 ], [ 247, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 264, 268 ], [ 268, 269 ], [ 269, 270 ], [ 269, 271 ], [ 271, 272 ], [ 268, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 247, 277 ], [ 277, 278 ], [ 277, 279 ], [ 247, 280 ], [ 280, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 280, 285 ], [ 285, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 287, 291 ], [ 291, 292 ], [ 291, 293 ], [ 286, 294 ], [ 294, 295 ], [ 295, 296 ], [ 285, 297 ], [ 297, 298 ], [ 297, 299 ], [ 285, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 302, 304 ], [ 285, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 247, 309 ], [ 309, 310 ], [ 310, 311 ], [ 310, 312 ], [ 176, 313 ], [ 313, 314 ], [ 313, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 317, 319 ], [ 316, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 323, 324 ], [ 322, 325 ], [ 315, 326 ], [ 326, 327 ], [ 327, 328 ], [ 327, 329 ], [ 313, 330 ], [ 330, 331 ], [ 176, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 335, 336 ], [ 339, 337 ], [ 349, 338 ], [ 346, 339 ], [ 339, 340 ], [ 340, 341 ], [ 340, 342 ], [ 339, 343 ], [ 343, 344 ], [ 343, 345 ], [ 346, 346 ], [ 346, 347 ], [ 346, 348 ], [ 349, 349 ], [ 349, 350 ], [ 349, 351 ], [ 339, 352 ], [ 352, 353 ], [ 352, 354 ], [ 354, 355 ], [ 332, 356 ], [ 356, 357 ], [ 176, 358 ], [ 358, 359 ], [ 358, 360 ], [ 360, 361 ], [ 360, 362 ], [ 362, 363 ], [ 0, 364 ], [ 364, 365 ], [ 364, 366 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.io.BufferedWriter;", "BufferedWriter", "java.io", "import java.io.Writer;", "Writer", "java.io", "import java.io.OutputStreamWriter;", "OutputStreamWriter", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "InputReader in = new InputReader(inputStream);", "in", "new InputReader(inputStream)", "OutputWriter out = new OutputWriter(outputStream);", "out", "new OutputWriter(outputStream)", "BProductMax solver = new BProductMax();", "solver", "new BProductMax()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class BProductMax {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }\n }\n\n }", "BProductMax", "public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }\n }", "solve", "{\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }\n }", "int ntc = 1;", "ntc", "1", "while ((ntc--) > 0) {\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }", "(ntc--) > 0", "(ntc--)", "ntc", "0", "{\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }", "long a = in.nextInt()", "a", "in.nextInt()", "in.nextInt", "in", "b = in.nextInt()", "b", "in.nextInt()", "in.nextInt", "in", "c = in.nextInt()", "c", "in.nextInt()", "in.nextInt", "in", "d = in.nextInt();", "d", "in.nextInt()", "in.nextInt", "in", "long x = Math.max(a * d, b * c);", "x", "Math.max(a * d, b * c)", "Math.max", "Math", "a * d", "a", "d", "b * c", "b", "c", "long y = Math.max(a * c, b * d);", "y", "Math.max(a * c, b * d)", "Math.max", "Math", "a * c", "a", "c", "b * d", "b", "d", "out.println(Math.max(x, y))", "out.println", "out", "Math.max(x, y)", "Math.max", "Math", "x", "y", "int testNumber", "testNumber", "InputReader in", "in", "OutputWriter out", "out", "static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }", "OutputWriter", "private final PrintWriter writer;", "writer", "public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }", "OutputWriter", "{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }", "writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "writer", "new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "OutputStream outputStream", "outputStream", "public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }", "OutputWriter", "{\n this.writer = new PrintWriter(writer);\n }", "this.writer = new PrintWriter(writer)", "this.writer", "this", "this.writer", "new PrintWriter(writer)", "Writer writer", "writer", "public void close() {\n writer.close();\n }", "close", "{\n writer.close();\n }", "writer.close()", "writer.close", "writer", "public void println(long i) {\n writer.println(i);\n }", "println", "{\n writer.println(i);\n }", "writer.println(i)", "writer.println", "writer", "i", "long i", "i", "static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }", "InputReader", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar;", "curChar", "private int numChars;", "numChars", "private InputReader.SpaceCharFilter filter;", "filter", "public InputReader(InputStream stream) {\n this.stream = stream;\n }", "InputReader", "{\n this.stream = stream;\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }", "read", "{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }", "if (numChars == -1) {\n throw new InputMismatchException();\n }", "numChars == -1", "numChars", "-1", "1", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }", "curChar >= numChars", "curChar", "numChars", "{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }", "curChar = 0", "curChar", "0", "try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n numChars = stream.read(buf);\n }", "numChars = stream.read(buf)", "numChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (numChars <= 0) {\n return -1;\n }", "numChars <= 0", "numChars", "0", "{\n return -1;\n }", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextInt", "{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c)) {\n c = read();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = read();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = read();\n }", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "int res = 0;", "res", "0", "do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }", "if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = read()", "c", "read()", "read", "return res * sgn;", "res * sgn", "res", "sgn", "public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }", "isSpaceChar", "{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }", "if (filter != null) {\n return filter.isSpaceChar(c);\n }", "filter != null", "filter", "null", "{\n return filter.isSpaceChar(c);\n }", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return isWhitespace(c);", "isWhitespace(c)", "isWhitespace", "c", "int c", "c", "public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isWhitespace", "{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt();\n long x = Math.max(a * d, b * c);\n long y = Math.max(a * c, b * d);\n out.println(Math.max(x, y));\n }\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n public void println(long i) {\n writer.println(i);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.io.BufferedWriter; import java.io.Writer; import java.io.OutputStreamWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStream); OutputWriter out = new OutputWriter(outputStream); BProductMax solver = new BProductMax(); solver.solve(1, in, out); out.close(); } static class BProductMax { public void solve(int testNumber, InputReader in, OutputWriter out) { int ntc = 1; // ntc = in.nextInt(); while ((ntc--) > 0) { long a = in.nextInt(), b = in.nextInt(), c = in.nextInt(), d = in.nextInt(); long x = Math.max(a * d, b * c); long y = Math.max(a * c, b * d); out.println(Math.max(x, y)); } } } static class OutputWriter { private final PrintWriter writer; public OutputWriter(OutputStream outputStream) { writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream))); } public OutputWriter(Writer writer) { this.writer = new PrintWriter(writer); } public void close() { writer.close(); } public void println(long i) { writer.println(i); } } static class InputReader { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; private InputReader.SpaceCharFilter filter; public InputReader(InputStream stream) { this.stream = stream; } public int read() { if (numChars == -1) { throw new InputMismatchException(); } if (curChar >= numChars) { curChar = 0; try { numChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (numChars <= 0) { return -1; } } return buf[curChar++]; } public int nextInt() { int c = read(); while (isSpaceChar(c)) { c = read(); } int sgn = 1; if (c == '-') { sgn = -1; c = read(); } int res = 0; do { if (c < '0' || c > '9') { throw new InputMismatchException(); } res *= 10; res += c - '0'; c = read(); } while (!isSpaceChar(c)); return res * sgn; } public boolean isSpaceChar(int c) { if (filter != null) { return filter.isSpaceChar(c); } return isWhitespace(c); } public static boolean isWhitespace(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 13, 13, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 23, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 18, 13, 13, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 14, 2, 13, 13, 30, 29, 17, 30, 0, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 29, 17, 29, 17, 12, 13, 30, 29, 8, 4, 13, 18, 13, 40, 13, 40, 17, 12, 13, 30, 29, 2, 2, 17, 13, 2, 13, 17, 23, 13, 12, 13, 30, 42, 2, 4, 13, 40, 4, 13, 18, 13, 13, 40, 13, 12, 13, 30, 4, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 20, 41, 13, 4, 13, 42, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 17, 41, 13, 17, 41, 13, 4, 13, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 13, 14, 2, 2, 13, 17, 2, 17, 13, 30, 37, 20, 42, 17, 30, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 13, 17, 0, 13, 2, 13, 17, 14, 2, 2, 13, 40, 17, 40, 4, 13, 13, 30, 29, 8, 13, 40, 13, 13, 30, 37, 20, 0, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 312, 11 ], [ 312, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 38, 41 ], [ 38, 42 ], [ 38, 43 ], [ 12, 44 ], [ 44, 45 ], [ 312, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 57, 63 ], [ 63, 64 ], [ 63, 65 ], [ 54, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 66, 72 ], [ 72, 73 ], [ 72, 74 ], [ 46, 75 ], [ 75, 76 ], [ 46, 77 ], [ 77, 78 ], [ 46, 79 ], [ 79, 80 ], [ 46, 81 ], [ 81, 82 ], [ 312, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 83, 90 ], [ 90, 91 ], [ 90, 92 ], [ 83, 94 ], [ 94, 95 ], [ 94, 96 ], [ 83, 97 ], [ 97, 98 ], [ 97, 99 ], [ 83, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 103, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 114, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 110, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 102, 135 ], [ 135, 136 ], [ 83, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 141, 148 ], [ 148, 149 ], [ 83, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 158, 160 ], [ 150, 161 ], [ 161, 162 ], [ 83, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 166, 176 ], [ 176, 177 ], [ 83, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 180, 183 ], [ 183, 184 ], [ 184, 185 ], [ 83, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 189, 193 ], [ 193, 194 ], [ 188, 195 ], [ 195, 196 ], [ 195, 197 ], [ 188, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 188, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 207, 210 ], [ 206, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 188, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 83, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 83, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 228, 232 ], [ 232, 233 ], [ 227, 234 ], [ 234, 235 ], [ 234, 236 ], [ 227, 237 ], [ 237, 238 ], [ 237, 239 ], [ 227, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 227, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 244, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 248, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 227, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 258, 260 ], [ 257, 261 ], [ 261, 262 ], [ 261, 263 ], [ 256, 264 ], [ 264, 265 ], [ 265, 266 ], [ 227, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 271, 275 ], [ 275, 276 ], [ 275, 277 ], [ 270, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 278, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 284, 286 ], [ 270, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 291, 292 ], [ 288, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 287, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 299, 301 ], [ 301, 302 ], [ 299, 303 ], [ 287, 304 ], [ 304, 305 ], [ 305, 306 ], [ 269, 307 ], [ 307, 308 ], [ 307, 309 ], [ 309, 310 ], [ 0, 311 ], [ 311, 312 ], [ 311, 313 ] ]
[ "import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFS reader = new FS();\n\t\t// write reader\n\t\tlong a = reader.nextLong();\n\t\tlong b = reader.nextLong();\n\t\tlong c = reader.nextLong();\n\t\tlong d = reader.nextLong();\n\t\t\n\t\tsolver(a, b, c, d);\n\t}\n\t\n\tpublic static void solver(long a, long b, long c, long d) {\n\t\t// write logic\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}\n\t\n\t// Read Class\n\tstatic class FS {\n\t\tprivate final InputStream in = System.in;\n\t\tprivate final byte[] buffer = new byte[1024];\n\t\tprivate int ptr = 0;\n\t\tprivate int buflen = 0;\n\t\tprivate boolean hasNextByte() {\n\t\t\tif (ptr < buflen) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\n\t\tprivate int readByte() { return hasNextByte() ? buffer[ptr++] : -1;}\n\t\tprivate boolean isPrintableChar(int c) {return 33 <= c && c <= 126;}\n\t\tprivate void skipUnprintable() {while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}\n\t\n\t\tpublic boolean hasNext() { skipUnprintable(); return hasNextByte();}\n\t\tpublic String next() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile(isPrintableChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tlong n = 0;\n\t\t\tboolean minus = false;\n\t\t\tint b = readByte();\n\t\t\tif (b == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\tif (b < '0' || '9' < b) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\twhile(true) {\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.util.NoSuchElementException;", "NoSuchElementException", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tFS reader = new FS();\n\t\t// write reader\n\t\tlong a = reader.nextLong();\n\t\tlong b = reader.nextLong();\n\t\tlong c = reader.nextLong();\n\t\tlong d = reader.nextLong();\n\t\t\n\t\tsolver(a, b, c, d);\n\t}\n\t\n\tpublic static void solver(long a, long b, long c, long d) {\n\t\t// write logic\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}\n\t\n\t// Read Class\n\tstatic class FS {\n\t\tprivate final InputStream in = System.in;\n\t\tprivate final byte[] buffer = new byte[1024];\n\t\tprivate int ptr = 0;\n\t\tprivate int buflen = 0;\n\t\tprivate boolean hasNextByte() {\n\t\t\tif (ptr < buflen) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\n\t\tprivate int readByte() { return hasNextByte() ? buffer[ptr++] : -1;}\n\t\tprivate boolean isPrintableChar(int c) {return 33 <= c && c <= 126;}\n\t\tprivate void skipUnprintable() {while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}\n\t\n\t\tpublic boolean hasNext() { skipUnprintable(); return hasNextByte();}\n\t\tpublic String next() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile(isPrintableChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tlong n = 0;\n\t\t\tboolean minus = false;\n\t\t\tint b = readByte();\n\t\t\tif (b == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\tif (b < '0' || '9' < b) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\twhile(true) {\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tFS reader = new FS();\n\t\t// write reader\n\t\tlong a = reader.nextLong();\n\t\tlong b = reader.nextLong();\n\t\tlong c = reader.nextLong();\n\t\tlong d = reader.nextLong();\n\t\t\n\t\tsolver(a, b, c, d);\n\t}", "main", "{\n\t\tFS reader = new FS();\n\t\t// write reader\n\t\tlong a = reader.nextLong();\n\t\tlong b = reader.nextLong();\n\t\tlong c = reader.nextLong();\n\t\tlong d = reader.nextLong();\n\t\t\n\t\tsolver(a, b, c, d);\n\t}", "FS reader = new FS();", "reader", "new FS()", "long a = reader.nextLong();", "a", "reader.nextLong()", "reader.nextLong", "reader", "long b = reader.nextLong();", "b", "reader.nextLong()", "reader.nextLong", "reader", "long c = reader.nextLong();", "c", "reader.nextLong()", "reader.nextLong", "reader", "long d = reader.nextLong();", "d", "reader.nextLong()", "reader.nextLong", "reader", "solver(a, b, c, d)", "solver", "a", "b", "c", "d", "String[] args", "args", "public static void solver(long a, long b, long c, long d) {\n\t\t// write logic\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}", "solver", "{\n\t\t// write logic\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}", "System.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)))", "System.out.println", "System.out", "System", "System.out", "Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c))", "Math.max", "Math", "Math.max(a*c, b*d)", "Math.max", "Math", "a*c", "a", "c", "b*d", "b", "d", "Math.max(a*d, b*c)", "Math.max", "Math", "a*d", "a", "d", "b*c", "b", "c", "long a", "a", "long b", "b", "long c", "c", "long d", "d", "static class FS {\n\t\tprivate final InputStream in = System.in;\n\t\tprivate final byte[] buffer = new byte[1024];\n\t\tprivate int ptr = 0;\n\t\tprivate int buflen = 0;\n\t\tprivate boolean hasNextByte() {\n\t\t\tif (ptr < buflen) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\n\t\tprivate int readByte() { return hasNextByte() ? buffer[ptr++] : -1;}\n\t\tprivate boolean isPrintableChar(int c) {return 33 <= c && c <= 126;}\n\t\tprivate void skipUnprintable() {while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}\n\t\n\t\tpublic boolean hasNext() { skipUnprintable(); return hasNextByte();}\n\t\tpublic String next() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile(isPrintableChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tlong n = 0;\n\t\t\tboolean minus = false;\n\t\t\tint b = readByte();\n\t\t\tif (b == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\tif (b < '0' || '9' < b) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\twhile(true) {\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t}\n\t}", "FS", "private final InputStream in = System.in;", "in", "System.in", "System", "System.in", "private final byte[] buffer = new byte[1024];", "buffer", "new byte[1024]", "1024", "private int ptr = 0;", "ptr", "0", "private int buflen = 0;", "buflen", "0", "private boolean hasNextByte() {\n\t\t\tif (ptr < buflen) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "hasNextByte", "{\n\t\t\tif (ptr < buflen) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "if (ptr < buflen) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}", "ptr < buflen", "ptr", "buflen", "{\n\t\t\t\treturn true;\n\t\t\t}", "return true;", "true", "{\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}", "ptr = 0", "ptr", "0", "try {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t}", "buflen = in.read(buffer)", "buflen", "in.read(buffer)", "in.read", "in", "buffer", "if (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}", "buflen <= 0", "buflen", "0", "{\n\t\t\t\t\treturn false;\n\t\t\t\t}", "return false;", "false", "return true;", "true", "private int readByte() { return hasNextByte() ? buffer[ptr++] : -1;}", "readByte", "{ return hasNextByte() ? buffer[ptr++] : -1;}", "return hasNextByte() ? buffer[ptr++] : -1;", "hasNextByte() ? buffer[ptr++] : -1", "hasNextByte()", "hasNextByte", "buffer[ptr++]", "buffer", "ptr++", "ptr", "-1", "1", "private boolean isPrintableChar(int c) {return 33 <= c && c <= 126;}", "isPrintableChar", "{return 33 <= c && c <= 126;}", "return 33 <= c && c <= 126;", "33 <= c && c <= 126", "33 <= c", "33", "c", "c <= 126", "c", "126", "int c", "c", "private void skipUnprintable() {while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}", "skipUnprintable", "{while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}", "while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;", "hasNextByte() && !isPrintableChar(buffer[ptr])", "hasNextByte()", "hasNextByte", "!isPrintableChar(buffer[ptr])", "isPrintableChar(buffer[ptr])", "isPrintableChar", "buffer[ptr]", "buffer", "ptr", "ptr++", "ptr", "public boolean hasNext() { skipUnprintable(); return hasNextByte();}", "hasNext", "{ skipUnprintable(); return hasNextByte();}", "skipUnprintable()", "skipUnprintable", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile(isPrintableChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}", "next", "{\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile(isPrintableChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}", "if (!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "throw new NoSuchElementException();", "new NoSuchElementException()", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int b = readByte();", "b", "readByte()", "readByte", "while(isPrintableChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}", "isPrintableChar(b)", "isPrintableChar", "b", "{\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}", "sb.appendCodePoint(b)", "sb.appendCodePoint", "sb", "b", "b = readByte()", "b", "readByte()", "readByte", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "public int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}", "nextInt", "{\n\t\t\treturn (int)nextLong();\n\t\t}", "return (int)nextLong();", "(int)nextLong()", "nextLong", "public long nextLong() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tlong n = 0;\n\t\t\tboolean minus = false;\n\t\t\tint b = readByte();\n\t\t\tif (b == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\tif (b < '0' || '9' < b) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\twhile(true) {\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t}", "nextLong", "{\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tlong n = 0;\n\t\t\tboolean minus = false;\n\t\t\tint b = readByte();\n\t\t\tif (b == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\tif (b < '0' || '9' < b) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\twhile(true) {\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t}", "if (!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "throw new NoSuchElementException();", "new NoSuchElementException()", "long n = 0;", "n", "0", "boolean minus = false;", "minus", "false", "int b = readByte();", "b", "readByte()", "readByte", "if (b == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}", "b == '-'", "b", "'-'", "{\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}", "minus = true", "minus", "true", "b = readByte()", "b", "readByte()", "readByte", "if (b < '0' || '9' < b) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}", "b < '0' || '9' < b", "b < '0'", "b", "'0'", "'9' < b", "'9'", "b", "{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}", "throw new NumberFormatException();", "new NumberFormatException()", "while(true) {\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}", "true", "{\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}", "if ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}", "'0' <= b && b <= '9'", "'0' <= b", "'0'", "b", "b <= '9'", "b", "'9'", "{\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t}", "n *= 10", "n", "10", "n += b - '0'", "n", "b - '0'", "b", "'0'", "if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}", "b == -1 || !isPrintableChar(b)", "b == -1", "b", "-1", "1", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "{\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t}", "return minus ? -n : n;", "minus ? -n : n", "minus", "-n", "n", "n", "{\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}", "throw new NumberFormatException();", "new NumberFormatException()", "b = readByte()", "b", "readByte()", "readByte", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tFS reader = new FS();\n\t\t// write reader\n\t\tlong a = reader.nextLong();\n\t\tlong b = reader.nextLong();\n\t\tlong c = reader.nextLong();\n\t\tlong d = reader.nextLong();\n\t\t\n\t\tsolver(a, b, c, d);\n\t}\n\t\n\tpublic static void solver(long a, long b, long c, long d) {\n\t\t// write logic\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}\n\t\n\t// Read Class\n\tstatic class FS {\n\t\tprivate final InputStream in = System.in;\n\t\tprivate final byte[] buffer = new byte[1024];\n\t\tprivate int ptr = 0;\n\t\tprivate int buflen = 0;\n\t\tprivate boolean hasNextByte() {\n\t\t\tif (ptr < buflen) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\n\t\tprivate int readByte() { return hasNextByte() ? buffer[ptr++] : -1;}\n\t\tprivate boolean isPrintableChar(int c) {return 33 <= c && c <= 126;}\n\t\tprivate void skipUnprintable() {while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}\n\t\n\t\tpublic boolean hasNext() { skipUnprintable(); return hasNextByte();}\n\t\tpublic String next() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile(isPrintableChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tlong n = 0;\n\t\t\tboolean minus = false;\n\t\t\tint b = readByte();\n\t\t\tif (b == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\tif (b < '0' || '9' < b) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\twhile(true) {\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tFS reader = new FS();\n\t\t// write reader\n\t\tlong a = reader.nextLong();\n\t\tlong b = reader.nextLong();\n\t\tlong c = reader.nextLong();\n\t\tlong d = reader.nextLong();\n\t\t\n\t\tsolver(a, b, c, d);\n\t}\n\t\n\tpublic static void solver(long a, long b, long c, long d) {\n\t\t// write logic\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}\n\t\n\t// Read Class\n\tstatic class FS {\n\t\tprivate final InputStream in = System.in;\n\t\tprivate final byte[] buffer = new byte[1024];\n\t\tprivate int ptr = 0;\n\t\tprivate int buflen = 0;\n\t\tprivate boolean hasNextByte() {\n\t\t\tif (ptr < buflen) {\n\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tptr = 0;\n\t\t\t\ttry {\n\t\t\t\t\tbuflen = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\tif (buflen <= 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\n\t\tprivate int readByte() { return hasNextByte() ? buffer[ptr++] : -1;}\n\t\tprivate boolean isPrintableChar(int c) {return 33 <= c && c <= 126;}\n\t\tprivate void skipUnprintable() {while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;}\n\t\n\t\tpublic boolean hasNext() { skipUnprintable(); return hasNextByte();}\n\t\tpublic String next() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile(isPrintableChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\t\tlong n = 0;\n\t\t\tboolean minus = false;\n\t\t\tint b = readByte();\n\t\t\tif (b == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\tif (b < '0' || '9' < b) {\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\twhile(true) {\n\t\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\t\tn *= 10;\n\t\t\t\t\tn += b - '0';\n\t\t\t\t} else if(b == -1 || !isPrintableChar(b)) {\n\t\t\t\t\treturn minus ? -n : n;\n\t\t\t\t} else {\n\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t}\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.IOException; import java.io.InputStream; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { FS reader = new FS(); // write reader long a = reader.nextLong(); long b = reader.nextLong(); long c = reader.nextLong(); long d = reader.nextLong(); solver(a, b, c, d); } public static void solver(long a, long b, long c, long d) { // write logic System.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c))); } // Read Class static class FS { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolean hasNextByte() { if (ptr < buflen) { return true; } else { ptr = 0; try { buflen = in.read(buffer); } catch (IOException e) { e.printStackTrace(); } if (buflen <= 0) { return false; } } return true; } private int readByte() { return hasNextByte() ? buffer[ptr++] : -1;} private boolean isPrintableChar(int c) {return 33 <= c && c <= 126;} private void skipUnprintable() {while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;} public boolean hasNext() { skipUnprintable(); return hasNextByte();} public String next() { if (!hasNext()) throw new NoSuchElementException(); StringBuilder sb = new StringBuilder(); int b = readByte(); while(isPrintableChar(b)) { sb.appendCodePoint(b); b = readByte(); } return sb.toString(); } public int nextInt() { return (int)nextLong(); } public long nextLong() { if (!hasNext()) throw new NoSuchElementException(); long n = 0; boolean minus = false; int b = readByte(); if (b == '-') { minus = true; b = readByte(); } if (b < '0' || '9' < b) { throw new NumberFormatException(); } while(true) { if ('0' <= b && b <= '9') { n *= 10; n += b - '0'; } else if(b == -1 || !isPrintableChar(b)) { return minus ? -n : n; } else { throw new NumberFormatException(); } b = readByte(); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 90, 17 ], [ 90, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 20, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 20, 44 ], [ 44, 45 ], [ 45, 46 ], [ 20, 47 ], [ 47, 48 ], [ 47, 49 ], [ 20, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 20, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 20, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 20, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 20, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 20, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 18, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.math.BigInteger;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> result = new ArrayList<>();\n\n\t\tresult.add(a * c);\n\t\tresult.add(a * d);\n\t\tresult.add(b * c);\n\t\tresult.add(b * d);\n\n\t\tCollections.sort(result);\n\n\t\tSystem.out.println(result.get(3));\n\t}\n}", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> result = new ArrayList<>();\n\n\t\tresult.add(a * c);\n\t\tresult.add(a * d);\n\t\tresult.add(b * c);\n\t\tresult.add(b * d);\n\n\t\tCollections.sort(result);\n\n\t\tSystem.out.println(result.get(3));\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> result = new ArrayList<>();\n\n\t\tresult.add(a * c);\n\t\tresult.add(a * d);\n\t\tresult.add(b * c);\n\t\tresult.add(b * d);\n\n\t\tCollections.sort(result);\n\n\t\tSystem.out.println(result.get(3));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> result = new ArrayList<>();\n\n\t\tresult.add(a * c);\n\t\tresult.add(a * d);\n\t\tresult.add(b * c);\n\t\tresult.add(b * d);\n\n\t\tCollections.sort(result);\n\n\t\tSystem.out.println(result.get(3));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "sc.close()", "sc.close", "sc", "List<Long> result = new ArrayList<>();", "result", "new ArrayList<>()", "result.add(a * c)", "result.add", "result", "a * c", "a", "c", "result.add(a * d)", "result.add", "result", "a * d", "a", "d", "result.add(b * c)", "result.add", "result", "b * c", "b", "c", "result.add(b * d)", "result.add", "result", "b * d", "b", "d", "Collections.sort(result)", "Collections.sort", "Collections", "result", "System.out.println(result.get(3))", "System.out.println", "System.out", "System", "System.out", "result.get(3)", "result.get", "result", "3", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> result = new ArrayList<>();\n\n\t\tresult.add(a * c);\n\t\tresult.add(a * d);\n\t\tresult.add(b * c);\n\t\tresult.add(b * d);\n\n\t\tCollections.sort(result);\n\n\t\tSystem.out.println(result.get(3));\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> result = new ArrayList<>();\n\n\t\tresult.add(a * c);\n\t\tresult.add(a * d);\n\t\tresult.add(b * c);\n\t\tresult.add(b * d);\n\n\t\tCollections.sort(result);\n\n\t\tSystem.out.println(result.get(3));\n\t}\n}", "Main" ]
import java.math.BigInteger; import java.util.ArrayList; import java.util.Collections; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); sc.close(); List<Long> result = new ArrayList<>(); result.add(a * c); result.add(a * d); result.add(b * c); result.add(b * d); Collections.sort(result); System.out.println(result.get(3)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 17, 0, 13, 17, 12, 13, 30, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 13, 2, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 2, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 2, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 2, 13, 13, 12, 13, 30, 40, 13, 23, 13, 12, 13, 30 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 22, 23 ], [ 14, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 12, 30 ], [ 30, 31 ], [ 0, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 32, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 32, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 49, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 49, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 49, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 77, 79 ], [ 49, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 49, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 49, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 93, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 49, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 104, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 49, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 115, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 123, 125 ], [ 49, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 47, 132 ], [ 132, 133 ], [ 32, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 32, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 141, 146 ], [ 146, 147 ], [ 32, 148 ], [ 148, 149 ], [ 148, 150 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tSolver solver = new Solver();\n\t\tsolver.init();\n\t\tsolver.readHead(in.readLine());\n\t\t// for (; solver.hasNext();) {\n\t\t// solver.readBody(in.readLine());\n\t\t// }\n\t\t// solver.solve();\n\t}\n}\n\nclass Solver {\n\tint N;\n\tint cnt;\n\n\tpublic void init() {\n\t\tN = 0;\n\t\tcnt = 0;\n\t}\n\n\tpublic void readHead(String str) {\n\t\tString[] strArr = str.split(\"\\\\s+\");\n\t\t// N = Integer.parseInt(strArr[0]);\n\t\t// System.out.println(N);\n\t\tlong a = Long.parseLong(strArr[0]);\n\t\tlong b = Long.parseLong(strArr[1]);\n\t\tlong c = Long.parseLong(strArr[2]);\n\t\tlong d = Long.parseLong(strArr[3]);\n\t\tlong max = a * c;\n\t\tif (max < a * d)\n\t\t\tmax = a * d;\n\t\tif (max < b * c)\n\t\t\tmax = b * c;\n\t\tif (max < b * d)\n\t\t\tmax = b * d;\n\t\tSystem.out.println(max);\n\t}\n\n\tpublic boolean hasNext() {\n\t\treturn cnt < N;\n\t}\n\n\tpublic void readBody(String str) {\n\t\t// System.out.println(str);\n\t\tcnt++;\n\t}\n\n\tpublic void solve() {\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tSolver solver = new Solver();\n\t\tsolver.init();\n\t\tsolver.readHead(in.readLine());\n\t\t// for (; solver.hasNext();) {\n\t\t// solver.readBody(in.readLine());\n\t\t// }\n\t\t// solver.solve();\n\t}\n}", "Main", "public static void main(String args[]) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tSolver solver = new Solver();\n\t\tsolver.init();\n\t\tsolver.readHead(in.readLine());\n\t\t// for (; solver.hasNext();) {\n\t\t// solver.readBody(in.readLine());\n\t\t// }\n\t\t// solver.solve();\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tSolver solver = new Solver();\n\t\tsolver.init();\n\t\tsolver.readHead(in.readLine());\n\t\t// for (; solver.hasNext();) {\n\t\t// solver.readBody(in.readLine());\n\t\t// }\n\t\t// solver.solve();\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "Solver solver = new Solver();", "solver", "new Solver()", "solver.init()", "solver.init", "solver", "solver.readHead(in.readLine())", "solver.readHead", "solver", "in.readLine()", "in.readLine", "in", "String args[]", "args", "class Solver {\n\tint N;\n\tint cnt;\n\n\tpublic void init() {\n\t\tN = 0;\n\t\tcnt = 0;\n\t}\n\n\tpublic void readHead(String str) {\n\t\tString[] strArr = str.split(\"\\\\s+\");\n\t\t// N = Integer.parseInt(strArr[0]);\n\t\t// System.out.println(N);\n\t\tlong a = Long.parseLong(strArr[0]);\n\t\tlong b = Long.parseLong(strArr[1]);\n\t\tlong c = Long.parseLong(strArr[2]);\n\t\tlong d = Long.parseLong(strArr[3]);\n\t\tlong max = a * c;\n\t\tif (max < a * d)\n\t\t\tmax = a * d;\n\t\tif (max < b * c)\n\t\t\tmax = b * c;\n\t\tif (max < b * d)\n\t\t\tmax = b * d;\n\t\tSystem.out.println(max);\n\t}\n\n\tpublic boolean hasNext() {\n\t\treturn cnt < N;\n\t}\n\n\tpublic void readBody(String str) {\n\t\t// System.out.println(str);\n\t\tcnt++;\n\t}\n\n\tpublic void solve() {\n\n\t}\n}", "Solver", "int N;", "N", "int cnt;", "cnt", "public void init() {\n\t\tN = 0;\n\t\tcnt = 0;\n\t}", "init", "{\n\t\tN = 0;\n\t\tcnt = 0;\n\t}", "N = 0", "N", "0", "cnt = 0", "cnt", "0", "public void readHead(String str) {\n\t\tString[] strArr = str.split(\"\\\\s+\");\n\t\t// N = Integer.parseInt(strArr[0]);\n\t\t// System.out.println(N);\n\t\tlong a = Long.parseLong(strArr[0]);\n\t\tlong b = Long.parseLong(strArr[1]);\n\t\tlong c = Long.parseLong(strArr[2]);\n\t\tlong d = Long.parseLong(strArr[3]);\n\t\tlong max = a * c;\n\t\tif (max < a * d)\n\t\t\tmax = a * d;\n\t\tif (max < b * c)\n\t\t\tmax = b * c;\n\t\tif (max < b * d)\n\t\t\tmax = b * d;\n\t\tSystem.out.println(max);\n\t}", "readHead", "{\n\t\tString[] strArr = str.split(\"\\\\s+\");\n\t\t// N = Integer.parseInt(strArr[0]);\n\t\t// System.out.println(N);\n\t\tlong a = Long.parseLong(strArr[0]);\n\t\tlong b = Long.parseLong(strArr[1]);\n\t\tlong c = Long.parseLong(strArr[2]);\n\t\tlong d = Long.parseLong(strArr[3]);\n\t\tlong max = a * c;\n\t\tif (max < a * d)\n\t\t\tmax = a * d;\n\t\tif (max < b * c)\n\t\t\tmax = b * c;\n\t\tif (max < b * d)\n\t\t\tmax = b * d;\n\t\tSystem.out.println(max);\n\t}", "String[] strArr = str.split(\"\\\\s+\");", "strArr", "str.split(\"\\\\s+\")", "str.split", "str", "\"\\\\s+\"", "long a = Long.parseLong(strArr[0]);", "a", "Long.parseLong(strArr[0])", "Long.parseLong", "Long", "strArr[0]", "strArr", "0", "long b = Long.parseLong(strArr[1]);", "b", "Long.parseLong(strArr[1])", "Long.parseLong", "Long", "strArr[1]", "strArr", "1", "long c = Long.parseLong(strArr[2]);", "c", "Long.parseLong(strArr[2])", "Long.parseLong", "Long", "strArr[2]", "strArr", "2", "long d = Long.parseLong(strArr[3]);", "d", "Long.parseLong(strArr[3])", "Long.parseLong", "Long", "strArr[3]", "strArr", "3", "long max = a * c;", "max", "a * c", "a", "c", "if (max < a * d)\n\t\t\tmax = a * d;", "max < a * d", "max", "a * d", "a", "d", "max = a * d", "max", "a * d", "a", "d", "if (max < b * c)\n\t\t\tmax = b * c;", "max < b * c", "max", "b * c", "b", "c", "max = b * c", "max", "b * c", "b", "c", "if (max < b * d)\n\t\t\tmax = b * d;", "max < b * d", "max", "b * d", "b", "d", "max = b * d", "max", "b * d", "b", "d", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String str", "str", "public boolean hasNext() {\n\t\treturn cnt < N;\n\t}", "hasNext", "{\n\t\treturn cnt < N;\n\t}", "return cnt < N;", "cnt < N", "cnt", "N", "public void readBody(String str) {\n\t\t// System.out.println(str);\n\t\tcnt++;\n\t}", "readBody", "{\n\t\t// System.out.println(str);\n\t\tcnt++;\n\t}", "cnt++", "cnt", "String str", "str", "public void solve() {\n\n\t}", "solve", "{\n\n\t}" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String args[]) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); Solver solver = new Solver(); solver.init(); solver.readHead(in.readLine()); // for (; solver.hasNext();) { // solver.readBody(in.readLine()); // } // solver.solve(); } } class Solver { int N; int cnt; public void init() { N = 0; cnt = 0; } public void readHead(String str) { String[] strArr = str.split("\\s+"); // N = Integer.parseInt(strArr[0]); // System.out.println(N); long a = Long.parseLong(strArr[0]); long b = Long.parseLong(strArr[1]); long c = Long.parseLong(strArr[2]); long d = Long.parseLong(strArr[3]); long max = a * c; if (max < a * d) max = a * d; if (max < b * c) max = b * c; if (max < b * d) max = b * d; System.out.println(max); } public boolean hasNext() { return cnt < N; } public void readBody(String str) { // System.out.println(str); cnt++; } public void solve() { } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 13, 13, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 13, 13, 14, 2, 13, 13, 3, 30, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 125, 5 ], [ 125, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 32, 35 ], [ 32, 36 ], [ 32, 37 ], [ 6, 38 ], [ 38, 39 ], [ 125, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 42, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 42, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 79, 90 ], [ 91, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 91, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 97, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 105, 109 ], [ 42, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 40, 116 ], [ 116, 117 ], [ 40, 118 ], [ 118, 119 ], [ 40, 120 ], [ 120, 121 ], [ 40, 122 ], [ 122, 123 ], [ 0, 124 ], [ 124, 125 ], [ 124, 126 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsolve(a, b, c, d);\n\t}\n\n\tprivate static void solve(long a, long b, long c, long d) {\n\t\t// TODO Auto-generated method stub\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans = Math.max(ans, a * c);\n\t\tans = Math.max(ans, b * d);\n\t\tfor (long i = b; i >= a; i--) {\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsolve(a, b, c, d);\n\t}\n\n\tprivate static void solve(long a, long b, long c, long d) {\n\t\t// TODO Auto-generated method stub\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans = Math.max(ans, a * c);\n\t\tans = Math.max(ans, b * d);\n\t\tfor (long i = b; i >= a; i--) {\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsolve(a, b, c, d);\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsolve(a, b, c, d);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "solve(a, b, c, d)", "solve", "a", "b", "c", "d", "String[] args", "args", "private static void solve(long a, long b, long c, long d) {\n\t\t// TODO Auto-generated method stub\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans = Math.max(ans, a * c);\n\t\tans = Math.max(ans, b * d);\n\t\tfor (long i = b; i >= a; i--) {\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "solve", "{\n\t\t// TODO Auto-generated method stub\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans = Math.max(ans, a * c);\n\t\tans = Math.max(ans, b * d);\n\t\tfor (long i = b; i >= a; i--) {\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "long ans = Long.MIN_VALUE;", "ans", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "ans = Math.max(ans, a * c)", "ans", "Math.max(ans, a * c)", "Math.max", "Math", "ans", "a * c", "a", "c", "ans = Math.max(ans, b * d)", "ans", "Math.max(ans, b * d)", "Math.max", "Math", "ans", "b * d", "b", "d", "for (long i = b; i >= a; i--) {\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "long i = b;", "long i = b;", "i", "b", "i >= a", "i", "a", "i--", "i--", "i", "{\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}", "long j = d;", "long j = d;", "j", "d", "j >= c", "j", "c", "j--", "j--", "j", "{\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}", "long t = i * j;", "t", "i * j", "i", "j", "if (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}", "ans > t", "ans", "t", "break;", "{\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}", "ans = Math.max(ans, t)", "ans", "Math.max(ans, t)", "Math.max", "Math", "ans", "t", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "long a", "a", "long b", "b", "long c", "c", "long d", "d", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsolve(a, b, c, d);\n\t}\n\n\tprivate static void solve(long a, long b, long c, long d) {\n\t\t// TODO Auto-generated method stub\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans = Math.max(ans, a * c);\n\t\tans = Math.max(ans, b * d);\n\t\tfor (long i = b; i >= a; i--) {\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tsolve(a, b, c, d);\n\t}\n\n\tprivate static void solve(long a, long b, long c, long d) {\n\t\t// TODO Auto-generated method stub\n\t\tlong ans = Long.MIN_VALUE;\n\t\tans = Math.max(ans, a * c);\n\t\tans = Math.max(ans, b * d);\n\t\tfor (long i = b; i >= a; i--) {\n\t\t\tfor (long j = d; j >= c; j--) {\n\t\t\t\tlong t = i * j;\n\t\t\t\tif (ans > t) break;\n\t\t\t\telse {\n\t\t\t\t\tans = Math.max(ans, t);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); solve(a, b, c, d); } private static void solve(long a, long b, long c, long d) { // TODO Auto-generated method stub long ans = Long.MIN_VALUE; ans = Math.max(ans, a * c); ans = Math.max(ans, b * d); for (long i = b; i >= a; i--) { for (long j = d; j >= c; j--) { long t = i * j; if (ans > t) break; else { ans = Math.max(ans, t); } } } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 18, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 133, 8 ], [ 133, 9 ], [ 9, 10 ], [ 133, 11 ], [ 11, 12 ], [ 133, 13 ], [ 13, 14 ], [ 133, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 17, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 17, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 17, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 17, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 53, 59 ], [ 17, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 17, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 74, 76 ], [ 71, 77 ], [ 17, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 15, 84 ], [ 84, 85 ], [ 133, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 133, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 133, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 111, 112 ], [ 133, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 116, 125 ], [ 125, 126 ], [ 125, 127 ], [ 115, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 0, 132 ], [ 132, 133 ], [ 132, 134 ] ]
[ "import java.util.*; \nimport java.io.*;\n\n//the answer must be bountry * bountry\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n \n long a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\n long ans = Long.MIN_VALUE;\n ans = Math.max(a*c,ans);\n ans = Math.max(a*d,ans);\n ans = Math.max(b*c,ans);\n ans = Math.max(b*d,ans);\n\n System.out.println(ans);\n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n \n long a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\n long ans = Long.MIN_VALUE;\n ans = Math.max(a*c,ans);\n ans = Math.max(a*d,ans);\n ans = Math.max(b*c,ans);\n ans = Math.max(b*d,ans);\n\n System.out.println(ans);\n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "Main", "static StringTokenizer st;", "st", "static BufferedReader br;", "br", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n \n long a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\n long ans = Long.MIN_VALUE;\n ans = Math.max(a*c,ans);\n ans = Math.max(a*d,ans);\n ans = Math.max(b*c,ans);\n ans = Math.max(b*d,ans);\n\n System.out.println(ans);\n \n }", "main", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n \n long a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\n long ans = Long.MIN_VALUE;\n ans = Math.max(a*c,ans);\n ans = Math.max(a*d,ans);\n ans = Math.max(b*c,ans);\n ans = Math.max(b*d,ans);\n\n System.out.println(ans);\n \n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "long a = nextInt();", "a", "nextInt()", "nextInt", "long b = nextInt();", "b", "nextInt()", "nextInt", "long c = nextInt();", "c", "nextInt()", "nextInt", "long d = nextInt();", "d", "nextInt()", "nextInt", "long ans = Long.MIN_VALUE;", "ans", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "ans = Math.max(a*c,ans)", "ans", "Math.max(a*c,ans)", "Math.max", "Math", "a*c", "a", "c", "ans", "ans = Math.max(a*d,ans)", "ans", "Math.max(a*d,ans)", "Math.max", "Math", "a*d", "a", "d", "ans", "ans = Math.max(b*c,ans)", "ans", "Math.max(b*c,ans)", "Math.max", "Math", "b*c", "b", "c", "ans", "ans = Math.max(b*d,ans)", "ans", "Math.max(b*d,ans)", "Math.max", "Math", "b*d", "b", "d", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "st = new StringTokenizer(br.readLine().trim())", "st", "new StringTokenizer(br.readLine().trim())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n \n long a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\n long ans = Long.MIN_VALUE;\n ans = Math.max(a*c,ans);\n ans = Math.max(a*d,ans);\n ans = Math.max(b*c,ans);\n ans = Math.max(b*d,ans);\n\n System.out.println(ans);\n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n \n long a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\n long ans = Long.MIN_VALUE;\n ans = Math.max(a*c,ans);\n ans = Math.max(a*d,ans);\n ans = Math.max(b*c,ans);\n ans = Math.max(b*d,ans);\n\n System.out.println(ans);\n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "Main" ]
import java.util.*; import java.io.*; //the answer must be bountry * bountry public class Main { static StringTokenizer st; static BufferedReader br; static PrintWriter out; public static void main(String[] args) throws IOException { br = new BufferedReader(new InputStreamReader(System.in)); long a = nextInt(); long b = nextInt(); long c = nextInt(); long d = nextInt(); long ans = Long.MIN_VALUE; ans = Math.max(a*c,ans); ans = Math.max(a*d,ans); ans = Math.max(b*c,ans); ans = Math.max(b*d,ans); System.out.println(ans); } public static int nextInt() throws IOException { return Integer.parseInt(next()); } public static long nextLong() throws IOException { return Long.parseLong(next()); } public static double nextDouble() throws IOException { return Double.parseDouble(next()); } static String next() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine().trim()); return st.nextToken(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 70, 5 ], [ 70, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 34, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 6, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.util.Scanner;\n\n \npublic class Main {\n \n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong temp1 = Math.max(a * c, a * d);\n\t\tlong temp2 = Math.max(b * c, b * d);\n\t\t\n\t\tSystem.out.println(Math.max(temp1, temp2));\n\t\tsc.close();\n\t}\n}\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong temp1 = Math.max(a * c, a * d);\n\t\tlong temp2 = Math.max(b * c, b * d);\n\t\t\n\t\tSystem.out.println(Math.max(temp1, temp2));\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong temp1 = Math.max(a * c, a * d);\n\t\tlong temp2 = Math.max(b * c, b * d);\n\t\t\n\t\tSystem.out.println(Math.max(temp1, temp2));\n\t\tsc.close();\n\t}", "main", "{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong temp1 = Math.max(a * c, a * d);\n\t\tlong temp2 = Math.max(b * c, b * d);\n\t\t\n\t\tSystem.out.println(Math.max(temp1, temp2));\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long temp1 = Math.max(a * c, a * d);", "temp1", "Math.max(a * c, a * d)", "Math.max", "Math", "a * c", "a", "c", "a * d", "a", "d", "long temp2 = Math.max(b * c, b * d);", "temp2", "Math.max(b * c, b * d)", "Math.max", "Math", "b * c", "b", "c", "b * d", "b", "d", "System.out.println(Math.max(temp1, temp2))", "System.out.println", "System.out", "System", "System.out", "Math.max(temp1, temp2)", "Math.max", "Math", "temp1", "temp2", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong temp1 = Math.max(a * c, a * d);\n\t\tlong temp2 = Math.max(b * c, b * d);\n\t\t\n\t\tSystem.out.println(Math.max(temp1, temp2));\n\t\tsc.close();\n\t}\n}", "public class Main {\n \n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tlong temp1 = Math.max(a * c, a * d);\n\t\tlong temp2 = Math.max(b * c, b * d);\n\t\t\n\t\tSystem.out.println(Math.max(temp1, temp2));\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long temp1 = Math.max(a * c, a * d); long temp2 = Math.max(b * c, b * d); System.out.println(Math.max(temp1, temp2)); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 20, 17, 0, 18, 13, 17, 4, 18, 13, 0, 18, 13, 17, 4, 18, 13, 0, 18, 13, 17, 4, 18, 13, 0, 18, 13, 17, 4, 18, 13, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 18, 13, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 107, 5 ], [ 107, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 90, 94 ], [ 8, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 8, 101 ], [ 101, 102 ], [ 102, 103 ], [ 6, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "import java.util.*;\n\npublic class Main\n{\n public static void main(String[] args) {\n //long start = System.currentTimeMillis();\n Scanner sc = new Scanner(System.in);\n long[] a = new long[2];\n long[] b = new long[2];\n a[0] = sc.nextLong();\n a[1] = sc.nextLong();\n b[0] = sc.nextLong();\n b[1] = sc.nextLong();\n\n long max = Long.MIN_VALUE;\n for (int i = 0;i<2;++i)\n {\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }\n System.out.println(max);\n sc.close();\n// long end = System.currentTimeMillis();\n// System.err.println((end-start)+\"ms\");\n }\n}", "import java.util.*;", "util.*", "java", "public class Main\n{\n public static void main(String[] args) {\n //long start = System.currentTimeMillis();\n Scanner sc = new Scanner(System.in);\n long[] a = new long[2];\n long[] b = new long[2];\n a[0] = sc.nextLong();\n a[1] = sc.nextLong();\n b[0] = sc.nextLong();\n b[1] = sc.nextLong();\n\n long max = Long.MIN_VALUE;\n for (int i = 0;i<2;++i)\n {\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }\n System.out.println(max);\n sc.close();\n// long end = System.currentTimeMillis();\n// System.err.println((end-start)+\"ms\");\n }\n}", "Main", "public static void main(String[] args) {\n //long start = System.currentTimeMillis();\n Scanner sc = new Scanner(System.in);\n long[] a = new long[2];\n long[] b = new long[2];\n a[0] = sc.nextLong();\n a[1] = sc.nextLong();\n b[0] = sc.nextLong();\n b[1] = sc.nextLong();\n\n long max = Long.MIN_VALUE;\n for (int i = 0;i<2;++i)\n {\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }\n System.out.println(max);\n sc.close();\n// long end = System.currentTimeMillis();\n// System.err.println((end-start)+\"ms\");\n }", "main", "{\n //long start = System.currentTimeMillis();\n Scanner sc = new Scanner(System.in);\n long[] a = new long[2];\n long[] b = new long[2];\n a[0] = sc.nextLong();\n a[1] = sc.nextLong();\n b[0] = sc.nextLong();\n b[1] = sc.nextLong();\n\n long max = Long.MIN_VALUE;\n for (int i = 0;i<2;++i)\n {\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }\n System.out.println(max);\n sc.close();\n// long end = System.currentTimeMillis();\n// System.err.println((end-start)+\"ms\");\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long[] a = new long[2];", "a", "new long[2]", "2", "long[] b = new long[2];", "b", "new long[2]", "2", "a[0] = sc.nextLong()", "a[0]", "a", "0", "sc.nextLong()", "sc.nextLong", "sc", "a[1] = sc.nextLong()", "a[1]", "a", "1", "sc.nextLong()", "sc.nextLong", "sc", "b[0] = sc.nextLong()", "b[0]", "b", "0", "sc.nextLong()", "sc.nextLong", "sc", "b[1] = sc.nextLong()", "b[1]", "b", "1", "sc.nextLong()", "sc.nextLong", "sc", "long max = Long.MIN_VALUE;", "max", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "for (int i = 0;i<2;++i)\n {\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i<2", "i", "2", "++i", "++i", "i", "{\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }", "{\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }", "for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }", "int j = 0;", "int j = 0;", "j", "0", "j<2", "j", "2", "++j", "++j", "j", "{\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }", "{\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }", "long tmp = a[i]*b[j];", "tmp", "a[i]*b[j]", "a[i]", "a", "i", "b[j]", "b", "j", "max = Math.max(tmp,max)", "max", "Math.max(tmp,max)", "Math.max", "Math", "tmp", "max", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main\n{\n public static void main(String[] args) {\n //long start = System.currentTimeMillis();\n Scanner sc = new Scanner(System.in);\n long[] a = new long[2];\n long[] b = new long[2];\n a[0] = sc.nextLong();\n a[1] = sc.nextLong();\n b[0] = sc.nextLong();\n b[1] = sc.nextLong();\n\n long max = Long.MIN_VALUE;\n for (int i = 0;i<2;++i)\n {\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }\n System.out.println(max);\n sc.close();\n// long end = System.currentTimeMillis();\n// System.err.println((end-start)+\"ms\");\n }\n}", "public class Main\n{\n public static void main(String[] args) {\n //long start = System.currentTimeMillis();\n Scanner sc = new Scanner(System.in);\n long[] a = new long[2];\n long[] b = new long[2];\n a[0] = sc.nextLong();\n a[1] = sc.nextLong();\n b[0] = sc.nextLong();\n b[1] = sc.nextLong();\n\n long max = Long.MIN_VALUE;\n for (int i = 0;i<2;++i)\n {\n for (int j = 0;j<2;++j)\n {\n long tmp = a[i]*b[j];\n max = Math.max(tmp,max);\n }\n }\n System.out.println(max);\n sc.close();\n// long end = System.currentTimeMillis();\n// System.err.println((end-start)+\"ms\");\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { //long start = System.currentTimeMillis(); Scanner sc = new Scanner(System.in); long[] a = new long[2]; long[] b = new long[2]; a[0] = sc.nextLong(); a[1] = sc.nextLong(); b[0] = sc.nextLong(); b[1] = sc.nextLong(); long max = Long.MIN_VALUE; for (int i = 0;i<2;++i) { for (int j = 0;j<2;++j) { long tmp = a[i]*b[j]; max = Math.max(tmp,max); } } System.out.println(max); sc.close(); // long end = System.currentTimeMillis(); // System.err.println((end-start)+"ms"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 135, 5 ], [ 135, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 35, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 52, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 69, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 86, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 103, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 103, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 114, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 6, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long max = 0;\n \n if(b<=0 && d<=0){\n System.out.println(a*c);\n }else if(a>=0 && c>=0){\n System.out.println(b*d);\n }else if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }\n \n }\n}\n ", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long max = 0;\n \n if(b<=0 && d<=0){\n System.out.println(a*c);\n }else if(a>=0 && c>=0){\n System.out.println(b*d);\n }else if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }\n \n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long max = 0;\n \n if(b<=0 && d<=0){\n System.out.println(a*c);\n }else if(a>=0 && c>=0){\n System.out.println(b*d);\n }else if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }\n \n }", "main", "{\n Scanner scan = new Scanner(System.in);\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long max = 0;\n \n if(b<=0 && d<=0){\n System.out.println(a*c);\n }else if(a>=0 && c>=0){\n System.out.println(b*d);\n }else if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }\n \n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long a = scan.nextLong();", "a", "scan.nextLong()", "scan.nextLong", "scan", "long b = scan.nextLong();", "b", "scan.nextLong()", "scan.nextLong", "scan", "long c = scan.nextLong();", "c", "scan.nextLong()", "scan.nextLong", "scan", "long d = scan.nextLong();", "d", "scan.nextLong()", "scan.nextLong", "scan", "long max = 0;", "max", "0", "if(b<=0 && d<=0){\n System.out.println(a*c);\n }else if(a>=0 && c>=0){\n System.out.println(b*d);\n }else if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }", "b<=0 && d<=0", "b<=0", "b", "0", "d<=0", "d", "0", "{\n System.out.println(a*c);\n }", "System.out.println(a*c)", "System.out.println", "System.out", "System", "System.out", "a*c", "a", "c", "if(a>=0 && c>=0){\n System.out.println(b*d);\n }else if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }", "a>=0 && c>=0", "a>=0", "a", "0", "c>=0", "c", "0", "{\n System.out.println(b*d);\n }", "System.out.println(b*d)", "System.out.println", "System.out", "System", "System.out", "b*d", "b", "d", "if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }", "b<=0 && c>=0", "b<=0", "b", "0", "c>=0", "c", "0", "{\n System.out.println(b*c);\n }", "System.out.println(b*c)", "System.out.println", "System.out", "System", "System.out", "b*c", "b", "c", "if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }", "a>=0 && d<=0", "a>=0", "a", "0", "d<=0", "d", "0", "{\n System.out.println(a*d);\n }", "System.out.println(a*d)", "System.out.println", "System.out", "System", "System.out", "a*d", "a", "d", "{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }", "long ac = a*c;", "ac", "a*c", "a", "c", "long bd = b*d;", "bd", "b*d", "b", "d", "if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }", "ac >= bd", "ac", "bd", "{\n System.out.println(ac);\n }", "System.out.println(ac)", "System.out.println", "System.out", "System", "System.out", "ac", "{\n System.out.println(bd);\n }", "System.out.println(bd)", "System.out.println", "System.out", "System", "System.out", "bd", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long max = 0;\n \n if(b<=0 && d<=0){\n System.out.println(a*c);\n }else if(a>=0 && c>=0){\n System.out.println(b*d);\n }else if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }\n \n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long max = 0;\n \n if(b<=0 && d<=0){\n System.out.println(a*c);\n }else if(a>=0 && c>=0){\n System.out.println(b*d);\n }else if(b<=0 && c>=0){\n System.out.println(b*c);\n }else if(a>=0 && d<=0){\n System.out.println(a*d);\n }else{\n long ac = a*c;\n long bd = b*d;\n if(ac >= bd){\n System.out.println(ac);\n }else{\n System.out.println(bd);\n }\n }\n \n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); long a = scan.nextLong(); long b = scan.nextLong(); long c = scan.nextLong(); long d = scan.nextLong(); long max = 0; if(b<=0 && d<=0){ System.out.println(a*c); }else if(a>=0 && c>=0){ System.out.println(b*d); }else if(b<=0 && c>=0){ System.out.println(b*c); }else if(a>=0 && d<=0){ System.out.println(a*d); }else{ long ac = a*c; long bd = b*d; if(ac >= bd){ System.out.println(ac); }else{ System.out.println(bd); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 39, 2, 13, 13, 2, 13, 13, 2, 13, 13, 2, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 88, 5 ], [ 88, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 39, 46 ], [ 46, 47 ], [ 46, 48 ], [ 39, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 52, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 6, 85 ], [ 85, 86 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max = (long)b*d;\n long[] cross = {(long)b*d,(long)a*c,(long)a*d,(long)b*c};\n\n\n//積が最大になる掛け算を考える\n//0<x,0<yのときはx,yは最大値\n//x<0,y<0のときはx,yは最小値がベスト\n//0<x,y<0のときは、xが最小値,yが最大値\n//x<0,0<yのときは、xが最大値,yが最小値\n\n for(int i=0; i<cross.length; i++){\n if(max<cross[i]){\n max = cross[i];\n }\n }\n\n System.out.println(max);\n\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max = (long)b*d;\n long[] cross = {(long)b*d,(long)a*c,(long)a*d,(long)b*c};\n\n\n//積が最大になる掛け算を考える\n//0<x,0<yのときはx,yは最大値\n//x<0,y<0のときはx,yは最小値がベスト\n//0<x,y<0のときは、xが最小値,yが最大値\n//x<0,0<yのときは、xが最大値,yが最小値\n\n for(int i=0; i<cross.length; i++){\n if(max<cross[i]){\n max = cross[i];\n }\n }\n\n System.out.println(max);\n\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max = (long)b*d;\n long[] cross = {(long)b*d,(long)a*c,(long)a*d,(long)b*c};\n\n\n//積が最大になる掛け算を考える\n//0<x,0<yのときはx,yは最大値\n//x<0,y<0のときはx,yは最小値がベスト\n//0<x,y<0のときは、xが最小値,yが最大値\n//x<0,0<yのときは、xが最大値,yが最小値\n\n for(int i=0; i<cross.length; i++){\n if(max<cross[i]){\n max = cross[i];\n }\n }\n\n System.out.println(max);\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max = (long)b*d;\n long[] cross = {(long)b*d,(long)a*c,(long)a*d,(long)b*c};\n\n\n//積が最大になる掛け算を考える\n//0<x,0<yのときはx,yは最大値\n//x<0,y<0のときはx,yは最小値がベスト\n//0<x,y<0のときは、xが最小値,yが最大値\n//x<0,0<yのときは、xが最大値,yが最小値\n\n for(int i=0; i<cross.length; i++){\n if(max<cross[i]){\n max = cross[i];\n }\n }\n\n System.out.println(max);\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long max = (long)b*d;", "max", "(long)b*d", "(long)b", "d", "long[] cross = {(long)b*d,(long)a*c,(long)a*d,(long)b*c};", "cross", "{(long)b*d,(long)a*c,(long)a*d,(long)b*c}", "(long)b*d", "(long)b", "d", "(long)a*c", "(long)a", "c", "(long)a*d", "(long)a", "d", "(long)b*c", "(long)b", "c", "for(int i=0; i<cross.length; i++){\n if(max<cross[i]){\n max = cross[i];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<cross.length", "i", "cross.length", "cross", "cross.length", "i++", "i++", "i", "{\n if(max<cross[i]){\n max = cross[i];\n }\n }", "{\n if(max<cross[i]){\n max = cross[i];\n }\n }", "if(max<cross[i]){\n max = cross[i];\n }", "max<cross[i]", "max", "cross[i]", "cross", "i", "{\n max = cross[i];\n }", "max = cross[i]", "max", "cross[i]", "cross", "i", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max = (long)b*d;\n long[] cross = {(long)b*d,(long)a*c,(long)a*d,(long)b*c};\n\n\n//積が最大になる掛け算を考える\n//0<x,0<yのときはx,yは最大値\n//x<0,y<0のときはx,yは最小値がベスト\n//0<x,y<0のときは、xが最小値,yが最大値\n//x<0,0<yのときは、xが最大値,yが最小値\n\n for(int i=0; i<cross.length; i++){\n if(max<cross[i]){\n max = cross[i];\n }\n }\n\n System.out.println(max);\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max = (long)b*d;\n long[] cross = {(long)b*d,(long)a*c,(long)a*d,(long)b*c};\n\n\n//積が最大になる掛け算を考える\n//0<x,0<yのときはx,yは最大値\n//x<0,y<0のときはx,yは最小値がベスト\n//0<x,y<0のときは、xが最小値,yが最大値\n//x<0,0<yのときは、xが最大値,yが最小値\n\n for(int i=0; i<cross.length; i++){\n if(max<cross[i]){\n max = cross[i];\n }\n }\n\n System.out.println(max);\n\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); long max = (long)b*d; long[] cross = {(long)b*d,(long)a*c,(long)a*d,(long)b*c}; //積が最大になる掛け算を考える //0<x,0<yのときはx,yは最大値 //x<0,y<0のときはx,yは最小値がベスト //0<x,y<0のときは、xが最小値,yが最大値 //x<0,0<yのときは、xが最大値,yが最小値 for(int i=0; i<cross.length; i++){ if(max<cross[i]){ max = cross[i]; } } System.out.println(max); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 41, 13, 2, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 41, 13, 2, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 41, 13, 2, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 108, 5 ], [ 108, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 35, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 8, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 79, 83 ], [ 8, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 90, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 94, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 6, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=Math.max(a,b)*Math.max(c,d);\n long ans2=Math.min(a,b)*Math.max(c,d);\n long ans3=Math.max(a,b)*Math.min(c,d);\n long ans4=Math.min(a,b)*Math.min(c,d);\n long ans=Math.max(ans1,Math.max(ans2,\n Math.max(ans3,ans4)));\n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=Math.max(a,b)*Math.max(c,d);\n long ans2=Math.min(a,b)*Math.max(c,d);\n long ans3=Math.max(a,b)*Math.min(c,d);\n long ans4=Math.min(a,b)*Math.min(c,d);\n long ans=Math.max(ans1,Math.max(ans2,\n Math.max(ans3,ans4)));\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=Math.max(a,b)*Math.max(c,d);\n long ans2=Math.min(a,b)*Math.max(c,d);\n long ans3=Math.max(a,b)*Math.min(c,d);\n long ans4=Math.min(a,b)*Math.min(c,d);\n long ans=Math.max(ans1,Math.max(ans2,\n Math.max(ans3,ans4)));\n System.out.println(ans);\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=Math.max(a,b)*Math.max(c,d);\n long ans2=Math.min(a,b)*Math.max(c,d);\n long ans3=Math.max(a,b)*Math.min(c,d);\n long ans4=Math.min(a,b)*Math.min(c,d);\n long ans=Math.max(ans1,Math.max(ans2,\n Math.max(ans3,ans4)));\n System.out.println(ans);\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a=sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b=sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c=sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d=sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long ans1=Math.max(a,b)*Math.max(c,d);", "ans1", "Math.max(a,b)*Math.max(c,d)", "Math.max(a,b)", "Math.max", "Math", "a", "b", "Math.max(c,d)", "Math.max", "Math", "c", "d", "long ans2=Math.min(a,b)*Math.max(c,d);", "ans2", "Math.min(a,b)*Math.max(c,d)", "Math.min(a,b)", "Math.min", "Math", "a", "b", "Math.max(c,d)", "Math.max", "Math", "c", "d", "long ans3=Math.max(a,b)*Math.min(c,d);", "ans3", "Math.max(a,b)*Math.min(c,d)", "Math.max(a,b)", "Math.max", "Math", "a", "b", "Math.min(c,d)", "Math.min", "Math", "c", "d", "long ans4=Math.min(a,b)*Math.min(c,d);", "ans4", "Math.min(a,b)*Math.min(c,d)", "Math.min(a,b)", "Math.min", "Math", "a", "b", "Math.min(c,d)", "Math.min", "Math", "c", "d", "long ans=Math.max(ans1,Math.max(ans2,\n Math.max(ans3,ans4)));", "ans", "Math.max(ans1,Math.max(ans2,\n Math.max(ans3,ans4)))", "Math.max", "Math", "ans1", "Math.max(ans2,\n Math.max(ans3,ans4))", "Math.max", "Math", "ans2", "Math.max(ans3,ans4)", "Math.max", "Math", "ans3", "ans4", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=Math.max(a,b)*Math.max(c,d);\n long ans2=Math.min(a,b)*Math.max(c,d);\n long ans3=Math.max(a,b)*Math.min(c,d);\n long ans4=Math.min(a,b)*Math.min(c,d);\n long ans=Math.max(ans1,Math.max(ans2,\n Math.max(ans3,ans4)));\n System.out.println(ans);\n }\n}", "public class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n long ans1=Math.max(a,b)*Math.max(c,d);\n long ans2=Math.min(a,b)*Math.max(c,d);\n long ans3=Math.max(a,b)*Math.min(c,d);\n long ans4=Math.min(a,b)*Math.min(c,d);\n long ans=Math.max(ans1,Math.max(ans2,\n Math.max(ans3,ans4)));\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); long a=sc.nextLong(); long b=sc.nextLong(); long c=sc.nextLong(); long d=sc.nextLong(); long ans1=Math.max(a,b)*Math.max(c,d); long ans2=Math.min(a,b)*Math.max(c,d); long ans3=Math.max(a,b)*Math.min(c,d); long ans4=Math.min(a,b)*Math.min(c,d); long ans=Math.max(ans1,Math.max(ans2, Math.max(ans3,ans4))); System.out.println(ans); } }
[ 7, 6, 12, 13, 30, 29, 4, 18, 20, 18, 13, 13, 23, 13, 23, 13, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 41, 13, 2, 17, 17, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 2, 13, 13, 30, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 18, 13, 13, 18, 13, 2, 2, 18, 13, 13, 13, 17, 13, 30, 0, 13, 2, 18, 13, 13, 2, 13, 18, 13, 2, 2, 18, 13, 13, 13, 17, 14, 2, 13, 13, 29, 17, 29, 17, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 13, 42, 2, 13, 13, 30, 41, 13, 2, 2, 13, 13, 17, 14, 2, 13, 4, 18, 13, 13, 30, 0, 13, 13, 30, 0, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 20, 23, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 42, 2, 13, 13, 30, 41, 13, 18, 13, 13, 0, 18, 13, 40, 13, 18, 13, 13, 0, 18, 13, 40, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 18, 13, 13, 17, 29, 17, 41, 13, 2, 18, 13, 13, 17, 42, 2, 13, 17, 30, 14, 2, 18, 13, 13, 18, 13, 2, 13, 17, 30, 3, 40, 13, 14, 2, 13, 17, 29, 17, 41, 13, 2, 18, 13, 13, 17, 11, 1, 41, 13, 2, 18, 13, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 13, 3, 0, 13, 4, 13, 13, 13, 13, 0, 13, 4, 13, 13, 2, 13, 17, 2, 18, 13, 13, 17, 29, 17, 23, 13, 12, 13, 30, 14, 2, 13, 13, 29, 17, 29, 2, 4, 13, 13, 2, 4, 13, 13, 4, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 13, 2, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 0, 13, 2, 13, 13, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 13, 13, 2, 13, 17, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 17, 14, 2, 2, 2, 13, 17, 17, 2, 2, 13, 17, 17, 29, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 0, 13, 2, 13, 17, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 2, 13, 17, 17, 29, 17, 29, 17, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 29, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 2, 3 ], [ 2, 4 ], [ 4, 5 ], [ 5, 6 ], [ 6, 7 ], [ 7, 8 ], [ 6, 9 ], [ 9, 10 ], [ 9, 11 ], [ 2, 12 ], [ 12, 13 ], [ 2, 14 ], [ 14, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 835, 29 ], [ 835, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 835, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 835, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 42, 49 ], [ 49, 50 ], [ 49, 51 ], [ 42, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 42, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 42, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 42, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 42, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 84, 86 ], [ 72, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 87, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 99, 100 ], [ 99, 101 ], [ 87, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 114, 115 ], [ 114, 116 ], [ 102, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 122, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 129, 130 ], [ 129, 131 ], [ 117, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 132, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 140, 142 ], [ 132, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 145, 147 ], [ 132, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 132, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 155, 159 ], [ 132, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 162, 166 ], [ 132, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 170, 174 ], [ 42, 175 ], [ 175, 176 ], [ 176, 177 ], [ 42, 178 ], [ 178, 179 ], [ 179, 180 ], [ 40, 181 ], [ 181, 182 ], [ 835, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 189, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 196, 198 ], [ 189, 199 ], [ 199, 200 ], [ 200, 201 ], [ 189, 202 ], [ 203, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 206, 210 ], [ 210, 211 ], [ 210, 212 ], [ 213, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 213, 218 ], [ 205, 219 ], [ 204, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 229, 231 ], [ 232, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 232, 237 ], [ 185, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 238, 242 ], [ 242, 243 ], [ 185, 244 ], [ 244, 245 ], [ 183, 246 ], [ 246, 247 ], [ 183, 248 ], [ 248, 249 ], [ 183, 250 ], [ 250, 251 ], [ 183, 252 ], [ 252, 253 ], [ 835, 254 ], [ 254, 255 ], [ 254, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 260, 261 ], [ 260, 262 ], [ 256, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 270, 274 ], [ 267, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 278, 279 ], [ 279, 280 ], [ 278, 281 ], [ 275, 282 ], [ 282, 283 ], [ 283, 284 ], [ 283, 285 ], [ 275, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 289, 290 ], [ 289, 291 ], [ 256, 292 ], [ 292, 293 ], [ 254, 294 ], [ 294, 295 ], [ 254, 296 ], [ 296, 297 ], [ 254, 298 ], [ 298, 299 ], [ 835, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 303, 307 ], [ 307, 308 ], [ 302, 309 ], [ 309, 310 ], [ 310, 311 ], [ 310, 312 ], [ 312, 313 ], [ 312, 314 ], [ 310, 315 ], [ 300, 316 ], [ 316, 317 ], [ 300, 318 ], [ 318, 319 ], [ 835, 320 ], [ 320, 321 ], [ 320, 322 ], [ 322, 323 ], [ 323, 324 ], [ 324, 325 ], [ 325, 326 ], [ 325, 327 ], [ 324, 328 ], [ 328, 329 ], [ 328, 330 ], [ 328, 331 ], [ 320, 332 ], [ 332, 333 ], [ 320, 334 ], [ 334, 335 ], [ 835, 336 ], [ 336, 337 ], [ 336, 338 ], [ 338, 339 ], [ 339, 340 ], [ 340, 341 ], [ 339, 342 ], [ 339, 343 ], [ 336, 344 ], [ 344, 345 ], [ 336, 346 ], [ 346, 347 ], [ 835, 348 ], [ 348, 349 ], [ 348, 350 ], [ 350, 351 ], [ 351, 352 ], [ 351, 353 ], [ 353, 354 ], [ 353, 355 ], [ 350, 356 ], [ 356, 357 ], [ 357, 358 ], [ 357, 359 ], [ 356, 360 ], [ 360, 361 ], [ 360, 362 ], [ 350, 363 ], [ 363, 364 ], [ 364, 365 ], [ 364, 366 ], [ 363, 367 ], [ 350, 368 ], [ 368, 369 ], [ 348, 370 ], [ 370, 371 ], [ 348, 372 ], [ 372, 373 ], [ 348, 374 ], [ 374, 375 ], [ 835, 376 ], [ 376, 377 ], [ 376, 378 ], [ 378, 379 ], [ 379, 380 ], [ 380, 381 ], [ 380, 382 ], [ 379, 383 ], [ 383, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 386, 388 ], [ 383, 389 ], [ 389, 390 ], [ 390, 391 ], [ 390, 392 ], [ 392, 393 ], [ 389, 394 ], [ 394, 395 ], [ 394, 396 ], [ 383, 397 ], [ 397, 398 ], [ 398, 399 ], [ 398, 400 ], [ 400, 401 ], [ 397, 402 ], [ 378, 403 ], [ 403, 404 ], [ 376, 405 ], [ 405, 406 ], [ 376, 407 ], [ 407, 408 ], [ 376, 409 ], [ 409, 410 ], [ 835, 411 ], [ 411, 412 ], [ 411, 413 ], [ 413, 414 ], [ 414, 415 ], [ 415, 416 ], [ 416, 417 ], [ 416, 418 ], [ 415, 419 ], [ 414, 420 ], [ 420, 421 ], [ 413, 422 ], [ 422, 423 ], [ 422, 424 ], [ 424, 425 ], [ 425, 426 ], [ 425, 427 ], [ 424, 428 ], [ 413, 429 ], [ 429, 430 ], [ 430, 431 ], [ 430, 432 ], [ 429, 433 ], [ 433, 434 ], [ 434, 435 ], [ 435, 436 ], [ 436, 437 ], [ 436, 438 ], [ 435, 439 ], [ 439, 440 ], [ 439, 441 ], [ 441, 442 ], [ 441, 443 ], [ 434, 444 ], [ 444, 445 ], [ 433, 446 ], [ 446, 447 ], [ 413, 448 ], [ 448, 449 ], [ 449, 450 ], [ 449, 451 ], [ 448, 452 ], [ 452, 453 ], [ 413, 454 ], [ 454, 455 ], [ 454, 456 ], [ 456, 457 ], [ 457, 458 ], [ 457, 459 ], [ 456, 460 ], [ 413, 461 ], [ 461, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 465, 466 ], [ 466, 467 ], [ 466, 468 ], [ 465, 469 ], [ 461, 470 ], [ 470, 471 ], [ 470, 472 ], [ 461, 473 ], [ 473, 474 ], [ 474, 475 ], [ 461, 476 ], [ 477, 477 ], [ 477, 478 ], [ 478, 479 ], [ 479, 480 ], [ 480, 481 ], [ 480, 482 ], [ 479, 483 ], [ 483, 484 ], [ 483, 485 ], [ 478, 486 ], [ 486, 487 ], [ 487, 488 ], [ 487, 489 ], [ 486, 490 ], [ 413, 491 ], [ 491, 492 ], [ 491, 493 ], [ 493, 494 ], [ 493, 495 ], [ 493, 496 ], [ 493, 497 ], [ 413, 498 ], [ 498, 499 ], [ 498, 500 ], [ 500, 501 ], [ 500, 502 ], [ 500, 503 ], [ 503, 504 ], [ 503, 505 ], [ 500, 506 ], [ 506, 507 ], [ 507, 508 ], [ 507, 509 ], [ 506, 510 ], [ 413, 511 ], [ 511, 512 ], [ 411, 513 ], [ 513, 514 ], [ 835, 515 ], [ 515, 516 ], [ 515, 517 ], [ 517, 518 ], [ 518, 519 ], [ 519, 520 ], [ 519, 521 ], [ 518, 522 ], [ 522, 523 ], [ 517, 524 ], [ 524, 525 ], [ 525, 526 ], [ 526, 527 ], [ 526, 528 ], [ 525, 529 ], [ 529, 530 ], [ 530, 531 ], [ 530, 532 ], [ 529, 533 ], [ 533, 534 ], [ 533, 535 ], [ 535, 536 ], [ 535, 537 ], [ 515, 538 ], [ 538, 539 ], [ 515, 540 ], [ 540, 541 ], [ 835, 542 ], [ 542, 543 ], [ 542, 544 ], [ 544, 545 ], [ 545, 546 ], [ 545, 547 ], [ 544, 548 ], [ 548, 549 ], [ 549, 550 ], [ 550, 551 ], [ 550, 552 ], [ 548, 553 ], [ 553, 554 ], [ 553, 555 ], [ 548, 556 ], [ 556, 557 ], [ 557, 558 ], [ 548, 559 ], [ 559, 560 ], [ 560, 561 ], [ 560, 562 ], [ 562, 563 ], [ 562, 564 ], [ 544, 565 ], [ 565, 566 ], [ 542, 567 ], [ 567, 568 ], [ 835, 569 ], [ 569, 570 ], [ 569, 571 ], [ 571, 572 ], [ 572, 573 ], [ 572, 574 ], [ 571, 575 ], [ 575, 576 ], [ 575, 577 ], [ 577, 578 ], [ 577, 579 ], [ 571, 580 ], [ 580, 581 ], [ 581, 582 ], [ 581, 583 ], [ 580, 584 ], [ 584, 585 ], [ 585, 586 ], [ 586, 587 ], [ 587, 588 ], [ 587, 589 ], [ 586, 590 ], [ 585, 591 ], [ 591, 592 ], [ 591, 593 ], [ 593, 594 ], [ 594, 595 ], [ 594, 596 ], [ 593, 597 ], [ 584, 598 ], [ 598, 599 ], [ 598, 600 ], [ 600, 601 ], [ 601, 602 ], [ 601, 603 ], [ 600, 604 ], [ 571, 605 ], [ 605, 606 ], [ 569, 607 ], [ 607, 608 ], [ 569, 609 ], [ 609, 610 ], [ 569, 611 ], [ 611, 612 ], [ 835, 613 ], [ 613, 614 ], [ 613, 615 ], [ 615, 616 ], [ 616, 617 ], [ 617, 618 ], [ 617, 619 ], [ 617, 620 ], [ 620, 621 ], [ 620, 622 ], [ 617, 623 ], [ 613, 624 ], [ 624, 625 ], [ 613, 626 ], [ 626, 627 ], [ 835, 628 ], [ 628, 629 ], [ 628, 630 ], [ 630, 631 ], [ 631, 632 ], [ 632, 633 ], [ 632, 634 ], [ 631, 635 ], [ 635, 636 ], [ 630, 637 ], [ 637, 638 ], [ 638, 639 ], [ 638, 640 ], [ 637, 641 ], [ 641, 642 ], [ 630, 643 ], [ 643, 644 ], [ 644, 645 ], [ 645, 646 ], [ 646, 647 ], [ 646, 648 ], [ 645, 649 ], [ 644, 650 ], [ 650, 651 ], [ 651, 652 ], [ 651, 653 ], [ 650, 654 ], [ 643, 655 ], [ 655, 656 ], [ 630, 657 ], [ 657, 658 ], [ 658, 659 ], [ 659, 660 ], [ 659, 661 ], [ 657, 662 ], [ 662, 663 ], [ 663, 664 ], [ 663, 665 ], [ 662, 666 ], [ 657, 667 ], [ 667, 668 ], [ 668, 669 ], [ 668, 670 ], [ 670, 671 ], [ 670, 672 ], [ 657, 673 ], [ 673, 674 ], [ 674, 675 ], [ 675, 676 ], [ 676, 677 ], [ 677, 678 ], [ 677, 679 ], [ 676, 680 ], [ 675, 681 ], [ 681, 682 ], [ 682, 683 ], [ 682, 684 ], [ 684, 685 ], [ 684, 686 ], [ 681, 687 ], [ 674, 688 ], [ 688, 689 ], [ 630, 690 ], [ 690, 691 ], [ 628, 692 ], [ 692, 693 ], [ 835, 694 ], [ 694, 695 ], [ 694, 696 ], [ 696, 697 ], [ 697, 698 ], [ 697, 699 ], [ 696, 700 ], [ 700, 701 ], [ 700, 702 ], [ 696, 703 ], [ 703, 704 ], [ 703, 705 ], [ 705, 706 ], [ 706, 707 ], [ 705, 708 ], [ 696, 709 ], [ 709, 710 ], [ 709, 711 ], [ 711, 712 ], [ 712, 713 ], [ 711, 714 ], [ 696, 715 ], [ 715, 716 ], [ 715, 717 ], [ 717, 718 ], [ 718, 719 ], [ 717, 720 ], [ 696, 721 ], [ 721, 722 ], [ 694, 723 ], [ 723, 724 ], [ 694, 725 ], [ 725, 726 ], [ 835, 727 ], [ 727, 728 ], [ 727, 729 ], [ 729, 730 ], [ 727, 731 ], [ 731, 732 ], [ 727, 733 ], [ 733, 734 ], [ 733, 735 ], [ 735, 736 ], [ 736, 737 ], [ 736, 738 ], [ 727, 739 ], [ 739, 740 ], [ 739, 741 ], [ 741, 742 ], [ 742, 743 ], [ 743, 744 ], [ 744, 745 ], [ 744, 746 ], [ 743, 747 ], [ 747, 748 ], [ 748, 749 ], [ 749, 750 ], [ 742, 751 ], [ 751, 752 ], [ 752, 753 ], [ 753, 754 ], [ 753, 755 ], [ 755, 756 ], [ 756, 757 ], [ 757, 758 ], [ 752, 759 ], [ 759, 760 ], [ 760, 761 ], [ 760, 762 ], [ 741, 763 ], [ 763, 764 ], [ 764, 765 ], [ 765, 766 ], [ 727, 767 ], [ 767, 768 ], [ 767, 769 ], [ 769, 770 ], [ 770, 771 ], [ 771, 772 ], [ 772, 773 ], [ 771, 774 ], [ 774, 775 ], [ 727, 776 ], [ 776, 777 ], [ 776, 778 ], [ 778, 779 ], [ 779, 780 ], [ 780, 781 ], [ 781, 782 ], [ 780, 783 ], [ 783, 784 ], [ 727, 785 ], [ 785, 786 ], [ 785, 787 ], [ 787, 788 ], [ 788, 789 ], [ 789, 790 ], [ 790, 791 ], [ 789, 792 ], [ 792, 793 ], [ 727, 794 ], [ 794, 795 ], [ 794, 796 ], [ 796, 797 ], [ 797, 798 ], [ 797, 799 ], [ 796, 800 ], [ 800, 801 ], [ 801, 802 ], [ 801, 803 ], [ 803, 804 ], [ 804, 805 ], [ 805, 806 ], [ 800, 807 ], [ 807, 808 ], [ 808, 809 ], [ 808, 810 ], [ 810, 811 ], [ 811, 812 ], [ 796, 813 ], [ 813, 814 ], [ 835, 815 ], [ 815, 816 ], [ 815, 817 ], [ 817, 818 ], [ 815, 819 ], [ 819, 820 ], [ 815, 821 ], [ 821, 822 ], [ 821, 823 ], [ 823, 824 ], [ 824, 825 ], [ 824, 826 ], [ 823, 827 ], [ 827, 828 ], [ 827, 829 ], [ 821, 830 ], [ 830, 831 ], [ 821, 832 ], [ 832, 833 ], [ 0, 834 ], [ 834, 835 ], [ 834, 836 ] ]
[ "import java.io.*;\nimport java.math.BigDecimal;\nimport java.math.BigInteger;\nimport java.util.*;\n \npublic class Main {\n\tstatic final int INF = (int) (1e9 + 10);\n\tstatic final int MOD = (int) (1e9 + 7);\n \n\t// static final int N = (int) (4e5 + 5);\n\t// static ArrayList<Integer>[] graph;\n\t// static boolean visited[];\n\t// static long size[];\n \n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tif(b<=0 && d <=0){\n\t\t pr.println(a*c);\n\t\t}else if( b <= 0 && c >= 0){\n\t\t pr.println(b*c);\n\t\t}else if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}\n\t\t\n\t\tpr.flush();\n\t\tpr.close();\n\t}\n \n\t\n\tprivate static boolean possible(long[] arr, int[] f, long mid, long k) {\n\t\tlong c = 0;\n \n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}\n\t\t// System.out.println(mid+\" \"+c);\n\t\tif (c <= k)\n\t\t\treturn true;\n\t\treturn false;\n\t}\n \n\tpublic static int lowerBound(ArrayList<Integer> array, int length, long value) {\n\t\tint low = 0;\n\t\tint high = length;\n\t\twhile (low < high) {\n\t\t\tfinal int mid = (low + high) / 2;\n\t\t\tif (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}\n\t\treturn low;\n\t}\n \n\tstatic class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n \n\tstatic long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n \n\tstatic long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}\n \n\tpublic static void sortbyColumn(int[][] att, int col) {\n\t\t// Using built-in sort function Arrays.sort\n\t\tArrays.sort(att, new Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t}); // End of function call sort().\n\t}\n \n\tstatic class pair {\n\t\tint V, I;\n \n\t\tpair(int v, int i) {\n\t\t\tV = v;\n\t\t\tI = i;\n\t\t}\n\t}\n \n\tpublic static int[] swap(int data[], int left, int right) {\n\t\tint temp = data[left];\n\t\tdata[left] = data[right];\n\t\tdata[right] = temp;\n\t\treturn data;\n\t}\n \n\tpublic static int[] reverse(int data[], int left, int right) {\n\t\twhile (left < right) {\n\t\t\tint temp = data[left];\n\t\t\tdata[left++] = data[right];\n\t\t\tdata[right--] = temp;\n\t\t}\n\t\treturn data;\n\t}\n \n\tpublic static boolean findNextPermutation(int data[]) {\n\t\tif (data.length <= 1)\n\t\t\treturn false;\n \n\t\tint last = data.length - 2;\n\t\twhile (last >= 0) {\n\t\t\tif (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlast--;\n\t\t}\n\t\tif (last < 0)\n\t\t\treturn false;\n \n\t\tint nextGreater = data.length - 1;\n\t\tfor (int i = data.length - 1; i > last; i--) {\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tdata = swap(data, nextGreater, last);\n\t\tdata = reverse(data, last + 1, data.length - 1);\n\t\treturn true;\n\t}\n \n\tstatic long nCr(long n, long r) {\n\t\tif (n == r)\n\t\t\treturn 1;\n\t\treturn fact(n) / (fact(r) * fact(n - r));\n\t}\n \n\tstatic long fact(long n) {\n\t\tlong res = 1;\n\t\tfor (long i = 2; i <= n; i++)\n\t\t\tres = res * i;\n\t\treturn res;\n\t}\n \n\t/*\n\t * static boolean prime[] = new boolean[1000007];\n\t * \n\t * public static void sieveOfEratosthenes(int n) {\n\t * \n\t * for (int i = 0; i < n; i++) prime[i] = true; * for (int p = 2; p * p <=\n\t * n; p++) { // If prime[p] is not changed, then it is a prime if (prime[p]\n\t * == true) { // Update all multiples of p for (int i = p * p; i <= n; i +=\n\t * p) prime[i] = false; } }\n\t * \n\t * // Print all prime numbers // for(int i = 2; i <= n; i++) // { //\n\t * if(prime[i] == true) // System.out.print(i + \" \"); // } }\n\t */\n \n\tstatic long power(long fac2, int y, int p) {\n\t\tlong res = 1;\n\t\tfac2 = fac2 % p;\n\t\twhile (y > 0) {\n\t\t\tif (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;\n\t\t\tfac2 = (fac2 * fac2) % p;\n\t\t}\n\t\treturn res;\n\t}\n \n\tstatic long modInverse(long fac2, int p) {\n\t\treturn power(fac2, p - 2, p);\n\t}\n \n\tstatic boolean isPrime(int n) {\n\t\t// Corner cases\n\t\tif (n <= 1)\n\t\t\treturn false;\n\t\tif (n <= 3)\n\t\t\treturn true;\n \n\t\t// This is checked so that we can skip\n\t\t// middle five numbers in below loop\n\t\tif (n % 2 == 0 || n % 3 == 0)\n\t\t\treturn false;\n \n\t\tfor (int i = 5; i * i <= n; i = i + 6)\n\t\t\tif (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;\n \n\t\treturn true;\n\t}\n \n\tpublic static BigInteger lcmm(String a, String b) {\n\t\tBigInteger s = new BigInteger(a);\n\t\tBigInteger s1 = new BigInteger(b);\n\t\tBigInteger mul = s.multiply(s1);\n\t\tBigInteger gcd = s.gcd(s1);\n\t\tBigInteger lcm = mul.divide(gcd);\n\t\treturn lcm;\n\t}\n \n}", "Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t}", "@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}", "compare", "{\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}", "return new Integer(entry1[col]).compareTo(entry2[col]);", "new Integer(entry1[col]).compareTo(entry2[col])", "new Integer(entry1[col]).compareTo", "new Integer(entry1[col])", "entry2[col]", "entry2", "col", "final int[] entry1", "entry1", "final int[] entry2", "entry2", "import java.io.*;", "io.*", "java", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic final int INF = (int) (1e9 + 10);\n\tstatic final int MOD = (int) (1e9 + 7);\n \n\t// static final int N = (int) (4e5 + 5);\n\t// static ArrayList<Integer>[] graph;\n\t// static boolean visited[];\n\t// static long size[];\n \n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tif(b<=0 && d <=0){\n\t\t pr.println(a*c);\n\t\t}else if( b <= 0 && c >= 0){\n\t\t pr.println(b*c);\n\t\t}else if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}\n\t\t\n\t\tpr.flush();\n\t\tpr.close();\n\t}\n \n\t\n\tprivate static boolean possible(long[] arr, int[] f, long mid, long k) {\n\t\tlong c = 0;\n \n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}\n\t\t// System.out.println(mid+\" \"+c);\n\t\tif (c <= k)\n\t\t\treturn true;\n\t\treturn false;\n\t}\n \n\tpublic static int lowerBound(ArrayList<Integer> array, int length, long value) {\n\t\tint low = 0;\n\t\tint high = length;\n\t\twhile (low < high) {\n\t\t\tfinal int mid = (low + high) / 2;\n\t\t\tif (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}\n\t\treturn low;\n\t}\n \n\tstatic class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n \n\tstatic long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n \n\tstatic long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}\n \n\tpublic static void sortbyColumn(int[][] att, int col) {\n\t\t// Using built-in sort function Arrays.sort\n\t\tArrays.sort(att, new Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t}); // End of function call sort().\n\t}\n \n\tstatic class pair {\n\t\tint V, I;\n \n\t\tpair(int v, int i) {\n\t\t\tV = v;\n\t\t\tI = i;\n\t\t}\n\t}\n \n\tpublic static int[] swap(int data[], int left, int right) {\n\t\tint temp = data[left];\n\t\tdata[left] = data[right];\n\t\tdata[right] = temp;\n\t\treturn data;\n\t}\n \n\tpublic static int[] reverse(int data[], int left, int right) {\n\t\twhile (left < right) {\n\t\t\tint temp = data[left];\n\t\t\tdata[left++] = data[right];\n\t\t\tdata[right--] = temp;\n\t\t}\n\t\treturn data;\n\t}\n \n\tpublic static boolean findNextPermutation(int data[]) {\n\t\tif (data.length <= 1)\n\t\t\treturn false;\n \n\t\tint last = data.length - 2;\n\t\twhile (last >= 0) {\n\t\t\tif (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlast--;\n\t\t}\n\t\tif (last < 0)\n\t\t\treturn false;\n \n\t\tint nextGreater = data.length - 1;\n\t\tfor (int i = data.length - 1; i > last; i--) {\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tdata = swap(data, nextGreater, last);\n\t\tdata = reverse(data, last + 1, data.length - 1);\n\t\treturn true;\n\t}\n \n\tstatic long nCr(long n, long r) {\n\t\tif (n == r)\n\t\t\treturn 1;\n\t\treturn fact(n) / (fact(r) * fact(n - r));\n\t}\n \n\tstatic long fact(long n) {\n\t\tlong res = 1;\n\t\tfor (long i = 2; i <= n; i++)\n\t\t\tres = res * i;\n\t\treturn res;\n\t}\n \n\t/*\n\t * static boolean prime[] = new boolean[1000007];\n\t * \n\t * public static void sieveOfEratosthenes(int n) {\n\t * \n\t * for (int i = 0; i < n; i++) prime[i] = true; * for (int p = 2; p * p <=\n\t * n; p++) { // If prime[p] is not changed, then it is a prime if (prime[p]\n\t * == true) { // Update all multiples of p for (int i = p * p; i <= n; i +=\n\t * p) prime[i] = false; } }\n\t * \n\t * // Print all prime numbers // for(int i = 2; i <= n; i++) // { //\n\t * if(prime[i] == true) // System.out.print(i + \" \"); // } }\n\t */\n \n\tstatic long power(long fac2, int y, int p) {\n\t\tlong res = 1;\n\t\tfac2 = fac2 % p;\n\t\twhile (y > 0) {\n\t\t\tif (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;\n\t\t\tfac2 = (fac2 * fac2) % p;\n\t\t}\n\t\treturn res;\n\t}\n \n\tstatic long modInverse(long fac2, int p) {\n\t\treturn power(fac2, p - 2, p);\n\t}\n \n\tstatic boolean isPrime(int n) {\n\t\t// Corner cases\n\t\tif (n <= 1)\n\t\t\treturn false;\n\t\tif (n <= 3)\n\t\t\treturn true;\n \n\t\t// This is checked so that we can skip\n\t\t// middle five numbers in below loop\n\t\tif (n % 2 == 0 || n % 3 == 0)\n\t\t\treturn false;\n \n\t\tfor (int i = 5; i * i <= n; i = i + 6)\n\t\t\tif (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;\n \n\t\treturn true;\n\t}\n \n\tpublic static BigInteger lcmm(String a, String b) {\n\t\tBigInteger s = new BigInteger(a);\n\t\tBigInteger s1 = new BigInteger(b);\n\t\tBigInteger mul = s.multiply(s1);\n\t\tBigInteger gcd = s.gcd(s1);\n\t\tBigInteger lcm = mul.divide(gcd);\n\t\treturn lcm;\n\t}\n \n}", "Main", "static final int INF = (int) (1e9 + 10);", "INF", "(int) (1e9 + 10)", "1e9", "10", "static final int MOD = (int) (1e9 + 7);", "MOD", "(int) (1e9 + 7)", "1e9", "7", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tif(b<=0 && d <=0){\n\t\t pr.println(a*c);\n\t\t}else if( b <= 0 && c >= 0){\n\t\t pr.println(b*c);\n\t\t}else if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}\n\t\t\n\t\tpr.flush();\n\t\tpr.close();\n\t}", "main", "{\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tif(b<=0 && d <=0){\n\t\t pr.println(a*c);\n\t\t}else if( b <= 0 && c >= 0){\n\t\t pr.println(b*c);\n\t\t}else if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}\n\t\t\n\t\tpr.flush();\n\t\tpr.close();\n\t}", "FastReader sc = new FastReader();", "sc", "new FastReader()", "PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));", "pr", "new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "if(b<=0 && d <=0){\n\t\t pr.println(a*c);\n\t\t}else if( b <= 0 && c >= 0){\n\t\t pr.println(b*c);\n\t\t}else if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}", "b<=0 && d <=0", "b<=0", "b", "0", "d <=0", "d", "0", "{\n\t\t pr.println(a*c);\n\t\t}", "pr.println(a*c)", "pr.println", "pr", "a*c", "a", "c", "if( b <= 0 && c >= 0){\n\t\t pr.println(b*c);\n\t\t}else if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}", "b <= 0 && c >= 0", "b <= 0", "b", "0", "c >= 0", "c", "0", "{\n\t\t pr.println(b*c);\n\t\t}", "pr.println(b*c)", "pr.println", "pr", "b*c", "b", "c", "if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}", "d <= 0 && a >=0", "d <= 0", "d", "0", "a >=0", "a", "0", "{\n\t\t pr.println(a*d);\n\t\t}", "pr.println(a*d)", "pr.println", "pr", "a*d", "a", "d", "if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}", "a >= 0 && c >=0", "a >= 0", "a", "0", "c >=0", "c", "0", "{\n\t\t pr.println(b*d);\n\t\t}", "pr.println(b*d)", "pr.println", "pr", "b*d", "b", "d", "{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}", "long p1 = a*c;", "p1", "a*c", "a", "c", "long p2 = a*d;", "p2", "a*d", "a", "d", "long p3 = b*c;", "p3", "b*c", "b", "c", "long p4 = b*d;", "p4", "b*d", "b", "d", "long m1 = Math.max(p1 , p2);", "m1", "Math.max(p1 , p2)", "Math.max", "Math", "p1", "p2", "long m2 = Math.max(p3 ,p4);", "m2", "Math.max(p3 ,p4)", "Math.max", "Math", "p3", "p4", "pr.println(Math.max(m1 , m2))", "pr.println", "pr", "Math.max(m1 , m2)", "Math.max", "Math", "m1", "m2", "pr.flush()", "pr.flush", "pr", "pr.close()", "pr.close", "pr", "String[] args", "args", "private static boolean possible(long[] arr, int[] f, long mid, long k) {\n\t\tlong c = 0;\n \n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}\n\t\t// System.out.println(mid+\" \"+c);\n\t\tif (c <= k)\n\t\t\treturn true;\n\t\treturn false;\n\t}", "possible", "{\n\t\tlong c = 0;\n \n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}\n\t\t// System.out.println(mid+\" \"+c);\n\t\tif (c <= k)\n\t\t\treturn true;\n\t\treturn false;\n\t}", "long c = 0;", "c", "0", "for (int i = 0; i < arr.length; i++) {\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}", "{\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}", "if ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}", "(arr[i] * f[f.length - i - 1]) > mid", "(arr[i] * f[f.length - i - 1])", "arr[i]", "arr", "i", "f[f.length - i - 1]", "f", "f.length - i - 1", "f.length - i - 1", "f.length", "f", "f.length", "i", "1", "mid", "{\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}", "c += (arr[i] - (mid / f[f.length - i - 1]))", "c", "(arr[i] - (mid / f[f.length - i - 1]))", "arr[i]", "arr", "i", "(mid / f[f.length - i - 1])", "mid", "f[f.length - i - 1]", "f", "f.length - i - 1", "f.length - i - 1", "f.length", "f", "f.length", "i", "1", "if (c <= k)\n\t\t\treturn true;", "c <= k", "c", "k", "return true;", "true", "return false;", "false", "long[] arr", "arr", "int[] f", "f", "long mid", "mid", "long k", "k", "public static int lowerBound(ArrayList<Integer> array, int length, long value) {\n\t\tint low = 0;\n\t\tint high = length;\n\t\twhile (low < high) {\n\t\t\tfinal int mid = (low + high) / 2;\n\t\t\tif (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}\n\t\treturn low;\n\t}", "lowerBound", "{\n\t\tint low = 0;\n\t\tint high = length;\n\t\twhile (low < high) {\n\t\t\tfinal int mid = (low + high) / 2;\n\t\t\tif (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}\n\t\treturn low;\n\t}", "int low = 0;", "low", "0", "int high = length;", "high", "length", "while (low < high) {\n\t\t\tfinal int mid = (low + high) / 2;\n\t\t\tif (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}", "low < high", "low", "high", "{\n\t\t\tfinal int mid = (low + high) / 2;\n\t\t\tif (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}", "final int mid = (low + high) / 2;", "mid", "(low + high) / 2", "(low + high)", "low", "high", "2", "if (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}", "value <= array.get(mid)", "value", "array.get(mid)", "array.get", "array", "mid", "{\n\t\t\t\thigh = mid;\n\t\t\t}", "high = mid", "high", "mid", "{\n\t\t\t\tlow = mid + 1;\n\t\t\t}", "low = mid + 1", "low", "mid + 1", "mid", "1", "return low;", "low", "ArrayList<Integer> array", "array", "int length", "length", "long value", "value", "static long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}", "gcd", "{\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}", "if (a == 0)\n\t\t\treturn b;", "a == 0", "a", "0", "return b;", "b", "return gcd(b % a, a);", "gcd(b % a, a)", "gcd", "b % a", "b", "a", "a", "long a", "a", "long b", "b", "static long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}", "lcm", "{\n\t\treturn (a * b) / gcd(a, b);\n\t}", "return (a * b) / gcd(a, b);", "(a * b) / gcd(a, b)", "(a * b)", "a", "b", "gcd(a, b)", "gcd", "a", "b", "long a", "a", "long b", "b", "public static void sortbyColumn(int[][] att, int col) {\n\t\t// Using built-in sort function Arrays.sort\n\t\tArrays.sort(att, new Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t}); // End of function call sort().\n\t}", "sortbyColumn", "{\n\t\t// Using built-in sort function Arrays.sort\n\t\tArrays.sort(att, new Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t}); // End of function call sort().\n\t}", "Arrays.sort(att, new Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t})", "Arrays.sort", "Arrays", "att", "new Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t}", "int[][] att", "att", "int col", "col", "public static int[] swap(int data[], int left, int right) {\n\t\tint temp = data[left];\n\t\tdata[left] = data[right];\n\t\tdata[right] = temp;\n\t\treturn data;\n\t}", "swap", "{\n\t\tint temp = data[left];\n\t\tdata[left] = data[right];\n\t\tdata[right] = temp;\n\t\treturn data;\n\t}", "int temp = data[left];", "temp", "data[left]", "data", "left", "data[left] = data[right]", "data[left]", "data", "left", "data[right]", "data", "right", "data[right] = temp", "data[right]", "data", "right", "temp", "return data;", "data", "int data[]", "data", "int left", "left", "int right", "right", "public static int[] reverse(int data[], int left, int right) {\n\t\twhile (left < right) {\n\t\t\tint temp = data[left];\n\t\t\tdata[left++] = data[right];\n\t\t\tdata[right--] = temp;\n\t\t}\n\t\treturn data;\n\t}", "reverse", "{\n\t\twhile (left < right) {\n\t\t\tint temp = data[left];\n\t\t\tdata[left++] = data[right];\n\t\t\tdata[right--] = temp;\n\t\t}\n\t\treturn data;\n\t}", "while (left < right) {\n\t\t\tint temp = data[left];\n\t\t\tdata[left++] = data[right];\n\t\t\tdata[right--] = temp;\n\t\t}", "left < right", "left", "right", "{\n\t\t\tint temp = data[left];\n\t\t\tdata[left++] = data[right];\n\t\t\tdata[right--] = temp;\n\t\t}", "int temp = data[left];", "temp", "data[left]", "data", "left", "data[left++] = data[right]", "data[left++]", "data", "left++", "left", "data[right]", "data", "right", "data[right--] = temp", "data[right--]", "data", "right--", "right", "temp", "return data;", "data", "int data[]", "data", "int left", "left", "int right", "right", "public static boolean findNextPermutation(int data[]) {\n\t\tif (data.length <= 1)\n\t\t\treturn false;\n \n\t\tint last = data.length - 2;\n\t\twhile (last >= 0) {\n\t\t\tif (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlast--;\n\t\t}\n\t\tif (last < 0)\n\t\t\treturn false;\n \n\t\tint nextGreater = data.length - 1;\n\t\tfor (int i = data.length - 1; i > last; i--) {\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tdata = swap(data, nextGreater, last);\n\t\tdata = reverse(data, last + 1, data.length - 1);\n\t\treturn true;\n\t}", "findNextPermutation", "{\n\t\tif (data.length <= 1)\n\t\t\treturn false;\n \n\t\tint last = data.length - 2;\n\t\twhile (last >= 0) {\n\t\t\tif (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlast--;\n\t\t}\n\t\tif (last < 0)\n\t\t\treturn false;\n \n\t\tint nextGreater = data.length - 1;\n\t\tfor (int i = data.length - 1; i > last; i--) {\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tdata = swap(data, nextGreater, last);\n\t\tdata = reverse(data, last + 1, data.length - 1);\n\t\treturn true;\n\t}", "if (data.length <= 1)\n\t\t\treturn false;", "data.length <= 1", "data.length", "data", "data.length", "1", "return false;", "false", "int last = data.length - 2;", "last", "data.length - 2", "data.length", "data", "data.length", "2", "while (last >= 0) {\n\t\t\tif (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlast--;\n\t\t}", "last >= 0", "last", "0", "{\n\t\t\tif (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlast--;\n\t\t}", "if (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}", "data[last] < data[last + 1]", "data[last]", "data", "last", "data[last + 1]", "data", "last + 1", "last", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "last--", "last", "if (last < 0)\n\t\t\treturn false;", "last < 0", "last", "0", "return false;", "false", "int nextGreater = data.length - 1;", "nextGreater", "data.length - 1", "data.length", "data", "data.length", "1", "for (int i = data.length - 1; i > last; i--) {\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = data.length - 1;", "int i = data.length - 1;", "i", "data.length - 1", "data.length", "data", "data.length", "1", "i > last", "i", "last", "i--", "i--", "i", "{\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}", "data[i] > data[last]", "data[i]", "data", "i", "data[last]", "data", "last", "{\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}", "nextGreater = i", "nextGreater", "i", "break;", "data = swap(data, nextGreater, last)", "data", "swap(data, nextGreater, last)", "swap", "data", "nextGreater", "last", "data = reverse(data, last + 1, data.length - 1)", "data", "reverse(data, last + 1, data.length - 1)", "reverse", "data", "last + 1", "last", "1", "data.length - 1", "data.length", "data", "data.length", "1", "return true;", "true", "int data[]", "data", "static long nCr(long n, long r) {\n\t\tif (n == r)\n\t\t\treturn 1;\n\t\treturn fact(n) / (fact(r) * fact(n - r));\n\t}", "nCr", "{\n\t\tif (n == r)\n\t\t\treturn 1;\n\t\treturn fact(n) / (fact(r) * fact(n - r));\n\t}", "if (n == r)\n\t\t\treturn 1;", "n == r", "n", "r", "return 1;", "1", "return fact(n) / (fact(r) * fact(n - r));", "fact(n) / (fact(r) * fact(n - r))", "fact(n)", "fact", "n", "(fact(r) * fact(n - r))", "fact(r)", "fact", "r", "fact(n - r)", "fact", "n - r", "n", "r", "long n", "n", "long r", "r", "static long fact(long n) {\n\t\tlong res = 1;\n\t\tfor (long i = 2; i <= n; i++)\n\t\t\tres = res * i;\n\t\treturn res;\n\t}", "fact", "{\n\t\tlong res = 1;\n\t\tfor (long i = 2; i <= n; i++)\n\t\t\tres = res * i;\n\t\treturn res;\n\t}", "long res = 1;", "res", "1", "for (long i = 2; i <= n; i++)\n\t\t\tres = res * i;", "long i = 2;", "long i = 2;", "i", "2", "i <= n", "i", "n", "i++", "i++", "i", "res = res * i;", "res = res * i", "res", "res * i", "res", "i", "return res;", "res", "long n", "n", "static long power(long fac2, int y, int p) {\n\t\tlong res = 1;\n\t\tfac2 = fac2 % p;\n\t\twhile (y > 0) {\n\t\t\tif (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;\n\t\t\tfac2 = (fac2 * fac2) % p;\n\t\t}\n\t\treturn res;\n\t}", "power", "{\n\t\tlong res = 1;\n\t\tfac2 = fac2 % p;\n\t\twhile (y > 0) {\n\t\t\tif (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;\n\t\t\tfac2 = (fac2 * fac2) % p;\n\t\t}\n\t\treturn res;\n\t}", "long res = 1;", "res", "1", "fac2 = fac2 % p", "fac2", "fac2 % p", "fac2", "p", "while (y > 0) {\n\t\t\tif (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;\n\t\t\tfac2 = (fac2 * fac2) % p;\n\t\t}", "y > 0", "y", "0", "{\n\t\t\tif (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;\n\t\t\tfac2 = (fac2 * fac2) % p;\n\t\t}", "if (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;", "y % 2 == 1", "y % 2", "y", "2", "1", "res = (res * fac2) % p", "res", "(res * fac2) % p", "(res * fac2)", "res", "fac2", "p", "fac2 = (fac2 * fac2) % p", "fac2", "(fac2 * fac2) % p", "(fac2 * fac2)", "fac2", "fac2", "p", "return res;", "res", "long fac2", "fac2", "int y", "y", "int p", "p", "static long modInverse(long fac2, int p) {\n\t\treturn power(fac2, p - 2, p);\n\t}", "modInverse", "{\n\t\treturn power(fac2, p - 2, p);\n\t}", "return power(fac2, p - 2, p);", "power(fac2, p - 2, p)", "power", "fac2", "p - 2", "p", "2", "p", "long fac2", "fac2", "int p", "p", "static boolean isPrime(int n) {\n\t\t// Corner cases\n\t\tif (n <= 1)\n\t\t\treturn false;\n\t\tif (n <= 3)\n\t\t\treturn true;\n \n\t\t// This is checked so that we can skip\n\t\t// middle five numbers in below loop\n\t\tif (n % 2 == 0 || n % 3 == 0)\n\t\t\treturn false;\n \n\t\tfor (int i = 5; i * i <= n; i = i + 6)\n\t\t\tif (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;\n \n\t\treturn true;\n\t}", "isPrime", "{\n\t\t// Corner cases\n\t\tif (n <= 1)\n\t\t\treturn false;\n\t\tif (n <= 3)\n\t\t\treturn true;\n \n\t\t// This is checked so that we can skip\n\t\t// middle five numbers in below loop\n\t\tif (n % 2 == 0 || n % 3 == 0)\n\t\t\treturn false;\n \n\t\tfor (int i = 5; i * i <= n; i = i + 6)\n\t\t\tif (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;\n \n\t\treturn true;\n\t}", "if (n <= 1)\n\t\t\treturn false;", "n <= 1", "n", "1", "return false;", "false", "if (n <= 3)\n\t\t\treturn true;", "n <= 3", "n", "3", "return true;", "true", "if (n % 2 == 0 || n % 3 == 0)\n\t\t\treturn false;", "n % 2 == 0 || n % 3 == 0", "n % 2 == 0", "n % 2", "n", "2", "0", "n % 3 == 0", "n % 3", "n", "3", "0", "return false;", "false", "for (int i = 5; i * i <= n; i = i + 6)\n\t\t\tif (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;", "int i = 5;", "int i = 5;", "i", "5", "i * i <= n", "i * i", "i", "i", "n", "i = i + 6", "i = i + 6", "i", "i + 6", "i", "6", "if (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;", "if (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;", "n % i == 0 || n % (i + 2) == 0", "n % i == 0", "n % i", "n", "i", "0", "n % (i + 2) == 0", "n % (i + 2)", "n", "(i + 2)", "i", "2", "0", "return false;", "false", "return true;", "true", "int n", "n", "public static BigInteger lcmm(String a, String b) {\n\t\tBigInteger s = new BigInteger(a);\n\t\tBigInteger s1 = new BigInteger(b);\n\t\tBigInteger mul = s.multiply(s1);\n\t\tBigInteger gcd = s.gcd(s1);\n\t\tBigInteger lcm = mul.divide(gcd);\n\t\treturn lcm;\n\t}", "lcmm", "{\n\t\tBigInteger s = new BigInteger(a);\n\t\tBigInteger s1 = new BigInteger(b);\n\t\tBigInteger mul = s.multiply(s1);\n\t\tBigInteger gcd = s.gcd(s1);\n\t\tBigInteger lcm = mul.divide(gcd);\n\t\treturn lcm;\n\t}", "BigInteger s = new BigInteger(a);", "s", "new BigInteger(a)", "BigInteger s1 = new BigInteger(b);", "s1", "new BigInteger(b)", "BigInteger mul = s.multiply(s1);", "mul", "s.multiply(s1)", "s.multiply", "s", "s1", "BigInteger gcd = s.gcd(s1);", "gcd", "s.gcd(s1)", "s.gcd", "s", "s1", "BigInteger lcm = mul.divide(gcd);", "lcm", "mul.divide(gcd)", "mul.divide", "mul", "gcd", "return lcm;", "lcm", "String a", "a", "String b", "b", "static class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}", "FastReader", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "while (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}", "try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "nextDouble", "{\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}", "nextLine", "{\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}", "String str = \"\";", "str", "\"\"", "try {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "IOException e", "{\n\t\t\t\te.printStackTrace();\n\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\tstr = br.readLine();\n\t\t\t}", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "static class pair {\n\t\tint V, I;\n \n\t\tpair(int v, int i) {\n\t\t\tV = v;\n\t\t\tI = i;\n\t\t}\n\t}", "pair", "int V", "V", "I;", "I", "pair(int v, int i) {\n\t\t\tV = v;\n\t\t\tI = i;\n\t\t}", "pair", "{\n\t\t\tV = v;\n\t\t\tI = i;\n\t\t}", "V = v", "V", "v", "I = i", "I", "i", "int v", "v", "int i", "i", "public class Main {\n\tstatic final int INF = (int) (1e9 + 10);\n\tstatic final int MOD = (int) (1e9 + 7);\n \n\t// static final int N = (int) (4e5 + 5);\n\t// static ArrayList<Integer>[] graph;\n\t// static boolean visited[];\n\t// static long size[];\n \n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tif(b<=0 && d <=0){\n\t\t pr.println(a*c);\n\t\t}else if( b <= 0 && c >= 0){\n\t\t pr.println(b*c);\n\t\t}else if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}\n\t\t\n\t\tpr.flush();\n\t\tpr.close();\n\t}\n \n\t\n\tprivate static boolean possible(long[] arr, int[] f, long mid, long k) {\n\t\tlong c = 0;\n \n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}\n\t\t// System.out.println(mid+\" \"+c);\n\t\tif (c <= k)\n\t\t\treturn true;\n\t\treturn false;\n\t}\n \n\tpublic static int lowerBound(ArrayList<Integer> array, int length, long value) {\n\t\tint low = 0;\n\t\tint high = length;\n\t\twhile (low < high) {\n\t\t\tfinal int mid = (low + high) / 2;\n\t\t\tif (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}\n\t\treturn low;\n\t}\n \n\tstatic class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n \n\tstatic long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n \n\tstatic long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}\n \n\tpublic static void sortbyColumn(int[][] att, int col) {\n\t\t// Using built-in sort function Arrays.sort\n\t\tArrays.sort(att, new Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t}); // End of function call sort().\n\t}\n \n\tstatic class pair {\n\t\tint V, I;\n \n\t\tpair(int v, int i) {\n\t\t\tV = v;\n\t\t\tI = i;\n\t\t}\n\t}\n \n\tpublic static int[] swap(int data[], int left, int right) {\n\t\tint temp = data[left];\n\t\tdata[left] = data[right];\n\t\tdata[right] = temp;\n\t\treturn data;\n\t}\n \n\tpublic static int[] reverse(int data[], int left, int right) {\n\t\twhile (left < right) {\n\t\t\tint temp = data[left];\n\t\t\tdata[left++] = data[right];\n\t\t\tdata[right--] = temp;\n\t\t}\n\t\treturn data;\n\t}\n \n\tpublic static boolean findNextPermutation(int data[]) {\n\t\tif (data.length <= 1)\n\t\t\treturn false;\n \n\t\tint last = data.length - 2;\n\t\twhile (last >= 0) {\n\t\t\tif (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlast--;\n\t\t}\n\t\tif (last < 0)\n\t\t\treturn false;\n \n\t\tint nextGreater = data.length - 1;\n\t\tfor (int i = data.length - 1; i > last; i--) {\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tdata = swap(data, nextGreater, last);\n\t\tdata = reverse(data, last + 1, data.length - 1);\n\t\treturn true;\n\t}\n \n\tstatic long nCr(long n, long r) {\n\t\tif (n == r)\n\t\t\treturn 1;\n\t\treturn fact(n) / (fact(r) * fact(n - r));\n\t}\n \n\tstatic long fact(long n) {\n\t\tlong res = 1;\n\t\tfor (long i = 2; i <= n; i++)\n\t\t\tres = res * i;\n\t\treturn res;\n\t}\n \n\t/*\n\t * static boolean prime[] = new boolean[1000007];\n\t * \n\t * public static void sieveOfEratosthenes(int n) {\n\t * \n\t * for (int i = 0; i < n; i++) prime[i] = true; * for (int p = 2; p * p <=\n\t * n; p++) { // If prime[p] is not changed, then it is a prime if (prime[p]\n\t * == true) { // Update all multiples of p for (int i = p * p; i <= n; i +=\n\t * p) prime[i] = false; } }\n\t * \n\t * // Print all prime numbers // for(int i = 2; i <= n; i++) // { //\n\t * if(prime[i] == true) // System.out.print(i + \" \"); // } }\n\t */\n \n\tstatic long power(long fac2, int y, int p) {\n\t\tlong res = 1;\n\t\tfac2 = fac2 % p;\n\t\twhile (y > 0) {\n\t\t\tif (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;\n\t\t\tfac2 = (fac2 * fac2) % p;\n\t\t}\n\t\treturn res;\n\t}\n \n\tstatic long modInverse(long fac2, int p) {\n\t\treturn power(fac2, p - 2, p);\n\t}\n \n\tstatic boolean isPrime(int n) {\n\t\t// Corner cases\n\t\tif (n <= 1)\n\t\t\treturn false;\n\t\tif (n <= 3)\n\t\t\treturn true;\n \n\t\t// This is checked so that we can skip\n\t\t// middle five numbers in below loop\n\t\tif (n % 2 == 0 || n % 3 == 0)\n\t\t\treturn false;\n \n\t\tfor (int i = 5; i * i <= n; i = i + 6)\n\t\t\tif (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;\n \n\t\treturn true;\n\t}\n \n\tpublic static BigInteger lcmm(String a, String b) {\n\t\tBigInteger s = new BigInteger(a);\n\t\tBigInteger s1 = new BigInteger(b);\n\t\tBigInteger mul = s.multiply(s1);\n\t\tBigInteger gcd = s.gcd(s1);\n\t\tBigInteger lcm = mul.divide(gcd);\n\t\treturn lcm;\n\t}\n \n}", "public class Main {\n\tstatic final int INF = (int) (1e9 + 10);\n\tstatic final int MOD = (int) (1e9 + 7);\n \n\t// static final int N = (int) (4e5 + 5);\n\t// static ArrayList<Integer>[] graph;\n\t// static boolean visited[];\n\t// static long size[];\n \n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tif(b<=0 && d <=0){\n\t\t pr.println(a*c);\n\t\t}else if( b <= 0 && c >= 0){\n\t\t pr.println(b*c);\n\t\t}else if(d <= 0 && a >=0){\n\t\t pr.println(a*d);\n\t\t}else if (a >= 0 && c >=0){\n\t\t pr.println(b*d);\n\t\t}else{\n\t\t long p1 = a*c;\n\t\t long p2 = a*d;\n\t\t long p3 = b*c;\n\t\t long p4 = b*d;\n\t\t long m1 = Math.max(p1 , p2);\n\t\t long m2 = Math.max(p3 ,p4);\n\t\t pr.println(Math.max(m1 , m2));\n\t\t}\n\t\t\n\t\tpr.flush();\n\t\tpr.close();\n\t}\n \n\t\n\tprivate static boolean possible(long[] arr, int[] f, long mid, long k) {\n\t\tlong c = 0;\n \n\t\tfor (int i = 0; i < arr.length; i++) {\n\t\t\tif ((arr[i] * f[f.length - i - 1]) > mid) {\n\t\t\t\tc += (arr[i] - (mid / f[f.length - i - 1]));\n\t\t\t}\n\t\t}\n\t\t// System.out.println(mid+\" \"+c);\n\t\tif (c <= k)\n\t\t\treturn true;\n\t\treturn false;\n\t}\n \n\tpublic static int lowerBound(ArrayList<Integer> array, int length, long value) {\n\t\tint low = 0;\n\t\tint high = length;\n\t\twhile (low < high) {\n\t\t\tfinal int mid = (low + high) / 2;\n\t\t\tif (value <= array.get(mid)) {\n\t\t\t\thigh = mid;\n\t\t\t} else {\n\t\t\t\tlow = mid + 1;\n\t\t\t}\n\t\t}\n\t\treturn low;\n\t}\n \n\tstatic class FastReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n \n\t\tpublic FastReader() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n \n\t\tString next() {\n\t\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n \n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tdouble nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tString nextLine() {\n\t\t\tString str = \"\";\n\t\t\ttry {\n\t\t\t\tstr = br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\treturn str;\n\t\t}\n\t}\n \n\tstatic long gcd(long a, long b) {\n\t\tif (a == 0)\n\t\t\treturn b;\n\t\treturn gcd(b % a, a);\n\t}\n \n\tstatic long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}\n \n\tpublic static void sortbyColumn(int[][] att, int col) {\n\t\t// Using built-in sort function Arrays.sort\n\t\tArrays.sort(att, new Comparator<int[]>() {\n \n\t\t\t@Override\n\t\t\t// Compare values according to columns\n\t\t\tpublic int compare(final int[] entry1, final int[] entry2) {\n \n\t\t\t\t// To sort in descending order revert\n\t\t\t\t// the '>' Operator\n\t\t\t\t// if (entry1[col] > entry2[col])\n\t\t\t\t// return 1;\n\t\t\t\t// else //(entry1[col] >= entry2[col])\n\t\t\t\t// return -1;\n\t\t\t\treturn new Integer(entry1[col]).compareTo(entry2[col]);\n\t\t\t\t// return entry1[col].\n\t\t\t}\n\t\t}); // End of function call sort().\n\t}\n \n\tstatic class pair {\n\t\tint V, I;\n \n\t\tpair(int v, int i) {\n\t\t\tV = v;\n\t\t\tI = i;\n\t\t}\n\t}\n \n\tpublic static int[] swap(int data[], int left, int right) {\n\t\tint temp = data[left];\n\t\tdata[left] = data[right];\n\t\tdata[right] = temp;\n\t\treturn data;\n\t}\n \n\tpublic static int[] reverse(int data[], int left, int right) {\n\t\twhile (left < right) {\n\t\t\tint temp = data[left];\n\t\t\tdata[left++] = data[right];\n\t\t\tdata[right--] = temp;\n\t\t}\n\t\treturn data;\n\t}\n \n\tpublic static boolean findNextPermutation(int data[]) {\n\t\tif (data.length <= 1)\n\t\t\treturn false;\n \n\t\tint last = data.length - 2;\n\t\twhile (last >= 0) {\n\t\t\tif (data[last] < data[last + 1]) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlast--;\n\t\t}\n\t\tif (last < 0)\n\t\t\treturn false;\n \n\t\tint nextGreater = data.length - 1;\n\t\tfor (int i = data.length - 1; i > last; i--) {\n\t\t\tif (data[i] > data[last]) {\n\t\t\t\tnextGreater = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tdata = swap(data, nextGreater, last);\n\t\tdata = reverse(data, last + 1, data.length - 1);\n\t\treturn true;\n\t}\n \n\tstatic long nCr(long n, long r) {\n\t\tif (n == r)\n\t\t\treturn 1;\n\t\treturn fact(n) / (fact(r) * fact(n - r));\n\t}\n \n\tstatic long fact(long n) {\n\t\tlong res = 1;\n\t\tfor (long i = 2; i <= n; i++)\n\t\t\tres = res * i;\n\t\treturn res;\n\t}\n \n\t/*\n\t * static boolean prime[] = new boolean[1000007];\n\t * \n\t * public static void sieveOfEratosthenes(int n) {\n\t * \n\t * for (int i = 0; i < n; i++) prime[i] = true; * for (int p = 2; p * p <=\n\t * n; p++) { // If prime[p] is not changed, then it is a prime if (prime[p]\n\t * == true) { // Update all multiples of p for (int i = p * p; i <= n; i +=\n\t * p) prime[i] = false; } }\n\t * \n\t * // Print all prime numbers // for(int i = 2; i <= n; i++) // { //\n\t * if(prime[i] == true) // System.out.print(i + \" \"); // } }\n\t */\n \n\tstatic long power(long fac2, int y, int p) {\n\t\tlong res = 1;\n\t\tfac2 = fac2 % p;\n\t\twhile (y > 0) {\n\t\t\tif (y % 2 == 1)\n\t\t\t\tres = (res * fac2) % p;\n\t\t\tfac2 = (fac2 * fac2) % p;\n\t\t}\n\t\treturn res;\n\t}\n \n\tstatic long modInverse(long fac2, int p) {\n\t\treturn power(fac2, p - 2, p);\n\t}\n \n\tstatic boolean isPrime(int n) {\n\t\t// Corner cases\n\t\tif (n <= 1)\n\t\t\treturn false;\n\t\tif (n <= 3)\n\t\t\treturn true;\n \n\t\t// This is checked so that we can skip\n\t\t// middle five numbers in below loop\n\t\tif (n % 2 == 0 || n % 3 == 0)\n\t\t\treturn false;\n \n\t\tfor (int i = 5; i * i <= n; i = i + 6)\n\t\t\tif (n % i == 0 || n % (i + 2) == 0)\n\t\t\t\treturn false;\n \n\t\treturn true;\n\t}\n \n\tpublic static BigInteger lcmm(String a, String b) {\n\t\tBigInteger s = new BigInteger(a);\n\t\tBigInteger s1 = new BigInteger(b);\n\t\tBigInteger mul = s.multiply(s1);\n\t\tBigInteger gcd = s.gcd(s1);\n\t\tBigInteger lcm = mul.divide(gcd);\n\t\treturn lcm;\n\t}\n \n}", "Main" ]
import java.io.*; import java.math.BigDecimal; import java.math.BigInteger; import java.util.*; public class Main { static final int INF = (int) (1e9 + 10); static final int MOD = (int) (1e9 + 7); // static final int N = (int) (4e5 + 5); // static ArrayList<Integer>[] graph; // static boolean visited[]; // static long size[]; public static void main(String[] args) throws NumberFormatException, IOException { FastReader sc = new FastReader(); PrintWriter pr = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out))); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); if(b<=0 && d <=0){ pr.println(a*c); }else if( b <= 0 && c >= 0){ pr.println(b*c); }else if(d <= 0 && a >=0){ pr.println(a*d); }else if (a >= 0 && c >=0){ pr.println(b*d); }else{ long p1 = a*c; long p2 = a*d; long p3 = b*c; long p4 = b*d; long m1 = Math.max(p1 , p2); long m2 = Math.max(p3 ,p4); pr.println(Math.max(m1 , m2)); } pr.flush(); pr.close(); } private static boolean possible(long[] arr, int[] f, long mid, long k) { long c = 0; for (int i = 0; i < arr.length; i++) { if ((arr[i] * f[f.length - i - 1]) > mid) { c += (arr[i] - (mid / f[f.length - i - 1])); } } // System.out.println(mid+" "+c); if (c <= k) return true; return false; } public static int lowerBound(ArrayList<Integer> array, int length, long value) { int low = 0; int high = length; while (low < high) { final int mid = (low + high) / 2; if (value <= array.get(mid)) { high = mid; } else { low = mid + 1; } } return low; } static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } static long gcd(long a, long b) { if (a == 0) return b; return gcd(b % a, a); } static long lcm(long a, long b) { return (a * b) / gcd(a, b); } public static void sortbyColumn(int[][] att, int col) { // Using built-in sort function Arrays.sort Arrays.sort(att, new Comparator<int[]>() { @Override // Compare values according to columns public int compare(final int[] entry1, final int[] entry2) { // To sort in descending order revert // the '>' Operator // if (entry1[col] > entry2[col]) // return 1; // else //(entry1[col] >= entry2[col]) // return -1; return new Integer(entry1[col]).compareTo(entry2[col]); // return entry1[col]. } }); // End of function call sort(). } static class pair { int V, I; pair(int v, int i) { V = v; I = i; } } public static int[] swap(int data[], int left, int right) { int temp = data[left]; data[left] = data[right]; data[right] = temp; return data; } public static int[] reverse(int data[], int left, int right) { while (left < right) { int temp = data[left]; data[left++] = data[right]; data[right--] = temp; } return data; } public static boolean findNextPermutation(int data[]) { if (data.length <= 1) return false; int last = data.length - 2; while (last >= 0) { if (data[last] < data[last + 1]) { break; } last--; } if (last < 0) return false; int nextGreater = data.length - 1; for (int i = data.length - 1; i > last; i--) { if (data[i] > data[last]) { nextGreater = i; break; } } data = swap(data, nextGreater, last); data = reverse(data, last + 1, data.length - 1); return true; } static long nCr(long n, long r) { if (n == r) return 1; return fact(n) / (fact(r) * fact(n - r)); } static long fact(long n) { long res = 1; for (long i = 2; i <= n; i++) res = res * i; return res; } /* * static boolean prime[] = new boolean[1000007]; * * public static void sieveOfEratosthenes(int n) { * * for (int i = 0; i < n; i++) prime[i] = true; * for (int p = 2; p * p <= * n; p++) { // If prime[p] is not changed, then it is a prime if (prime[p] * == true) { // Update all multiples of p for (int i = p * p; i <= n; i += * p) prime[i] = false; } } * * // Print all prime numbers // for(int i = 2; i <= n; i++) // { // * if(prime[i] == true) // System.out.print(i + " "); // } } */ static long power(long fac2, int y, int p) { long res = 1; fac2 = fac2 % p; while (y > 0) { if (y % 2 == 1) res = (res * fac2) % p; fac2 = (fac2 * fac2) % p; } return res; } static long modInverse(long fac2, int p) { return power(fac2, p - 2, p); } static boolean isPrime(int n) { // Corner cases if (n <= 1) return false; if (n <= 3) return true; // This is checked so that we can skip // middle five numbers in below loop if (n % 2 == 0 || n % 3 == 0) return false; for (int i = 5; i * i <= n; i = i + 6) if (n % i == 0 || n % (i + 2) == 0) return false; return true; } public static BigInteger lcmm(String a, String b) { BigInteger s = new BigInteger(a); BigInteger s1 = new BigInteger(b); BigInteger mul = s.multiply(s1); BigInteger gcd = s.gcd(s1); BigInteger lcm = mul.divide(gcd); return lcm; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 75, 8 ], [ 75, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 11, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 11, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 51, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 57, 63 ], [ 63, 64 ], [ 63, 65 ], [ 11, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 9, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.util.*;\nimport java.lang.Math;\n\npublic class Main{\n\npublic static void main(String[] args){\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nlong a=scanner1.nextLong();\nlong b=scanner1.nextLong();\nlong c=scanner1.nextLong();\nlong d=scanner1.nextLong();\nlong t=a*c;\n\nlong e=Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)));\nSystem.out.println(e);\n\n\n\n}\n}", "import java.util.*;", "util.*", "java", "import java.lang.Math;", "Math", "java.lang", "public class Main{\n\npublic static void main(String[] args){\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nlong a=scanner1.nextLong();\nlong b=scanner1.nextLong();\nlong c=scanner1.nextLong();\nlong d=scanner1.nextLong();\nlong t=a*c;\n\nlong e=Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)));\nSystem.out.println(e);\n\n\n\n}\n}", "Main", "public static void main(String[] args){\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nlong a=scanner1.nextLong();\nlong b=scanner1.nextLong();\nlong c=scanner1.nextLong();\nlong d=scanner1.nextLong();\nlong t=a*c;\n\nlong e=Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)));\nSystem.out.println(e);\n\n\n\n}", "main", "{\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nlong a=scanner1.nextLong();\nlong b=scanner1.nextLong();\nlong c=scanner1.nextLong();\nlong d=scanner1.nextLong();\nlong t=a*c;\n\nlong e=Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)));\nSystem.out.println(e);\n\n\n\n}", "Scanner scanner1 = new Scanner(System.in);", "scanner1", "new Scanner(System.in)", "Scanner scanner2 = new Scanner(System.in);", "scanner2", "new Scanner(System.in)", "long a=scanner1.nextLong();", "a", "scanner1.nextLong()", "scanner1.nextLong", "scanner1", "long b=scanner1.nextLong();", "b", "scanner1.nextLong()", "scanner1.nextLong", "scanner1", "long c=scanner1.nextLong();", "c", "scanner1.nextLong()", "scanner1.nextLong", "scanner1", "long d=scanner1.nextLong();", "d", "scanner1.nextLong()", "scanner1.nextLong", "scanner1", "long t=a*c;", "t", "a*c", "a", "c", "long e=Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)));", "e", "Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)))", "Math.max", "Math", "a*c", "a", "c", "Math.max(a*d,Math.max(b*c,b*d))", "Math.max", "Math", "a*d", "a", "d", "Math.max(b*c,b*d)", "Math.max", "Math", "b*c", "b", "c", "b*d", "b", "d", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "String[] args", "args", "public class Main{\n\npublic static void main(String[] args){\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nlong a=scanner1.nextLong();\nlong b=scanner1.nextLong();\nlong c=scanner1.nextLong();\nlong d=scanner1.nextLong();\nlong t=a*c;\n\nlong e=Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)));\nSystem.out.println(e);\n\n\n\n}\n}", "public class Main{\n\npublic static void main(String[] args){\nScanner scanner1 = new Scanner(System.in);\nScanner scanner2 = new Scanner(System.in);\nlong a=scanner1.nextLong();\nlong b=scanner1.nextLong();\nlong c=scanner1.nextLong();\nlong d=scanner1.nextLong();\nlong t=a*c;\n\nlong e=Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d)));\nSystem.out.println(e);\n\n\n\n}\n}", "Main" ]
import java.util.*; import java.lang.Math; public class Main{ public static void main(String[] args){ Scanner scanner1 = new Scanner(System.in); Scanner scanner2 = new Scanner(System.in); long a=scanner1.nextLong(); long b=scanner1.nextLong(); long c=scanner1.nextLong(); long d=scanner1.nextLong(); long t=a*c; long e=Math.max(a*c,Math.max(a*d,Math.max(b*c,b*d))); System.out.println(e); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 170, 14 ], [ 170, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 17, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 17, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 17, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 17, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 17, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 17, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 17, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 15, 79 ], [ 79, 80 ], [ 170, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 81, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 81, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 96, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 106, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 95, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 81, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 128, 129 ], [ 81, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 137, 138 ], [ 81, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 81, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 154, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 150, 167 ], [ 167, 168 ], [ 0, 169 ], [ 169, 170 ], [ 169, 171 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastReader sc=new FastReader();\n Long a=sc.nextLong();\n Long b=sc.nextLong();\n Long c=sc.nextLong();\n Long d=sc.nextLong();\n Long ans1=a*c;\n Long ans2=a*d;\n Long ans3=b*c;\n Long ans4=b*d;\n // System.out.println(ans1);\n // System.out.println(ans2);\n // System.out.println(ans3);\n // System.out.println(ans4);\n System.out.println(Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4)));\n\n }\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n public static void main(String[] args) {\n FastReader sc=new FastReader();\n Long a=sc.nextLong();\n Long b=sc.nextLong();\n Long c=sc.nextLong();\n Long d=sc.nextLong();\n Long ans1=a*c;\n Long ans2=a*d;\n Long ans3=b*c;\n Long ans4=b*d;\n // System.out.println(ans1);\n // System.out.println(ans2);\n // System.out.println(ans3);\n // System.out.println(ans4);\n System.out.println(Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4)));\n\n }\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n}", "Main", "public static void main(String[] args) {\n FastReader sc=new FastReader();\n Long a=sc.nextLong();\n Long b=sc.nextLong();\n Long c=sc.nextLong();\n Long d=sc.nextLong();\n Long ans1=a*c;\n Long ans2=a*d;\n Long ans3=b*c;\n Long ans4=b*d;\n // System.out.println(ans1);\n // System.out.println(ans2);\n // System.out.println(ans3);\n // System.out.println(ans4);\n System.out.println(Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4)));\n\n }", "main", "{\n FastReader sc=new FastReader();\n Long a=sc.nextLong();\n Long b=sc.nextLong();\n Long c=sc.nextLong();\n Long d=sc.nextLong();\n Long ans1=a*c;\n Long ans2=a*d;\n Long ans3=b*c;\n Long ans4=b*d;\n // System.out.println(ans1);\n // System.out.println(ans2);\n // System.out.println(ans3);\n // System.out.println(ans4);\n System.out.println(Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4)));\n\n }", "FastReader sc=new FastReader();", "sc", "new FastReader()", "Long a=sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "Long b=sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "Long c=sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "Long d=sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "Long ans1=a*c;", "ans1", "a*c", "a", "c", "Long ans2=a*d;", "ans2", "a*d", "a", "d", "Long ans3=b*c;", "ans3", "b*c", "b", "c", "Long ans4=b*d;", "ans4", "b*d", "b", "d", "System.out.println(Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4)))", "System.out.println", "System.out", "System", "System.out", "Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4))", "Math.max", "Math", "Math.max(ans1,ans2)", "Math.max", "Math", "ans1", "ans2", "Math.max(ans3,ans4)", "Math.max", "Math", "ans3", "ans4", "String[] args", "args", "static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "br = new BufferedReader(new\n InputStreamReader(System.in))", "br", "new BufferedReader(new\n InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n public static void main(String[] args) {\n FastReader sc=new FastReader();\n Long a=sc.nextLong();\n Long b=sc.nextLong();\n Long c=sc.nextLong();\n Long d=sc.nextLong();\n Long ans1=a*c;\n Long ans2=a*d;\n Long ans3=b*c;\n Long ans4=b*d;\n // System.out.println(ans1);\n // System.out.println(ans2);\n // System.out.println(ans3);\n // System.out.println(ans4);\n System.out.println(Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4)));\n\n }\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n}", "public class Main {\n public static void main(String[] args) {\n FastReader sc=new FastReader();\n Long a=sc.nextLong();\n Long b=sc.nextLong();\n Long c=sc.nextLong();\n Long d=sc.nextLong();\n Long ans1=a*c;\n Long ans2=a*d;\n Long ans3=b*c;\n Long ans4=b*d;\n // System.out.println(ans1);\n // System.out.println(ans2);\n // System.out.println(ans3);\n // System.out.println(ans4);\n System.out.println(Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4)));\n\n }\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { FastReader sc=new FastReader(); Long a=sc.nextLong(); Long b=sc.nextLong(); Long c=sc.nextLong(); Long d=sc.nextLong(); Long ans1=a*c; Long ans2=a*d; Long ans3=b*c; Long ans4=b*d; // System.out.println(ans1); // System.out.println(ans2); // System.out.println(ans3); // System.out.println(ans4); System.out.println(Math.max(Math.max(ans1,ans2),Math.max(ans3,ans4))); } static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 60, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ] ]
[ "import java.util.*;\nclass Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n\tlong a=scan.nextInt(),b=scan.nextInt(),c=scan.nextInt(),d=scan.nextInt();\n long x1,x2;\n x1=Math.max(a*c,a*d);\n x2=Math.max(b*c,b*d);\n x1=Math.max(x1,x2);\n System.out.println(x1);\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n\tlong a=scan.nextInt(),b=scan.nextInt(),c=scan.nextInt(),d=scan.nextInt();\n long x1,x2;\n x1=Math.max(a*c,a*d);\n x2=Math.max(b*c,b*d);\n x1=Math.max(x1,x2);\n System.out.println(x1);\n }\n}", "Main", "public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n\tlong a=scan.nextInt(),b=scan.nextInt(),c=scan.nextInt(),d=scan.nextInt();\n long x1,x2;\n x1=Math.max(a*c,a*d);\n x2=Math.max(b*c,b*d);\n x1=Math.max(x1,x2);\n System.out.println(x1);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n\tlong a=scan.nextInt(),b=scan.nextInt(),c=scan.nextInt(),d=scan.nextInt();\n long x1,x2;\n x1=Math.max(a*c,a*d);\n x2=Math.max(b*c,b*d);\n x1=Math.max(x1,x2);\n System.out.println(x1);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long a=scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "b=scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "c=scan.nextInt()", "c", "scan.nextInt()", "scan.nextInt", "scan", "d=scan.nextInt();", "d", "scan.nextInt()", "scan.nextInt", "scan", "long x1", "x1", "x2;", "x2", "x1=Math.max(a*c,a*d)", "x1", "Math.max(a*c,a*d)", "Math.max", "Math", "a*c", "a", "c", "a*d", "a", "d", "x2=Math.max(b*c,b*d)", "x2", "Math.max(b*c,b*d)", "Math.max", "Math", "b*c", "b", "c", "b*d", "b", "d", "x1=Math.max(x1,x2)", "x1", "Math.max(x1,x2)", "Math.max", "Math", "x1", "x2", "System.out.println(x1)", "System.out.println", "System.out", "System", "System.out", "x1", "String args[]", "args" ]
import java.util.*; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); long a=scan.nextInt(),b=scan.nextInt(),c=scan.nextInt(),d=scan.nextInt(); long x1,x2; x1=Math.max(a*c,a*d); x2=Math.max(b*c,b*d); x1=Math.max(x1,x2); System.out.println(x1); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 20, 17, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 13, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 103, 5 ], [ 103, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 6, 100 ], [ 100, 101 ], [ 0, 102 ], [ 102, 103 ], [ 102, 104 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans=Long.MIN_VALUE;;\n long[] arr = new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n for(int i=0;i<4;i++){\n if(arr[i]>ans){\n ans=arr[i];\n }\n }\n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans=Long.MIN_VALUE;;\n long[] arr = new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n for(int i=0;i<4;i++){\n if(arr[i]>ans){\n ans=arr[i];\n }\n }\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans=Long.MIN_VALUE;;\n long[] arr = new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n for(int i=0;i<4;i++){\n if(arr[i]>ans){\n ans=arr[i];\n }\n }\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans=Long.MIN_VALUE;;\n long[] arr = new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n for(int i=0;i<4;i++){\n if(arr[i]>ans){\n ans=arr[i];\n }\n }\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long ans=Long.MIN_VALUE;", "ans", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "long[] arr = new long[4];", "arr", "new long[4]", "4", "arr[0]=a*c", "arr[0]", "arr", "0", "a*c", "a", "c", "arr[1]=a*d", "arr[1]", "arr", "1", "a*d", "a", "d", "arr[2]=b*c", "arr[2]", "arr", "2", "b*c", "b", "c", "arr[3]=b*d", "arr[3]", "arr", "3", "b*d", "b", "d", "for(int i=0;i<4;i++){\n if(arr[i]>ans){\n ans=arr[i];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n if(arr[i]>ans){\n ans=arr[i];\n }\n }", "{\n if(arr[i]>ans){\n ans=arr[i];\n }\n }", "if(arr[i]>ans){\n ans=arr[i];\n }", "arr[i]>ans", "arr[i]", "arr", "i", "ans", "{\n ans=arr[i];\n }", "ans=arr[i]", "ans", "arr[i]", "arr", "i", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans=Long.MIN_VALUE;;\n long[] arr = new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n for(int i=0;i<4;i++){\n if(arr[i]>ans){\n ans=arr[i];\n }\n }\n System.out.println(ans);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans=Long.MIN_VALUE;;\n long[] arr = new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n for(int i=0;i<4;i++){\n if(arr[i]>ans){\n ans=arr[i];\n }\n }\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long ans=Long.MIN_VALUE;; long[] arr = new long[4]; arr[0]=a*c; arr[1]=a*d; arr[2]=b*c; arr[3]=b*d; for(int i=0;i<4;i++){ if(arr[i]>ans){ ans=arr[i]; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 82, 8 ], [ 82, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 11, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 11, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 11, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 57, 61 ], [ 11, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 64, 68 ], [ 11, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 9, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tlong a=ob.nextInt();\n\tlong b=ob.nextInt();\n\tlong c=ob.nextInt();\n\tlong d=ob.nextInt();\n\tlong s1=a*c;\n\tlong s2=a*d;\n\tlong s3=b*c;\n\tlong s4=b*d;\n\t\tlong s5=Math.max(s1, s2);\n\t\tlong s6=Math.max(s3, s4);\n\t\tSystem.out.println(Math.max(s5, s6));\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tlong a=ob.nextInt();\n\tlong b=ob.nextInt();\n\tlong c=ob.nextInt();\n\tlong d=ob.nextInt();\n\tlong s1=a*c;\n\tlong s2=a*d;\n\tlong s3=b*c;\n\tlong s4=b*d;\n\t\tlong s5=Math.max(s1, s2);\n\t\tlong s6=Math.max(s3, s4);\n\t\tSystem.out.println(Math.max(s5, s6));\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tlong a=ob.nextInt();\n\tlong b=ob.nextInt();\n\tlong c=ob.nextInt();\n\tlong d=ob.nextInt();\n\tlong s1=a*c;\n\tlong s2=a*d;\n\tlong s3=b*c;\n\tlong s4=b*d;\n\t\tlong s5=Math.max(s1, s2);\n\t\tlong s6=Math.max(s3, s4);\n\t\tSystem.out.println(Math.max(s5, s6));\n\t}", "main", "{\n\t\tScanner ob=new Scanner(System.in);\n\tlong a=ob.nextInt();\n\tlong b=ob.nextInt();\n\tlong c=ob.nextInt();\n\tlong d=ob.nextInt();\n\tlong s1=a*c;\n\tlong s2=a*d;\n\tlong s3=b*c;\n\tlong s4=b*d;\n\t\tlong s5=Math.max(s1, s2);\n\t\tlong s6=Math.max(s3, s4);\n\t\tSystem.out.println(Math.max(s5, s6));\n\t}", "Scanner ob=new Scanner(System.in);", "ob", "new Scanner(System.in)", "long a=ob.nextInt();", "a", "ob.nextInt()", "ob.nextInt", "ob", "long b=ob.nextInt();", "b", "ob.nextInt()", "ob.nextInt", "ob", "long c=ob.nextInt();", "c", "ob.nextInt()", "ob.nextInt", "ob", "long d=ob.nextInt();", "d", "ob.nextInt()", "ob.nextInt", "ob", "long s1=a*c;", "s1", "a*c", "a", "c", "long s2=a*d;", "s2", "a*d", "a", "d", "long s3=b*c;", "s3", "b*c", "b", "c", "long s4=b*d;", "s4", "b*d", "b", "d", "long s5=Math.max(s1, s2);", "s5", "Math.max(s1, s2)", "Math.max", "Math", "s1", "s2", "long s6=Math.max(s3, s4);", "s6", "Math.max(s3, s4)", "Math.max", "Math", "s3", "s4", "System.out.println(Math.max(s5, s6))", "System.out.println", "System.out", "System", "System.out", "Math.max(s5, s6)", "Math.max", "Math", "s5", "s6", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tlong a=ob.nextInt();\n\tlong b=ob.nextInt();\n\tlong c=ob.nextInt();\n\tlong d=ob.nextInt();\n\tlong s1=a*c;\n\tlong s2=a*d;\n\tlong s3=b*c;\n\tlong s4=b*d;\n\t\tlong s5=Math.max(s1, s2);\n\t\tlong s6=Math.max(s3, s4);\n\t\tSystem.out.println(Math.max(s5, s6));\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner ob=new Scanner(System.in);\n\tlong a=ob.nextInt();\n\tlong b=ob.nextInt();\n\tlong c=ob.nextInt();\n\tlong d=ob.nextInt();\n\tlong s1=a*c;\n\tlong s2=a*d;\n\tlong s3=b*c;\n\tlong s4=b*d;\n\t\tlong s5=Math.max(s1, s2);\n\t\tlong s6=Math.max(s3, s4);\n\t\tSystem.out.println(Math.max(s5, s6));\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner ob=new Scanner(System.in); long a=ob.nextInt(); long b=ob.nextInt(); long c=ob.nextInt(); long d=ob.nextInt(); long s1=a*c; long s2=a*d; long s3=b*c; long s4=b*d; long s5=Math.max(s1, s2); long s6=Math.max(s3, s4); System.out.println(Math.max(s5, s6)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 131, 5 ], [ 131, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 61, 62 ], [ 61, 63 ], [ 52, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 52, 71 ], [ 71, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 73, 80 ], [ 80, 81 ], [ 80, 82 ], [ 71, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 71, 90 ], [ 90, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 92, 99 ], [ 99, 100 ], [ 99, 101 ], [ 90, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 90, 109 ], [ 109, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 115, 117 ], [ 111, 118 ], [ 118, 119 ], [ 118, 120 ], [ 109, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 6, 128 ], [ 128, 129 ], [ 0, 130 ], [ 130, 131 ], [ 130, 132 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong a = sc.nextLong();\n\t\t// スペース区切りの整数の入力\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t// 文字列の入力\n\t\tlong e = a * c;\n\t\tlong f = b * c;\n\t\tlong g = b * d;\n\t\tlong h = a * d;\n\t\t\n\t\tif( e >= f && e >= g && e >= h){\n\t\t\tSystem.out.println(e);\n\t\t}else if( f >= e && f >= g && f >= f){\n\t\t\tSystem.out.println(f);\n\t\t}else if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}\n\t\t\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong a = sc.nextLong();\n\t\t// スペース区切りの整数の入力\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t// 文字列の入力\n\t\tlong e = a * c;\n\t\tlong f = b * c;\n\t\tlong g = b * d;\n\t\tlong h = a * d;\n\t\t\n\t\tif( e >= f && e >= g && e >= h){\n\t\t\tSystem.out.println(e);\n\t\t}else if( f >= e && f >= g && f >= f){\n\t\t\tSystem.out.println(f);\n\t\t}else if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}\n\t\t\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong a = sc.nextLong();\n\t\t// スペース区切りの整数の入力\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t// 文字列の入力\n\t\tlong e = a * c;\n\t\tlong f = b * c;\n\t\tlong g = b * d;\n\t\tlong h = a * d;\n\t\t\n\t\tif( e >= f && e >= g && e >= h){\n\t\t\tSystem.out.println(e);\n\t\t}else if( f >= e && f >= g && f >= f){\n\t\t\tSystem.out.println(f);\n\t\t}else if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong a = sc.nextLong();\n\t\t// スペース区切りの整数の入力\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t// 文字列の入力\n\t\tlong e = a * c;\n\t\tlong f = b * c;\n\t\tlong g = b * d;\n\t\tlong h = a * d;\n\t\t\n\t\tif( e >= f && e >= g && e >= h){\n\t\t\tSystem.out.println(e);\n\t\t}else if( f >= e && f >= g && f >= f){\n\t\t\tSystem.out.println(f);\n\t\t}else if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long e = a * c;", "e", "a * c", "a", "c", "long f = b * c;", "f", "b * c", "b", "c", "long g = b * d;", "g", "b * d", "b", "d", "long h = a * d;", "h", "a * d", "a", "d", "if( e >= f && e >= g && e >= h){\n\t\t\tSystem.out.println(e);\n\t\t}else if( f >= e && f >= g && f >= f){\n\t\t\tSystem.out.println(f);\n\t\t}else if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}", "e >= f && e >= g && e >= h", "e >= f && e >= g && e >= h", "e >= f", "e", "f", "e >= g", "e", "g", "e >= h", "e", "h", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "if( f >= e && f >= g && f >= f){\n\t\t\tSystem.out.println(f);\n\t\t}else if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}", "f >= e && f >= g && f >= f", "f >= e && f >= g && f >= f", "f >= e", "f", "e", "f >= g", "f", "g", "f >= f", "f", "f", "{\n\t\t\tSystem.out.println(f);\n\t\t}", "System.out.println(f)", "System.out.println", "System.out", "System", "System.out", "f", "if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}", "g >= e && g >= f && g >= h", "g >= e && g >= f && g >= h", "g >= e", "g", "e", "g >= f", "g", "f", "g >= h", "g", "h", "{\n\t\t\tSystem.out.println(g);\n\t\t}", "System.out.println(g)", "System.out.println", "System.out", "System", "System.out", "g", "if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}", "h >= e && h >= f && h >= g", "h >= e && h >= f && h >= g", "h >= e", "h", "e", "h >= f", "h", "f", "h >= g", "h", "g", "{\n\t\t\tSystem.out.println(h);\n\t\t}", "System.out.println(h)", "System.out.println", "System.out", "System", "System.out", "h", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong a = sc.nextLong();\n\t\t// スペース区切りの整数の入力\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t// 文字列の入力\n\t\tlong e = a * c;\n\t\tlong f = b * c;\n\t\tlong g = b * d;\n\t\tlong h = a * d;\n\t\t\n\t\tif( e >= f && e >= g && e >= h){\n\t\t\tSystem.out.println(e);\n\t\t}else if( f >= e && f >= g && f >= f){\n\t\t\tSystem.out.println(f);\n\t\t}else if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}\n\t\t\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong a = sc.nextLong();\n\t\t// スペース区切りの整数の入力\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\t// 文字列の入力\n\t\tlong e = a * c;\n\t\tlong f = b * c;\n\t\tlong g = b * d;\n\t\tlong h = a * d;\n\t\t\n\t\tif( e >= f && e >= g && e >= h){\n\t\t\tSystem.out.println(e);\n\t\t}else if( f >= e && f >= g && f >= f){\n\t\t\tSystem.out.println(f);\n\t\t}else if( g >= e && g >= f && g >= h){\n\t\t\tSystem.out.println(g);\n\t\t}else if( h >= e && h >= f && h >= g){\n\t\t\tSystem.out.println(h);\n\t\t}\n\t\t\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 long a = sc.nextLong(); // スペース区切りの整数の入力 long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); // 文字列の入力 long e = a * c; long f = b * c; long g = b * d; long h = a * d; if( e >= f && e >= g && e >= h){ System.out.println(e); }else if( f >= e && f >= g && f >= f){ System.out.println(f); }else if( g >= e && g >= f && g >= h){ System.out.println(g); }else if( h >= e && h >= f && h >= g){ System.out.println(h); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 2, 13, 13, 41, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 85, 11 ], [ 85, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 14, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 14, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 14, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 14, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 14, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 77, 81 ], [ 12, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n{\n\tpublic static void main (String[] args) throws IOException\n\t{\n\t\t// your code goes here\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tlong m1 = a * c;\n\t\tlong m2 = a * d;\n\t\tm1 = Math.max(m1, m2);\n\t m2 = b * c;\n\t\tlong m3 = b * d;\n\t\tm2 = Math.max(m2, m3);\n\t\tSystem.out.println(Math.max(m2, m1));\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "public class Main\n{\n\tpublic static void main (String[] args) throws IOException\n\t{\n\t\t// your code goes here\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tlong m1 = a * c;\n\t\tlong m2 = a * d;\n\t\tm1 = Math.max(m1, m2);\n\t m2 = b * c;\n\t\tlong m3 = b * d;\n\t\tm2 = Math.max(m2, m3);\n\t\tSystem.out.println(Math.max(m2, m1));\n\t}\n}", "Main", "public static void main (String[] args) throws IOException\n\t{\n\t\t// your code goes here\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tlong m1 = a * c;\n\t\tlong m2 = a * d;\n\t\tm1 = Math.max(m1, m2);\n\t m2 = b * c;\n\t\tlong m3 = b * d;\n\t\tm2 = Math.max(m2, m3);\n\t\tSystem.out.println(Math.max(m2, m1));\n\t}", "main", "{\n\t\t// your code goes here\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tlong m1 = a * c;\n\t\tlong m2 = a * d;\n\t\tm1 = Math.max(m1, m2);\n\t m2 = b * c;\n\t\tlong m3 = b * d;\n\t\tm2 = Math.max(m2, m3);\n\t\tSystem.out.println(Math.max(m2, m1));\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long a = scan.nextLong();", "a", "scan.nextLong()", "scan.nextLong", "scan", "long b = scan.nextLong();", "b", "scan.nextLong()", "scan.nextLong", "scan", "long c = scan.nextLong();", "c", "scan.nextLong()", "scan.nextLong", "scan", "long d = scan.nextLong();", "d", "scan.nextLong()", "scan.nextLong", "scan", "long m1 = a * c;", "m1", "a * c", "a", "c", "long m2 = a * d;", "m2", "a * d", "a", "d", "m1 = Math.max(m1, m2)", "m1", "Math.max(m1, m2)", "Math.max", "Math", "m1", "m2", "m2 = b * c", "m2", "b * c", "b", "c", "long m3 = b * d;", "m3", "b * d", "b", "d", "m2 = Math.max(m2, m3)", "m2", "Math.max(m2, m3)", "Math.max", "Math", "m2", "m3", "System.out.println(Math.max(m2, m1))", "System.out.println", "System.out", "System", "System.out", "Math.max(m2, m1)", "Math.max", "Math", "m2", "m1", "String[] args", "args", "public class Main\n{\n\tpublic static void main (String[] args) throws IOException\n\t{\n\t\t// your code goes here\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tlong m1 = a * c;\n\t\tlong m2 = a * d;\n\t\tm1 = Math.max(m1, m2);\n\t m2 = b * c;\n\t\tlong m3 = b * d;\n\t\tm2 = Math.max(m2, m3);\n\t\tSystem.out.println(Math.max(m2, m1));\n\t}\n}", "public class Main\n{\n\tpublic static void main (String[] args) throws IOException\n\t{\n\t\t// your code goes here\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong a = scan.nextLong();\n\t\tlong b = scan.nextLong();\n\t\tlong c = scan.nextLong();\n\t\tlong d = scan.nextLong();\n\t\tlong m1 = a * c;\n\t\tlong m2 = a * d;\n\t\tm1 = Math.max(m1, m2);\n\t m2 = b * c;\n\t\tlong m3 = b * d;\n\t\tm2 = Math.max(m2, m3);\n\t\tSystem.out.println(Math.max(m2, m1));\n\t}\n}", "Main" ]
/* package codechef; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ public class Main { public static void main (String[] args) throws IOException { // your code goes here Scanner scan = new Scanner(System.in); long a = scan.nextLong(); long b = scan.nextLong(); long c = scan.nextLong(); long d = scan.nextLong(); long m1 = a * c; long m2 = a * d; m1 = Math.max(m1, m2); m2 = b * c; long m3 = b * d; m2 = Math.max(m2, m3); System.out.println(Math.max(m2, m1)); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 41, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 17, 14, 2, 2, 2, 4, 18, 13, 13, 17, 2, 4, 18, 13, 13, 17, 2, 2, 4, 18, 13, 13, 17, 2, 4, 18, 13, 13, 17, 30, 14, 2, 4, 18, 13, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 11, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 11, 31 ], [ 31, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 11, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 11, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 11, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 11, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 11, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 11, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 11, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 11, 77 ], [ 77, 78 ], [ 11, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 11, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 11, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 11, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 11, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 106, 111 ], [ 105, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 112, 117 ], [ 104, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 119, 124 ], [ 118, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 103, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 133, 138 ], [ 132, 139 ], [ 139, 140 ], [ 139, 141 ], [ 11, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 9, 148 ], [ 148, 149 ] ]
[ "\nimport java.util.Scanner;\n\nimport java.math.BigInteger;\n\nclass Main\n\n{\n\n\tpublic static void main(String[] args)\n\n\t{\n\n\t\tScanner cin=new Scanner(System.in);\n\n\n\t\tBigInteger a,b,c,d;\n\n\t\tBigInteger q,w,e,r,s;\n\t\ta=cin.nextBigInteger();\n\t\tb=cin.nextBigInteger();\n\t\tc=cin.nextBigInteger();\n\t\td=cin.nextBigInteger();\n\t\tq=a.multiply(c);\n\t\tw=a.multiply(d);\n\t\te=b.multiply(c);\n\t\tr=b.multiply(d);\n BigInteger ans;\n ans=q.max(w);\n ans=ans.max(e);\n ans=ans.max(r);\n s=BigInteger.valueOf(0);\n if(a.compareTo(s)<=0&&b.compareTo(s)>=0||c.compareTo(s)<=0&&d.compareTo(s)>=0) \n {\n \tif(ans.compareTo(s)<=0) ans=s;\n }\n System.out.println(ans);\n\n\n\t}\n\n\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.BigInteger;", "BigInteger", "java.math", "class Main\n\n{\n\n\tpublic static void main(String[] args)\n\n\t{\n\n\t\tScanner cin=new Scanner(System.in);\n\n\n\t\tBigInteger a,b,c,d;\n\n\t\tBigInteger q,w,e,r,s;\n\t\ta=cin.nextBigInteger();\n\t\tb=cin.nextBigInteger();\n\t\tc=cin.nextBigInteger();\n\t\td=cin.nextBigInteger();\n\t\tq=a.multiply(c);\n\t\tw=a.multiply(d);\n\t\te=b.multiply(c);\n\t\tr=b.multiply(d);\n BigInteger ans;\n ans=q.max(w);\n ans=ans.max(e);\n ans=ans.max(r);\n s=BigInteger.valueOf(0);\n if(a.compareTo(s)<=0&&b.compareTo(s)>=0||c.compareTo(s)<=0&&d.compareTo(s)>=0) \n {\n \tif(ans.compareTo(s)<=0) ans=s;\n }\n System.out.println(ans);\n\n\n\t}\n\n\n\n}", "Main", "public static void main(String[] args)\n\n\t{\n\n\t\tScanner cin=new Scanner(System.in);\n\n\n\t\tBigInteger a,b,c,d;\n\n\t\tBigInteger q,w,e,r,s;\n\t\ta=cin.nextBigInteger();\n\t\tb=cin.nextBigInteger();\n\t\tc=cin.nextBigInteger();\n\t\td=cin.nextBigInteger();\n\t\tq=a.multiply(c);\n\t\tw=a.multiply(d);\n\t\te=b.multiply(c);\n\t\tr=b.multiply(d);\n BigInteger ans;\n ans=q.max(w);\n ans=ans.max(e);\n ans=ans.max(r);\n s=BigInteger.valueOf(0);\n if(a.compareTo(s)<=0&&b.compareTo(s)>=0||c.compareTo(s)<=0&&d.compareTo(s)>=0) \n {\n \tif(ans.compareTo(s)<=0) ans=s;\n }\n System.out.println(ans);\n\n\n\t}", "main", "{\n\n\t\tScanner cin=new Scanner(System.in);\n\n\n\t\tBigInteger a,b,c,d;\n\n\t\tBigInteger q,w,e,r,s;\n\t\ta=cin.nextBigInteger();\n\t\tb=cin.nextBigInteger();\n\t\tc=cin.nextBigInteger();\n\t\td=cin.nextBigInteger();\n\t\tq=a.multiply(c);\n\t\tw=a.multiply(d);\n\t\te=b.multiply(c);\n\t\tr=b.multiply(d);\n BigInteger ans;\n ans=q.max(w);\n ans=ans.max(e);\n ans=ans.max(r);\n s=BigInteger.valueOf(0);\n if(a.compareTo(s)<=0&&b.compareTo(s)>=0||c.compareTo(s)<=0&&d.compareTo(s)>=0) \n {\n \tif(ans.compareTo(s)<=0) ans=s;\n }\n System.out.println(ans);\n\n\n\t}", "Scanner cin=new Scanner(System.in);", "cin", "new Scanner(System.in)", "BigInteger a", "a", "b", "b", "c", "c", "d;", "d", "BigInteger q", "q", "w", "w", "e", "e", "r", "r", "s;", "s", "a=cin.nextBigInteger()", "a", "cin.nextBigInteger()", "cin.nextBigInteger", "cin", "b=cin.nextBigInteger()", "b", "cin.nextBigInteger()", "cin.nextBigInteger", "cin", "c=cin.nextBigInteger()", "c", "cin.nextBigInteger()", "cin.nextBigInteger", "cin", "d=cin.nextBigInteger()", "d", "cin.nextBigInteger()", "cin.nextBigInteger", "cin", "q=a.multiply(c)", "q", "a.multiply(c)", "a.multiply", "a", "c", "w=a.multiply(d)", "w", "a.multiply(d)", "a.multiply", "a", "d", "e=b.multiply(c)", "e", "b.multiply(c)", "b.multiply", "b", "c", "r=b.multiply(d)", "r", "b.multiply(d)", "b.multiply", "b", "d", "BigInteger ans;", "ans", "ans=q.max(w)", "ans", "q.max(w)", "q.max", "q", "w", "ans=ans.max(e)", "ans", "ans.max(e)", "ans.max", "ans", "e", "ans=ans.max(r)", "ans", "ans.max(r)", "ans.max", "ans", "r", "s=BigInteger.valueOf(0)", "s", "BigInteger.valueOf(0)", "BigInteger.valueOf", "BigInteger", "0", "if(a.compareTo(s)<=0&&b.compareTo(s)>=0||c.compareTo(s)<=0&&d.compareTo(s)>=0) \n {\n \tif(ans.compareTo(s)<=0) ans=s;\n }", "a.compareTo(s)<=0&&b.compareTo(s)>=0||c.compareTo(s)<=0&&d.compareTo(s)>=0", "a.compareTo(s)<=0&&b.compareTo(s)>=0", "a.compareTo(s)<=0", "a.compareTo(s)", "a.compareTo", "a", "s", "0", "b.compareTo(s)>=0", "b.compareTo(s)", "b.compareTo", "b", "s", "0", "c.compareTo(s)<=0&&d.compareTo(s)>=0", "c.compareTo(s)<=0", "c.compareTo(s)", "c.compareTo", "c", "s", "0", "d.compareTo(s)>=0", "d.compareTo(s)", "d.compareTo", "d", "s", "0", "{\n \tif(ans.compareTo(s)<=0) ans=s;\n }", "if(ans.compareTo(s)<=0) ans=s;", "ans.compareTo(s)<=0", "ans.compareTo(s)", "ans.compareTo", "ans", "s", "0", "ans=s", "ans", "s", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args" ]
import java.util.Scanner; import java.math.BigInteger; class Main { public static void main(String[] args) { Scanner cin=new Scanner(System.in); BigInteger a,b,c,d; BigInteger q,w,e,r,s; a=cin.nextBigInteger(); b=cin.nextBigInteger(); c=cin.nextBigInteger(); d=cin.nextBigInteger(); q=a.multiply(c); w=a.multiply(d); e=b.multiply(c); r=b.multiply(d); BigInteger ans; ans=q.max(w); ans=ans.max(e); ans=ans.max(r); s=BigInteger.valueOf(0); if(a.compareTo(s)<=0&&b.compareTo(s)>=0||c.compareTo(s)<=0&&d.compareTo(s)>=0) { if(ans.compareTo(s)<=0) ans=s; } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 109, 5 ], [ 109, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 34, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 71, 72 ], [ 71, 73 ], [ 54, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 88, 90 ], [ 85, 91 ], [ 91, 92 ], [ 91, 93 ], [ 74, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 6, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long ans;\n\n if (a < 0 && c <0) {\n ans = Math.max(a * c, b*d);\n }\n else if (a < 0 && c>=0) {\n ans = Math.max(b * c, b*d);\n }\n else if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }\n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long ans;\n\n if (a < 0 && c <0) {\n ans = Math.max(a * c, b*d);\n }\n else if (a < 0 && c>=0) {\n ans = Math.max(b * c, b*d);\n }\n else if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }\n System.out.println(ans);\n }\n}", "Main", "public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long ans;\n\n if (a < 0 && c <0) {\n ans = Math.max(a * c, b*d);\n }\n else if (a < 0 && c>=0) {\n ans = Math.max(b * c, b*d);\n }\n else if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }\n System.out.println(ans);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long ans;\n\n if (a < 0 && c <0) {\n ans = Math.max(a * c, b*d);\n }\n else if (a < 0 && c>=0) {\n ans = Math.max(b * c, b*d);\n }\n else if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }\n System.out.println(ans);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long a = scan.nextLong();", "a", "scan.nextLong()", "scan.nextLong", "scan", "long b = scan.nextLong();", "b", "scan.nextLong()", "scan.nextLong", "scan", "long c = scan.nextLong();", "c", "scan.nextLong()", "scan.nextLong", "scan", "long d = scan.nextLong();", "d", "scan.nextLong()", "scan.nextLong", "scan", "long ans;", "ans", "if (a < 0 && c <0) {\n ans = Math.max(a * c, b*d);\n }\n else if (a < 0 && c>=0) {\n ans = Math.max(b * c, b*d);\n }\n else if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }", "a < 0 && c <0", "a < 0", "a", "0", "c <0", "c", "0", "{\n ans = Math.max(a * c, b*d);\n }", "ans = Math.max(a * c, b*d)", "ans", "Math.max(a * c, b*d)", "Math.max", "Math", "a * c", "a", "c", "b*d", "b", "d", "if (a < 0 && c>=0) {\n ans = Math.max(b * c, b*d);\n }\n else if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }", "a < 0 && c>=0", "a < 0", "a", "0", "c>=0", "c", "0", "{\n ans = Math.max(b * c, b*d);\n }", "ans = Math.max(b * c, b*d)", "ans", "Math.max(b * c, b*d)", "Math.max", "Math", "b * c", "b", "c", "b*d", "b", "d", "if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }", "a>=0 && c <0", "a>=0", "a", "0", "c <0", "c", "0", "{\n ans = Math.max(a*d, b*d);\n }", "ans = Math.max(a*d, b*d)", "ans", "Math.max(a*d, b*d)", "Math.max", "Math", "a*d", "a", "d", "b*d", "b", "d", "{\n ans = b*d;\n }", "ans = b*d", "ans", "b*d", "b", "d", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String args[]", "args", "public class Main {\n\n\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long ans;\n\n if (a < 0 && c <0) {\n ans = Math.max(a * c, b*d);\n }\n else if (a < 0 && c>=0) {\n ans = Math.max(b * c, b*d);\n }\n else if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }\n System.out.println(ans);\n }\n}", "public class Main {\n\n\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long a = scan.nextLong();\n long b = scan.nextLong();\n long c = scan.nextLong();\n long d = scan.nextLong();\n long ans;\n\n if (a < 0 && c <0) {\n ans = Math.max(a * c, b*d);\n }\n else if (a < 0 && c>=0) {\n ans = Math.max(b * c, b*d);\n }\n else if (a>=0 && c <0) {\n ans = Math.max(a*d, b*d);\n }\n else {\n ans = b*d;\n }\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); long a = scan.nextLong(); long b = scan.nextLong(); long c = scan.nextLong(); long d = scan.nextLong(); long ans; if (a < 0 && c <0) { ans = Math.max(a * c, b*d); } else if (a < 0 && c>=0) { ans = Math.max(b * c, b*d); } else if (a>=0 && c <0) { ans = Math.max(a*d, b*d); } else { ans = b*d; } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 0, 13, 20, 13, 0, 13, 20, 0, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 0, 18, 13, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 2, 2, 13, 4, 18, 13, 2, 4, 18, 13, 13, 18, 13, 13, 2, 2, 13, 4, 18, 13, 13, 13, 1, 40, 13, 30, 0, 18, 13, 2, 4, 18, 13, 13, 13, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 4, 13, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 4, 18, 13, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 357, 14 ], [ 357, 15 ], [ 15, 16 ], [ 357, 17 ], [ 17, 18 ], [ 357, 19 ], [ 19, 20 ], [ 19, 21 ], [ 357, 22 ], [ 22, 23 ], [ 22, 24 ], [ 357, 25 ], [ 25, 26 ], [ 357, 27 ], [ 27, 28 ], [ 357, 29 ], [ 29, 30 ], [ 357, 31 ], [ 31, 32 ], [ 357, 33 ], [ 33, 34 ], [ 357, 35 ], [ 35, 36 ], [ 357, 37 ], [ 37, 38 ], [ 357, 39 ], [ 39, 40 ], [ 357, 41 ], [ 41, 42 ], [ 357, 43 ], [ 43, 44 ], [ 357, 45 ], [ 45, 46 ], [ 357, 47 ], [ 47, 48 ], [ 357, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 51, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 51, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 51, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 51, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 51, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 86, 92 ], [ 92, 93 ], [ 92, 94 ], [ 83, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 98, 99 ], [ 98, 100 ], [ 95, 101 ], [ 101, 102 ], [ 101, 103 ], [ 51, 104 ], [ 104, 105 ], [ 105, 106 ], [ 49, 107 ], [ 107, 108 ], [ 357, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 111, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 111, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 124, 135 ], [ 136, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 137, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 143, 149 ], [ 149, 150 ], [ 150, 151 ], [ 149, 152 ], [ 136, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 159, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 159, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 159, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 176, 179 ], [ 173, 180 ], [ 153, 181 ], [ 181, 182 ], [ 182, 183 ], [ 153, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 189, 192 ], [ 188, 193 ], [ 185, 194 ], [ 194, 195 ], [ 195, 196 ], [ 194, 197 ], [ 109, 198 ], [ 198, 199 ], [ 357, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 200, 204 ], [ 204, 205 ], [ 200, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 206, 212 ], [ 212, 213 ], [ 200, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 214, 220 ], [ 220, 221 ], [ 200, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 226, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 225, 234 ], [ 234, 235 ], [ 234, 236 ], [ 224, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 200, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 200, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 252, 255 ], [ 255, 256 ], [ 200, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 261, 264 ], [ 264, 265 ], [ 200, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 270, 274 ], [ 200, 275 ], [ 275, 276 ], [ 275, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 279, 282 ], [ 282, 283 ], [ 200, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 286, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 293, 295 ], [ 291, 296 ], [ 296, 297 ], [ 296, 298 ], [ 291, 299 ], [ 299, 300 ], [ 300, 301 ], [ 291, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 303, 307 ], [ 307, 308 ], [ 286, 309 ], [ 309, 310 ], [ 284, 311 ], [ 311, 312 ], [ 200, 313 ], [ 313, 314 ], [ 313, 315 ], [ 315, 316 ], [ 316, 317 ], [ 316, 318 ], [ 315, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 322, 324 ], [ 320, 325 ], [ 325, 326 ], [ 325, 327 ], [ 320, 328 ], [ 328, 329 ], [ 329, 330 ], [ 320, 331 ], [ 331, 332 ], [ 332, 333 ], [ 333, 334 ], [ 333, 335 ], [ 332, 336 ], [ 336, 337 ], [ 315, 338 ], [ 338, 339 ], [ 313, 340 ], [ 340, 341 ], [ 200, 342 ], [ 342, 343 ], [ 342, 344 ], [ 344, 345 ], [ 345, 346 ], [ 346, 347 ], [ 347, 348 ], [ 200, 349 ], [ 349, 350 ], [ 349, 351 ], [ 351, 352 ], [ 352, 353 ], [ 353, 354 ], [ 352, 355 ], [ 0, 356 ], [ 356, 357 ], [ 356, 358 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.lang.reflect.Array;\nimport java.math.BigInteger;\n\npublic class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int mod = 1000000007;\n\tstatic long inf = (long) 1e14;\n\tstatic int n, q;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic long[][] memo;\n\tstatic boolean f;\n\tstatic boolean vis[];\n\tstatic int[] size, pa;\n\tstatic double[] x, y;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d)));\n\t\tout.close();\n\t}\n\n\tstatic int[] si;\n\tstatic ArrayList<Integer> primes;\n\n\tstatic void seive(int N) {\n\t\tsi = new int[N];\n\t\tprimes = new ArrayList<>();\n\t\tsi[1] = 1;\n\t\tfor (int i = 2; i < N; i++) {\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.reflect.Array;", "Array", "java.lang.reflect", "import java.math.BigInteger;", "BigInteger", "java.math", "public class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int mod = 1000000007;\n\tstatic long inf = (long) 1e14;\n\tstatic int n, q;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic long[][] memo;\n\tstatic boolean f;\n\tstatic boolean vis[];\n\tstatic int[] size, pa;\n\tstatic double[] x, y;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d)));\n\t\tout.close();\n\t}\n\n\tstatic int[] si;\n\tstatic ArrayList<Integer> primes;\n\n\tstatic void seive(int N) {\n\t\tsi = new int[N];\n\t\tprimes = new ArrayList<>();\n\t\tsi[1] = 1;\n\t\tfor (int i = 2; i < N; i++) {\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}", "Main", "static PrintWriter out;", "out", "static StringBuilder sb;", "sb", "static int mod = 1000000007;", "mod", "1000000007", "static long inf = (long) 1e14;", "inf", "(long) 1e14", "static int n", "n", "q;", "q", "static ArrayList<Integer>[] ad;", "ad", "static long[][] memo;", "memo", "static boolean f;", "f", "static boolean vis[];", "vis", "static int[] size", "size", "pa;", "pa", "static double[] x", "x", "y;", "y", "static int[] si;", "si", "static ArrayList<Integer> primes;", "primes", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d)));\n\t\tout.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d)));\n\t\tout.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "System.out.println(Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d)))", "System.out.println", "System.out", "System", "System.out", "Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d))", "Math.max", "Math", "Math.max(a * c, a * d)", "Math.max", "Math", "a * c", "a", "c", "a * d", "a", "d", "Math.max(c * b, b * d)", "Math.max", "Math", "c * b", "c", "b", "b * d", "b", "d", "out.close()", "out.close", "out", "String[] args", "args", "static void seive(int N) {\n\t\tsi = new int[N];\n\t\tprimes = new ArrayList<>();\n\t\tsi[1] = 1;\n\t\tfor (int i = 2; i < N; i++) {\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}\n\t}", "seive", "{\n\t\tsi = new int[N];\n\t\tprimes = new ArrayList<>();\n\t\tsi[1] = 1;\n\t\tfor (int i = 2; i < N; i++) {\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}\n\t}", "si = new int[N]", "si", "new int[N]", "N", "primes = new ArrayList<>()", "primes", "new ArrayList<>()", "si[1] = 1", "si[1]", "si", "1", "1", "for (int i = 2; i < N; i++) {\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}", "int i = 2;", "int i = 2;", "i", "2", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}", "{\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}", "if (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}", "si[i] == 0", "si[i]", "si", "i", "0", "{\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}", "si[i] = i", "si[i]", "si", "i", "i", "primes.add(i)", "primes.add", "primes", "i", "for (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);", "int j = 0;", "int j = 0;", "j", "0", "j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N", "j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N", "j < primes.size()", "j", "primes.size()", "primes.size", "primes", "primes.get(j) <= si[i]", "primes.get(j)", "primes.get", "primes", "j", "si[i]", "si", "i", "(i * primes.get(j)) < N", "(i * primes.get(j))", "i", "primes.get(j)", "primes.get", "primes", "j", "N", "j++", "j++", "j", "si[primes.get(j) * i] = primes.get(j);", "si[primes.get(j) * i] = primes.get(j)", "si[primes.get(j) * i]", "si", "primes.get(j) * i", "primes.get(j)", "primes.get", "primes", "j", "i", "primes.get(j)", "primes.get", "primes", "j", "int N", "N", "static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}", "Scanner", "StringTokenizer st;", "st", "BufferedReader br;", "br", "public Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}", "Scanner", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}", "br = new BufferedReader(new InputStreamReader(system))", "br", "new BufferedReader(new InputStreamReader(system))", "InputStream system", "system", "public Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}", "Scanner", "{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}", "br = new BufferedReader(new FileReader(file))", "br", "new BufferedReader(new FileReader(file))", "String file", "file", "public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}", "while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}", "nextLine", "{\n\t\t\treturn br.readLine();\n\t\t}", "return br.readLine();", "br.readLine()", "br.readLine", "br", "public int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "nextDouble", "{\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}", "nextChar", "{\n\t\t\treturn next().charAt(0);\n\t\t}", "return next().charAt(0);", "next().charAt(0)", "next().charAt", "next()", "next", "0", "public Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "nextArrInt", "{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}", "nextArrLong", "{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextLong();", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}", "ready", "{\n\t\t\treturn br.ready();\n\t\t}", "return br.ready();", "br.ready()", "br.ready", "br", "public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}", "waitForInput", "{\n\t\t\tThread.sleep(3000);\n\t\t}", "Thread.sleep(3000)", "Thread.sleep", "Thread", "3000", "public class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int mod = 1000000007;\n\tstatic long inf = (long) 1e14;\n\tstatic int n, q;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic long[][] memo;\n\tstatic boolean f;\n\tstatic boolean vis[];\n\tstatic int[] size, pa;\n\tstatic double[] x, y;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d)));\n\t\tout.close();\n\t}\n\n\tstatic int[] si;\n\tstatic ArrayList<Integer> primes;\n\n\tstatic void seive(int N) {\n\t\tsi = new int[N];\n\t\tprimes = new ArrayList<>();\n\t\tsi[1] = 1;\n\t\tfor (int i = 2; i < N; i++) {\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}", "public class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int mod = 1000000007;\n\tstatic long inf = (long) 1e14;\n\tstatic int n, q;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic long[][] memo;\n\tstatic boolean f;\n\tstatic boolean vis[];\n\tstatic int[] size, pa;\n\tstatic double[] x, y;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n\t\tSystem.out.println(Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d)));\n\t\tout.close();\n\t}\n\n\tstatic int[] si;\n\tstatic ArrayList<Integer> primes;\n\n\tstatic void seive(int N) {\n\t\tsi = new int[N];\n\t\tprimes = new ArrayList<>();\n\t\tsi[1] = 1;\n\t\tfor (int i = 2; i < N; i++) {\n\t\t\tif (si[i] == 0) {\n\t\t\t\tsi[i] = i;\n\t\t\t\tprimes.add(i);\n\t\t\t}\n\t\t\tfor (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++)\n\t\t\t\tsi[primes.get(j) * i] = primes.get(j);\n\t\t}\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n\n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n\n\t\tpublic Long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\n\t\tpublic int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n\n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; import java.lang.reflect.Array; import java.math.BigInteger; public class Main { static PrintWriter out; static StringBuilder sb; static int mod = 1000000007; static long inf = (long) 1e14; static int n, q; static ArrayList<Integer>[] ad; static long[][] memo; static boolean f; static boolean vis[]; static int[] size, pa; static double[] x, y; public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); out = new PrintWriter(System.out); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); System.out.println(Math.max(Math.max(a * c, a * d), Math.max(c * b, b * d))); out.close(); } static int[] si; static ArrayList<Integer> primes; static void seive(int N) { si = new int[N]; primes = new ArrayList<>(); si[1] = 1; for (int i = 2; i < N; i++) { if (si[i] == 0) { si[i] = i; primes.add(i); } for (int j = 0; j < primes.size() && primes.get(j) <= si[i] && (i * primes.get(j)) < N; j++) si[primes.get(j) * i] = primes.get(j); } } static class Scanner { StringTokenizer st; BufferedReader br; public Scanner(InputStream system) { br = new BufferedReader(new InputStreamReader(system)); } public Scanner(String file) throws Exception { br = new BufferedReader(new FileReader(file)); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine()); return st.nextToken(); } public String nextLine() throws IOException { return br.readLine(); } public int nextInt() throws IOException { return Integer.parseInt(next()); } public double nextDouble() throws IOException { return Double.parseDouble(next()); } public char nextChar() throws IOException { return next().charAt(0); } public Long nextLong() throws IOException { return Long.parseLong(next()); } public int[] nextArrInt(int n) throws IOException { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } public long[] nextArrLong(int n) throws IOException { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return a; } public boolean ready() throws IOException { return br.ready(); } public void waitForInput() throws InterruptedException { Thread.sleep(3000); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 6, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long max = Long.MIN_VALUE;\n\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long max = Long.MIN_VALUE;\n\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long max = Long.MIN_VALUE;\n\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long max = Long.MIN_VALUE;\n\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long max = Long.MIN_VALUE;", "max", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "max = Math.max(max, a * c)", "max", "Math.max(max, a * c)", "Math.max", "Math", "max", "a * c", "a", "c", "max = Math.max(max, a * d)", "max", "Math.max(max, a * d)", "Math.max", "Math", "max", "a * d", "a", "d", "max = Math.max(max, b * c)", "max", "Math.max(max, b * c)", "Math.max", "Math", "max", "b * c", "b", "c", "max = Math.max(max, b * d)", "max", "Math.max(max, b * d)", "Math.max", "Math", "max", "b * d", "b", "d", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long max = Long.MIN_VALUE;\n\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n long max = Long.MIN_VALUE;\n\n max = Math.max(max, a * c);\n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long max = Long.MIN_VALUE; max = Math.max(max, a * c); max = Math.max(max, a * d); max = Math.max(max, b * c); max = Math.max(max, b * d); System.out.println(max); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 17, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 100, 5 ], [ 100, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 87, 89 ], [ 84, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 6, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a=sc.nextInt();\n\t\tlong b=sc.nextInt();\n\t\tlong c=sc.nextInt();\n\t\tlong d=sc.nextInt();\n\t\tlong[] xy=new long[4];\n\t\txy[0]=a*c;\n\t\txy[1]=a*d;\n\t\txy[2]=b*c;\n\t\txy[3]=b*d;\n\t\tlong ans=xy[0];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a=sc.nextInt();\n\t\tlong b=sc.nextInt();\n\t\tlong c=sc.nextInt();\n\t\tlong d=sc.nextInt();\n\t\tlong[] xy=new long[4];\n\t\txy[0]=a*c;\n\t\txy[1]=a*d;\n\t\txy[2]=b*c;\n\t\txy[3]=b*d;\n\t\tlong ans=xy[0];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "Main", "public static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a=sc.nextInt();\n\t\tlong b=sc.nextInt();\n\t\tlong c=sc.nextInt();\n\t\tlong d=sc.nextInt();\n\t\tlong[] xy=new long[4];\n\t\txy[0]=a*c;\n\t\txy[1]=a*d;\n\t\txy[2]=b*c;\n\t\txy[3]=b*d;\n\t\tlong ans=xy[0];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a=sc.nextInt();\n\t\tlong b=sc.nextInt();\n\t\tlong c=sc.nextInt();\n\t\tlong d=sc.nextInt();\n\t\tlong[] xy=new long[4];\n\t\txy[0]=a*c;\n\t\txy[1]=a*d;\n\t\txy[2]=b*c;\n\t\txy[3]=b*d;\n\t\tlong ans=xy[0];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b=sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c=sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d=sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long[] xy=new long[4];", "xy", "new long[4]", "4", "xy[0]=a*c", "xy[0]", "xy", "0", "a*c", "a", "c", "xy[1]=a*d", "xy[1]", "xy", "1", "a*d", "a", "d", "xy[2]=b*c", "xy[2]", "xy", "2", "b*c", "b", "c", "xy[3]=b*d", "xy[3]", "xy", "3", "b*d", "b", "d", "long ans=xy[0];", "ans", "xy[0]", "xy", "0", "for(int i=0;i<4;i++){\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}", "{\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}", "ans=Math.max(xy[i],ans)", "ans", "Math.max(xy[i],ans)", "Math.max", "Math", "xy[i]", "xy", "i", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a=sc.nextInt();\n\t\tlong b=sc.nextInt();\n\t\tlong c=sc.nextInt();\n\t\tlong d=sc.nextInt();\n\t\tlong[] xy=new long[4];\n\t\txy[0]=a*c;\n\t\txy[1]=a*d;\n\t\txy[2]=b*c;\n\t\txy[3]=b*d;\n\t\tlong ans=xy[0];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a=sc.nextInt();\n\t\tlong b=sc.nextInt();\n\t\tlong c=sc.nextInt();\n\t\tlong d=sc.nextInt();\n\t\tlong[] xy=new long[4];\n\t\txy[0]=a*c;\n\t\txy[1]=a*d;\n\t\txy[2]=b*c;\n\t\txy[3]=b*d;\n\t\tlong ans=xy[0];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tans=Math.max(xy[i],ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); long a=sc.nextInt(); long b=sc.nextInt(); long c=sc.nextInt(); long d=sc.nextInt(); long[] xy=new long[4]; xy[0]=a*c; xy[1]=a*d; xy[2]=b*c; xy[3]=b*d; long ans=xy[0]; for(int i=0;i<4;i++){ ans=Math.max(xy[i],ans); } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 17, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 91, 5 ], [ 91, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 55, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 69, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 6, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t//ABC081A\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong ac = a * c;\n\t\tlong ad = a * d;\n\t\tlong bc = b * c;\n\t\tlong bd = b * d;\n\n\t\tlong out = 0;\n\n\t\tif(ac > ad) out = ac;\n\t\telse out = ad;\n\t\tif(out < bc) out = bc;\n\t\tif(out < bd) out = bd;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(out);\n\n\t\tsc.close();\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t//ABC081A\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong ac = a * c;\n\t\tlong ad = a * d;\n\t\tlong bc = b * c;\n\t\tlong bd = b * d;\n\n\t\tlong out = 0;\n\n\t\tif(ac > ad) out = ac;\n\t\telse out = ad;\n\t\tif(out < bc) out = bc;\n\t\tif(out < bd) out = bd;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(out);\n\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t//ABC081A\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong ac = a * c;\n\t\tlong ad = a * d;\n\t\tlong bc = b * c;\n\t\tlong bd = b * d;\n\n\t\tlong out = 0;\n\n\t\tif(ac > ad) out = ac;\n\t\telse out = ad;\n\t\tif(out < bc) out = bc;\n\t\tif(out < bd) out = bd;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(out);\n\n\t\tsc.close();\n\t}", "main", "{\n\t\t//ABC081A\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong ac = a * c;\n\t\tlong ad = a * d;\n\t\tlong bc = b * c;\n\t\tlong bd = b * d;\n\n\t\tlong out = 0;\n\n\t\tif(ac > ad) out = ac;\n\t\telse out = ad;\n\t\tif(out < bc) out = bc;\n\t\tif(out < bd) out = bd;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(out);\n\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long ac = a * c;", "ac", "a * c", "a", "c", "long ad = a * d;", "ad", "a * d", "a", "d", "long bc = b * c;", "bc", "b * c", "b", "c", "long bd = b * d;", "bd", "b * d", "b", "d", "long out = 0;", "out", "0", "if(ac > ad) out = ac;\n\t\telse out = ad;", "ac > ad", "ac", "ad", "out = ac", "out", "ac", "out = ad", "out", "ad", "if(out < bc) out = bc;", "out < bc", "out", "bc", "out = bc", "out", "bc", "if(out < bd) out = bd;", "out < bd", "out", "bd", "out = bd", "out", "bd", "System.out.println(out)", "System.out.println", "System.out", "System", "System.out", "out", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t//ABC081A\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong ac = a * c;\n\t\tlong ad = a * d;\n\t\tlong bc = b * c;\n\t\tlong bd = b * d;\n\n\t\tlong out = 0;\n\n\t\tif(ac > ad) out = ac;\n\t\telse out = ad;\n\t\tif(out < bc) out = bc;\n\t\tif(out < bd) out = bd;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(out);\n\n\t\tsc.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t//ABC081A\n\t\tScanner sc = new Scanner(System.in);\n\t\t// スペース区切りの整数の入力\n\t\tlong a = sc.nextInt();\n\t\tlong b = sc.nextInt();\n\t\tlong c = sc.nextInt();\n\t\tlong d = sc.nextInt();\n\n\t\tlong ac = a * c;\n\t\tlong ad = a * d;\n\t\tlong bc = b * c;\n\t\tlong bd = b * d;\n\n\t\tlong out = 0;\n\n\t\tif(ac > ad) out = ac;\n\t\telse out = ad;\n\t\tif(out < bc) out = bc;\n\t\tif(out < bd) out = bd;\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(out);\n\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { //ABC081A Scanner sc = new Scanner(System.in); // スペース区切りの整数の入力 long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long ac = a * c; long ad = a * d; long bc = b * c; long bd = b * d; long out = 0; if(ac > ad) out = ac; else out = ad; if(out < bc) out = bc; if(out < bd) out = bd; // 出力 System.out.println(out); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 0, 13, 20, 41, 13, 17, 42, 4, 18, 13, 30, 0, 13, 2, 4, 18, 13, 17, 29, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 17, 14, 2, 13, 17, 30, 29, 17, 14, 2, 2, 2, 13, 17, 17, 2, 2, 13, 17, 17, 30, 29, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 0, 13, 2, 13, 17, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 2, 13, 17, 17, 30, 29, 17, 29, 17, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 13, 4, 18, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 14, 2, 13, 17, 30, 29, 17, 41, 13, 4, 13, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 29, 2, 2, 2, 13, 13, 13, 13, 29, 2, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 14, 2, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 13, 0, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 2, 13, 2, 2, 13, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 18, 13, 2, 13, 17, 2, 18, 13, 13, 13, 29, 13, 14, 2, 13, 18, 13, 13, 29, 4, 13, 13, 2, 13, 17, 13, 13, 13, 29, 4, 13, 13, 13, 2, 13, 17, 13, 13, 29, 40, 17, 23, 13, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 2, 13, 2, 2, 13, 13, 17, 14, 2, 2, 2, 13, 2, 13, 17, 2, 13, 18, 13, 2, 13, 17, 2, 18, 13, 13, 13, 29, 13, 14, 2, 13, 18, 13, 13, 29, 4, 13, 13, 13, 2, 13, 17, 13, 13, 29, 4, 13, 13, 2, 13, 17, 13, 13, 13, 29, 40, 17, 23, 13, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 42, 2, 13, 13, 30, 41, 13, 2, 13, 2, 2, 13, 13, 17, 14, 2, 18, 13, 13, 13, 30, 29, 13, 14, 2, 18, 13, 13, 13, 30, 0, 13, 2, 13, 17, 30, 0, 13, 2, 13, 17, 29, 40, 17, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 20, 0, 13, 17, 0, 13, 20, 4, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 4, 18, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 13, 18, 13, 13, 23, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 671, 11 ], [ 671, 12 ], [ 12, 13 ], [ 671, 14 ], [ 14, 15 ], [ 671, 16 ], [ 16, 17 ], [ 671, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 671, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 671, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 671, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 48, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 47, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 671, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 67, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 81, 85 ], [ 67, 86 ], [ 86, 87 ], [ 671, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 91, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 88, 104 ], [ 104, 105 ], [ 88, 106 ], [ 106, 107 ], [ 671, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 116, 117 ], [ 110, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 123, 124 ], [ 110, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 126, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 125, 137 ], [ 137, 138 ], [ 138, 139 ], [ 110, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 140, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 153, 155 ], [ 140, 156 ], [ 157, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 159, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 168, 170 ], [ 165, 171 ], [ 158, 172 ], [ 172, 173 ], [ 173, 174 ], [ 110, 175 ], [ 175, 176 ], [ 108, 177 ], [ 177, 178 ], [ 671, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 182, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 189, 191 ], [ 182, 192 ], [ 192, 193 ], [ 193, 194 ], [ 182, 195 ], [ 196, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 196, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 206, 208 ], [ 196, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 213, 214 ], [ 213, 215 ], [ 196, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 179, 221 ], [ 221, 222 ], [ 671, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 225, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 233, 234 ], [ 234, 235 ], [ 225, 236 ], [ 236, 237 ], [ 236, 238 ], [ 238, 239 ], [ 238, 240 ], [ 238, 241 ], [ 241, 242 ], [ 241, 243 ], [ 225, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 249 ], [ 244, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 257 ], [ 252, 258 ], [ 225, 259 ], [ 259, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 260, 264 ], [ 223, 265 ], [ 265, 266 ], [ 223, 267 ], [ 267, 268 ], [ 671, 269 ], [ 269, 270 ], [ 269, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 271, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 278, 279 ], [ 278, 280 ], [ 275, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 284, 286 ], [ 271, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 287, 292 ], [ 292, 293 ], [ 292, 294 ], [ 287, 295 ], [ 295, 296 ], [ 296, 297 ], [ 287, 298 ], [ 299, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 302, 304 ], [ 299, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 307, 309 ], [ 271, 310 ], [ 310, 311 ], [ 269, 312 ], [ 312, 313 ], [ 269, 314 ], [ 314, 315 ], [ 671, 316 ], [ 316, 317 ], [ 316, 318 ], [ 318, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 319, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 326, 328 ], [ 328, 329 ], [ 329, 330 ], [ 329, 331 ], [ 328, 332 ], [ 323, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 335, 339 ], [ 339, 340 ], [ 339, 341 ], [ 341, 342 ], [ 341, 343 ], [ 343, 344 ], [ 343, 345 ], [ 334, 346 ], [ 346, 347 ], [ 347, 348 ], [ 347, 349 ], [ 346, 350 ], [ 333, 351 ], [ 351, 352 ], [ 333, 353 ], [ 353, 354 ], [ 354, 355 ], [ 354, 356 ], [ 356, 357 ], [ 356, 358 ], [ 353, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 360, 363 ], [ 363, 364 ], [ 363, 365 ], [ 360, 366 ], [ 360, 367 ], [ 360, 368 ], [ 353, 369 ], [ 369, 370 ], [ 370, 371 ], [ 370, 372 ], [ 370, 373 ], [ 370, 374 ], [ 374, 375 ], [ 374, 376 ], [ 370, 377 ], [ 370, 378 ], [ 318, 379 ], [ 379, 380 ], [ 380, 381 ], [ 316, 382 ], [ 382, 383 ], [ 316, 384 ], [ 384, 385 ], [ 316, 386 ], [ 386, 387 ], [ 316, 388 ], [ 388, 389 ], [ 316, 390 ], [ 390, 391 ], [ 671, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 396, 398 ], [ 395, 399 ], [ 399, 400 ], [ 400, 401 ], [ 400, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 405, 407 ], [ 404, 408 ], [ 399, 409 ], [ 409, 410 ], [ 410, 411 ], [ 411, 412 ], [ 412, 413 ], [ 412, 414 ], [ 414, 415 ], [ 414, 416 ], [ 411, 417 ], [ 417, 418 ], [ 417, 419 ], [ 419, 420 ], [ 419, 421 ], [ 421, 422 ], [ 421, 423 ], [ 410, 424 ], [ 424, 425 ], [ 425, 426 ], [ 425, 427 ], [ 424, 428 ], [ 409, 429 ], [ 429, 430 ], [ 409, 431 ], [ 431, 432 ], [ 432, 433 ], [ 432, 434 ], [ 434, 435 ], [ 434, 436 ], [ 431, 437 ], [ 437, 438 ], [ 438, 439 ], [ 438, 440 ], [ 438, 441 ], [ 438, 442 ], [ 442, 443 ], [ 442, 444 ], [ 438, 445 ], [ 438, 446 ], [ 431, 447 ], [ 447, 448 ], [ 448, 449 ], [ 448, 450 ], [ 448, 451 ], [ 451, 452 ], [ 451, 453 ], [ 448, 454 ], [ 448, 455 ], [ 448, 456 ], [ 394, 457 ], [ 457, 458 ], [ 458, 459 ], [ 392, 460 ], [ 460, 461 ], [ 392, 462 ], [ 462, 463 ], [ 392, 464 ], [ 464, 465 ], [ 392, 466 ], [ 466, 467 ], [ 392, 468 ], [ 468, 469 ], [ 671, 470 ], [ 470, 471 ], [ 470, 472 ], [ 472, 473 ], [ 473, 474 ], [ 474, 475 ], [ 474, 476 ], [ 473, 477 ], [ 477, 478 ], [ 478, 479 ], [ 478, 480 ], [ 480, 481 ], [ 480, 482 ], [ 482, 483 ], [ 483, 484 ], [ 483, 485 ], [ 482, 486 ], [ 477, 487 ], [ 487, 488 ], [ 488, 489 ], [ 489, 490 ], [ 489, 491 ], [ 488, 492 ], [ 487, 493 ], [ 493, 494 ], [ 494, 495 ], [ 477, 496 ], [ 496, 497 ], [ 497, 498 ], [ 498, 499 ], [ 498, 500 ], [ 497, 501 ], [ 496, 502 ], [ 502, 503 ], [ 503, 504 ], [ 503, 505 ], [ 505, 506 ], [ 505, 507 ], [ 496, 508 ], [ 508, 509 ], [ 509, 510 ], [ 509, 511 ], [ 511, 512 ], [ 511, 513 ], [ 472, 514 ], [ 514, 515 ], [ 515, 516 ], [ 470, 517 ], [ 517, 518 ], [ 470, 519 ], [ 519, 520 ], [ 470, 521 ], [ 521, 522 ], [ 470, 523 ], [ 523, 524 ], [ 671, 525 ], [ 525, 526 ], [ 525, 527 ], [ 527, 528 ], [ 528, 529 ], [ 528, 530 ], [ 527, 531 ], [ 531, 532 ], [ 531, 533 ], [ 527, 534 ], [ 534, 535 ], [ 534, 536 ], [ 527, 537 ], [ 537, 538 ], [ 527, 539 ], [ 539, 540 ], [ 540, 541 ], [ 527, 542 ], [ 542, 543 ], [ 543, 544 ], [ 525, 545 ], [ 545, 546 ], [ 671, 547 ], [ 547, 548 ], [ 547, 549 ], [ 549, 550 ], [ 550, 551 ], [ 550, 552 ], [ 552, 553 ], [ 549, 554 ], [ 554, 555 ], [ 554, 556 ], [ 556, 557 ], [ 549, 558 ], [ 558, 559 ], [ 558, 560 ], [ 560, 561 ], [ 549, 562 ], [ 562, 563 ], [ 562, 564 ], [ 564, 565 ], [ 549, 566 ], [ 566, 567 ], [ 566, 568 ], [ 568, 569 ], [ 568, 570 ], [ 549, 571 ], [ 571, 572 ], [ 571, 573 ], [ 573, 574 ], [ 574, 575 ], [ 573, 576 ], [ 573, 577 ], [ 577, 578 ], [ 577, 579 ], [ 549, 580 ], [ 580, 581 ], [ 580, 582 ], [ 582, 583 ], [ 583, 584 ], [ 582, 585 ], [ 582, 586 ], [ 586, 587 ], [ 586, 588 ], [ 549, 589 ], [ 589, 590 ], [ 589, 591 ], [ 591, 592 ], [ 592, 593 ], [ 591, 594 ], [ 591, 595 ], [ 595, 596 ], [ 595, 597 ], [ 549, 598 ], [ 598, 599 ], [ 598, 600 ], [ 600, 601 ], [ 601, 602 ], [ 600, 603 ], [ 600, 604 ], [ 604, 605 ], [ 604, 606 ], [ 549, 607 ], [ 607, 608 ], [ 608, 609 ], [ 609, 610 ], [ 609, 611 ], [ 608, 612 ], [ 612, 613 ], [ 613, 614 ], [ 614, 615 ], [ 614, 616 ], [ 613, 617 ], [ 617, 618 ], [ 617, 619 ], [ 612, 620 ], [ 620, 621 ], [ 621, 622 ], [ 621, 623 ], [ 620, 624 ], [ 624, 625 ], [ 624, 626 ], [ 607, 627 ], [ 627, 628 ], [ 628, 629 ], [ 628, 630 ], [ 549, 631 ], [ 631, 632 ], [ 632, 633 ], [ 631, 634 ], [ 671, 635 ], [ 635, 636 ], [ 635, 637 ], [ 637, 638 ], [ 635, 639 ], [ 639, 640 ], [ 635, 641 ], [ 641, 642 ], [ 641, 643 ], [ 643, 644 ], [ 644, 645 ], [ 645, 646 ], [ 645, 647 ], [ 644, 648 ], [ 643, 649 ], [ 649, 650 ], [ 650, 651 ], [ 650, 652 ], [ 649, 653 ], [ 641, 654 ], [ 654, 655 ], [ 641, 656 ], [ 656, 657 ], [ 635, 658 ], [ 658, 659 ], [ 658, 660 ], [ 660, 661 ], [ 661, 662 ], [ 662, 663 ], [ 662, 664 ], [ 664, 665 ], [ 664, 666 ], [ 658, 667 ], [ 667, 668 ], [ 635, 669 ], [ 0, 670 ], [ 670, 671 ], [ 670, 672 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.lang.Math;\n\npublic class Main{\n\tstatic BufferedReader reader;\n\tstatic StringTokenizer tokenizer;\n\tstatic PrintWriter writer;\n\n\tstatic int nextInt() throws IOException {\n\t\treturn Integer.parseInt(nextToken());\n\t}\n\n\tstatic long nextLong() throws IOException {\n\t\treturn Long.parseLong(nextToken());\n\t}\n\n\tstatic double nextDouble() throws IOException {\n\t\treturn Double.parseDouble(nextToken());\n\t}\n\n\tstatic String nextToken() throws IOException {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\tstatic String nexts() throws IOException {\n\t \t tokenizer = new StringTokenizer(reader.readLine());\n\t \t String s=\"\";\n\t \t while (tokenizer.hasMoreTokens()) {\n\t\t\ts+=tokenizer.nextElement()+\" \";\n\t\t}\n\t\treturn s;\n\t}\n\n\t//String str=nextToken();\n\t//String[] s = str.split(\"\\\\s+\");\n\n\tpublic static int gcd(int x, int y){\n\t\tif (y == 0) return x; else return gcd(y, x % y);\n\t}\n\n\tpublic static boolean isPrime(int n) \n\t { \n\t // Corner cases \n\t if (n <= 1){\n\t\t return false; }\n\t if (n <= 3){\n\t\t return true; }\n\t \n\t // This is checked so that we can skip \n\t // middle five numbers in below loop \n\t if (n % 2 == 0 || n % 3 == 0){\n\t\t return false; }\n\t \n\t for (int i = 5; i * i <= n; i = i + 6) { //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }\n\t\t\t//O(sqrt(n))\n\t return true; \n\t } \n\n\tpublic static void shuffle(int[] A) {\n\t\tfor (int i = 0; i < A.length; i++) {\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}\n\t}\n\n\t public static long power(int x, long n)\n\t{\n\t long mod = 1000000007;\n\t\tif (n == 0) {\n\t\t\treturn 1;\n\t\t}\n\n\t\tlong pow = power(x, n / 2);\n\n\t\tif ((n & 1) == 1) {\n\t\t\treturn (x * pow * pow)%mod;\n\t\t}\n\t\treturn (pow * pow)%mod;\n\t}\n\t static long ncr(int n, int k) \n \t { \n \n \t\t long res = 1; \n \t\t // Since C(n, k) = C(n, n-k) \n \t\t if (k > n - k) { \n \t\t k = n - k; \n \t\t } \n \t\t // Calculate value of [n*(n-1)*---*(n-k+1)] / [k*(k-1)*---*1] \n \t\t for (int i = 0; i < k; ++i) { \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t } \n \t\t return res; \n }\n\tstatic int first(int arr[], int low, int high, int x, int n) //Returns first index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid =low + (high - low)/2; \n \t if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n); \n \t } \n \t\t return -1; \n \t } \n\n\tstatic int last(int arr[], int low, int high, int x, int n) //Returns last index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid = low + (high - low)/2; \n \t if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n); \n \t } \n \t\t return -1; \n\t } \n\tstatic int binarys(int[] arr, int l, int r, int x){\n \t while(l<=r){\n \t int mid = l+(r-l)/2;\n \t if(arr[mid]==x){\n \t return x;\n \t }\n \t if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }\n \t }\n\treturn -1;\n \t}\n\t static class R implements Comparable<R>{\n\t int x, y;\n\t public R(int x, int y) {\n\t this.x = x;\n\t this.y = y;\n\t }\n\t public int compareTo(R o) {\n \t\treturn x-o.x; //Increasing order(Which is usually required)\n \t\t}\n\t } \n\t// int t=a[i];\n\t// a[i]=a[j];\n\t// a[j]=t;\n\t//double d=Math.sqrt(Math.pow(Math.abs(x2-x1),2)+Math.pow(Math.abs(y2-y1),2));\n\tpublic static void main(String[] args) throws IOException {\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttokenizer = null;\n\t\twriter = new PrintWriter(System.out);\n\t\tsolve();\n\t\treader.close();\n\t\twriter.close();\n\t}\n\t\n\tprivate static void solve() throws IOException {\n\t\t//int t = nextInt();\n\t\t//while(t-->0){\n\t\t\t//long n = nextLong();\n\t\t\t//String s= nextToken();\n\t\t\t//long[] a=new long[n];\n\t\t\t//ArrayList<Integer> ar=new ArrayList<Integer>();\n\t\t\t//HashSet<Integer> set=new HashSet<Integer>();\n\t\t\t//HashMap<Integer,String> h=new HashMap<Integer,String>();\n\t\t\t//R[] a1=new R[n];\n\t\t\t//char[] c=nextToken().toCharArray();\n\n\t\t\tlong a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\t\t\tlong ans=Long.MIN_VALUE;\n\t\t\tans=Math.max(ans,a*c);\n\t\t\tans=Math.max(ans,a*d);\n\t\t\tans=Math.max(ans,b*c);\n\t\t\tans=Math.max(ans,b*d);\n\t\t\t//if(a<0&&b==0&&c<0&&d==0){ans=Math.max(ans,a*c);}\n\t\t\t//if(a<0&&b<0&&c<0&&d<0){ans=Math.max(ans,a*c);}\n\t\t\t\n\t\t\tif(ans<0&&(a<0&&b>0||c<0&&d>0)){\n\t\t\t ans=0;\n\t\t\t}\n \n \n \n // else if(a<0&&b<0&&c>0&&d>0){ans=Math.max(ans,b*c);}\n \n // else if(a>0&&b>0&&c<0&&d<0){ans=Math.max(ans,a*d);}\n // if(c<0&&b<0){ans=Math.max(ans,a*a+1);}\n // if(b<\n // ans=Math.max(b*d);\n\t\t\twriter.println(ans);\n\t\t }\n\t//}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.lang.Math;", "Math", "java.lang", "public class Main{\n\tstatic BufferedReader reader;\n\tstatic StringTokenizer tokenizer;\n\tstatic PrintWriter writer;\n\n\tstatic int nextInt() throws IOException {\n\t\treturn Integer.parseInt(nextToken());\n\t}\n\n\tstatic long nextLong() throws IOException {\n\t\treturn Long.parseLong(nextToken());\n\t}\n\n\tstatic double nextDouble() throws IOException {\n\t\treturn Double.parseDouble(nextToken());\n\t}\n\n\tstatic String nextToken() throws IOException {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\tstatic String nexts() throws IOException {\n\t \t tokenizer = new StringTokenizer(reader.readLine());\n\t \t String s=\"\";\n\t \t while (tokenizer.hasMoreTokens()) {\n\t\t\ts+=tokenizer.nextElement()+\" \";\n\t\t}\n\t\treturn s;\n\t}\n\n\t//String str=nextToken();\n\t//String[] s = str.split(\"\\\\s+\");\n\n\tpublic static int gcd(int x, int y){\n\t\tif (y == 0) return x; else return gcd(y, x % y);\n\t}\n\n\tpublic static boolean isPrime(int n) \n\t { \n\t // Corner cases \n\t if (n <= 1){\n\t\t return false; }\n\t if (n <= 3){\n\t\t return true; }\n\t \n\t // This is checked so that we can skip \n\t // middle five numbers in below loop \n\t if (n % 2 == 0 || n % 3 == 0){\n\t\t return false; }\n\t \n\t for (int i = 5; i * i <= n; i = i + 6) { //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }\n\t\t\t//O(sqrt(n))\n\t return true; \n\t } \n\n\tpublic static void shuffle(int[] A) {\n\t\tfor (int i = 0; i < A.length; i++) {\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}\n\t}\n\n\t public static long power(int x, long n)\n\t{\n\t long mod = 1000000007;\n\t\tif (n == 0) {\n\t\t\treturn 1;\n\t\t}\n\n\t\tlong pow = power(x, n / 2);\n\n\t\tif ((n & 1) == 1) {\n\t\t\treturn (x * pow * pow)%mod;\n\t\t}\n\t\treturn (pow * pow)%mod;\n\t}\n\t static long ncr(int n, int k) \n \t { \n \n \t\t long res = 1; \n \t\t // Since C(n, k) = C(n, n-k) \n \t\t if (k > n - k) { \n \t\t k = n - k; \n \t\t } \n \t\t // Calculate value of [n*(n-1)*---*(n-k+1)] / [k*(k-1)*---*1] \n \t\t for (int i = 0; i < k; ++i) { \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t } \n \t\t return res; \n }\n\tstatic int first(int arr[], int low, int high, int x, int n) //Returns first index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid =low + (high - low)/2; \n \t if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n); \n \t } \n \t\t return -1; \n \t } \n\n\tstatic int last(int arr[], int low, int high, int x, int n) //Returns last index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid = low + (high - low)/2; \n \t if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n); \n \t } \n \t\t return -1; \n\t } \n\tstatic int binarys(int[] arr, int l, int r, int x){\n \t while(l<=r){\n \t int mid = l+(r-l)/2;\n \t if(arr[mid]==x){\n \t return x;\n \t }\n \t if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }\n \t }\n\treturn -1;\n \t}\n\t static class R implements Comparable<R>{\n\t int x, y;\n\t public R(int x, int y) {\n\t this.x = x;\n\t this.y = y;\n\t }\n\t public int compareTo(R o) {\n \t\treturn x-o.x; //Increasing order(Which is usually required)\n \t\t}\n\t } \n\t// int t=a[i];\n\t// a[i]=a[j];\n\t// a[j]=t;\n\t//double d=Math.sqrt(Math.pow(Math.abs(x2-x1),2)+Math.pow(Math.abs(y2-y1),2));\n\tpublic static void main(String[] args) throws IOException {\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttokenizer = null;\n\t\twriter = new PrintWriter(System.out);\n\t\tsolve();\n\t\treader.close();\n\t\twriter.close();\n\t}\n\t\n\tprivate static void solve() throws IOException {\n\t\t//int t = nextInt();\n\t\t//while(t-->0){\n\t\t\t//long n = nextLong();\n\t\t\t//String s= nextToken();\n\t\t\t//long[] a=new long[n];\n\t\t\t//ArrayList<Integer> ar=new ArrayList<Integer>();\n\t\t\t//HashSet<Integer> set=new HashSet<Integer>();\n\t\t\t//HashMap<Integer,String> h=new HashMap<Integer,String>();\n\t\t\t//R[] a1=new R[n];\n\t\t\t//char[] c=nextToken().toCharArray();\n\n\t\t\tlong a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\t\t\tlong ans=Long.MIN_VALUE;\n\t\t\tans=Math.max(ans,a*c);\n\t\t\tans=Math.max(ans,a*d);\n\t\t\tans=Math.max(ans,b*c);\n\t\t\tans=Math.max(ans,b*d);\n\t\t\t//if(a<0&&b==0&&c<0&&d==0){ans=Math.max(ans,a*c);}\n\t\t\t//if(a<0&&b<0&&c<0&&d<0){ans=Math.max(ans,a*c);}\n\t\t\t\n\t\t\tif(ans<0&&(a<0&&b>0||c<0&&d>0)){\n\t\t\t ans=0;\n\t\t\t}\n \n \n \n // else if(a<0&&b<0&&c>0&&d>0){ans=Math.max(ans,b*c);}\n \n // else if(a>0&&b>0&&c<0&&d<0){ans=Math.max(ans,a*d);}\n // if(c<0&&b<0){ans=Math.max(ans,a*a+1);}\n // if(b<\n // ans=Math.max(b*d);\n\t\t\twriter.println(ans);\n\t\t }\n\t//}\n}", "Main", "static BufferedReader reader;", "reader", "static StringTokenizer tokenizer;", "tokenizer", "static PrintWriter writer;", "writer", "static int nextInt() throws IOException {\n\t\treturn Integer.parseInt(nextToken());\n\t}", "nextInt", "{\n\t\treturn Integer.parseInt(nextToken());\n\t}", "return Integer.parseInt(nextToken());", "Integer.parseInt(nextToken())", "Integer.parseInt", "Integer", "nextToken()", "nextToken", "static long nextLong() throws IOException {\n\t\treturn Long.parseLong(nextToken());\n\t}", "nextLong", "{\n\t\treturn Long.parseLong(nextToken());\n\t}", "return Long.parseLong(nextToken());", "Long.parseLong(nextToken())", "Long.parseLong", "Long", "nextToken()", "nextToken", "static double nextDouble() throws IOException {\n\t\treturn Double.parseDouble(nextToken());\n\t}", "nextDouble", "{\n\t\treturn Double.parseDouble(nextToken());\n\t}", "return Double.parseDouble(nextToken());", "Double.parseDouble(nextToken())", "Double.parseDouble", "Double", "nextToken()", "nextToken", "static String nextToken() throws IOException {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}", "nextToken", "{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}", "while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t}", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t}", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "static String nexts() throws IOException {\n\t \t tokenizer = new StringTokenizer(reader.readLine());\n\t \t String s=\"\";\n\t \t while (tokenizer.hasMoreTokens()) {\n\t\t\ts+=tokenizer.nextElement()+\" \";\n\t\t}\n\t\treturn s;\n\t}", "nexts", "{\n\t \t tokenizer = new StringTokenizer(reader.readLine());\n\t \t String s=\"\";\n\t \t while (tokenizer.hasMoreTokens()) {\n\t\t\ts+=tokenizer.nextElement()+\" \";\n\t\t}\n\t\treturn s;\n\t}", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "String s=\"\";", "s", "\"\"", "while (tokenizer.hasMoreTokens()) {\n\t\t\ts+=tokenizer.nextElement()+\" \";\n\t\t}", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t\t\ts+=tokenizer.nextElement()+\" \";\n\t\t}", "s+=tokenizer.nextElement()+\" \"", "s", "tokenizer.nextElement()+\" \"", "tokenizer.nextElement()", "tokenizer.nextElement", "tokenizer", "\" \"", "return s;", "s", "public static int gcd(int x, int y){\n\t\tif (y == 0) return x; else return gcd(y, x % y);\n\t}", "gcd", "{\n\t\tif (y == 0) return x; else return gcd(y, x % y);\n\t}", "if (y == 0) return x; else return gcd(y, x % y);", "y == 0", "y", "0", "return x;", "x", "return gcd(y, x % y);", "gcd(y, x % y)", "gcd", "y", "x % y", "x", "y", "int x", "x", "int y", "y", "public static boolean isPrime(int n) \n\t { \n\t // Corner cases \n\t if (n <= 1){\n\t\t return false; }\n\t if (n <= 3){\n\t\t return true; }\n\t \n\t // This is checked so that we can skip \n\t // middle five numbers in below loop \n\t if (n % 2 == 0 || n % 3 == 0){\n\t\t return false; }\n\t \n\t for (int i = 5; i * i <= n; i = i + 6) { //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }\n\t\t\t//O(sqrt(n))\n\t return true; \n\t }", "isPrime", "{ \n\t // Corner cases \n\t if (n <= 1){\n\t\t return false; }\n\t if (n <= 3){\n\t\t return true; }\n\t \n\t // This is checked so that we can skip \n\t // middle five numbers in below loop \n\t if (n % 2 == 0 || n % 3 == 0){\n\t\t return false; }\n\t \n\t for (int i = 5; i * i <= n; i = i + 6) { //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }\n\t\t\t//O(sqrt(n))\n\t return true; \n\t }", "if (n <= 1){\n\t\t return false; }", "n <= 1", "n", "1", "{\n\t\t return false; }", "return false;", "false", "if (n <= 3){\n\t\t return true; }", "n <= 3", "n", "3", "{\n\t\t return true; }", "return true;", "true", "if (n % 2 == 0 || n % 3 == 0){\n\t\t return false; }", "n % 2 == 0 || n % 3 == 0", "n % 2 == 0", "n % 2", "n", "2", "0", "n % 3 == 0", "n % 3", "n", "3", "0", "{\n\t\t return false; }", "return false;", "false", "for (int i = 5; i * i <= n; i = i + 6) { //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }", "int i = 5;", "int i = 5;", "i", "5", "i * i <= n", "i * i", "i", "i", "n", "i = i + 6", "i = i + 6", "i", "i + 6", "i", "6", "{ //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }", "{ //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }", "if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }", "n % i == 0 || n % (i + 2) == 0", "n % i == 0", "n % i", "n", "i", "0", "n % (i + 2) == 0", "n % (i + 2)", "n", "(i + 2)", "i", "2", "0", "{\n\t \treturn false; }", "return false;", "false", "return true;", "true", "int n", "n", "public static void shuffle(int[] A) {\n\t\tfor (int i = 0; i < A.length; i++) {\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}\n\t}", "shuffle", "{\n\t\tfor (int i = 0; i < A.length; i++) {\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}\n\t}", "for (int i = 0; i < A.length; i++) {\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < A.length", "i", "A.length", "A", "A.length", "i++", "i++", "i", "{\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}", "{\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}", "int j = (int)(i * Math.random());", "j", "(int)(i * Math.random())", "i", "Math.random()", "Math.random", "Math", "int tmp = A[i];", "tmp", "A[i]", "A", "i", "A[i] = A[j]", "A[i]", "A", "i", "A[j]", "A", "j", "A[j] = tmp", "A[j]", "A", "j", "tmp", "int[] A", "A", "public static long power(int x, long n)\n\t{\n\t long mod = 1000000007;\n\t\tif (n == 0) {\n\t\t\treturn 1;\n\t\t}\n\n\t\tlong pow = power(x, n / 2);\n\n\t\tif ((n & 1) == 1) {\n\t\t\treturn (x * pow * pow)%mod;\n\t\t}\n\t\treturn (pow * pow)%mod;\n\t}", "power", "{\n\t long mod = 1000000007;\n\t\tif (n == 0) {\n\t\t\treturn 1;\n\t\t}\n\n\t\tlong pow = power(x, n / 2);\n\n\t\tif ((n & 1) == 1) {\n\t\t\treturn (x * pow * pow)%mod;\n\t\t}\n\t\treturn (pow * pow)%mod;\n\t}", "long mod = 1000000007;", "mod", "1000000007", "if (n == 0) {\n\t\t\treturn 1;\n\t\t}", "n == 0", "n", "0", "{\n\t\t\treturn 1;\n\t\t}", "return 1;", "1", "long pow = power(x, n / 2);", "pow", "power(x, n / 2)", "power", "x", "n / 2", "n", "2", "if ((n & 1) == 1) {\n\t\t\treturn (x * pow * pow)%mod;\n\t\t}", "(n & 1) == 1", "(n & 1)", "n", "1", "1", "{\n\t\t\treturn (x * pow * pow)%mod;\n\t\t}", "return (x * pow * pow)%mod;", "(x * pow * pow)%mod", "(x * pow * pow)", "x * pow * pow", "x", "pow", "pow", "mod", "return (pow * pow)%mod;", "(pow * pow)%mod", "(pow * pow)", "pow", "pow", "mod", "int x", "x", "long n", "n", "static long ncr(int n, int k) \n \t { \n \n \t\t long res = 1; \n \t\t // Since C(n, k) = C(n, n-k) \n \t\t if (k > n - k) { \n \t\t k = n - k; \n \t\t } \n \t\t // Calculate value of [n*(n-1)*---*(n-k+1)] / [k*(k-1)*---*1] \n \t\t for (int i = 0; i < k; ++i) { \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t } \n \t\t return res; \n }", "ncr", "{ \n \n \t\t long res = 1; \n \t\t // Since C(n, k) = C(n, n-k) \n \t\t if (k > n - k) { \n \t\t k = n - k; \n \t\t } \n \t\t // Calculate value of [n*(n-1)*---*(n-k+1)] / [k*(k-1)*---*1] \n \t\t for (int i = 0; i < k; ++i) { \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t } \n \t\t return res; \n }", "long res = 1;", "res", "1", "if (k > n - k) { \n \t\t k = n - k; \n \t\t }", "k > n - k", "k", "n - k", "n", "k", "{ \n \t\t k = n - k; \n \t\t }", "k = n - k", "k", "n - k", "n", "k", "for (int i = 0; i < k; ++i) { \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t }", "int i = 0;", "int i = 0;", "i", "0", "i < k", "i", "k", "++i", "++i", "i", "{ \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t }", "{ \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t }", "res *= (n - i)", "res", "(n - i)", "n", "i", "res /= (i + 1)", "res", "(i + 1)", "i", "1", "return res;", "res", "int n", "n", "int k", "k", "static int first(int arr[], int low, int high, int x, int n) //Returns first index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid =low + (high - low)/2; \n \t if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n); \n \t } \n \t\t return -1; \n \t }", "first", "{ \n \t if(high >= low) \n \t { \n \t \n \t int mid =low + (high - low)/2; \n \t if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n); \n \t } \n \t\t return -1; \n \t }", "if(high >= low) \n \t { \n \t \n \t int mid =low + (high - low)/2; \n \t if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n); \n \t }", "high >= low", "high", "low", "{ \n \t \n \t int mid =low + (high - low)/2; \n \t if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n); \n \t }", "int mid =low + (high - low)/2;", "mid", "low + (high - low)/2", "low", "(high - low)/2", "(high - low)", "high", "low", "2", "if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n);", "( mid == 0 || x > arr[mid-1]) && arr[mid] == x", "( mid == 0 || x > arr[mid-1])", "mid == 0", "mid", "0", "x > arr[mid-1]", "x", "arr[mid-1]", "arr", "mid-1", "mid", "1", "arr[mid] == x", "arr[mid]", "arr", "mid", "x", "return mid;", "mid", "if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n);", "x > arr[mid]", "x", "arr[mid]", "arr", "mid", "return first(arr, (mid + 1), high, x, n);", "first(arr, (mid + 1), high, x, n)", "first", "arr", "(mid + 1)", "mid", "1", "high", "x", "n", "return first(arr, low, (mid -1), x, n);", "first(arr, low, (mid -1), x, n)", "first", "arr", "low", "(mid -1)", "mid", "1", "x", "n", "return -1;", "-1", "1", "int arr[]", "arr", "int low", "low", "int high", "high", "int x", "x", "int n", "n", "static int last(int arr[], int low, int high, int x, int n) //Returns last index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid = low + (high - low)/2; \n \t if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n); \n \t } \n \t\t return -1; \n\t }", "last", "{ \n \t if(high >= low) \n \t { \n \t \n \t int mid = low + (high - low)/2; \n \t if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n); \n \t } \n \t\t return -1; \n\t }", "if(high >= low) \n \t { \n \t \n \t int mid = low + (high - low)/2; \n \t if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n); \n \t }", "high >= low", "high", "low", "{ \n \t \n \t int mid = low + (high - low)/2; \n \t if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n); \n \t }", "int mid = low + (high - low)/2;", "mid", "low + (high - low)/2", "low", "(high - low)/2", "(high - low)", "high", "low", "2", "if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n);", "( mid == n-1 || x < arr[mid+1]) && arr[mid] == x", "( mid == n-1 || x < arr[mid+1])", "mid == n-1", "mid", "n-1", "n", "1", "x < arr[mid+1]", "x", "arr[mid+1]", "arr", "mid+1", "mid", "1", "arr[mid] == x", "arr[mid]", "arr", "mid", "x", "return mid;", "mid", "if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n);", "x < arr[mid]", "x", "arr[mid]", "arr", "mid", "return last(arr, low, (mid -1), x, n);", "last(arr, low, (mid -1), x, n)", "last", "arr", "low", "(mid -1)", "mid", "1", "x", "n", "return last(arr, (mid + 1), high, x, n);", "last(arr, (mid + 1), high, x, n)", "last", "arr", "(mid + 1)", "mid", "1", "high", "x", "n", "return -1;", "-1", "1", "int arr[]", "arr", "int low", "low", "int high", "high", "int x", "x", "int n", "n", "static int binarys(int[] arr, int l, int r, int x){\n \t while(l<=r){\n \t int mid = l+(r-l)/2;\n \t if(arr[mid]==x){\n \t return x;\n \t }\n \t if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }\n \t }\n\treturn -1;\n \t}", "binarys", "{\n \t while(l<=r){\n \t int mid = l+(r-l)/2;\n \t if(arr[mid]==x){\n \t return x;\n \t }\n \t if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }\n \t }\n\treturn -1;\n \t}", "while(l<=r){\n \t int mid = l+(r-l)/2;\n \t if(arr[mid]==x){\n \t return x;\n \t }\n \t if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }\n \t }", "l<=r", "l", "r", "{\n \t int mid = l+(r-l)/2;\n \t if(arr[mid]==x){\n \t return x;\n \t }\n \t if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }\n \t }", "int mid = l+(r-l)/2;", "mid", "l+(r-l)/2", "l", "(r-l)/2", "(r-l)", "r", "l", "2", "if(arr[mid]==x){\n \t return x;\n \t }", "arr[mid]==x", "arr[mid]", "arr", "mid", "x", "{\n \t return x;\n \t }", "return x;", "x", "if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }", "arr[mid]<x", "arr[mid]", "arr", "mid", "x", "{\n \t l=mid+1;\n \t }", "l=mid+1", "l", "mid+1", "mid", "1", "{\n \t r=mid-1;\n \t }", "r=mid-1", "r", "mid-1", "mid", "1", "return -1;", "-1", "1", "int[] arr", "arr", "int l", "l", "int r", "r", "int x", "x", "// int t=a[i];\n\t// a[i]=a[j];\n\t// a[j]=t;\n\t//double d=Math.sqrt(Math.pow(Math.abs(x2-x1),2)+Math.pow(Math.abs(y2-y1),2));\n\tpublic static void main(String[] args) throws IOException {\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttokenizer = null;\n\t\twriter = new PrintWriter(System.out);\n\t\tsolve();\n\t\treader.close();\n\t\twriter.close();\n\t}", "main", "{\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttokenizer = null;\n\t\twriter = new PrintWriter(System.out);\n\t\tsolve();\n\t\treader.close();\n\t\twriter.close();\n\t}", "reader = new BufferedReader(new InputStreamReader(System.in))", "reader", "new BufferedReader(new InputStreamReader(System.in))", "tokenizer = null", "tokenizer", "null", "writer = new PrintWriter(System.out)", "writer", "new PrintWriter(System.out)", "solve()", "solve", "reader.close()", "reader.close", "reader", "writer.close()", "writer.close", "writer", "String[] args", "args", "private static void solve() throws IOException {\n\t\t//int t = nextInt();\n\t\t//while(t-->0){\n\t\t\t//long n = nextLong();\n\t\t\t//String s= nextToken();\n\t\t\t//long[] a=new long[n];\n\t\t\t//ArrayList<Integer> ar=new ArrayList<Integer>();\n\t\t\t//HashSet<Integer> set=new HashSet<Integer>();\n\t\t\t//HashMap<Integer,String> h=new HashMap<Integer,String>();\n\t\t\t//R[] a1=new R[n];\n\t\t\t//char[] c=nextToken().toCharArray();\n\n\t\t\tlong a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\t\t\tlong ans=Long.MIN_VALUE;\n\t\t\tans=Math.max(ans,a*c);\n\t\t\tans=Math.max(ans,a*d);\n\t\t\tans=Math.max(ans,b*c);\n\t\t\tans=Math.max(ans,b*d);\n\t\t\t//if(a<0&&b==0&&c<0&&d==0){ans=Math.max(ans,a*c);}\n\t\t\t//if(a<0&&b<0&&c<0&&d<0){ans=Math.max(ans,a*c);}\n\t\t\t\n\t\t\tif(ans<0&&(a<0&&b>0||c<0&&d>0)){\n\t\t\t ans=0;\n\t\t\t}\n \n \n \n // else if(a<0&&b<0&&c>0&&d>0){ans=Math.max(ans,b*c);}\n \n // else if(a>0&&b>0&&c<0&&d<0){ans=Math.max(ans,a*d);}\n // if(c<0&&b<0){ans=Math.max(ans,a*a+1);}\n // if(b<\n // ans=Math.max(b*d);\n\t\t\twriter.println(ans);\n\t\t }", "solve", "{\n\t\t//int t = nextInt();\n\t\t//while(t-->0){\n\t\t\t//long n = nextLong();\n\t\t\t//String s= nextToken();\n\t\t\t//long[] a=new long[n];\n\t\t\t//ArrayList<Integer> ar=new ArrayList<Integer>();\n\t\t\t//HashSet<Integer> set=new HashSet<Integer>();\n\t\t\t//HashMap<Integer,String> h=new HashMap<Integer,String>();\n\t\t\t//R[] a1=new R[n];\n\t\t\t//char[] c=nextToken().toCharArray();\n\n\t\t\tlong a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\t\t\tlong ans=Long.MIN_VALUE;\n\t\t\tans=Math.max(ans,a*c);\n\t\t\tans=Math.max(ans,a*d);\n\t\t\tans=Math.max(ans,b*c);\n\t\t\tans=Math.max(ans,b*d);\n\t\t\t//if(a<0&&b==0&&c<0&&d==0){ans=Math.max(ans,a*c);}\n\t\t\t//if(a<0&&b<0&&c<0&&d<0){ans=Math.max(ans,a*c);}\n\t\t\t\n\t\t\tif(ans<0&&(a<0&&b>0||c<0&&d>0)){\n\t\t\t ans=0;\n\t\t\t}\n \n \n \n // else if(a<0&&b<0&&c>0&&d>0){ans=Math.max(ans,b*c);}\n \n // else if(a>0&&b>0&&c<0&&d<0){ans=Math.max(ans,a*d);}\n // if(c<0&&b<0){ans=Math.max(ans,a*a+1);}\n // if(b<\n // ans=Math.max(b*d);\n\t\t\twriter.println(ans);\n\t\t }", "long a = nextInt();", "a", "nextInt()", "nextInt", "long b = nextInt();", "b", "nextInt()", "nextInt", "long c = nextInt();", "c", "nextInt()", "nextInt", "long d = nextInt();", "d", "nextInt()", "nextInt", "long ans=Long.MIN_VALUE;", "ans", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "ans=Math.max(ans,a*c)", "ans", "Math.max(ans,a*c)", "Math.max", "Math", "ans", "a*c", "a", "c", "ans=Math.max(ans,a*d)", "ans", "Math.max(ans,a*d)", "Math.max", "Math", "ans", "a*d", "a", "d", "ans=Math.max(ans,b*c)", "ans", "Math.max(ans,b*c)", "Math.max", "Math", "ans", "b*c", "b", "c", "ans=Math.max(ans,b*d)", "ans", "Math.max(ans,b*d)", "Math.max", "Math", "ans", "b*d", "b", "d", "if(ans<0&&(a<0&&b>0||c<0&&d>0)){\n\t\t\t ans=0;\n\t\t\t}", "ans<0&&(a<0&&b>0||c<0&&d>0)", "ans<0", "ans", "0", "(a<0&&b>0||c<0&&d>0)", "a<0&&b>0", "a<0", "a", "0", "b>0", "b", "0", "c<0&&d>0", "c<0", "c", "0", "d>0", "d", "0", "{\n\t\t\t ans=0;\n\t\t\t}", "ans=0", "ans", "0", "writer.println(ans)", "writer.println", "writer", "ans", "static class R implements Comparable<R>{\n\t int x, y;\n\t public R(int x, int y) {\n\t this.x = x;\n\t this.y = y;\n\t }\n\t public int compareTo(R o) {\n \t\treturn x-o.x; //Increasing order(Which is usually required)\n \t\t}\n\t }", "R", "int x", "x", "y;", "y", "public R(int x, int y) {\n\t this.x = x;\n\t this.y = y;\n\t }", "R", "{\n\t this.x = x;\n\t this.y = y;\n\t }", "this.x = x", "this.x", "this", "this.x", "x", "this.y = y", "this.y", "this", "this.y", "y", "int x", "x", "int y", "y", "public int compareTo(R o) {\n \t\treturn x-o.x; //Increasing order(Which is usually required)\n \t\t}", "compareTo", "{\n \t\treturn x-o.x; //Increasing order(Which is usually required)\n \t\t}", "return x-o.x; //Increasing order(Which is usually required)", "x-o.x", "x", "o.x", "o", "o.x", "R o", "o", "Comparable", "public class Main{\n\tstatic BufferedReader reader;\n\tstatic StringTokenizer tokenizer;\n\tstatic PrintWriter writer;\n\n\tstatic int nextInt() throws IOException {\n\t\treturn Integer.parseInt(nextToken());\n\t}\n\n\tstatic long nextLong() throws IOException {\n\t\treturn Long.parseLong(nextToken());\n\t}\n\n\tstatic double nextDouble() throws IOException {\n\t\treturn Double.parseDouble(nextToken());\n\t}\n\n\tstatic String nextToken() throws IOException {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\tstatic String nexts() throws IOException {\n\t \t tokenizer = new StringTokenizer(reader.readLine());\n\t \t String s=\"\";\n\t \t while (tokenizer.hasMoreTokens()) {\n\t\t\ts+=tokenizer.nextElement()+\" \";\n\t\t}\n\t\treturn s;\n\t}\n\n\t//String str=nextToken();\n\t//String[] s = str.split(\"\\\\s+\");\n\n\tpublic static int gcd(int x, int y){\n\t\tif (y == 0) return x; else return gcd(y, x % y);\n\t}\n\n\tpublic static boolean isPrime(int n) \n\t { \n\t // Corner cases \n\t if (n <= 1){\n\t\t return false; }\n\t if (n <= 3){\n\t\t return true; }\n\t \n\t // This is checked so that we can skip \n\t // middle five numbers in below loop \n\t if (n % 2 == 0 || n % 3 == 0){\n\t\t return false; }\n\t \n\t for (int i = 5; i * i <= n; i = i + 6) { //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }\n\t\t\t//O(sqrt(n))\n\t return true; \n\t } \n\n\tpublic static void shuffle(int[] A) {\n\t\tfor (int i = 0; i < A.length; i++) {\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}\n\t}\n\n\t public static long power(int x, long n)\n\t{\n\t long mod = 1000000007;\n\t\tif (n == 0) {\n\t\t\treturn 1;\n\t\t}\n\n\t\tlong pow = power(x, n / 2);\n\n\t\tif ((n & 1) == 1) {\n\t\t\treturn (x * pow * pow)%mod;\n\t\t}\n\t\treturn (pow * pow)%mod;\n\t}\n\t static long ncr(int n, int k) \n \t { \n \n \t\t long res = 1; \n \t\t // Since C(n, k) = C(n, n-k) \n \t\t if (k > n - k) { \n \t\t k = n - k; \n \t\t } \n \t\t // Calculate value of [n*(n-1)*---*(n-k+1)] / [k*(k-1)*---*1] \n \t\t for (int i = 0; i < k; ++i) { \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t } \n \t\t return res; \n }\n\tstatic int first(int arr[], int low, int high, int x, int n) //Returns first index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid =low + (high - low)/2; \n \t if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n); \n \t } \n \t\t return -1; \n \t } \n\n\tstatic int last(int arr[], int low, int high, int x, int n) //Returns last index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid = low + (high - low)/2; \n \t if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n); \n \t } \n \t\t return -1; \n\t } \n\tstatic int binarys(int[] arr, int l, int r, int x){\n \t while(l<=r){\n \t int mid = l+(r-l)/2;\n \t if(arr[mid]==x){\n \t return x;\n \t }\n \t if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }\n \t }\n\treturn -1;\n \t}\n\t static class R implements Comparable<R>{\n\t int x, y;\n\t public R(int x, int y) {\n\t this.x = x;\n\t this.y = y;\n\t }\n\t public int compareTo(R o) {\n \t\treturn x-o.x; //Increasing order(Which is usually required)\n \t\t}\n\t } \n\t// int t=a[i];\n\t// a[i]=a[j];\n\t// a[j]=t;\n\t//double d=Math.sqrt(Math.pow(Math.abs(x2-x1),2)+Math.pow(Math.abs(y2-y1),2));\n\tpublic static void main(String[] args) throws IOException {\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttokenizer = null;\n\t\twriter = new PrintWriter(System.out);\n\t\tsolve();\n\t\treader.close();\n\t\twriter.close();\n\t}\n\t\n\tprivate static void solve() throws IOException {\n\t\t//int t = nextInt();\n\t\t//while(t-->0){\n\t\t\t//long n = nextLong();\n\t\t\t//String s= nextToken();\n\t\t\t//long[] a=new long[n];\n\t\t\t//ArrayList<Integer> ar=new ArrayList<Integer>();\n\t\t\t//HashSet<Integer> set=new HashSet<Integer>();\n\t\t\t//HashMap<Integer,String> h=new HashMap<Integer,String>();\n\t\t\t//R[] a1=new R[n];\n\t\t\t//char[] c=nextToken().toCharArray();\n\n\t\t\tlong a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\t\t\tlong ans=Long.MIN_VALUE;\n\t\t\tans=Math.max(ans,a*c);\n\t\t\tans=Math.max(ans,a*d);\n\t\t\tans=Math.max(ans,b*c);\n\t\t\tans=Math.max(ans,b*d);\n\t\t\t//if(a<0&&b==0&&c<0&&d==0){ans=Math.max(ans,a*c);}\n\t\t\t//if(a<0&&b<0&&c<0&&d<0){ans=Math.max(ans,a*c);}\n\t\t\t\n\t\t\tif(ans<0&&(a<0&&b>0||c<0&&d>0)){\n\t\t\t ans=0;\n\t\t\t}\n \n \n \n // else if(a<0&&b<0&&c>0&&d>0){ans=Math.max(ans,b*c);}\n \n // else if(a>0&&b>0&&c<0&&d<0){ans=Math.max(ans,a*d);}\n // if(c<0&&b<0){ans=Math.max(ans,a*a+1);}\n // if(b<\n // ans=Math.max(b*d);\n\t\t\twriter.println(ans);\n\t\t }\n\t//}\n}", "public class Main{\n\tstatic BufferedReader reader;\n\tstatic StringTokenizer tokenizer;\n\tstatic PrintWriter writer;\n\n\tstatic int nextInt() throws IOException {\n\t\treturn Integer.parseInt(nextToken());\n\t}\n\n\tstatic long nextLong() throws IOException {\n\t\treturn Long.parseLong(nextToken());\n\t}\n\n\tstatic double nextDouble() throws IOException {\n\t\treturn Double.parseDouble(nextToken());\n\t}\n\n\tstatic String nextToken() throws IOException {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\tstatic String nexts() throws IOException {\n\t \t tokenizer = new StringTokenizer(reader.readLine());\n\t \t String s=\"\";\n\t \t while (tokenizer.hasMoreTokens()) {\n\t\t\ts+=tokenizer.nextElement()+\" \";\n\t\t}\n\t\treturn s;\n\t}\n\n\t//String str=nextToken();\n\t//String[] s = str.split(\"\\\\s+\");\n\n\tpublic static int gcd(int x, int y){\n\t\tif (y == 0) return x; else return gcd(y, x % y);\n\t}\n\n\tpublic static boolean isPrime(int n) \n\t { \n\t // Corner cases \n\t if (n <= 1){\n\t\t return false; }\n\t if (n <= 3){\n\t\t return true; }\n\t \n\t // This is checked so that we can skip \n\t // middle five numbers in below loop \n\t if (n % 2 == 0 || n % 3 == 0){\n\t\t return false; }\n\t \n\t for (int i = 5; i * i <= n; i = i + 6) { //Checking 6i+1 & 6i-1\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t \treturn false; }\n\t }\n\t\t\t//O(sqrt(n))\n\t return true; \n\t } \n\n\tpublic static void shuffle(int[] A) {\n\t\tfor (int i = 0; i < A.length; i++) {\n\t\t\tint j = (int)(i * Math.random());\n\t\t\tint tmp = A[i];\n\t\t\tA[i] = A[j];\n\t\t\tA[j] = tmp;\n\t\t}\n\t}\n\n\t public static long power(int x, long n)\n\t{\n\t long mod = 1000000007;\n\t\tif (n == 0) {\n\t\t\treturn 1;\n\t\t}\n\n\t\tlong pow = power(x, n / 2);\n\n\t\tif ((n & 1) == 1) {\n\t\t\treturn (x * pow * pow)%mod;\n\t\t}\n\t\treturn (pow * pow)%mod;\n\t}\n\t static long ncr(int n, int k) \n \t { \n \n \t\t long res = 1; \n \t\t // Since C(n, k) = C(n, n-k) \n \t\t if (k > n - k) { \n \t\t k = n - k; \n \t\t } \n \t\t // Calculate value of [n*(n-1)*---*(n-k+1)] / [k*(k-1)*---*1] \n \t\t for (int i = 0; i < k; ++i) { \n \t\t res *= (n - i); \n \t\t res /= (i + 1); \n \t\t } \n \t\t return res; \n }\n\tstatic int first(int arr[], int low, int high, int x, int n) //Returns first index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid =low + (high - low)/2; \n \t if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) \n \t\t return mid; \n \t else if(x > arr[mid]) \n \t\t return first(arr, (mid + 1), high, x, n); \n \telse\n \t\t return first(arr, low, (mid -1), x, n); \n \t } \n \t\t return -1; \n \t } \n\n\tstatic int last(int arr[], int low, int high, int x, int n) //Returns last index of x in sorted arr else -1\n \t { \n \t if(high >= low) \n \t { \n \t \n \t int mid = low + (high - low)/2; \n \t if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) \n \t\t return mid; \n \t else if(x < arr[mid]) \n \t\t return last(arr, low, (mid -1), x, n); \n \t else\n \t\t return last(arr, (mid + 1), high, x, n); \n \t } \n \t\t return -1; \n\t } \n\tstatic int binarys(int[] arr, int l, int r, int x){\n \t while(l<=r){\n \t int mid = l+(r-l)/2;\n \t if(arr[mid]==x){\n \t return x;\n \t }\n \t if(arr[mid]<x){\n \t l=mid+1;\n \t }\n \t else{\n \t r=mid-1;\n \t }\n \t }\n\treturn -1;\n \t}\n\t static class R implements Comparable<R>{\n\t int x, y;\n\t public R(int x, int y) {\n\t this.x = x;\n\t this.y = y;\n\t }\n\t public int compareTo(R o) {\n \t\treturn x-o.x; //Increasing order(Which is usually required)\n \t\t}\n\t } \n\t// int t=a[i];\n\t// a[i]=a[j];\n\t// a[j]=t;\n\t//double d=Math.sqrt(Math.pow(Math.abs(x2-x1),2)+Math.pow(Math.abs(y2-y1),2));\n\tpublic static void main(String[] args) throws IOException {\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttokenizer = null;\n\t\twriter = new PrintWriter(System.out);\n\t\tsolve();\n\t\treader.close();\n\t\twriter.close();\n\t}\n\t\n\tprivate static void solve() throws IOException {\n\t\t//int t = nextInt();\n\t\t//while(t-->0){\n\t\t\t//long n = nextLong();\n\t\t\t//String s= nextToken();\n\t\t\t//long[] a=new long[n];\n\t\t\t//ArrayList<Integer> ar=new ArrayList<Integer>();\n\t\t\t//HashSet<Integer> set=new HashSet<Integer>();\n\t\t\t//HashMap<Integer,String> h=new HashMap<Integer,String>();\n\t\t\t//R[] a1=new R[n];\n\t\t\t//char[] c=nextToken().toCharArray();\n\n\t\t\tlong a = nextInt();\n long b = nextInt();\n long c = nextInt();\n long d = nextInt();\n\t\t\tlong ans=Long.MIN_VALUE;\n\t\t\tans=Math.max(ans,a*c);\n\t\t\tans=Math.max(ans,a*d);\n\t\t\tans=Math.max(ans,b*c);\n\t\t\tans=Math.max(ans,b*d);\n\t\t\t//if(a<0&&b==0&&c<0&&d==0){ans=Math.max(ans,a*c);}\n\t\t\t//if(a<0&&b<0&&c<0&&d<0){ans=Math.max(ans,a*c);}\n\t\t\t\n\t\t\tif(ans<0&&(a<0&&b>0||c<0&&d>0)){\n\t\t\t ans=0;\n\t\t\t}\n \n \n \n // else if(a<0&&b<0&&c>0&&d>0){ans=Math.max(ans,b*c);}\n \n // else if(a>0&&b>0&&c<0&&d<0){ans=Math.max(ans,a*d);}\n // if(c<0&&b<0){ans=Math.max(ans,a*a+1);}\n // if(b<\n // ans=Math.max(b*d);\n\t\t\twriter.println(ans);\n\t\t }\n\t//}\n}", "Main" ]
import java.io.*; import java.util.*; import java.lang.Math; public class Main{ static BufferedReader reader; static StringTokenizer tokenizer; static PrintWriter writer; static int nextInt() throws IOException { return Integer.parseInt(nextToken()); } static long nextLong() throws IOException { return Long.parseLong(nextToken()); } static double nextDouble() throws IOException { return Double.parseDouble(nextToken()); } static String nextToken() throws IOException { while (tokenizer == null || !tokenizer.hasMoreTokens()) { tokenizer = new StringTokenizer(reader.readLine()); } return tokenizer.nextToken(); } static String nexts() throws IOException { tokenizer = new StringTokenizer(reader.readLine()); String s=""; while (tokenizer.hasMoreTokens()) { s+=tokenizer.nextElement()+" "; } return s; } //String str=nextToken(); //String[] s = str.split("\\s+"); public static int gcd(int x, int y){ if (y == 0) return x; else return gcd(y, x % y); } public static boolean isPrime(int n) { // Corner cases if (n <= 1){ return false; } if (n <= 3){ return true; } // This is checked so that we can skip // middle five numbers in below loop if (n % 2 == 0 || n % 3 == 0){ return false; } for (int i = 5; i * i <= n; i = i + 6) { //Checking 6i+1 & 6i-1 if (n % i == 0 || n % (i + 2) == 0) { return false; } } //O(sqrt(n)) return true; } public static void shuffle(int[] A) { for (int i = 0; i < A.length; i++) { int j = (int)(i * Math.random()); int tmp = A[i]; A[i] = A[j]; A[j] = tmp; } } public static long power(int x, long n) { long mod = 1000000007; if (n == 0) { return 1; } long pow = power(x, n / 2); if ((n & 1) == 1) { return (x * pow * pow)%mod; } return (pow * pow)%mod; } static long ncr(int n, int k) { long res = 1; // Since C(n, k) = C(n, n-k) if (k > n - k) { k = n - k; } // Calculate value of [n*(n-1)*---*(n-k+1)] / [k*(k-1)*---*1] for (int i = 0; i < k; ++i) { res *= (n - i); res /= (i + 1); } return res; } static int first(int arr[], int low, int high, int x, int n) //Returns first index of x in sorted arr else -1 { if(high >= low) { int mid =low + (high - low)/2; if( ( mid == 0 || x > arr[mid-1]) && arr[mid] == x) return mid; else if(x > arr[mid]) return first(arr, (mid + 1), high, x, n); else return first(arr, low, (mid -1), x, n); } return -1; } static int last(int arr[], int low, int high, int x, int n) //Returns last index of x in sorted arr else -1 { if(high >= low) { int mid = low + (high - low)/2; if( ( mid == n-1 || x < arr[mid+1]) && arr[mid] == x ) return mid; else if(x < arr[mid]) return last(arr, low, (mid -1), x, n); else return last(arr, (mid + 1), high, x, n); } return -1; } static int binarys(int[] arr, int l, int r, int x){ while(l<=r){ int mid = l+(r-l)/2; if(arr[mid]==x){ return x; } if(arr[mid]<x){ l=mid+1; } else{ r=mid-1; } } return -1; } static class R implements Comparable<R>{ int x, y; public R(int x, int y) { this.x = x; this.y = y; } public int compareTo(R o) { return x-o.x; //Increasing order(Which is usually required) } } // int t=a[i]; // a[i]=a[j]; // a[j]=t; //double d=Math.sqrt(Math.pow(Math.abs(x2-x1),2)+Math.pow(Math.abs(y2-y1),2)); public static void main(String[] args) throws IOException { reader = new BufferedReader(new InputStreamReader(System.in)); tokenizer = null; writer = new PrintWriter(System.out); solve(); reader.close(); writer.close(); } private static void solve() throws IOException { //int t = nextInt(); //while(t-->0){ //long n = nextLong(); //String s= nextToken(); //long[] a=new long[n]; //ArrayList<Integer> ar=new ArrayList<Integer>(); //HashSet<Integer> set=new HashSet<Integer>(); //HashMap<Integer,String> h=new HashMap<Integer,String>(); //R[] a1=new R[n]; //char[] c=nextToken().toCharArray(); long a = nextInt(); long b = nextInt(); long c = nextInt(); long d = nextInt(); long ans=Long.MIN_VALUE; ans=Math.max(ans,a*c); ans=Math.max(ans,a*d); ans=Math.max(ans,b*c); ans=Math.max(ans,b*d); //if(a<0&&b==0&&c<0&&d==0){ans=Math.max(ans,a*c);} //if(a<0&&b<0&&c<0&&d<0){ans=Math.max(ans,a*c);} if(ans<0&&(a<0&&b>0||c<0&&d>0)){ ans=0; } // else if(a<0&&b<0&&c>0&&d>0){ans=Math.max(ans,b*c);} // else if(a>0&&b>0&&c<0&&d<0){ans=Math.max(ans,a*d);} // if(c<0&&b<0){ans=Math.max(ans,a*a+1);} // if(b< // ans=Math.max(b*d); writer.println(ans); } //} }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 2, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 96, 5 ], [ 96, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 24, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 32, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 50, 55 ], [ 8, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 58, 63 ], [ 8, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 72, 78 ], [ 78, 79 ], [ 78, 80 ], [ 69, 81 ], [ 81, 82 ], [ 81, 83 ], [ 66, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 6, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System .in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n long max1 = a>b?a:b;\n long min1 = a<=b?a:b;\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max2 = c>d?c:d;\n long min2 = c<=d?c:d;\n long max = Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2);\n System.out.println(max);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System .in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n long max1 = a>b?a:b;\n long min1 = a<=b?a:b;\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max2 = c>d?c:d;\n long min2 = c<=d?c:d;\n long max = Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2);\n System.out.println(max);\n }\n}", "Main", "public static void main(String args[]) {\n Scanner sc = new Scanner(System .in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n long max1 = a>b?a:b;\n long min1 = a<=b?a:b;\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max2 = c>d?c:d;\n long min2 = c<=d?c:d;\n long max = Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2);\n System.out.println(max);\n }", "main", "{\n Scanner sc = new Scanner(System .in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n long max1 = a>b?a:b;\n long min1 = a<=b?a:b;\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max2 = c>d?c:d;\n long min2 = c<=d?c:d;\n long max = Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2);\n System.out.println(max);\n }", "Scanner sc = new Scanner(System .in);", "sc", "new Scanner(System .in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long max1 = a>b?a:b;", "max1", "a>b?a:b", "a>b", "a", "b", "a", "b", "long min1 = a<=b?a:b;", "min1", "a<=b?a:b", "a<=b", "a", "b", "a", "b", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long max2 = c>d?c:d;", "max2", "c>d?c:d", "c>d", "c", "d", "c", "d", "long min2 = c<=d?c:d;", "min2", "c<=d?c:d", "c<=d", "c", "d", "c", "d", "long max = Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2);", "max", "Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2)", "Math.max", "Math", "Math.max(Math.max(max1*max2,min1*min2),max1*min2)", "Math.max", "Math", "Math.max(max1*max2,min1*min2)", "Math.max", "Math", "max1*max2", "max1", "max2", "min1*min2", "min1", "min2", "max1*min2", "max1", "min2", "min1*max2", "min1", "max2", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String args[]", "args", "public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System .in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n long max1 = a>b?a:b;\n long min1 = a<=b?a:b;\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max2 = c>d?c:d;\n long min2 = c<=d?c:d;\n long max = Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2);\n System.out.println(max);\n }\n}", "public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System .in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n long max1 = a>b?a:b;\n long min1 = a<=b?a:b;\n int c = sc.nextInt();\n int d = sc.nextInt();\n long max2 = c>d?c:d;\n long min2 = c<=d?c:d;\n long max = Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2);\n System.out.println(max);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System .in); int a = sc.nextInt(); int b = sc.nextInt(); long max1 = a>b?a:b; long min1 = a<=b?a:b; int c = sc.nextInt(); int d = sc.nextInt(); long max2 = c>d?c:d; long min2 = c<=d?c:d; long max = Math.max(Math.max(Math.max(max1*max2,min1*min2),max1*min2),min1*max2); System.out.println(max); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 79, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 70, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.*;\n\npublic class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n long out = a * c;\n out = Math.max(out, a * d);\n out = Math.max(out, b * c);\n out = Math.max(out, b * d);\n System.out.println(out);\n }\n\n public static void main(String[] args){\n new Main().solve();\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n long out = a * c;\n out = Math.max(out, a * d);\n out = Math.max(out, b * c);\n out = Math.max(out, b * d);\n System.out.println(out);\n }\n\n public static void main(String[] args){\n new Main().solve();\n }\n}", "Main", "void solve(){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n long out = a * c;\n out = Math.max(out, a * d);\n out = Math.max(out, b * c);\n out = Math.max(out, b * d);\n System.out.println(out);\n }", "solve", "{\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n long out = a * c;\n out = Math.max(out, a * d);\n out = Math.max(out, b * c);\n out = Math.max(out, b * d);\n System.out.println(out);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "long b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "long c = scan.nextInt();", "c", "scan.nextInt()", "scan.nextInt", "scan", "long d = scan.nextInt();", "d", "scan.nextInt()", "scan.nextInt", "scan", "long out = a * c;", "out", "a * c", "a", "c", "out = Math.max(out, a * d)", "out", "Math.max(out, a * d)", "Math.max", "Math", "out", "a * d", "a", "d", "out = Math.max(out, b * c)", "out", "Math.max(out, b * c)", "Math.max", "Math", "out", "b * c", "b", "c", "out = Math.max(out, b * d)", "out", "Math.max(out, b * d)", "Math.max", "Math", "out", "b * d", "b", "d", "System.out.println(out)", "System.out.println", "System.out", "System", "System.out", "out", "public static void main(String[] args){\n new Main().solve();\n }", "main", "{\n new Main().solve();\n }", "new Main().solve()", "new Main().solve", "new Main()", "String[] args", "args", "public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n long out = a * c;\n out = Math.max(out, a * d);\n out = Math.max(out, b * c);\n out = Math.max(out, b * d);\n System.out.println(out);\n }\n\n public static void main(String[] args){\n new Main().solve();\n }\n}", "public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n long out = a * c;\n out = Math.max(out, a * d);\n out = Math.max(out, b * c);\n out = Math.max(out, b * d);\n System.out.println(out);\n }\n\n public static void main(String[] args){\n new Main().solve();\n }\n}", "Main" ]
import java.util.*; public class Main{ void solve(){ Scanner scan = new Scanner(System.in); long a = scan.nextInt(); long b = scan.nextInt(); long c = scan.nextInt(); long d = scan.nextInt(); long out = a * c; out = Math.max(out, a * d); out = Math.max(out, b * c); out = Math.max(out, b * d); System.out.println(out); } public static void main(String[] args){ new Main().solve(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 8, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 6, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.util.*;\n public class Main{\n \tpublic static void main(String[] args){\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong();\n \tlong b = s.nextLong();\n \tlong c = s.nextLong();\n \tlong d = s.nextLong();\n \t//long res= 1;\n long a1 = a*c;\n long a2 = b*d;\n long a3 = a*d;\n \tlong a4 = b*c;\n \tlong res1 = Math.max(a1,a2);\n \tlong res2 = Math.max(a3,a4);\n \tlong res = Math.max(res1,res2);\n \tSystem.out.println(res);\n }\n }", "import java.util.*;", "util.*", "java", "public class Main{\n \tpublic static void main(String[] args){\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong();\n \tlong b = s.nextLong();\n \tlong c = s.nextLong();\n \tlong d = s.nextLong();\n \t//long res= 1;\n long a1 = a*c;\n long a2 = b*d;\n long a3 = a*d;\n \tlong a4 = b*c;\n \tlong res1 = Math.max(a1,a2);\n \tlong res2 = Math.max(a3,a4);\n \tlong res = Math.max(res1,res2);\n \tSystem.out.println(res);\n }\n }", "Main", "public static void main(String[] args){\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong();\n \tlong b = s.nextLong();\n \tlong c = s.nextLong();\n \tlong d = s.nextLong();\n \t//long res= 1;\n long a1 = a*c;\n long a2 = b*d;\n long a3 = a*d;\n \tlong a4 = b*c;\n \tlong res1 = Math.max(a1,a2);\n \tlong res2 = Math.max(a3,a4);\n \tlong res = Math.max(res1,res2);\n \tSystem.out.println(res);\n }", "main", "{\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong();\n \tlong b = s.nextLong();\n \tlong c = s.nextLong();\n \tlong d = s.nextLong();\n \t//long res= 1;\n long a1 = a*c;\n long a2 = b*d;\n long a3 = a*d;\n \tlong a4 = b*c;\n \tlong res1 = Math.max(a1,a2);\n \tlong res2 = Math.max(a3,a4);\n \tlong res = Math.max(res1,res2);\n \tSystem.out.println(res);\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "long a = s.nextLong();", "a", "s.nextLong()", "s.nextLong", "s", "long b = s.nextLong();", "b", "s.nextLong()", "s.nextLong", "s", "long c = s.nextLong();", "c", "s.nextLong()", "s.nextLong", "s", "long d = s.nextLong();", "d", "s.nextLong()", "s.nextLong", "s", "long a1 = a*c;", "a1", "a*c", "a", "c", "long a2 = b*d;", "a2", "b*d", "b", "d", "long a3 = a*d;", "a3", "a*d", "a", "d", "long a4 = b*c;", "a4", "b*c", "b", "c", "long res1 = Math.max(a1,a2);", "res1", "Math.max(a1,a2)", "Math.max", "Math", "a1", "a2", "long res2 = Math.max(a3,a4);", "res2", "Math.max(a3,a4)", "Math.max", "Math", "a3", "a4", "long res = Math.max(res1,res2);", "res", "Math.max(res1,res2)", "Math.max", "Math", "res1", "res2", "System.out.println(res)", "System.out.println", "System.out", "System", "System.out", "res", "String[] args", "args", "public class Main{\n \tpublic static void main(String[] args){\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong();\n \tlong b = s.nextLong();\n \tlong c = s.nextLong();\n \tlong d = s.nextLong();\n \t//long res= 1;\n long a1 = a*c;\n long a2 = b*d;\n long a3 = a*d;\n \tlong a4 = b*c;\n \tlong res1 = Math.max(a1,a2);\n \tlong res2 = Math.max(a3,a4);\n \tlong res = Math.max(res1,res2);\n \tSystem.out.println(res);\n }\n }", "public class Main{\n \tpublic static void main(String[] args){\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong();\n \tlong b = s.nextLong();\n \tlong c = s.nextLong();\n \tlong d = s.nextLong();\n \t//long res= 1;\n long a1 = a*c;\n long a2 = b*d;\n long a3 = a*d;\n \tlong a4 = b*c;\n \tlong res1 = Math.max(a1,a2);\n \tlong res2 = Math.max(a3,a4);\n \tlong res = Math.max(res1,res2);\n \tSystem.out.println(res);\n }\n }", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); long a = s.nextLong(); long b = s.nextLong(); long c = s.nextLong(); long d = s.nextLong(); //long res= 1; long a1 = a*c; long a2 = b*d; long a3 = a*d; long a4 = b*c; long res1 = Math.max(a1,a2); long res2 = Math.max(a3,a4); long res = Math.max(res1,res2); System.out.println(res); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 207, 20 ], [ 207, 21 ], [ 21, 22 ], [ 21, 23 ], [ 207, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 26, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 26, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 26, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 70, 72 ], [ 67, 73 ], [ 73, 74 ], [ 73, 75 ], [ 24, 76 ], [ 76, 77 ], [ 207, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 80, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 98, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 98, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 114, 116 ], [ 98, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 80, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 78, 126 ], [ 126, 127 ], [ 207, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 139, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 144, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 138, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 128, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 163, 166 ], [ 166, 167 ], [ 128, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 180, 182 ], [ 175, 183 ], [ 183, 184 ], [ 184, 185 ], [ 175, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 187, 191 ], [ 191, 192 ], [ 170, 193 ], [ 193, 194 ], [ 168, 195 ], [ 195, 196 ], [ 128, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 204, 205 ], [ 0, 206 ], [ 206, 207 ], [ 206, 208 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.Random;\nimport java.util.StringTokenizer;\n\n//Main\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\n\t\tlong a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\n\t}\n\n\tstatic final Random random = new Random();\n\n\tstatic void ruffleSort(int[] a) {\n\t\tint n = a.length;// shuffle, then sort\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Random;", "Random", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\n\t\tlong a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\n\t}\n\n\tstatic final Random random = new Random();\n\n\tstatic void ruffleSort(int[] a) {\n\t\tint n = a.length;// shuffle, then sort\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n}", "Main", "static final Random random = new Random();", "random", "new Random()", "public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\n\t\tlong a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\n\t}", "main", "{\n\t\tFastScanner sc = new FastScanner();\n\n\t\tlong a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\n\t}", "FastScanner sc = new FastScanner();", "sc", "new FastScanner()", "long a = sc.nextLong()", "a", "sc.nextLong()", "sc.nextLong", "sc", "b = sc.nextLong()", "b", "sc.nextLong()", "sc.nextLong", "sc", "c = sc.nextLong()", "c", "sc.nextLong()", "sc.nextLong", "sc", "d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))))", "System.out.println", "System.out", "System", "System.out", "Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d)))", "Math.max", "Math", "a * c", "a", "c", "Math.max(a * d, Math.max(b * c, b * d))", "Math.max", "Math", "a * d", "a", "d", "Math.max(b * c, b * d)", "Math.max", "Math", "b * c", "b", "c", "b * d", "b", "d", "String[] args", "args", "static void ruffleSort(int[] a) {\n\t\tint n = a.length;// shuffle, then sort\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "ruffleSort", "{\n\t\tint n = a.length;// shuffle, then sort\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "int n = a.length;", "n", "a.length", "a", "a.length", "for (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}", "{\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}", "int oi = random.nextInt(n)", "oi", "random.nextInt(n)", "random.nextInt", "random", "n", "temp = a[oi];", "temp", "a[oi]", "a", "oi", "a[oi] = a[i]", "a[oi]", "a", "oi", "a[i]", "a", "i", "a[i] = temp", "a[i]", "a", "i", "temp", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "int[] a", "a", "static class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}", "FastScanner", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "int[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "readArray", "{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\n\t\tlong a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\n\t}\n\n\tstatic final Random random = new Random();\n\n\tstatic void ruffleSort(int[] a) {\n\t\tint n = a.length;// shuffle, then sort\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\n\t\tlong a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong(), d = sc.nextLong();\n\t\tSystem.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n\n\t}\n\n\tstatic final Random random = new Random();\n\n\tstatic void ruffleSort(int[] a) {\n\t\tint n = a.length;// shuffle, then sort\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint oi = random.nextInt(n), temp = a[oi];\n\t\t\ta[oi] = a[i];\n\t\t\ta[i] = temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] readArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.Random; import java.util.StringTokenizer; //Main public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); long a = sc.nextLong(), b = sc.nextLong(), c = sc.nextLong(), d = sc.nextLong(); System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d)))); } static final Random random = new Random(); static void ruffleSort(int[] a) { int n = a.length;// shuffle, then sort for (int i = 0; i < n; i++) { int oi = random.nextInt(n), temp = a[oi]; a[oi] = a[i]; a[i] = temp; } Arrays.sort(a); } static class FastScanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); String next() { while (!st.hasMoreTokens()) try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } int[] readArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } long nextLong() { return Long.parseLong(next()); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 2, 4, 18, 13, 17, 17, 17, 41, 13, 20, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 20, 17, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 4, 18, 13, 13, 4, 13, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 13, 2, 13, 13, 1, 0, 13, 13, 30, 30, 14, 2, 18, 13, 13, 13, 0, 18, 13, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 13, 2, 4, 18, 13, 17, 13, 4, 18, 13, 2, 13, 17, 2, 13, 4, 18, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 28, 13, 13, 30, 30, 28, 13, 13, 30, 30, 14, 2, 17, 13, 30, 40, 13, 29, 13, 23, 13, 12, 13, 30, 4, 13, 17, 12, 13, 30, 4, 13, 17, 4, 13, 13, 4, 13, 17, 23, 13, 12, 13, 30, 41, 13, 2, 17, 13, 29, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 13, 4, 18, 13, 13, 2, 13, 4, 18, 13, 30, 40, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 29, 17, 30, 29, 2, 13, 4, 13, 2, 13, 17, 23, 13, 12, 13, 30, 29, 8, 2, 2, 13, 17, 2, 13, 17, 13, 2, 4, 13, 2, 13, 17, 4, 13, 2, 13, 17, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 669, 8 ], [ 669, 9 ], [ 9, 10 ], [ 9, 11 ], [ 669, 12 ], [ 12, 13 ], [ 12, 14 ], [ 669, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 18, 21 ], [ 18, 22 ], [ 17, 23 ], [ 669, 24 ], [ 24, 25 ], [ 24, 26 ], [ 669, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 29, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 29, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 29, 46 ], [ 46, 47 ], [ 46, 48 ], [ 29, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 29, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 29, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 29, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 29, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 29, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 27, 87 ], [ 87, 88 ], [ 669, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 104, 105 ], [ 105, 106 ], [ 96, 107 ], [ 108, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 91, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 114, 124 ], [ 124, 125 ], [ 125, 126 ], [ 114, 127 ], [ 128, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 133, 135 ], [ 129, 136 ], [ 136, 137 ], [ 136, 138 ], [ 129, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 129, 143 ], [ 144, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 145, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 91, 156 ], [ 156, 157 ], [ 89, 158 ], [ 158, 159 ], [ 669, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 163, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 179, 189 ], [ 189, 190 ], [ 190, 191 ], [ 179, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 197, 200 ], [ 197, 201 ], [ 196, 202 ], [ 202, 203 ], [ 203, 204 ], [ 202, 205 ], [ 205, 206 ], [ 205, 207 ], [ 194, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 210, 213 ], [ 160, 214 ], [ 214, 215 ], [ 160, 216 ], [ 216, 217 ], [ 669, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 231, 232 ], [ 231, 233 ], [ 226, 234 ], [ 234, 235 ], [ 235, 236 ], [ 226, 237 ], [ 238, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 239, 244 ], [ 244, 245 ], [ 244, 246 ], [ 239, 247 ], [ 247, 248 ], [ 248, 249 ], [ 239, 250 ], [ 251, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 257 ], [ 252, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 258, 262 ], [ 220, 263 ], [ 263, 264 ], [ 218, 265 ], [ 265, 266 ], [ 218, 267 ], [ 267, 268 ], [ 218, 269 ], [ 269, 270 ], [ 669, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 273, 277 ], [ 277, 278 ], [ 277, 279 ], [ 277, 280 ], [ 281, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 282, 285 ], [ 286, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 287, 291 ], [ 291, 292 ], [ 292, 293 ], [ 273, 294 ], [ 294, 295 ], [ 271, 296 ], [ 296, 297 ], [ 669, 298 ], [ 298, 299 ], [ 298, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 669, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 306, 310 ], [ 310, 311 ], [ 310, 312 ], [ 306, 313 ], [ 313, 314 ], [ 313, 315 ], [ 304, 316 ], [ 316, 317 ], [ 669, 318 ], [ 318, 319 ], [ 318, 320 ], [ 320, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 323, 325 ], [ 320, 326 ], [ 326, 327 ], [ 327, 328 ], [ 328, 329 ], [ 318, 330 ], [ 330, 331 ], [ 669, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 335, 336 ], [ 335, 337 ], [ 334, 338 ], [ 338, 339 ], [ 338, 340 ], [ 334, 341 ], [ 341, 342 ], [ 341, 343 ], [ 343, 344 ], [ 344, 345 ], [ 334, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 346, 351 ], [ 351, 352 ], [ 351, 353 ], [ 353, 354 ], [ 353, 355 ], [ 346, 356 ], [ 356, 357 ], [ 357, 358 ], [ 346, 359 ], [ 360, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 363, 364 ], [ 362, 365 ], [ 365, 366 ], [ 366, 367 ], [ 365, 368 ], [ 365, 369 ], [ 369, 370 ], [ 369, 371 ], [ 371, 372 ], [ 372, 373 ], [ 361, 374 ], [ 374, 375 ], [ 375, 376 ], [ 334, 377 ], [ 377, 378 ], [ 332, 379 ], [ 379, 380 ], [ 669, 381 ], [ 381, 382 ], [ 381, 383 ], [ 383, 384 ], [ 384, 385 ], [ 385, 386 ], [ 386, 387 ], [ 669, 388 ], [ 388, 389 ], [ 388, 390 ], [ 390, 391 ], [ 391, 392 ], [ 392, 393 ], [ 393, 394 ], [ 669, 395 ], [ 395, 396 ], [ 395, 397 ], [ 397, 398 ], [ 398, 399 ], [ 399, 400 ], [ 400, 401 ], [ 669, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 406, 407 ], [ 407, 408 ], [ 669, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 412, 413 ], [ 413, 414 ], [ 414, 415 ], [ 415, 416 ], [ 416, 417 ], [ 669, 418 ], [ 418, 419 ], [ 418, 420 ], [ 420, 421 ], [ 421, 422 ], [ 422, 423 ], [ 423, 424 ], [ 423, 425 ], [ 422, 426 ], [ 426, 427 ], [ 426, 428 ], [ 421, 429 ], [ 429, 430 ], [ 430, 431 ], [ 421, 432 ], [ 432, 433 ], [ 433, 434 ], [ 434, 435 ], [ 434, 436 ], [ 436, 437 ], [ 436, 438 ], [ 438, 439 ], [ 438, 440 ], [ 418, 441 ], [ 441, 442 ], [ 669, 443 ], [ 443, 444 ], [ 443, 445 ], [ 445, 446 ], [ 446, 447 ], [ 447, 448 ], [ 448, 449 ], [ 449, 450 ], [ 449, 451 ], [ 448, 452 ], [ 452, 453 ], [ 452, 454 ], [ 447, 455 ], [ 447, 456 ], [ 456, 457 ], [ 457, 458 ], [ 457, 459 ], [ 459, 460 ], [ 459, 461 ], [ 456, 462 ], [ 462, 463 ], [ 462, 464 ], [ 464, 465 ], [ 464, 466 ], [ 443, 467 ], [ 467, 468 ], [ 669, 469 ], [ 469, 470 ], [ 469, 471 ], [ 471, 472 ], [ 472, 473 ], [ 473, 474 ], [ 474, 475 ], [ 474, 476 ], [ 473, 477 ], [ 477, 478 ], [ 477, 479 ], [ 477, 480 ], [ 469, 481 ], [ 481, 482 ], [ 469, 483 ], [ 483, 484 ], [ 669, 485 ], [ 485, 486 ], [ 485, 487 ], [ 487, 488 ], [ 488, 489 ], [ 489, 490 ], [ 490, 491 ], [ 490, 492 ], [ 489, 493 ], [ 493, 494 ], [ 493, 495 ], [ 493, 496 ], [ 485, 497 ], [ 497, 498 ], [ 485, 499 ], [ 499, 500 ], [ 669, 501 ], [ 501, 502 ], [ 501, 503 ], [ 503, 504 ], [ 504, 505 ], [ 505, 506 ], [ 506, 507 ], [ 506, 508 ], [ 505, 509 ], [ 505, 510 ], [ 510, 511 ], [ 510, 512 ], [ 510, 513 ], [ 513, 514 ], [ 513, 515 ], [ 501, 516 ], [ 516, 517 ], [ 501, 518 ], [ 518, 519 ], [ 669, 520 ], [ 520, 521 ], [ 520, 522 ], [ 522, 523 ], [ 523, 524 ], [ 524, 525 ], [ 525, 526 ], [ 525, 527 ], [ 524, 528 ], [ 524, 529 ], [ 529, 530 ], [ 529, 531 ], [ 529, 532 ], [ 532, 533 ], [ 532, 534 ], [ 520, 535 ], [ 535, 536 ], [ 520, 537 ], [ 537, 538 ], [ 669, 539 ], [ 539, 540 ], [ 539, 541 ], [ 541, 542 ], [ 542, 543 ], [ 543, 544 ], [ 544, 545 ], [ 544, 546 ], [ 542, 547 ], [ 539, 548 ], [ 548, 549 ], [ 669, 550 ], [ 550, 551 ], [ 550, 552 ], [ 552, 553 ], [ 553, 554 ], [ 554, 555 ], [ 555, 556 ], [ 555, 557 ], [ 553, 558 ], [ 550, 559 ], [ 559, 560 ], [ 669, 561 ], [ 561, 562 ], [ 561, 563 ], [ 563, 564 ], [ 564, 565 ], [ 565, 566 ], [ 566, 567 ], [ 565, 568 ], [ 565, 569 ], [ 561, 570 ], [ 570, 571 ], [ 561, 572 ], [ 572, 573 ], [ 669, 574 ], [ 574, 575 ], [ 574, 576 ], [ 576, 577 ], [ 577, 578 ], [ 578, 579 ], [ 579, 580 ], [ 578, 581 ], [ 578, 582 ], [ 574, 583 ], [ 583, 584 ], [ 574, 585 ], [ 585, 586 ], [ 669, 587 ], [ 587, 588 ], [ 587, 589 ], [ 589, 590 ], [ 590, 591 ], [ 591, 592 ], [ 592, 593 ], [ 591, 594 ], [ 591, 595 ], [ 587, 596 ], [ 596, 597 ], [ 587, 598 ], [ 598, 599 ], [ 669, 600 ], [ 600, 601 ], [ 600, 602 ], [ 602, 603 ], [ 603, 604 ], [ 604, 605 ], [ 605, 606 ], [ 604, 607 ], [ 604, 608 ], [ 600, 609 ], [ 609, 610 ], [ 600, 611 ], [ 611, 612 ], [ 0, 613 ], [ 613, 614 ], [ 613, 615 ], [ 615, 616 ], [ 613, 617 ], [ 617, 618 ], [ 613, 619 ], [ 619, 620 ], [ 613, 621 ], [ 621, 622 ], [ 621, 623 ], [ 623, 624 ], [ 624, 625 ], [ 625, 626 ], [ 625, 627 ], [ 624, 628 ], [ 623, 629 ], [ 629, 630 ], [ 630, 631 ], [ 630, 632 ], [ 629, 633 ], [ 623, 634 ], [ 634, 635 ], [ 635, 636 ], [ 635, 637 ], [ 634, 638 ], [ 621, 639 ], [ 639, 640 ], [ 621, 641 ], [ 641, 642 ], [ 621, 643 ], [ 643, 644 ], [ 0, 645 ], [ 645, 646 ], [ 645, 647 ], [ 647, 648 ], [ 645, 649 ], [ 649, 650 ], [ 645, 651 ], [ 651, 652 ], [ 651, 653 ], [ 653, 654 ], [ 654, 655 ], [ 655, 656 ], [ 655, 657 ], [ 654, 658 ], [ 653, 659 ], [ 659, 660 ], [ 660, 661 ], [ 660, 662 ], [ 659, 663 ], [ 651, 664 ], [ 664, 665 ], [ 651, 666 ], [ 666, 667 ], [ 0, 668 ], [ 668, 669 ], [ 668, 670 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tlong a = nl();\n\t\tlong b = nl();\n\t\tlong c = nl();\n\t\tlong d = nl();\n\t\tlong[] aa = new long[4];\n\t\taa[0] = a * c;\n\t\taa[1] = b * c;\n\t\t//aa[2] = 0 * c;\n\n\t\taa[2] = a * d;\n\t\taa[3] = b * d;\n\t\t//aa[5] = 0 * d;\n\n\t\tArrays.parallelSort(aa);\n\n\t\tout(aa[3]);\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\n\tpublic static int[] kousokusoinnsuubunkaihairetsu(int a) {\n\t\tint[] d = new int[a];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\td[i] = i;\n\t\t}\n\t\tfor (int i = 2; i * i < a; i++) {\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}\n\n\t\treturn d;\n\t}\n\n\tpublic static void permutation(String q, String ans) {\n\t\t// Base Case\n\t\tif (q.length() <= 1) {\n\t\t\tSystem.out.println(ans + q);\n\t\t}\n\t\t// General Case\n\t\telse {\n\t\t\tfor (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic char[][] same(char[][] c, int h, int w) {\n\n\t\tchar[][] a = new char[h][w];\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}\n\t\treturn a;\n\n\t}\n\n\tstatic int countkuro(char[][] c) {\n\n\t\tint count = 0;\n\t\tfor (char[] cc : c) {\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic void debug() {\n\n\t\tout(\"---\");\n\t}\n\n\tstatic void debug(Object a) {\n\n\t\tout(\"-------\");\n\t\tout(a);\n\t\tout(\"-------\");\n\t}\n\n\tstatic int ketasuu(int n) {\n\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int account(String str) {\n\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj);\n\t}\n\n\tstatic void outn(Object obj) {\n\t\tSystem.out.print(obj);\n\t}\n\n\tstatic double max(double d, double e) {\n\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic long min(long d, long e) {\n\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic int min(int a, int b) {\n\n\t\treturn Math.min(a, b);\n\t}\n}\n\nclass XY {\n\n\tint h;\n\tint w;\n\tint d;\n\n\tXY(int h, int w, int d) {\n\t\tthis.h = h;\n\t\tthis.w = w;\n\t\tthis.d = d;\n\t}\n}\n\nclass NE {\n\n\tint n;\n\tint e;\n\n\tNE(int n, int e) {\n\t\tthis.n = n;\n\t\tthis.e = e;\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tlong a = nl();\n\t\tlong b = nl();\n\t\tlong c = nl();\n\t\tlong d = nl();\n\t\tlong[] aa = new long[4];\n\t\taa[0] = a * c;\n\t\taa[1] = b * c;\n\t\t//aa[2] = 0 * c;\n\n\t\taa[2] = a * d;\n\t\taa[3] = b * d;\n\t\t//aa[5] = 0 * d;\n\n\t\tArrays.parallelSort(aa);\n\n\t\tout(aa[3]);\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\n\tpublic static int[] kousokusoinnsuubunkaihairetsu(int a) {\n\t\tint[] d = new int[a];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\td[i] = i;\n\t\t}\n\t\tfor (int i = 2; i * i < a; i++) {\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}\n\n\t\treturn d;\n\t}\n\n\tpublic static void permutation(String q, String ans) {\n\t\t// Base Case\n\t\tif (q.length() <= 1) {\n\t\t\tSystem.out.println(ans + q);\n\t\t}\n\t\t// General Case\n\t\telse {\n\t\t\tfor (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic char[][] same(char[][] c, int h, int w) {\n\n\t\tchar[][] a = new char[h][w];\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}\n\t\treturn a;\n\n\t}\n\n\tstatic int countkuro(char[][] c) {\n\n\t\tint count = 0;\n\t\tfor (char[] cc : c) {\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic void debug() {\n\n\t\tout(\"---\");\n\t}\n\n\tstatic void debug(Object a) {\n\n\t\tout(\"-------\");\n\t\tout(a);\n\t\tout(\"-------\");\n\t}\n\n\tstatic int ketasuu(int n) {\n\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int account(String str) {\n\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj);\n\t}\n\n\tstatic void outn(Object obj) {\n\t\tSystem.out.print(obj);\n\t}\n\n\tstatic double max(double d, double e) {\n\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic long min(long d, long e) {\n\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic int min(int a, int b) {\n\n\t\treturn Math.min(a, b);\n\t}\n}", "Main", "public static String Y = \"Yes\";", "Y", "\"Yes\"", "public static String N = \"No\";", "N", "\"No\"", "public static long MOD = (long) (Math.pow(10, 9) + 7);", "MOD", "(long) (Math.pow(10, 9) + 7)", "Math.pow(10, 9)", "Math.pow", "Math", "10", "9", "7", "public static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n\n\t\tlong a = nl();\n\t\tlong b = nl();\n\t\tlong c = nl();\n\t\tlong d = nl();\n\t\tlong[] aa = new long[4];\n\t\taa[0] = a * c;\n\t\taa[1] = b * c;\n\t\t//aa[2] = 0 * c;\n\n\t\taa[2] = a * d;\n\t\taa[3] = b * d;\n\t\t//aa[5] = 0 * d;\n\n\t\tArrays.parallelSort(aa);\n\n\t\tout(aa[3]);\n\n\t}", "main", "{\n\n\t\tlong a = nl();\n\t\tlong b = nl();\n\t\tlong c = nl();\n\t\tlong d = nl();\n\t\tlong[] aa = new long[4];\n\t\taa[0] = a * c;\n\t\taa[1] = b * c;\n\t\t//aa[2] = 0 * c;\n\n\t\taa[2] = a * d;\n\t\taa[3] = b * d;\n\t\t//aa[5] = 0 * d;\n\n\t\tArrays.parallelSort(aa);\n\n\t\tout(aa[3]);\n\n\t}", "long a = nl();", "a", "nl()", "nl", "long b = nl();", "b", "nl()", "nl", "long c = nl();", "c", "nl()", "nl", "long d = nl();", "d", "nl()", "nl", "long[] aa = new long[4];", "aa", "new long[4]", "4", "aa[0] = a * c", "aa[0]", "aa", "0", "a * c", "a", "c", "aa[1] = b * c", "aa[1]", "aa", "1", "b * c", "b", "c", "aa[2] = a * d", "aa[2]", "aa", "2", "a * d", "a", "d", "aa[3] = b * d", "aa[3]", "aa", "3", "b * d", "b", "d", "Arrays.parallelSort(aa)", "Arrays.parallelSort", "Arrays", "aa", "out(aa[3])", "out", "aa[3]", "aa", "3", "String[] args", "args", "public static int[] kousokusoinnsuubunkaihairetsu(int a) {\n\t\tint[] d = new int[a];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\td[i] = i;\n\t\t}\n\t\tfor (int i = 2; i * i < a; i++) {\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}\n\n\t\treturn d;\n\t}", "kousokusoinnsuubunkaihairetsu", "{\n\t\tint[] d = new int[a];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\td[i] = i;\n\t\t}\n\t\tfor (int i = 2; i * i < a; i++) {\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}\n\n\t\treturn d;\n\t}", "int[] d = new int[a];", "d", "new int[a]", "a", "for (int i = 0; i < a; i++) {\n\t\t\td[i] = i;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "{\n\t\t\td[i] = i;\n\t\t}", "{\n\t\t\td[i] = i;\n\t\t}", "d[i] = i", "d[i]", "d", "i", "i", "for (int i = 2; i * i < a; i++) {\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}", "int i = 2;", "int i = 2;", "i", "2", "i * i < a", "i * i", "i", "i", "a", "i++", "i++", "i", "{\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}", "{\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}", "for (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}", "int j = i * i;", "int j = i * i;", "j", "i * i", "i", "i", "j < a", "j", "a", "j += i", "j += i", "j", "i", "{\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}", "{\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}", "if (d[j] == j)\n\t\t\t\t\td[j] = i;", "d[j] == j", "d[j]", "d", "j", "j", "d[j] = i", "d[j]", "d", "j", "i", "return d;", "d", "int a", "a", "public static void permutation(String q, String ans) {\n\t\t// Base Case\n\t\tif (q.length() <= 1) {\n\t\t\tSystem.out.println(ans + q);\n\t\t}\n\t\t// General Case\n\t\telse {\n\t\t\tfor (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}\n\t\t}\n\t}", "permutation", "{\n\t\t// Base Case\n\t\tif (q.length() <= 1) {\n\t\t\tSystem.out.println(ans + q);\n\t\t}\n\t\t// General Case\n\t\telse {\n\t\t\tfor (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}\n\t\t}\n\t}", "if (q.length() <= 1) {\n\t\t\tSystem.out.println(ans + q);\n\t\t}\n\t\t// General Case\n\t\telse {\n\t\t\tfor (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}\n\t\t}", "q.length() <= 1", "q.length()", "q.length", "q", "1", "{\n\t\t\tSystem.out.println(ans + q);\n\t\t}", "System.out.println(ans + q)", "System.out.println", "System.out", "System", "System.out", "ans + q", "ans", "q", "{\n\t\t\tfor (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}\n\t\t}", "for (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < q.length()", "i", "q.length()", "q.length", "q", "i++", "i++", "i", "{\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}", "{\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}", "permutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i))", "permutation", "q.substring(0, i) + q.substring(i + 1)", "q.substring(0, i)", "q.substring", "q", "0", "i", "q.substring(i + 1)", "q.substring", "q", "i + 1", "i", "1", "ans + q.charAt(i)", "ans", "q.charAt(i)", "q.charAt", "q", "i", "String q", "q", "String ans", "ans", "static char[][] same(char[][] c, int h, int w) {\n\n\t\tchar[][] a = new char[h][w];\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}\n\t\treturn a;\n\n\t}", "same", "{\n\n\t\tchar[][] a = new char[h][w];\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}\n\t\treturn a;\n\n\t}", "char[][] a = new char[h][w];", "a", "new char[h][w]", "h", "w", "for (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < h", "i", "h", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}", "for (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < w", "j", "w", "j++", "j++", "j", "{\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}", "{\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}", "a[i][j] = c[i][j]", "a[i][j]", "a[i]", "a", "i", "j", "c[i][j]", "c[i]", "c", "i", "j", "return a;", "a", "char[][] c", "c", "int h", "h", "int w", "w", "static int countkuro(char[][] c) {\n\n\t\tint count = 0;\n\t\tfor (char[] cc : c) {\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}", "countkuro", "{\n\n\t\tint count = 0;\n\t\tfor (char[] cc : c) {\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}", "int count = 0;", "count", "0", "for (char[] cc : c) {\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "char[] cc", "c", "{\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}", "char ccc", "cc", "{\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}", "if ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}", "'#' == ccc", "'#'", "ccc", "{\n\t\t\t\t\tcount++;\n\t\t\t\t}", "count++", "count", "return count;", "count", "char[][] c", "c", "static void debug() {\n\n\t\tout(\"---\");\n\t}", "debug", "{\n\n\t\tout(\"---\");\n\t}", "out(\"---\")", "out", "\"---\"", "static void debug(Object a) {\n\n\t\tout(\"-------\");\n\t\tout(a);\n\t\tout(\"-------\");\n\t}", "debug", "{\n\n\t\tout(\"-------\");\n\t\tout(a);\n\t\tout(\"-------\");\n\t}", "out(\"-------\")", "out", "\"-------\"", "out(a)", "out", "a", "out(\"-------\")", "out", "\"-------\"", "Object a", "a", "static int ketasuu(int n) {\n\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}", "ketasuu", "{\n\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}", "String str = \"\" + n;", "str", "\"\" + n", "\"\"", "n", "return str.length();", "str.length()", "str.length", "str", "int n", "n", "static int account(String str) {\n\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}", "account", "{\n\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}", "String target = \"AC\";", "target", "\"AC\"", "int count = 0;", "count", "0", "int len = str.length();", "len", "str.length()", "str.length", "str", "for (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < len - 1", "i", "len - 1", "len", "1", "i++", "i++", "i", "{\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "if (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}", "target.equals(str.substring(i, i + target.length()))", "target.equals", "target", "str.substring(i, i + target.length())", "str.substring", "str", "i", "i + target.length()", "i", "target.length()", "target.length", "target", "{\n\t\t\t\tcount++;\n\t\t\t}", "count++", "count", "return count;", "count", "String str", "str", "static int ni() {\n\n\t\treturn sc.nextInt();\n\t}", "ni", "{\n\n\t\treturn sc.nextInt();\n\t}", "return sc.nextInt();", "sc.nextInt()", "sc.nextInt", "sc", "static long nl() {\n\n\t\treturn sc.nextLong();\n\t}", "nl", "{\n\n\t\treturn sc.nextLong();\n\t}", "return sc.nextLong();", "sc.nextLong()", "sc.nextLong", "sc", "static double nd() {\n\n\t\treturn sc.nextDouble();\n\t}", "nd", "{\n\n\t\treturn sc.nextDouble();\n\t}", "return sc.nextDouble();", "sc.nextDouble()", "sc.nextDouble", "sc", "static String n() {\n\n\t\treturn sc.next();\n\t}", "n", "{\n\n\t\treturn sc.next();\n\t}", "return sc.next();", "sc.next()", "sc.next", "sc", "static char[] nc() {\n\n\t\treturn sc.next().toCharArray();\n\t}", "nc", "{\n\n\t\treturn sc.next().toCharArray();\n\t}", "return sc.next().toCharArray();", "sc.next().toCharArray()", "sc.next().toCharArray", "sc.next()", "sc.next", "sc", "static int kaijo(int n) {\n\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}", "kaijo", "{\n\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}", "if (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}", "n == 0 || n == 1", "n == 0", "n", "0", "n == 1", "n", "1", "{\n\t\t\treturn 1;\n\t\t}", "return 1;", "1", "{\n\t\t\treturn n * kaijo(n - 1);\n\t\t}", "return n * kaijo(n - 1);", "n * kaijo(n - 1)", "n", "kaijo(n - 1)", "kaijo", "n - 1", "n", "1", "int n", "n", "static int fib(int n) {\n\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}", "fib", "{\n\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}", "return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);", "(n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1)", "(n == 1 || n == 0)", "n == 1", "n", "1", "n == 0", "n", "0", "n", "fib(n - 2) + fib(n - 1)", "fib(n - 2)", "fib", "n - 2", "n", "2", "fib(n - 1)", "fib", "n - 1", "n", "1", "int n", "n", "static long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}", "lcm", "{\n\n\t\treturn m * n / gcd(m, n);\n\t}", "return m * n / gcd(m, n);", "m * n / gcd(m, n)", "m * n", "m", "n", "gcd(m, n)", "gcd", "m", "n", "long m", "m", "long n", "n", "static int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}", "lcm", "{\n\n\t\treturn m * n / gcd(m, n);\n\t}", "return m * n / gcd(m, n);", "m * n / gcd(m, n)", "m * n", "m", "n", "gcd(m, n)", "gcd", "m", "n", "int m", "m", "int n", "n", "static long gcd(long a, long b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}", "gcd", "{\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}", "return (b == 0) ? a : gcd(b, a % b);", "(b == 0) ? a : gcd(b, a % b)", "(b == 0)", "b", "0", "a", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "long a", "a", "long b", "b", "static int gcd(int a, int b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}", "gcd", "{\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}", "return (b == 0) ? a : gcd(b, a % b);", "(b == 0) ? a : gcd(b, a % b)", "(b == 0)", "b", "0", "a", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "static void out(Object obj) {\n\t\tSystem.out.println(obj);\n\t}", "out", "{\n\t\tSystem.out.println(obj);\n\t}", "System.out.println(obj)", "System.out.println", "System.out", "System", "System.out", "obj", "Object obj", "obj", "static void outn(Object obj) {\n\t\tSystem.out.print(obj);\n\t}", "outn", "{\n\t\tSystem.out.print(obj);\n\t}", "System.out.print(obj)", "System.out.print", "System.out", "System", "System.out", "obj", "Object obj", "obj", "static double max(double d, double e) {\n\n\t\treturn Math.max(d, e);\n\t}", "max", "{\n\n\t\treturn Math.max(d, e);\n\t}", "return Math.max(d, e);", "Math.max(d, e)", "Math.max", "Math", "d", "e", "double d", "d", "double e", "e", "static long max(long a, long b) {\n\n\t\treturn Math.max(a, b);\n\t}", "max", "{\n\n\t\treturn Math.max(a, b);\n\t}", "return Math.max(a, b);", "Math.max(a, b)", "Math.max", "Math", "a", "b", "long a", "a", "long b", "b", "static long min(long d, long e) {\n\n\t\treturn Math.min(d, e);\n\t}", "min", "{\n\n\t\treturn Math.min(d, e);\n\t}", "return Math.min(d, e);", "Math.min(d, e)", "Math.min", "Math", "d", "e", "long d", "d", "long e", "e", "static int min(int a, int b) {\n\n\t\treturn Math.min(a, b);\n\t}", "min", "{\n\n\t\treturn Math.min(a, b);\n\t}", "return Math.min(a, b);", "Math.min(a, b)", "Math.min", "Math", "a", "b", "int a", "a", "int b", "b", "class XY {\n\n\tint h;\n\tint w;\n\tint d;\n\n\tXY(int h, int w, int d) {\n\t\tthis.h = h;\n\t\tthis.w = w;\n\t\tthis.d = d;\n\t}\n}", "XY", "int h;", "h", "int w;", "w", "int d;", "d", "XY(int h, int w, int d) {\n\t\tthis.h = h;\n\t\tthis.w = w;\n\t\tthis.d = d;\n\t}", "XY", "{\n\t\tthis.h = h;\n\t\tthis.w = w;\n\t\tthis.d = d;\n\t}", "this.h = h", "this.h", "this", "this.h", "h", "this.w = w", "this.w", "this", "this.w", "w", "this.d = d", "this.d", "this", "this.d", "d", "int h", "h", "int w", "w", "int d", "d", "class NE {\n\n\tint n;\n\tint e;\n\n\tNE(int n, int e) {\n\t\tthis.n = n;\n\t\tthis.e = e;\n\t}\n}", "NE", "int n;", "n", "int e;", "e", "NE(int n, int e) {\n\t\tthis.n = n;\n\t\tthis.e = e;\n\t}", "NE", "{\n\t\tthis.n = n;\n\t\tthis.e = e;\n\t}", "this.n = n", "this.n", "this", "this.n", "n", "this.e = e", "this.e", "this", "this.e", "e", "int n", "n", "int e", "e", "public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tlong a = nl();\n\t\tlong b = nl();\n\t\tlong c = nl();\n\t\tlong d = nl();\n\t\tlong[] aa = new long[4];\n\t\taa[0] = a * c;\n\t\taa[1] = b * c;\n\t\t//aa[2] = 0 * c;\n\n\t\taa[2] = a * d;\n\t\taa[3] = b * d;\n\t\t//aa[5] = 0 * d;\n\n\t\tArrays.parallelSort(aa);\n\n\t\tout(aa[3]);\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\n\tpublic static int[] kousokusoinnsuubunkaihairetsu(int a) {\n\t\tint[] d = new int[a];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\td[i] = i;\n\t\t}\n\t\tfor (int i = 2; i * i < a; i++) {\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}\n\n\t\treturn d;\n\t}\n\n\tpublic static void permutation(String q, String ans) {\n\t\t// Base Case\n\t\tif (q.length() <= 1) {\n\t\t\tSystem.out.println(ans + q);\n\t\t}\n\t\t// General Case\n\t\telse {\n\t\t\tfor (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic char[][] same(char[][] c, int h, int w) {\n\n\t\tchar[][] a = new char[h][w];\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}\n\t\treturn a;\n\n\t}\n\n\tstatic int countkuro(char[][] c) {\n\n\t\tint count = 0;\n\t\tfor (char[] cc : c) {\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic void debug() {\n\n\t\tout(\"---\");\n\t}\n\n\tstatic void debug(Object a) {\n\n\t\tout(\"-------\");\n\t\tout(a);\n\t\tout(\"-------\");\n\t}\n\n\tstatic int ketasuu(int n) {\n\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int account(String str) {\n\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj);\n\t}\n\n\tstatic void outn(Object obj) {\n\t\tSystem.out.print(obj);\n\t}\n\n\tstatic double max(double d, double e) {\n\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic long min(long d, long e) {\n\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic int min(int a, int b) {\n\n\t\treturn Math.min(a, b);\n\t}\n}", "public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tlong a = nl();\n\t\tlong b = nl();\n\t\tlong c = nl();\n\t\tlong d = nl();\n\t\tlong[] aa = new long[4];\n\t\taa[0] = a * c;\n\t\taa[1] = b * c;\n\t\t//aa[2] = 0 * c;\n\n\t\taa[2] = a * d;\n\t\taa[3] = b * d;\n\t\t//aa[5] = 0 * d;\n\n\t\tArrays.parallelSort(aa);\n\n\t\tout(aa[3]);\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\n\tpublic static int[] kousokusoinnsuubunkaihairetsu(int a) {\n\t\tint[] d = new int[a];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\td[i] = i;\n\t\t}\n\t\tfor (int i = 2; i * i < a; i++) {\n\t\t\tfor (int j = i * i; j < a; j += i) {\n\t\t\t\tif (d[j] == j)\n\t\t\t\t\td[j] = i;\n\t\t\t}\n\n\t\t}\n\n\t\treturn d;\n\t}\n\n\tpublic static void permutation(String q, String ans) {\n\t\t// Base Case\n\t\tif (q.length() <= 1) {\n\t\t\tSystem.out.println(ans + q);\n\t\t}\n\t\t// General Case\n\t\telse {\n\t\t\tfor (int i = 0; i < q.length(); i++) {\n\t\t\t\tpermutation(q.substring(0, i) + q.substring(i + 1),\n\t\t\t\t\t\tans + q.charAt(i));\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic char[][] same(char[][] c, int h, int w) {\n\n\t\tchar[][] a = new char[h][w];\n\t\tfor (int i = 0; i < h; i++) {\n\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\ta[i][j] = c[i][j];\n\t\t\t}\n\t\t}\n\t\treturn a;\n\n\t}\n\n\tstatic int countkuro(char[][] c) {\n\n\t\tint count = 0;\n\t\tfor (char[] cc : c) {\n\t\t\tfor (char ccc : cc) {\n\t\t\t\tif ('#' == ccc) {\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic void debug() {\n\n\t\tout(\"---\");\n\t}\n\n\tstatic void debug(Object a) {\n\n\t\tout(\"-------\");\n\t\tout(a);\n\t\tout(\"-------\");\n\t}\n\n\tstatic int ketasuu(int n) {\n\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int account(String str) {\n\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj);\n\t}\n\n\tstatic void outn(Object obj) {\n\t\tSystem.out.print(obj);\n\t}\n\n\tstatic double max(double d, double e) {\n\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic long min(long d, long e) {\n\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic int min(int a, int b) {\n\n\t\treturn Math.min(a, b);\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static String Y = "Yes"; public static String N = "No"; public static long MOD = (long) (Math.pow(10, 9) + 7); public static Scanner sc = new Scanner(System.in); public static void main(String[] args) { long a = nl(); long b = nl(); long c = nl(); long d = nl(); long[] aa = new long[4]; aa[0] = a * c; aa[1] = b * c; //aa[2] = 0 * c; aa[2] = a * d; aa[3] = b * d; //aa[5] = 0 * d; Arrays.parallelSort(aa); out(aa[3]); } /* * 以下メソッド集 */ public static int[] kousokusoinnsuubunkaihairetsu(int a) { int[] d = new int[a]; for (int i = 0; i < a; i++) { d[i] = i; } for (int i = 2; i * i < a; i++) { for (int j = i * i; j < a; j += i) { if (d[j] == j) d[j] = i; } } return d; } public static void permutation(String q, String ans) { // Base Case if (q.length() <= 1) { System.out.println(ans + q); } // General Case else { for (int i = 0; i < q.length(); i++) { permutation(q.substring(0, i) + q.substring(i + 1), ans + q.charAt(i)); } } } static char[][] same(char[][] c, int h, int w) { char[][] a = new char[h][w]; for (int i = 0; i < h; i++) { for (int j = 0; j < w; j++) { a[i][j] = c[i][j]; } } return a; } static int countkuro(char[][] c) { int count = 0; for (char[] cc : c) { for (char ccc : cc) { if ('#' == ccc) { count++; } } } return count; } static void debug() { out("---"); } static void debug(Object a) { out("-------"); out(a); out("-------"); } static int ketasuu(int n) { String str = "" + n; return str.length(); } static int account(String str) { String target = "AC"; int count = 0; int len = str.length(); for (int i = 0; i < len - 1; i++) { if (target.equals(str.substring(i, i + target.length()))) { count++; } } return count; } static int ni() { return sc.nextInt(); } static long nl() { return sc.nextLong(); } static double nd() { return sc.nextDouble(); } static String n() { return sc.next(); } static char[] nc() { return sc.next().toCharArray(); } static int kaijo(int n) { if (n == 0 || n == 1) { return 1; } else { return n * kaijo(n - 1); } } static int fib(int n) { return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1); } static long lcm(long m, long n) { return m * n / gcd(m, n); } static int lcm(int m, int n) { return m * n / gcd(m, n); } static long gcd(long a, long b) { return (b == 0) ? a : gcd(b, a % b); } static int gcd(int a, int b) { return (b == 0) ? a : gcd(b, a % b); } static void out(Object obj) { System.out.println(obj); } static void outn(Object obj) { System.out.print(obj); } static double max(double d, double e) { return Math.max(d, e); } static long max(long a, long b) { return Math.max(a, b); } static long min(long d, long e) { return Math.min(d, e); } static int min(int a, int b) { return Math.min(a, b); } } class XY { int h; int w; int d; XY(int h, int w, int d) { this.h = h; this.w = w; this.d = d; } } class NE { int n; int e; NE(int n, int e) { this.n = n; this.e = e; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 4, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 0, 13, 4, 13, 13, 2, 13, 13, 0, 13, 4, 13, 13, 2, 13, 13, 0, 13, 4, 13, 13, 2, 13, 13, 0, 13, 4, 13, 13, 2, 13, 13, 29, 13, 6, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 29, 17, 29, 17, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 14, 2, 2, 13, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 40, 13, 14, 2, 2, 13, 13, 13, 40, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 0, 13, 13, 14, 2, 2, 13, 13, 13, 0, 13, 2, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 9, 41, 13, 17, 42, 2, 2, 13, 13, 17, 30, 40, 13, 0, 13, 13, 4, 18, 13, 20, 14, 2, 13, 17, 4, 18, 13, 20, 29, 13, 23, 13, 12, 13, 30, 41, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 37, 20, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 4, 18, 13, 13, 13, 17, 37, 20, 41, 13, 13, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 41, 13, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 0, 13, 13, 29, 13, 23, 13, 23, 13, 6, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 29, 2, 17, 2, 13, 2, 17, 13, 23, 13, 23, 13, 12, 13, 30, 29, 0, 13, 2, 17, 13, 23, 13, 23, 13, 12, 13, 30, 29, 0, 13, 40, 2, 17, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 4, 13, 13, 13, 4, 13, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 40, 13, 23, 13, 6, 13, 41, 13, 17, 12, 13, 30, 4, 13, 13, 13, 23, 13, 23, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 563, 20 ], [ 563, 21 ], [ 21, 22 ], [ 21, 23 ], [ 563, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 26, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 24, 41 ], [ 41, 42 ], [ 563, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 47, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 47, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 47, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 47, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 47, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 78, 81 ], [ 81, 82 ], [ 81, 83 ], [ 47, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 47, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 47, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 102, 105 ], [ 105, 106 ], [ 105, 107 ], [ 47, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 114, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 121, 131 ], [ 131, 132 ], [ 132, 133 ], [ 121, 134 ], [ 135, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 136, 142 ], [ 142, 143 ], [ 114, 144 ], [ 144, 145 ], [ 112, 146 ], [ 146, 147 ], [ 110, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 154, 164 ], [ 164, 165 ], [ 165, 166 ], [ 154, 167 ], [ 168, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 169, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 176, 179 ], [ 175, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 180, 186 ], [ 186, 187 ], [ 187, 188 ], [ 186, 189 ], [ 189, 190 ], [ 189, 191 ], [ 150, 192 ], [ 192, 193 ], [ 193, 194 ], [ 192, 195 ], [ 150, 196 ], [ 196, 197 ], [ 148, 198 ], [ 198, 199 ], [ 110, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 206, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 206, 216 ], [ 216, 217 ], [ 217, 218 ], [ 206, 219 ], [ 220, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 221, 227 ], [ 227, 228 ], [ 228, 229 ], [ 227, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 235 ], [ 230, 236 ], [ 236, 237 ], [ 202, 238 ], [ 238, 239 ], [ 200, 240 ], [ 240, 241 ], [ 110, 242 ], [ 242, 243 ], [ 242, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 244, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 248, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 257 ], [ 248, 258 ], [ 258, 259 ], [ 259, 260 ], [ 248, 261 ], [ 262, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 264, 268 ], [ 263, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 269, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 275, 277 ], [ 274, 278 ], [ 273, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 281, 283 ], [ 244, 284 ], [ 284, 285 ], [ 242, 286 ], [ 286, 287 ], [ 110, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 291, 292 ], [ 291, 293 ], [ 290, 294 ], [ 294, 295 ], [ 295, 296 ], [ 296, 297 ], [ 296, 298 ], [ 294, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 299, 303 ], [ 294, 304 ], [ 304, 305 ], [ 305, 306 ], [ 294, 307 ], [ 308, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 310, 314 ], [ 309, 315 ], [ 308, 316 ], [ 316, 317 ], [ 316, 318 ], [ 308, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 321, 323 ], [ 320, 324 ], [ 319, 325 ], [ 325, 326 ], [ 326, 327 ], [ 325, 328 ], [ 328, 329 ], [ 328, 330 ], [ 308, 331 ], [ 331, 332 ], [ 332, 333 ], [ 331, 334 ], [ 290, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 335, 339 ], [ 339, 340 ], [ 340, 341 ], [ 339, 342 ], [ 290, 343 ], [ 343, 344 ], [ 288, 345 ], [ 345, 346 ], [ 110, 347 ], [ 347, 348 ], [ 347, 349 ], [ 349, 350 ], [ 350, 351 ], [ 349, 352 ], [ 352, 353 ], [ 353, 354 ], [ 354, 355 ], [ 354, 356 ], [ 353, 357 ], [ 357, 358 ], [ 357, 359 ], [ 352, 360 ], [ 360, 361 ], [ 361, 362 ], [ 349, 363 ], [ 363, 364 ], [ 364, 365 ], [ 365, 366 ], [ 365, 367 ], [ 367, 368 ], [ 367, 369 ], [ 364, 370 ], [ 363, 371 ], [ 371, 372 ], [ 372, 373 ], [ 372, 374 ], [ 371, 375 ], [ 375, 376 ], [ 375, 377 ], [ 349, 378 ], [ 378, 379 ], [ 347, 380 ], [ 380, 381 ], [ 347, 382 ], [ 382, 383 ], [ 110, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 387, 388 ], [ 388, 389 ], [ 389, 390 ], [ 390, 391 ], [ 389, 392 ], [ 389, 393 ], [ 388, 394 ], [ 387, 395 ], [ 395, 396 ], [ 386, 397 ], [ 397, 398 ], [ 397, 399 ], [ 386, 400 ], [ 400, 401 ], [ 400, 402 ], [ 386, 403 ], [ 403, 404 ], [ 403, 405 ], [ 386, 406 ], [ 406, 407 ], [ 407, 408 ], [ 407, 409 ], [ 406, 410 ], [ 410, 411 ], [ 411, 412 ], [ 411, 413 ], [ 413, 414 ], [ 413, 415 ], [ 410, 416 ], [ 416, 417 ], [ 410, 418 ], [ 418, 419 ], [ 418, 420 ], [ 420, 421 ], [ 420, 422 ], [ 410, 423 ], [ 423, 424 ], [ 423, 425 ], [ 410, 426 ], [ 426, 427 ], [ 426, 428 ], [ 410, 429 ], [ 429, 430 ], [ 429, 431 ], [ 410, 432 ], [ 432, 433 ], [ 432, 434 ], [ 434, 435 ], [ 434, 436 ], [ 410, 437 ], [ 437, 438 ], [ 437, 439 ], [ 410, 440 ], [ 440, 441 ], [ 440, 442 ], [ 410, 443 ], [ 443, 444 ], [ 443, 445 ], [ 386, 446 ], [ 446, 447 ], [ 446, 448 ], [ 386, 449 ], [ 449, 450 ], [ 450, 451 ], [ 450, 452 ], [ 449, 453 ], [ 453, 454 ], [ 453, 455 ], [ 386, 456 ], [ 456, 457 ], [ 384, 458 ], [ 458, 459 ], [ 384, 460 ], [ 460, 461 ], [ 0, 462 ], [ 462, 463 ], [ 462, 464 ], [ 464, 465 ], [ 464, 466 ], [ 466, 467 ], [ 467, 468 ], [ 468, 469 ], [ 469, 470 ], [ 468, 471 ], [ 464, 472 ], [ 472, 473 ], [ 462, 474 ], [ 474, 475 ], [ 474, 476 ], [ 476, 477 ], [ 477, 478 ], [ 478, 479 ], [ 478, 480 ], [ 480, 481 ], [ 480, 482 ], [ 482, 483 ], [ 482, 484 ], [ 474, 485 ], [ 485, 486 ], [ 474, 487 ], [ 487, 488 ], [ 462, 489 ], [ 489, 490 ], [ 489, 491 ], [ 491, 492 ], [ 492, 493 ], [ 493, 494 ], [ 493, 495 ], [ 495, 496 ], [ 495, 497 ], [ 489, 498 ], [ 498, 499 ], [ 489, 500 ], [ 500, 501 ], [ 462, 502 ], [ 502, 503 ], [ 502, 504 ], [ 504, 505 ], [ 505, 506 ], [ 506, 507 ], [ 506, 508 ], [ 508, 509 ], [ 509, 510 ], [ 509, 511 ], [ 502, 512 ], [ 512, 513 ], [ 502, 514 ], [ 514, 515 ], [ 462, 516 ], [ 516, 517 ], [ 516, 518 ], [ 518, 519 ], [ 519, 520 ], [ 520, 521 ], [ 521, 522 ], [ 521, 523 ], [ 521, 524 ], [ 520, 525 ], [ 525, 526 ], [ 525, 527 ], [ 525, 528 ], [ 520, 529 ], [ 529, 530 ], [ 529, 531 ], [ 529, 532 ], [ 516, 533 ], [ 533, 534 ], [ 516, 535 ], [ 535, 536 ], [ 462, 537 ], [ 537, 538 ], [ 537, 539 ], [ 539, 540 ], [ 540, 541 ], [ 541, 542 ], [ 537, 543 ], [ 543, 544 ], [ 0, 545 ], [ 545, 546 ], [ 545, 547 ], [ 547, 548 ], [ 547, 549 ], [ 545, 550 ], [ 550, 551 ], [ 550, 552 ], [ 552, 553 ], [ 553, 554 ], [ 553, 555 ], [ 553, 556 ], [ 550, 557 ], [ 557, 558 ], [ 550, 559 ], [ 559, 560 ], [ 545, 561 ], [ 0, 562 ], [ 562, 563 ], [ 562, 564 ] ]
[ "import java.util.AbstractMap;\nimport java.util.ArrayList;\nimport java.util.Collection;\nimport java.util.Collections;\nimport java.util.Scanner;\nimport static java.lang.Math.*;\n\npublic class Main {\n final static long MOD = 1000000007;\n\n public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long max = Long.MIN_VALUE;\n max = max(max,a*c);\n max = max(max,a*d);\n max = max(max,b*c);\n max = max(max,b*d);\n return max;\n }\n }\n\n}\n\nclass ChenNumberUtil {\n /**\n * nが素数かどうかを判定します。\n *\n * @param n 素数か判定したい値\n * @return boolean 素数か否か\n */\n static boolean isPrime(long n) {\n if (n == 1)\n return false;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n /**\n * nの約数の配列を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static Collection<Long> getDivisors(long n) {\n ArrayList<Long> al = new ArrayList<>();\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }\n\n /**\n * nの約数の個数を求めます。\n *\n * @param n 約数の個数を取得したい値\n * @return 約数の個数\n */\n static long getDivisorsCount(long n) {\n long count = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }\n return count;\n }\n\n /**\n * nの約数の総和を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static long getDivisorsSum(long n) {\n long sum = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }\n return sum;\n }\n\n /**\n * nの素因数分解の数列を求めます。\n *\n * @param n , not {@code null}\n * @return 素因数分解のペア配列 <素因数, 指数>\n */\n static Collection<Pair<Long, Long>> primeFactorize(long n) {\n ArrayList<Pair<Long, Long>> al = new ArrayList<>();\n for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }\n if (n != 1)\n al.add(new Pair<>(n, 1l));\n return al;\n }\n\n /**\n * 最大公約数を求めます。1が返る場合、xとyは互いに素です。\n *\n * @param x 自然数1\n * @param y 自然数2\n * @return 最大公約数\n * @throws Error x,yのどちらかが0だよ\n */\n static long getGCD(long x, long y) throws Error {\n long r;\n if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }\n while ((r = x % y) != 0) {\n x = y;\n y = r;\n }\n return y;\n }\n\n /**\n *\n * @param a\n * @param p\n * @return\n * @throws Error\n */\n static long modInvert(long a, long p) throws Error {\n if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");\n long b = p, u = 1, v = 0;\n while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }\n u %= p;\n if (u < 0)\n u += p;\n return u;\n }\n}\n\nclass ChenBitUtil {\n static int popCount(int bit) {\n return Integer.bitCount(bit);\n }\n\n static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }\n\n static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }\n\n static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }\n\n static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }\n\n static int reverseAll(int bit) {\n return ~bit;\n }\n}\n\n/**\n * ペアで値を格納します\n *\n * @param <K>\n * @param <V>\n */\nclass Pair<K, V> extends AbstractMap.SimpleEntry<K, V> {\n /** serialVersionUID. */\n private static final long serialVersionUID = 6411527075103472113L;\n\n public Pair(final K key, final V value) {\n super(key, value);\n }\n}", "import java.util.AbstractMap;", "AbstractMap", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collection;", "Collection", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "public class Main {\n final static long MOD = 1000000007;\n\n public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long max = Long.MIN_VALUE;\n max = max(max,a*c);\n max = max(max,a*d);\n max = max(max,b*c);\n max = max(max,b*d);\n return max;\n }\n }\n\n}", "Main", "final static long MOD = 1000000007;", "MOD", "1000000007", "public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }", "main", "{\n Object o = run();\n if (o != null)\n System.out.println(o);\n }", "Object o = run();", "o", "run()", "run", "if (o != null)\n System.out.println(o);", "o != null", "o", "null", "System.out.println(o)", "System.out.println", "System.out", "System", "System.out", "o", "String[] args", "args", "static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long max = Long.MIN_VALUE;\n max = max(max,a*c);\n max = max(max,a*d);\n max = max(max,b*c);\n max = max(max,b*d);\n return max;\n }\n }", "run", "{\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long max = Long.MIN_VALUE;\n max = max(max,a*c);\n max = max(max,a*d);\n max = max(max,b*c);\n max = max(max,b*d);\n return max;\n }\n }", "try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long max = Long.MIN_VALUE;\n max = max(max,a*c);\n max = max(max,a*d);\n max = max(max,b*c);\n max = max(max,b*d);\n return max;\n }", "{\n // Main Code\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long max = Long.MIN_VALUE;\n max = max(max,a*c);\n max = max(max,a*d);\n max = max(max,b*c);\n max = max(max,b*d);\n return max;\n }", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long max = Long.MIN_VALUE;", "max", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "max = max(max,a*c)", "max", "max(max,a*c)", "max", "max", "a*c", "a", "c", "max = max(max,a*d)", "max", "max(max,a*d)", "max", "max", "a*d", "a", "d", "max = max(max,b*c)", "max", "max(max,b*c)", "max", "max", "b*c", "b", "c", "max = max(max,b*d)", "max", "max(max,b*d)", "max", "max", "b*d", "b", "d", "return max;", "max", "class ChenNumberUtil {\n /**\n * nが素数かどうかを判定します。\n *\n * @param n 素数か判定したい値\n * @return boolean 素数か否か\n */\n static boolean isPrime(long n) {\n if (n == 1)\n return false;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n /**\n * nの約数の配列を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static Collection<Long> getDivisors(long n) {\n ArrayList<Long> al = new ArrayList<>();\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }\n\n /**\n * nの約数の個数を求めます。\n *\n * @param n 約数の個数を取得したい値\n * @return 約数の個数\n */\n static long getDivisorsCount(long n) {\n long count = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }\n return count;\n }\n\n /**\n * nの約数の総和を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static long getDivisorsSum(long n) {\n long sum = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }\n return sum;\n }\n\n /**\n * nの素因数分解の数列を求めます。\n *\n * @param n , not {@code null}\n * @return 素因数分解のペア配列 <素因数, 指数>\n */\n static Collection<Pair<Long, Long>> primeFactorize(long n) {\n ArrayList<Pair<Long, Long>> al = new ArrayList<>();\n for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }\n if (n != 1)\n al.add(new Pair<>(n, 1l));\n return al;\n }\n\n /**\n * 最大公約数を求めます。1が返る場合、xとyは互いに素です。\n *\n * @param x 自然数1\n * @param y 自然数2\n * @return 最大公約数\n * @throws Error x,yのどちらかが0だよ\n */\n static long getGCD(long x, long y) throws Error {\n long r;\n if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }\n while ((r = x % y) != 0) {\n x = y;\n y = r;\n }\n return y;\n }\n\n /**\n *\n * @param a\n * @param p\n * @return\n * @throws Error\n */\n static long modInvert(long a, long p) throws Error {\n if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");\n long b = p, u = 1, v = 0;\n while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }\n u %= p;\n if (u < 0)\n u += p;\n return u;\n }\n}", "ChenNumberUtil", "/**\n * nが素数かどうかを判定します。\n *\n * @param n 素数か判定したい値\n * @return boolean 素数か否か\n */\n static boolean isPrime(long n) {\n if (n == 1)\n return false;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }", "isPrime", "{\n if (n == 1)\n return false;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }", "if (n == 1)\n return false;", "n == 1", "n", "1", "return false;", "false", "for (long i = 1; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }", "long i = 1;", "long i = 1;", "i", "1", "i * i <= n", "i * i", "i", "i", "n", "i++", "i++", "i", "{\n if (n % i == 0)\n return false;\n }", "{\n if (n % i == 0)\n return false;\n }", "if (n % i == 0)\n return false;", "n % i == 0", "n % i", "n", "i", "0", "return false;", "false", "return true;", "true", "long n", "n", "/**\n * nの約数の配列を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static Collection<Long> getDivisors(long n) {\n ArrayList<Long> al = new ArrayList<>();\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }", "getDivisors", "{\n ArrayList<Long> al = new ArrayList<>();\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }\n Collections.sort(al);\n return al;\n }", "ArrayList<Long> al = new ArrayList<>();", "al", "new ArrayList<>()", "for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }", "long i = 1;", "long i = 1;", "i", "1", "i * i <= n", "i * i", "i", "i", "n", "i++", "i++", "i", "{\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }", "{\n if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }\n }", "if (n % i == 0) {\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }", "n % i == 0", "n % i", "n", "i", "0", "{\n al.add(i);\n if (n / i != i)\n al.add(n / i);\n }", "al.add(i)", "al.add", "al", "i", "if (n / i != i)\n al.add(n / i);", "n / i != i", "n / i", "n", "i", "i", "al.add(n / i)", "al.add", "al", "n / i", "n", "i", "Collections.sort(al)", "Collections.sort", "Collections", "al", "return al;", "al", "long n", "n", "/**\n * nの約数の個数を求めます。\n *\n * @param n 約数の個数を取得したい値\n * @return 約数の個数\n */\n static long getDivisorsCount(long n) {\n long count = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }\n return count;\n }", "getDivisorsCount", "{\n long count = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }\n return count;\n }", "long count = 0;", "count", "0", "for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }", "long i = 1;", "long i = 1;", "i", "1", "i * i <= n", "i * i", "i", "i", "n", "i++", "i++", "i", "{\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }", "{\n if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }\n }", "if (n % i == 0) {\n count++;\n if (n / i != i)\n count++;\n }", "n % i == 0", "n % i", "n", "i", "0", "{\n count++;\n if (n / i != i)\n count++;\n }", "count++", "count", "if (n / i != i)\n count++;", "n / i != i", "n / i", "n", "i", "i", "count++", "count", "return count;", "count", "long n", "n", "/**\n * nの約数の総和を求めます。\n *\n * @param n 約数を取得したい値\n * @return 約数の配列\n */\n static long getDivisorsSum(long n) {\n long sum = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }\n return sum;\n }", "getDivisorsSum", "{\n long sum = 0;\n for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }\n return sum;\n }", "long sum = 0;", "sum", "0", "for (long i = 1; i * i <= n; i++) {\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }", "long i = 1;", "long i = 1;", "i", "1", "i * i <= n", "i * i", "i", "i", "n", "i++", "i++", "i", "{\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }", "{\n if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }\n }", "if (n % i == 0) {\n sum += i;\n if (n / i != i)\n sum += n / i;\n }", "n % i == 0", "n % i", "n", "i", "0", "{\n sum += i;\n if (n / i != i)\n sum += n / i;\n }", "sum += i", "sum", "i", "if (n / i != i)\n sum += n / i;", "n / i != i", "n / i", "n", "i", "i", "sum += n / i", "sum", "n / i", "n", "i", "return sum;", "sum", "long n", "n", "/**\n * nの素因数分解の数列を求めます。\n *\n * @param n , not {@code null}\n * @return 素因数分解のペア配列 <素因数, 指数>\n */\n static Collection<Pair<Long, Long>> primeFactorize(long n) {\n ArrayList<Pair<Long, Long>> al = new ArrayList<>();\n for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }\n if (n != 1)\n al.add(new Pair<>(n, 1l));\n return al;\n }", "primeFactorize", "{\n ArrayList<Pair<Long, Long>> al = new ArrayList<>();\n for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }\n if (n != 1)\n al.add(new Pair<>(n, 1l));\n return al;\n }", "ArrayList<Pair<Long, Long>> al = new ArrayList<>();", "al", "new ArrayList<>()", "for (long a = 2; a * a <= n; ++a) {\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }", "long a = 2;", "long a = 2;", "a", "2", "a * a <= n", "a * a", "a", "a", "n", "++a", "++a", "a", "{\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }", "{\n if (n % a != 0)\n continue;\n long ex = 0;\n\n while (n % a == 0) {\n ex++;\n n /= a;\n }\n\n al.add(new Pair<>(a, ex));\n }", "if (n % a != 0)\n continue;", "n % a != 0", "n % a", "n", "a", "0", "continue;", "long ex = 0;", "ex", "0", "while (n % a == 0) {\n ex++;\n n /= a;\n }", "n % a == 0", "n % a", "n", "a", "0", "{\n ex++;\n n /= a;\n }", "ex++", "ex", "n /= a", "n", "a", "al.add(new Pair<>(a, ex))", "al.add", "al", "new Pair<>(a, ex)", "if (n != 1)\n al.add(new Pair<>(n, 1l));", "n != 1", "n", "1", "al.add(new Pair<>(n, 1l))", "al.add", "al", "new Pair<>(n, 1l)", "return al;", "al", "long n", "n", "/**\n * 最大公約数を求めます。1が返る場合、xとyは互いに素です。\n *\n * @param x 自然数1\n * @param y 自然数2\n * @return 最大公約数\n * @throws Error x,yのどちらかが0だよ\n */\n static long getGCD(long x, long y) throws Error {\n long r;\n if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }\n while ((r = x % y) != 0) {\n x = y;\n y = r;\n }\n return y;\n }", "getGCD", "{\n long r;\n if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }\n while ((r = x % y) != 0) {\n x = y;\n y = r;\n }\n return y;\n }", "long r;", "r", "if (x == 0 || y == 0) {\n throw new Error(\"Invalid Value\");\n }", "x == 0 || y == 0", "x == 0", "x", "0", "y == 0", "y", "0", "{\n throw new Error(\"Invalid Value\");\n }", "throw new Error(\"Invalid Value\");", "new Error(\"Invalid Value\")", "while ((r = x % y) != 0) {\n x = y;\n y = r;\n }", "(r = x % y) != 0", "(r = x % y)", "r", "x % y", "x", "y", "0", "{\n x = y;\n y = r;\n }", "x = y", "x", "y", "y = r", "y", "r", "return y;", "y", "long x", "x", "long y", "y", "/**\n *\n * @param a\n * @param p\n * @return\n * @throws Error\n */\n static long modInvert(long a, long p) throws Error {\n if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");\n long b = p, u = 1, v = 0;\n while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }\n u %= p;\n if (u < 0)\n u += p;\n return u;\n }", "modInvert", "{\n if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");\n long b = p, u = 1, v = 0;\n while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }\n u %= p;\n if (u < 0)\n u += p;\n return u;\n }", "if (ChenNumberUtil.getGCD(a, p) != 1)\n throw new Error(\"Inverse element does not exist\");", "ChenNumberUtil.getGCD(a, p) != 1", "ChenNumberUtil.getGCD(a, p)", "ChenNumberUtil.getGCD", "ChenNumberUtil", "a", "p", "1", "throw new Error(\"Inverse element does not exist\");", "new Error(\"Inverse element does not exist\")", "long b = p", "b", "p", "u = 1", "u", "1", "v = 0;", "v", "0", "while (b != 0) {\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }", "b != 0", "b", "0", "{\n long t = a / b, temp;\n\n a -= t * b;\n temp = a;\n a = b;\n b = temp;\n\n u -= t * v;\n temp = u;\n u = v;\n v = temp;\n }", "long t = a / b", "t", "a / b", "a", "b", "temp;", "temp", "a -= t * b", "a", "t * b", "t", "b", "temp = a", "temp", "a", "a = b", "a", "b", "b = temp", "b", "temp", "u -= t * v", "u", "t * v", "t", "v", "temp = u", "temp", "u", "u = v", "u", "v", "v = temp", "v", "temp", "u %= p", "u", "p", "if (u < 0)\n u += p;", "u < 0", "u", "0", "u += p", "u", "p", "return u;", "u", "long a", "a", "long p", "p", "class ChenBitUtil {\n static int popCount(int bit) {\n return Integer.bitCount(bit);\n }\n\n static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }\n\n static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }\n\n static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }\n\n static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }\n\n static int reverseAll(int bit) {\n return ~bit;\n }\n}", "ChenBitUtil", "static int popCount(int bit) {\n return Integer.bitCount(bit);\n }", "popCount", "{\n return Integer.bitCount(bit);\n }", "return Integer.bitCount(bit);", "Integer.bitCount(bit)", "Integer.bitCount", "Integer", "bit", "int bit", "bit", "static boolean isFlag(int bit, int i) {\n return 0 != (bit & (1 << i));\n }", "isFlag", "{\n return 0 != (bit & (1 << i));\n }", "return 0 != (bit & (1 << i));", "0 != (bit & (1 << i))", "0", "(bit & (1 << i))", "bit", "(1 << i)", "1", "i", "int bit", "bit", "int i", "i", "static int setTrue(int bit, int i) {\n return bit |= (1 << i);\n }", "setTrue", "{\n return bit |= (1 << i);\n }", "return bit |= (1 << i);", "bit |= (1 << i)", "bit", "(1 << i)", "1", "i", "int bit", "bit", "int i", "i", "static int setFalse(int bit, int i) {\n return bit &= ~(1 << i);\n }", "setFalse", "{\n return bit &= ~(1 << i);\n }", "return bit &= ~(1 << i);", "bit &= ~(1 << i)", "bit", "~(1 << i)", "(1 << i)", "1", "i", "int bit", "bit", "int i", "i", "static int setReverse(int bit, int i) {\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }", "setReverse", "{\n return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);\n }", "return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i);", "isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i)", "isFlag(bit, i)", "isFlag", "bit", "i", "setFalse(bit, i)", "setFalse", "bit", "i", "setTrue(bit, i)", "setTrue", "bit", "i", "int bit", "bit", "int i", "i", "static int reverseAll(int bit) {\n return ~bit;\n }", "reverseAll", "{\n return ~bit;\n }", "return ~bit;", "~bit", "bit", "int bit", "bit", "class Pair<K, V> extends AbstractMap.SimpleEntry<K, V> {\n /** serialVersionUID. */\n private static final long serialVersionUID = 6411527075103472113L;\n\n public Pair(final K key, final V value) {\n super(key, value);\n }\n}", "Pair", "/** serialVersionUID. */\n private static final long serialVersionUID = 6411527075103472113L;", "serialVersionUID", "6411527075103472113L", "public Pair(final K key, final V value) {\n super(key, value);\n }", "Pair", "{\n super(key, value);\n }", "super(key, value)", "super", "key", "value", "final K key", "key", "final V value", "value", "SimpleEntry", "public class Main {\n final static long MOD = 1000000007;\n\n public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long max = Long.MIN_VALUE;\n max = max(max,a*c);\n max = max(max,a*d);\n max = max(max,b*c);\n max = max(max,b*d);\n return max;\n }\n }\n\n}", "public class Main {\n final static long MOD = 1000000007;\n\n public static void main(String[] args) throws ArithmeticException {\n Object o = run();\n if (o != null)\n System.out.println(o);\n }\n\n static Object run() throws ArithmeticException {\n try (Scanner sc = new Scanner(System.in)) {\n // Main Code\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long max = Long.MIN_VALUE;\n max = max(max,a*c);\n max = max(max,a*d);\n max = max(max,b*c);\n max = max(max,b*d);\n return max;\n }\n }\n\n}", "Main" ]
import java.util.AbstractMap; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Scanner; import static java.lang.Math.*; public class Main { final static long MOD = 1000000007; public static void main(String[] args) throws ArithmeticException { Object o = run(); if (o != null) System.out.println(o); } static Object run() throws ArithmeticException { try (Scanner sc = new Scanner(System.in)) { // Main Code long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long max = Long.MIN_VALUE; max = max(max,a*c); max = max(max,a*d); max = max(max,b*c); max = max(max,b*d); return max; } } } class ChenNumberUtil { /** * nが素数かどうかを判定します。 * * @param n 素数か判定したい値 * @return boolean 素数か否か */ static boolean isPrime(long n) { if (n == 1) return false; for (long i = 1; i * i <= n; i++) { if (n % i == 0) return false; } return true; } /** * nの約数の配列を求めます。 * * @param n 約数を取得したい値 * @return 約数の配列 */ static Collection<Long> getDivisors(long n) { ArrayList<Long> al = new ArrayList<>(); for (long i = 1; i * i <= n; i++) { if (n % i == 0) { al.add(i); if (n / i != i) al.add(n / i); } } Collections.sort(al); return al; } /** * nの約数の個数を求めます。 * * @param n 約数の個数を取得したい値 * @return 約数の個数 */ static long getDivisorsCount(long n) { long count = 0; for (long i = 1; i * i <= n; i++) { if (n % i == 0) { count++; if (n / i != i) count++; } } return count; } /** * nの約数の総和を求めます。 * * @param n 約数を取得したい値 * @return 約数の配列 */ static long getDivisorsSum(long n) { long sum = 0; for (long i = 1; i * i <= n; i++) { if (n % i == 0) { sum += i; if (n / i != i) sum += n / i; } } return sum; } /** * nの素因数分解の数列を求めます。 * * @param n , not {@code null} * @return 素因数分解のペア配列 <素因数, 指数> */ static Collection<Pair<Long, Long>> primeFactorize(long n) { ArrayList<Pair<Long, Long>> al = new ArrayList<>(); for (long a = 2; a * a <= n; ++a) { if (n % a != 0) continue; long ex = 0; while (n % a == 0) { ex++; n /= a; } al.add(new Pair<>(a, ex)); } if (n != 1) al.add(new Pair<>(n, 1l)); return al; } /** * 最大公約数を求めます。1が返る場合、xとyは互いに素です。 * * @param x 自然数1 * @param y 自然数2 * @return 最大公約数 * @throws Error x,yのどちらかが0だよ */ static long getGCD(long x, long y) throws Error { long r; if (x == 0 || y == 0) { throw new Error("Invalid Value"); } while ((r = x % y) != 0) { x = y; y = r; } return y; } /** * * @param a * @param p * @return * @throws Error */ static long modInvert(long a, long p) throws Error { if (ChenNumberUtil.getGCD(a, p) != 1) throw new Error("Inverse element does not exist"); long b = p, u = 1, v = 0; while (b != 0) { long t = a / b, temp; a -= t * b; temp = a; a = b; b = temp; u -= t * v; temp = u; u = v; v = temp; } u %= p; if (u < 0) u += p; return u; } } class ChenBitUtil { static int popCount(int bit) { return Integer.bitCount(bit); } static boolean isFlag(int bit, int i) { return 0 != (bit & (1 << i)); } static int setTrue(int bit, int i) { return bit |= (1 << i); } static int setFalse(int bit, int i) { return bit &= ~(1 << i); } static int setReverse(int bit, int i) { return isFlag(bit, i) ? setFalse(bit, i) : setTrue(bit, i); } static int reverseAll(int bit) { return ~bit; } } /** * ペアで値を格納します * * @param <K> * @param <V> */ class Pair<K, V> extends AbstractMap.SimpleEntry<K, V> { /** serialVersionUID. */ private static final long serialVersionUID = 6411527075103472113L; public Pair(final K key, final V value) { super(key, value); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 40, 17, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 93, 5 ], [ 93, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 8, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 6, 90 ], [ 90, 91 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong a = Long.parseLong(sc.next());\n\t\tLong b = Long.parseLong(sc.next());\n\t\tLong c = Long.parseLong(sc.next());\n\t\tLong d = Long.parseLong(sc.next());\n\t\t\n\t\tLong max = -1000000000000000000l;\n\t\t\n\t\tmax = Math.max(max,a * c);\n\t\tmax = Math.max(max,a * d);\n\t\tmax = Math.max(max,b * c);\n\t\tmax = Math.max(max,b * d);\n\t\tSystem.out.println(max);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong a = Long.parseLong(sc.next());\n\t\tLong b = Long.parseLong(sc.next());\n\t\tLong c = Long.parseLong(sc.next());\n\t\tLong d = Long.parseLong(sc.next());\n\t\t\n\t\tLong max = -1000000000000000000l;\n\t\t\n\t\tmax = Math.max(max,a * c);\n\t\tmax = Math.max(max,a * d);\n\t\tmax = Math.max(max,b * c);\n\t\tmax = Math.max(max,b * d);\n\t\tSystem.out.println(max);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong a = Long.parseLong(sc.next());\n\t\tLong b = Long.parseLong(sc.next());\n\t\tLong c = Long.parseLong(sc.next());\n\t\tLong d = Long.parseLong(sc.next());\n\t\t\n\t\tLong max = -1000000000000000000l;\n\t\t\n\t\tmax = Math.max(max,a * c);\n\t\tmax = Math.max(max,a * d);\n\t\tmax = Math.max(max,b * c);\n\t\tmax = Math.max(max,b * d);\n\t\tSystem.out.println(max);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong a = Long.parseLong(sc.next());\n\t\tLong b = Long.parseLong(sc.next());\n\t\tLong c = Long.parseLong(sc.next());\n\t\tLong d = Long.parseLong(sc.next());\n\t\t\n\t\tLong max = -1000000000000000000l;\n\t\t\n\t\tmax = Math.max(max,a * c);\n\t\tmax = Math.max(max,a * d);\n\t\tmax = Math.max(max,b * c);\n\t\tmax = Math.max(max,b * d);\n\t\tSystem.out.println(max);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Long a = Long.parseLong(sc.next());", "a", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "Long b = Long.parseLong(sc.next());", "b", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "Long c = Long.parseLong(sc.next());", "c", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "Long d = Long.parseLong(sc.next());", "d", "Long.parseLong(sc.next())", "Long.parseLong", "Long", "sc.next()", "sc.next", "sc", "Long max = -1000000000000000000l;", "max", "-1000000000000000000l", "1000000000000000000l", "max = Math.max(max,a * c)", "max", "Math.max(max,a * c)", "Math.max", "Math", "max", "a * c", "a", "c", "max = Math.max(max,a * d)", "max", "Math.max(max,a * d)", "Math.max", "Math", "max", "a * d", "a", "d", "max = Math.max(max,b * c)", "max", "Math.max(max,b * c)", "Math.max", "Math", "max", "b * c", "b", "c", "max = Math.max(max,b * d)", "max", "Math.max(max,b * d)", "Math.max", "Math", "max", "b * d", "b", "d", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong a = Long.parseLong(sc.next());\n\t\tLong b = Long.parseLong(sc.next());\n\t\tLong c = Long.parseLong(sc.next());\n\t\tLong d = Long.parseLong(sc.next());\n\t\t\n\t\tLong max = -1000000000000000000l;\n\t\t\n\t\tmax = Math.max(max,a * c);\n\t\tmax = Math.max(max,a * d);\n\t\tmax = Math.max(max,b * c);\n\t\tmax = Math.max(max,b * d);\n\t\tSystem.out.println(max);\n\t}\n}", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong a = Long.parseLong(sc.next());\n\t\tLong b = Long.parseLong(sc.next());\n\t\tLong c = Long.parseLong(sc.next());\n\t\tLong d = Long.parseLong(sc.next());\n\t\t\n\t\tLong max = -1000000000000000000l;\n\t\t\n\t\tmax = Math.max(max,a * c);\n\t\tmax = Math.max(max,a * d);\n\t\tmax = Math.max(max,b * c);\n\t\tmax = Math.max(max,b * d);\n\t\tSystem.out.println(max);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Long a = Long.parseLong(sc.next()); Long b = Long.parseLong(sc.next()); Long c = Long.parseLong(sc.next()); Long d = Long.parseLong(sc.next()); Long max = -1000000000000000000l; max = Math.max(max,a * c); max = Math.max(max,a * d); max = Math.max(max,b * c); max = Math.max(max,b * d); System.out.println(max); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 22, 27 ], [ 16, 28 ], [ 28, 29 ], [ 28, 30 ], [ 16, 31 ], [ 31, 32 ], [ 31, 33 ], [ 16, 34 ], [ 34, 35 ], [ 34, 36 ], [ 16, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 42, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 39, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 16, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 77, 79 ], [ 73, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 70, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 86, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 16, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 101, 105 ], [ 16, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 9, 112 ], [ 112, 113 ] ]
[ "import java.util.*;\nimport java.io.*;\nclass Main\n{\n\tpublic static void main(String args[]) throws IOException\n\t{\n\t\ttry{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString arr[]=br.readLine().split(\" \");\n\t\tlong ans=0;\n\t\tlong h=0;long p=0;\n\t\th=Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3]));\n\t\tp=Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3]));\n\t\tans=Math.max(h,p);\n\t\tSystem.out.println(ans);\n\t\t}\n\tcatch(Exception e){}\n}}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main\n{\n\tpublic static void main(String args[]) throws IOException\n\t{\n\t\ttry{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString arr[]=br.readLine().split(\" \");\n\t\tlong ans=0;\n\t\tlong h=0;long p=0;\n\t\th=Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3]));\n\t\tp=Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3]));\n\t\tans=Math.max(h,p);\n\t\tSystem.out.println(ans);\n\t\t}\n\tcatch(Exception e){}\n}}", "Main", "public static void main(String args[]) throws IOException\n\t{\n\t\ttry{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString arr[]=br.readLine().split(\" \");\n\t\tlong ans=0;\n\t\tlong h=0;long p=0;\n\t\th=Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3]));\n\t\tp=Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3]));\n\t\tans=Math.max(h,p);\n\t\tSystem.out.println(ans);\n\t\t}\n\tcatch(Exception e){}\n}", "main", "{\n\t\ttry{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString arr[]=br.readLine().split(\" \");\n\t\tlong ans=0;\n\t\tlong h=0;long p=0;\n\t\th=Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3]));\n\t\tp=Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3]));\n\t\tans=Math.max(h,p);\n\t\tSystem.out.println(ans);\n\t\t}\n\tcatch(Exception e){}\n}", "try{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString arr[]=br.readLine().split(\" \");\n\t\tlong ans=0;\n\t\tlong h=0;long p=0;\n\t\th=Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3]));\n\t\tp=Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3]));\n\t\tans=Math.max(h,p);\n\t\tSystem.out.println(ans);\n\t\t}\n\tcatch(Exception e){}", "catch(Exception e){}", "Exception e", "{}", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString arr[]=br.readLine().split(\" \");\n\t\tlong ans=0;\n\t\tlong h=0;long p=0;\n\t\th=Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3]));\n\t\tp=Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3]));\n\t\tans=Math.max(h,p);\n\t\tSystem.out.println(ans);\n\t\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String arr[]=br.readLine().split(\" \");", "arr", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long ans=0;", "ans", "0", "long h=0;", "h", "0", "long p=0;", "p", "0", "h=Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3]))", "h", "Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3]))", "Math.max", "Math", "Long.parseLong(arr[0])*Long.parseLong(arr[2])", "Long.parseLong(arr[0])", "Long.parseLong", "Long", "arr[0]", "arr", "0", "Long.parseLong(arr[2])", "Long.parseLong", "Long", "arr[2]", "arr", "2", "Long.parseLong(arr[0])*Long.parseLong(arr[3])", "Long.parseLong(arr[0])", "Long.parseLong", "Long", "arr[0]", "arr", "0", "Long.parseLong(arr[3])", "Long.parseLong", "Long", "arr[3]", "arr", "3", "p=Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3]))", "p", "Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3]))", "Math.max", "Math", "Long.parseLong(arr[1])*Long.parseLong(arr[2])", "Long.parseLong(arr[1])", "Long.parseLong", "Long", "arr[1]", "arr", "1", "Long.parseLong(arr[2])", "Long.parseLong", "Long", "arr[2]", "arr", "2", "Long.parseLong(arr[1])*Long.parseLong(arr[3])", "Long.parseLong(arr[1])", "Long.parseLong", "Long", "arr[1]", "arr", "1", "Long.parseLong(arr[3])", "Long.parseLong", "Long", "arr[3]", "arr", "3", "ans=Math.max(h,p)", "ans", "Math.max(h,p)", "Math.max", "Math", "h", "p", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String args[]", "args" ]
import java.util.*; import java.io.*; class Main { public static void main(String args[]) throws IOException { try{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String arr[]=br.readLine().split(" "); long ans=0; long h=0;long p=0; h=Math.max(Long.parseLong(arr[0])*Long.parseLong(arr[2]),Long.parseLong(arr[0])*Long.parseLong(arr[3])); p=Math.max(Long.parseLong(arr[1])*Long.parseLong(arr[2]),Long.parseLong(arr[1])*Long.parseLong(arr[3])); ans=Math.max(h,p); System.out.println(ans); } catch(Exception e){} }}
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 20, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 13, 29, 17, 14, 2, 2, 13, 13, 2, 13, 17, 29, 17, 41, 13, 2, 2, 18, 13, 13, 4, 13, 2, 2, 18, 13, 13, 18, 13, 2, 13, 13, 13, 2, 13, 17, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 0, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 376, 35 ], [ 376, 36 ], [ 36, 37 ], [ 36, 38 ], [ 376, 39 ], [ 39, 40 ], [ 376, 41 ], [ 41, 42 ], [ 41, 43 ], [ 376, 44 ], [ 44, 45 ], [ 44, 46 ], [ 376, 47 ], [ 47, 48 ], [ 47, 49 ], [ 376, 50 ], [ 50, 51 ], [ 50, 52 ], [ 376, 53 ], [ 53, 54 ], [ 376, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 57, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 72, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 72, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 72, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 72, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 72, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 109, 113 ], [ 113, 114 ], [ 113, 115 ], [ 72, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 118, 122 ], [ 122, 123 ], [ 122, 124 ], [ 72, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 127, 131 ], [ 131, 132 ], [ 131, 133 ], [ 72, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 57, 138 ], [ 138, 139 ], [ 139, 140 ], [ 55, 141 ], [ 141, 142 ], [ 376, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 151, 153 ], [ 146, 154 ], [ 154, 155 ], [ 145, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 161, 163 ], [ 156, 164 ], [ 164, 165 ], [ 145, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 175, 185 ], [ 173, 186 ], [ 186, 187 ], [ 186, 188 ], [ 168, 189 ], [ 145, 190 ], [ 190, 191 ], [ 143, 192 ], [ 192, 193 ], [ 143, 194 ], [ 194, 195 ], [ 376, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 207, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 206, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 206, 227 ], [ 227, 228 ], [ 227, 229 ], [ 198, 230 ], [ 230, 231 ], [ 196, 232 ], [ 232, 233 ], [ 196, 234 ], [ 234, 235 ], [ 376, 236 ], [ 236, 237 ], [ 236, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 240, 244 ], [ 239, 245 ], [ 245, 246 ], [ 238, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 248, 251 ], [ 251, 252 ], [ 251, 253 ], [ 236, 254 ], [ 254, 255 ], [ 236, 256 ], [ 256, 257 ], [ 376, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 263, 264 ], [ 263, 265 ], [ 262, 266 ], [ 261, 267 ], [ 267, 268 ], [ 260, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 270, 273 ], [ 273, 274 ], [ 273, 275 ], [ 258, 276 ], [ 276, 277 ], [ 258, 278 ], [ 278, 279 ], [ 376, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 283, 284 ], [ 280, 285 ], [ 285, 286 ], [ 376, 287 ], [ 287, 288 ], [ 287, 289 ], [ 289, 290 ], [ 287, 291 ], [ 291, 292 ], [ 287, 293 ], [ 293, 294 ], [ 293, 295 ], [ 295, 296 ], [ 296, 297 ], [ 296, 298 ], [ 287, 299 ], [ 299, 300 ], [ 299, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 303, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 302, 311 ], [ 311, 312 ], [ 312, 313 ], [ 313, 314 ], [ 313, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 312, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 301, 323 ], [ 323, 324 ], [ 324, 325 ], [ 325, 326 ], [ 287, 327 ], [ 327, 328 ], [ 327, 329 ], [ 329, 330 ], [ 330, 331 ], [ 331, 332 ], [ 332, 333 ], [ 331, 334 ], [ 334, 335 ], [ 287, 336 ], [ 336, 337 ], [ 336, 338 ], [ 338, 339 ], [ 339, 340 ], [ 340, 341 ], [ 341, 342 ], [ 340, 343 ], [ 343, 344 ], [ 287, 345 ], [ 345, 346 ], [ 345, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 349, 352 ], [ 352, 353 ], [ 287, 354 ], [ 354, 355 ], [ 354, 356 ], [ 356, 357 ], [ 357, 358 ], [ 357, 359 ], [ 356, 360 ], [ 360, 361 ], [ 361, 362 ], [ 361, 363 ], [ 363, 364 ], [ 364, 365 ], [ 365, 366 ], [ 360, 367 ], [ 367, 368 ], [ 368, 369 ], [ 368, 370 ], [ 370, 371 ], [ 371, 372 ], [ 356, 373 ], [ 373, 374 ], [ 0, 375 ], [ 375, 376 ], [ 375, 377 ] ]
[ "import java.io.*;\nimport java.math.*;\nimport java.security.*;\nimport java.text.*;\nimport java.util.*;\nimport java.util.concurrent.*;\nimport java.util.function.*;\nimport java.util.regex.*;\nimport java.util.stream.*;\nimport static java.util.stream.Collectors.joining;\nimport static java.util.stream.Collectors.toList;\npublic class Main{\n\n static long MOD = 1000000007L;\n static long [] fac;\n static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};\n static long lMax = 0x3f3f3f3f3f3f3f3fL;\n static int iMax = 0x3f3f3f3f;\n static HashMap <Long, Long> memo = new HashMap();\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n /*\n boolean notP[] = new boolean[100001];\n for(int i = 2; i < 400; i++){\n if(notP[i]) continue;\n for(int j = 2; i * j <= 100000; j++){\n notP[i * j] = true;\n }\n }\n ArrayList <Integer> primes = new ArrayList<>();\n for(int i = 2; i <= 100000; i++)\n if(!notP[i])\n primes.add(i);*/\n while(t-- > 0){\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long res = Long.MIN_VALUE;\n res = Math.max(res, a * c);\n res = Math.max(res, a * d);\n res = Math.max(res, b * c);\n res = Math.max(res, b * d);\n out.println(res);\n }\n out.close();\n }\n public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }\n public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }\n public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long solve(long cur){\n return 0L;\n }\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\n }\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n //--------------------------------------------------------\n}", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "import java.security.*;", "security.*", "java", "import java.text.*;", "text.*", "java", "import java.util.*;", "util.*", "java", "import java.util.concurrent.*;", "concurrent.*", "java.util", "import java.util.function.*;", "function.*", "java.util", "import java.util.regex.*;", "regex.*", "java.util", "import java.util.stream.*;", "stream.*", "java.util", "import static java.util.stream.Collectors.joining;", "import static java.util.stream.Collectors.joining;", "import static java.util.stream.Collectors.joining;", "import static java.util.stream.Collectors.toList;", "import static java.util.stream.Collectors.toList;", "import static java.util.stream.Collectors.toList;", "public class Main{\n\n static long MOD = 1000000007L;\n static long [] fac;\n static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};\n static long lMax = 0x3f3f3f3f3f3f3f3fL;\n static int iMax = 0x3f3f3f3f;\n static HashMap <Long, Long> memo = new HashMap();\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n /*\n boolean notP[] = new boolean[100001];\n for(int i = 2; i < 400; i++){\n if(notP[i]) continue;\n for(int j = 2; i * j <= 100000; j++){\n notP[i * j] = true;\n }\n }\n ArrayList <Integer> primes = new ArrayList<>();\n for(int i = 2; i <= 100000; i++)\n if(!notP[i])\n primes.add(i);*/\n while(t-- > 0){\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long res = Long.MIN_VALUE;\n res = Math.max(res, a * c);\n res = Math.max(res, a * d);\n res = Math.max(res, b * c);\n res = Math.max(res, b * d);\n out.println(res);\n }\n out.close();\n }\n public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }\n public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }\n public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long solve(long cur){\n return 0L;\n }\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\n }\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n //--------------------------------------------------------\n}", "Main", "static long MOD = 1000000007L;", "MOD", "1000000007L", "static long [] fac;", "fac", "static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};", "dir", "new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}}", "static long lMax = 0x3f3f3f3f3f3f3f3fL;", "lMax", "0x3f3f3f3f3f3f3f3fL", "static int iMax = 0x3f3f3f3f;", "iMax", "0x3f3f3f3f", "static HashMap <Long, Long> memo = new HashMap();", "memo", "new HashMap()", "//-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;", "out", "public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n /*\n boolean notP[] = new boolean[100001];\n for(int i = 2; i < 400; i++){\n if(notP[i]) continue;\n for(int j = 2; i * j <= 100000; j++){\n notP[i * j] = true;\n }\n }\n ArrayList <Integer> primes = new ArrayList<>();\n for(int i = 2; i <= 100000; i++)\n if(!notP[i])\n primes.add(i);*/\n while(t-- > 0){\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long res = Long.MIN_VALUE;\n res = Math.max(res, a * c);\n res = Math.max(res, a * d);\n res = Math.max(res, b * c);\n res = Math.max(res, b * d);\n out.println(res);\n }\n out.close();\n }", "main", "{\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n /*\n boolean notP[] = new boolean[100001];\n for(int i = 2; i < 400; i++){\n if(notP[i]) continue;\n for(int j = 2; i * j <= 100000; j++){\n notP[i * j] = true;\n }\n }\n ArrayList <Integer> primes = new ArrayList<>();\n for(int i = 2; i <= 100000; i++)\n if(!notP[i])\n primes.add(i);*/\n while(t-- > 0){\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long res = Long.MIN_VALUE;\n res = Math.max(res, a * c);\n res = Math.max(res, a * d);\n res = Math.max(res, b * c);\n res = Math.max(res, b * d);\n out.println(res);\n }\n out.close();\n }", "MyScanner sc = new MyScanner();", "sc", "new MyScanner()", "out = new PrintWriter(new BufferedOutputStream(System.out))", "out", "new PrintWriter(new BufferedOutputStream(System.out))", "int t = 1;", "t", "1", "while(t-- > 0){\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long res = Long.MIN_VALUE;\n res = Math.max(res, a * c);\n res = Math.max(res, a * d);\n res = Math.max(res, b * c);\n res = Math.max(res, b * d);\n out.println(res);\n }", "t-- > 0", "t--", "t", "0", "{\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long res = Long.MIN_VALUE;\n res = Math.max(res, a * c);\n res = Math.max(res, a * d);\n res = Math.max(res, b * c);\n res = Math.max(res, b * d);\n out.println(res);\n }", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long res = Long.MIN_VALUE;", "res", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "res = Math.max(res, a * c)", "res", "Math.max(res, a * c)", "Math.max", "Math", "res", "a * c", "a", "c", "res = Math.max(res, a * d)", "res", "Math.max(res, a * d)", "Math.max", "Math", "res", "a * d", "a", "d", "res = Math.max(res, b * c)", "res", "Math.max(res, b * c)", "Math.max", "Math", "res", "b * c", "b", "c", "res = Math.max(res, b * d)", "res", "Math.max(res, b * d)", "Math.max", "Math", "res", "b * d", "b", "d", "out.println(res)", "out.println", "out", "res", "out.close()", "out.close", "out", "String[] args", "args", "public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }", "C", "{\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }", "if(m == 0 || m == n) return 1l;", "m == 0 || m == n", "m == 0", "m", "0", "m == n", "m", "n", "return 1l;", "1l", "if(m > n || m < 0) return 0l;", "m > n || m < 0", "m > n", "m", "n", "m < 0", "m", "0", "return 0l;", "0l", "long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;", "res", "fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD", "fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2)", "fac[n]", "fac", "n", "quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2)", "quickPOW", "(fac[m] * fac[n - m]) % MOD", "(fac[m] * fac[n - m])", "fac[m]", "fac", "m", "fac[n - m]", "fac", "n - m", "n", "m", "MOD", "MOD - 2", "MOD", "2", "MOD", "return res;", "res", "int n", "n", "int m", "m", "public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }", "quickPOW", "{\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }", "long ans = 1l;", "ans", "1l", "while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }", "m > 0", "m", "0", "{\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }", "if(m % 2 == 1)\n ans = (ans * n) % MOD;", "m % 2 == 1", "m % 2", "m", "2", "1", "ans = (ans * n) % MOD", "ans", "(ans * n) % MOD", "(ans * n)", "ans", "n", "MOD", "n = (n * n) % MOD", "n", "(n * n) % MOD", "(n * n)", "n", "n", "MOD", "m >>= 1", "m", "1", "return ans;", "ans", "long n", "n", "long m", "m", "public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }", "gcd", "{\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }", "if(a % b == 0) return b;", "a % b == 0", "a % b", "a", "b", "0", "return b;", "b", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }", "gcd", "{\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }", "if(a % b == 0) return b;", "a % b == 0", "a % b", "a", "b", "0", "return b;", "b", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "long a", "a", "long b", "b", "public static long solve(long cur){\n return 0L;\n }", "solve", "{\n return 0L;\n }", "return 0L;", "0L", "long cur", "cur", "public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\n }\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }", "MyScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "MyScanner", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main{\n\n static long MOD = 1000000007L;\n static long [] fac;\n static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};\n static long lMax = 0x3f3f3f3f3f3f3f3fL;\n static int iMax = 0x3f3f3f3f;\n static HashMap <Long, Long> memo = new HashMap();\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n /*\n boolean notP[] = new boolean[100001];\n for(int i = 2; i < 400; i++){\n if(notP[i]) continue;\n for(int j = 2; i * j <= 100000; j++){\n notP[i * j] = true;\n }\n }\n ArrayList <Integer> primes = new ArrayList<>();\n for(int i = 2; i <= 100000; i++)\n if(!notP[i])\n primes.add(i);*/\n while(t-- > 0){\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long res = Long.MIN_VALUE;\n res = Math.max(res, a * c);\n res = Math.max(res, a * d);\n res = Math.max(res, b * c);\n res = Math.max(res, b * d);\n out.println(res);\n }\n out.close();\n }\n public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }\n public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }\n public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long solve(long cur){\n return 0L;\n }\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\n }\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n //--------------------------------------------------------\n}", "public class Main{\n\n static long MOD = 1000000007L;\n static long [] fac;\n static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}};\n static long lMax = 0x3f3f3f3f3f3f3f3fL;\n static int iMax = 0x3f3f3f3f;\n static HashMap <Long, Long> memo = new HashMap();\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n out = new PrintWriter(new BufferedOutputStream(System.out));\n // Start writing your solution here. -------------------------------------\n //int t = sc.nextInt();\n int t = 1;\n /*\n boolean notP[] = new boolean[100001];\n for(int i = 2; i < 400; i++){\n if(notP[i]) continue;\n for(int j = 2; i * j <= 100000; j++){\n notP[i * j] = true;\n }\n }\n ArrayList <Integer> primes = new ArrayList<>();\n for(int i = 2; i <= 100000; i++)\n if(!notP[i])\n primes.add(i);*/\n while(t-- > 0){\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long res = Long.MIN_VALUE;\n res = Math.max(res, a * c);\n res = Math.max(res, a * d);\n res = Math.max(res, b * c);\n res = Math.max(res, b * d);\n out.println(res);\n }\n out.close();\n }\n public static long C(int n, int m)\n {\n if(m == 0 || m == n) return 1l;\n if(m > n || m < 0) return 0l;\n long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD;\n\n return res;\n }\n public static long quickPOW(long n, long m)\n {\n long ans = 1l;\n while(m > 0)\n {\n if(m % 2 == 1)\n ans = (ans * n) % MOD;\n n = (n * n) % MOD;\n m >>= 1;\n }\n return ans;\n }\n public static int gcd(int a, int b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long gcd(long a, long b)\n {\n if(a % b == 0) return b;\n return gcd(b, a % b);\n }\n public static long solve(long cur){\n return 0L;\n }\n //-----------PrintWriter for faster output---------------------------------\n public static PrintWriter out;\n //-----------MyScanner class for faster input----------\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n int nextInt() {\n return Integer.parseInt(next());\n }\n long nextLong() {\n return Long.parseLong(next());\n }\n double nextDouble() {\n return Double.parseDouble(next());\n }\n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n //--------------------------------------------------------\n}", "Main" ]
import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.function.*; import java.util.regex.*; import java.util.stream.*; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toList; public class Main{ static long MOD = 1000000007L; static long [] fac; static int[][] dir = new int[][]{{1, 0}, {0, 1}, {-1, 0}, {0, -1}}; static long lMax = 0x3f3f3f3f3f3f3f3fL; static int iMax = 0x3f3f3f3f; static HashMap <Long, Long> memo = new HashMap(); public static void main(String[] args) { MyScanner sc = new MyScanner(); out = new PrintWriter(new BufferedOutputStream(System.out)); // Start writing your solution here. ------------------------------------- //int t = sc.nextInt(); int t = 1; /* boolean notP[] = new boolean[100001]; for(int i = 2; i < 400; i++){ if(notP[i]) continue; for(int j = 2; i * j <= 100000; j++){ notP[i * j] = true; } } ArrayList <Integer> primes = new ArrayList<>(); for(int i = 2; i <= 100000; i++) if(!notP[i]) primes.add(i);*/ while(t-- > 0){ long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long res = Long.MIN_VALUE; res = Math.max(res, a * c); res = Math.max(res, a * d); res = Math.max(res, b * c); res = Math.max(res, b * d); out.println(res); } out.close(); } public static long C(int n, int m) { if(m == 0 || m == n) return 1l; if(m > n || m < 0) return 0l; long res = fac[n] * quickPOW((fac[m] * fac[n - m]) % MOD, MOD - 2) % MOD; return res; } public static long quickPOW(long n, long m) { long ans = 1l; while(m > 0) { if(m % 2 == 1) ans = (ans * n) % MOD; n = (n * n) % MOD; m >>= 1; } return ans; } public static int gcd(int a, int b) { if(a % b == 0) return b; return gcd(b, a % b); } public static long gcd(long a, long b) { if(a % b == 0) return b; return gcd(b, a % b); } public static long solve(long cur){ return 0L; } //-----------PrintWriter for faster output--------------------------------- public static PrintWriter out; //-----------MyScanner class for faster input---------- public static class MyScanner { BufferedReader br; StringTokenizer st; public MyScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine(){ String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } //-------------------------------------------------------- }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(final String[] args) {\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong(), b = s.nextLong(), c = s.nextLong(), d = s.nextLong();\n \tlong r = b * d;\n \tr = Math.max(r, a * c);\n \tr = Math.max(r, a * d);\n \tr = Math.max(r, b * c);\n \tSystem.out.println(r);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(final String[] args) {\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong(), b = s.nextLong(), c = s.nextLong(), d = s.nextLong();\n \tlong r = b * d;\n \tr = Math.max(r, a * c);\n \tr = Math.max(r, a * d);\n \tr = Math.max(r, b * c);\n \tSystem.out.println(r);\n }\n}", "Main", "public static void main(final String[] args) {\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong(), b = s.nextLong(), c = s.nextLong(), d = s.nextLong();\n \tlong r = b * d;\n \tr = Math.max(r, a * c);\n \tr = Math.max(r, a * d);\n \tr = Math.max(r, b * c);\n \tSystem.out.println(r);\n }", "main", "{\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong(), b = s.nextLong(), c = s.nextLong(), d = s.nextLong();\n \tlong r = b * d;\n \tr = Math.max(r, a * c);\n \tr = Math.max(r, a * d);\n \tr = Math.max(r, b * c);\n \tSystem.out.println(r);\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "long a = s.nextLong()", "a", "s.nextLong()", "s.nextLong", "s", "b = s.nextLong()", "b", "s.nextLong()", "s.nextLong", "s", "c = s.nextLong()", "c", "s.nextLong()", "s.nextLong", "s", "d = s.nextLong();", "d", "s.nextLong()", "s.nextLong", "s", "long r = b * d;", "r", "b * d", "b", "d", "r = Math.max(r, a * c)", "r", "Math.max(r, a * c)", "Math.max", "Math", "r", "a * c", "a", "c", "r = Math.max(r, a * d)", "r", "Math.max(r, a * d)", "Math.max", "Math", "r", "a * d", "a", "d", "r = Math.max(r, b * c)", "r", "Math.max(r, b * c)", "Math.max", "Math", "r", "b * c", "b", "c", "System.out.println(r)", "System.out.println", "System.out", "System", "System.out", "r", "final String[] args", "args", "public class Main {\n public static void main(final String[] args) {\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong(), b = s.nextLong(), c = s.nextLong(), d = s.nextLong();\n \tlong r = b * d;\n \tr = Math.max(r, a * c);\n \tr = Math.max(r, a * d);\n \tr = Math.max(r, b * c);\n \tSystem.out.println(r);\n }\n}", "public class Main {\n public static void main(final String[] args) {\n \tScanner s = new Scanner(System.in);\n \tlong a = s.nextLong(), b = s.nextLong(), c = s.nextLong(), d = s.nextLong();\n \tlong r = b * d;\n \tr = Math.max(r, a * c);\n \tr = Math.max(r, a * d);\n \tr = Math.max(r, b * c);\n \tSystem.out.println(r);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(final String[] args) { Scanner s = new Scanner(System.in); long a = s.nextLong(), b = s.nextLong(), c = s.nextLong(), d = s.nextLong(); long r = b * d; r = Math.max(r, a * c); r = Math.max(r, a * d); r = Math.max(r, b * c); System.out.println(r); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 4, 18, 13, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 13, 13, 12, 13, 30, 41, 13, 2, 2, 2, 13, 17, 13, 13, 29, 8, 2, 13, 17, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 13, 14, 2, 13, 17, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 4, 13, 13, 2, 13, 13, 14, 2, 13, 17, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 42, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 339, 20 ], [ 339, 21 ], [ 21, 22 ], [ 21, 23 ], [ 339, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 339, 30 ], [ 30, 31 ], [ 339, 32 ], [ 32, 33 ], [ 339, 34 ], [ 34, 35 ], [ 339, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 38, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 38, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 38, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 38, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 38, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 38, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 89, 93 ], [ 93, 94 ], [ 93, 95 ], [ 38, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 339, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 102, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 100, 121 ], [ 121, 122 ], [ 100, 123 ], [ 123, 124 ], [ 339, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 135, 137 ], [ 127, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 142, 144 ], [ 127, 145 ], [ 145, 146 ], [ 125, 147 ], [ 147, 148 ], [ 125, 149 ], [ 149, 150 ], [ 339, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 156, 158 ], [ 156, 159 ], [ 159, 160 ], [ 159, 161 ], [ 153, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 166, 168 ], [ 153, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 173, 175 ], [ 153, 176 ], [ 176, 177 ], [ 151, 178 ], [ 178, 179 ], [ 151, 180 ], [ 180, 181 ], [ 339, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 185, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 184, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 339, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 202, 205 ], [ 205, 206 ], [ 339, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 211, 214 ], [ 214, 215 ], [ 339, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 220, 223 ], [ 223, 224 ], [ 339, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 237, 238 ], [ 237, 239 ], [ 232, 240 ], [ 240, 241 ], [ 241, 242 ], [ 232, 243 ], [ 244, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 249 ], [ 249, 250 ], [ 227, 251 ], [ 251, 252 ], [ 225, 253 ], [ 253, 254 ], [ 339, 255 ], [ 255, 256 ], [ 255, 257 ], [ 257, 258 ], [ 258, 259 ], [ 258, 260 ], [ 257, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 262, 267 ], [ 267, 268 ], [ 267, 269 ], [ 262, 270 ], [ 270, 271 ], [ 271, 272 ], [ 262, 273 ], [ 274, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 275, 279 ], [ 279, 280 ], [ 257, 281 ], [ 281, 282 ], [ 255, 283 ], [ 283, 284 ], [ 339, 285 ], [ 285, 286 ], [ 285, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 287, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 292, 297 ], [ 297, 298 ], [ 297, 299 ], [ 292, 300 ], [ 300, 301 ], [ 301, 302 ], [ 292, 303 ], [ 304, 304 ], [ 304, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 305, 309 ], [ 309, 310 ], [ 287, 311 ], [ 311, 312 ], [ 285, 313 ], [ 313, 314 ], [ 339, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 318, 319 ], [ 318, 320 ], [ 317, 321 ], [ 321, 322 ], [ 321, 323 ], [ 317, 324 ], [ 324, 325 ], [ 324, 326 ], [ 317, 327 ], [ 327, 328 ], [ 327, 329 ], [ 317, 330 ], [ 330, 331 ], [ 331, 332 ], [ 317, 333 ], [ 333, 334 ], [ 334, 335 ], [ 315, 336 ], [ 336, 337 ], [ 0, 338 ], [ 338, 339 ], [ 338, 340 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.math.BigInteger;\nimport java.util.*;\n \npublic class Main {\n \n void solve() throws IOException {\n long A = nl();\n long B = nl();\n long C = nl();\n long D = nl();\n \n long ans = Long.MIN_VALUE;\n ans = Math.max(ans, A*C);\n ans = Math.max(ans, A*D);\n ans = Math.max(ans, B*C);\n ans = Math.max(ans, B*D);\n\n out.println(ans);\n }\n\n final int mod = 1000000007;\n final BigInteger MOD = BigInteger.valueOf(mod);\n\n int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }\n int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "public class Main {\n \n void solve() throws IOException {\n long A = nl();\n long B = nl();\n long C = nl();\n long D = nl();\n \n long ans = Long.MIN_VALUE;\n ans = Math.max(ans, A*C);\n ans = Math.max(ans, A*D);\n ans = Math.max(ans, B*C);\n ans = Math.max(ans, B*D);\n\n out.println(ans);\n }\n\n final int mod = 1000000007;\n final BigInteger MOD = BigInteger.valueOf(mod);\n\n int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }\n int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}", "Main", "final int mod = 1000000007;", "mod", "1000000007", "final BigInteger MOD = BigInteger.valueOf(mod);", "MOD", "BigInteger.valueOf(mod)", "BigInteger.valueOf", "BigInteger", "mod", "static BufferedReader in;", "in", "static PrintWriter out;", "out", "static StringTokenizer tok;", "tok", "void solve() throws IOException {\n long A = nl();\n long B = nl();\n long C = nl();\n long D = nl();\n \n long ans = Long.MIN_VALUE;\n ans = Math.max(ans, A*C);\n ans = Math.max(ans, A*D);\n ans = Math.max(ans, B*C);\n ans = Math.max(ans, B*D);\n\n out.println(ans);\n }", "solve", "{\n long A = nl();\n long B = nl();\n long C = nl();\n long D = nl();\n \n long ans = Long.MIN_VALUE;\n ans = Math.max(ans, A*C);\n ans = Math.max(ans, A*D);\n ans = Math.max(ans, B*C);\n ans = Math.max(ans, B*D);\n\n out.println(ans);\n }", "long A = nl();", "A", "nl()", "nl", "long B = nl();", "B", "nl()", "nl", "long C = nl();", "C", "nl()", "nl", "long D = nl();", "D", "nl()", "nl", "long ans = Long.MIN_VALUE;", "ans", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "ans = Math.max(ans, A*C)", "ans", "Math.max(ans, A*C)", "Math.max", "Math", "ans", "A*C", "A", "C", "ans = Math.max(ans, A*D)", "ans", "Math.max(ans, A*D)", "Math.max", "Math", "ans", "A*D", "A", "D", "ans = Math.max(ans, B*C)", "ans", "Math.max(ans, B*C)", "Math.max", "Math", "ans", "B*C", "B", "C", "ans = Math.max(ans, B*D)", "ans", "Math.max(ans, B*D)", "Math.max", "Math", "ans", "B*D", "B", "D", "out.println(ans)", "out.println", "out", "ans", "int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }", "mul", "{\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }", "int val = (int)((x * 1L * y) % mod);", "val", "(int)((x * 1L * y) % mod)", "(x * 1L * y)", "x * 1L * y", "x", "1L", "y", "mod", "return val>=0 ? val : val+mod;", "val>=0 ? val : val+mod", "val>=0", "val", "0", "val", "val+mod", "val", "mod", "int x", "x", "int y", "y", "int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }", "add", "{\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }", "x += y", "x", "y", "if(x < 0) x += mod;", "x < 0", "x", "0", "x += mod", "x", "mod", "if(x>=mod) x -= mod;", "x>=mod", "x", "mod", "x -= mod", "x", "mod", "return x;", "x", "int x", "x", "int y", "y", "int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }", "sub", "{\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }", "x = add(x,mod-y)", "x", "add(x,mod-y)", "add", "x", "mod-y", "mod", "y", "if(x < 0) x += mod;", "x < 0", "x", "0", "x += mod", "x", "mod", "if(x>=mod) x -= mod;", "x>=mod", "x", "mod", "x -= mod", "x", "mod", "return x;", "x", "int x", "x", "int y", "y", "String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }", "ns", "{\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }", "while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }", "!tok.hasMoreTokens()", "tok.hasMoreTokens()", "tok.hasMoreTokens", "tok", "{\n tok = new StringTokenizer(in.readLine(), \" \");\n }", "tok = new StringTokenizer(in.readLine(), \" \")", "tok", "new StringTokenizer(in.readLine(), \" \")", "return tok.nextToken();", "tok.nextToken()", "tok.nextToken", "tok", "int ni() throws IOException {\n return Integer.parseInt(ns());\n }", "ni", "{\n return Integer.parseInt(ns());\n }", "return Integer.parseInt(ns());", "Integer.parseInt(ns())", "Integer.parseInt", "Integer", "ns()", "ns", "long nl() throws IOException {\n return Long.parseLong(ns());\n }", "nl", "{\n return Long.parseLong(ns());\n }", "return Long.parseLong(ns());", "Long.parseLong(ns())", "Long.parseLong", "Long", "ns()", "ns", "double nd() throws IOException {\n return Double.parseDouble(ns());\n }", "nd", "{\n return Double.parseDouble(ns());\n }", "return Double.parseDouble(ns());", "Double.parseDouble(ns())", "Double.parseDouble", "Double", "ns()", "ns", "String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }", "nsa", "{\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }", "String[] res = new String[n];", "res", "new String[n]", "n", "for (int i = 0; i < n; i++) {\n res[i] = ns();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n res[i] = ns();\n }", "{\n res[i] = ns();\n }", "res[i] = ns()", "res[i]", "res", "i", "ns()", "ns", "return res;", "res", "int n", "n", "int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }", "nia", "{\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }", "int[] res = new int[n];", "res", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n res[i] = ni();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n res[i] = ni();\n }", "{\n res[i] = ni();\n }", "res[i] = ni()", "res[i]", "res", "i", "ni()", "ni", "return res;", "res", "int n", "n", "long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }", "nla", "{\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }", "long[] res = new long[n];", "res", "new long[n]", "n", "for (int i = 0; i < n; i++) {\n res[i] = nl();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n res[i] = nl();\n }", "{\n res[i] = nl();\n }", "res[i] = nl()", "res[i]", "res", "i", "nl()", "nl", "return res;", "res", "int n", "n", "public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }", "main", "{\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }", "in = new BufferedReader(new InputStreamReader(System.in))", "in", "new BufferedReader(new InputStreamReader(System.in))", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "tok = new StringTokenizer(\"\")", "tok", "new StringTokenizer(\"\")", "Main main = new Main();", "main", "new Main()", "main.solve()", "main.solve", "main", "out.close()", "out.close", "out", "String[] args", "args", "public class Main {\n \n void solve() throws IOException {\n long A = nl();\n long B = nl();\n long C = nl();\n long D = nl();\n \n long ans = Long.MIN_VALUE;\n ans = Math.max(ans, A*C);\n ans = Math.max(ans, A*D);\n ans = Math.max(ans, B*C);\n ans = Math.max(ans, B*D);\n\n out.println(ans);\n }\n\n final int mod = 1000000007;\n final BigInteger MOD = BigInteger.valueOf(mod);\n\n int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }\n int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}", "public class Main {\n \n void solve() throws IOException {\n long A = nl();\n long B = nl();\n long C = nl();\n long D = nl();\n \n long ans = Long.MIN_VALUE;\n ans = Math.max(ans, A*C);\n ans = Math.max(ans, A*D);\n ans = Math.max(ans, B*C);\n ans = Math.max(ans, B*D);\n\n out.println(ans);\n }\n\n final int mod = 1000000007;\n final BigInteger MOD = BigInteger.valueOf(mod);\n\n int mul(int x, int y){\n int val = (int)((x * 1L * y) % mod);\n return val>=0 ? val : val+mod;\n }\n int add(int x, int y) {\n x += y;\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n int sub(int x, int y){\n x = add(x,mod-y);\n if(x < 0) x += mod;\n if(x>=mod) x -= mod;\n return x;\n }\n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.math.BigInteger; import java.util.*; public class Main { void solve() throws IOException { long A = nl(); long B = nl(); long C = nl(); long D = nl(); long ans = Long.MIN_VALUE; ans = Math.max(ans, A*C); ans = Math.max(ans, A*D); ans = Math.max(ans, B*C); ans = Math.max(ans, B*D); out.println(ans); } final int mod = 1000000007; final BigInteger MOD = BigInteger.valueOf(mod); int mul(int x, int y){ int val = (int)((x * 1L * y) % mod); return val>=0 ? val : val+mod; } int add(int x, int y) { x += y; if(x < 0) x += mod; if(x>=mod) x -= mod; return x; } int sub(int x, int y){ x = add(x,mod-y); if(x < 0) x += mod; if(x>=mod) x -= mod; return x; } String ns() throws IOException { while (!tok.hasMoreTokens()) { tok = new StringTokenizer(in.readLine(), " "); } return tok.nextToken(); } int ni() throws IOException { return Integer.parseInt(ns()); } long nl() throws IOException { return Long.parseLong(ns()); } double nd() throws IOException { return Double.parseDouble(ns()); } String[] nsa(int n) throws IOException { String[] res = new String[n]; for (int i = 0; i < n; i++) { res[i] = ns(); } return res; } int[] nia(int n) throws IOException { int[] res = new int[n]; for (int i = 0; i < n; i++) { res[i] = ni(); } return res; } long[] nla(int n) throws IOException { long[] res = new long[n]; for (int i = 0; i < n; i++) { res[i] = nl(); } return res; } static BufferedReader in; static PrintWriter out; static StringTokenizer tok; public static void main(String[] args) throws IOException { in = new BufferedReader(new InputStreamReader(System.in)); out = new PrintWriter(System.out); tok = new StringTokenizer(""); Main main = new Main(); main.solve(); out.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 76, 5 ], [ 76, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 8, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 6, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n scan.close();\n long max = a * c;\n \n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }\n \n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n scan.close();\n long max = a * c;\n \n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }\n \n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n scan.close();\n long max = a * c;\n \n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n scan.close();\n long max = a * c;\n \n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "long b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "long c = scan.nextInt();", "c", "scan.nextInt()", "scan.nextInt", "scan", "long d = scan.nextInt();", "d", "scan.nextInt()", "scan.nextInt", "scan", "scan.close()", "scan.close", "scan", "long max = a * c;", "max", "a * c", "a", "c", "max = Math.max(max, a * d)", "max", "Math.max(max, a * d)", "Math.max", "Math", "max", "a * d", "a", "d", "max = Math.max(max, b * c)", "max", "Math.max(max, b * c)", "Math.max", "Math", "max", "b * c", "b", "c", "max = Math.max(max, b * d)", "max", "Math.max(max, b * d)", "Math.max", "Math", "max", "b * d", "b", "d", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n scan.close();\n long max = a * c;\n \n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }\n \n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long a = scan.nextInt();\n long b = scan.nextInt();\n long c = scan.nextInt();\n long d = scan.nextInt();\n scan.close();\n long max = a * c;\n \n max = Math.max(max, a * d);\n max = Math.max(max, b * c);\n max = Math.max(max, b * d);\n\n System.out.println(max);\n }\n \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); long a = scan.nextInt(); long b = scan.nextInt(); long c = scan.nextInt(); long d = scan.nextInt(); scan.close(); long max = a * c; max = Math.max(max, a * d); max = Math.max(max, b * c); max = Math.max(max, b * d); System.out.println(max); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 13, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 350, 17 ], [ 350, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 40, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 18, 49 ], [ 49, 50 ], [ 350, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 55, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 55, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 55, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 86, 87 ], [ 55, 88 ], [ 88, 89 ], [ 88, 90 ], [ 55, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 91, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 105, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 105, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 130, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 127, 129 ], [ 130, 130 ], [ 130, 131 ], [ 130, 132 ], [ 121, 133 ], [ 133, 134 ], [ 133, 135 ], [ 120, 136 ], [ 136, 137 ], [ 145, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 142, 144 ], [ 145, 145 ], [ 145, 146 ], [ 145, 147 ], [ 136, 148 ], [ 148, 149 ], [ 148, 150 ], [ 119, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 154, 156 ], [ 119, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 168, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 165, 166 ], [ 165, 167 ], [ 168, 168 ], [ 168, 169 ], [ 168, 170 ], [ 159, 171 ], [ 171, 172 ], [ 171, 173 ], [ 158, 174 ], [ 174, 175 ], [ 183, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 180, 181 ], [ 180, 182 ], [ 183, 183 ], [ 183, 184 ], [ 183, 185 ], [ 174, 186 ], [ 186, 187 ], [ 186, 188 ], [ 157, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 192, 194 ], [ 157, 195 ], [ 195, 196 ], [ 198, 197 ], [ 205, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 202, 204 ], [ 205, 205 ], [ 205, 206 ], [ 205, 207 ], [ 198, 208 ], [ 208, 209 ], [ 208, 210 ], [ 195, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 215, 216 ], [ 214, 217 ], [ 217, 218 ], [ 217, 219 ], [ 214, 220 ], [ 220, 221 ], [ 220, 222 ], [ 195, 223 ], [ 223, 224 ], [ 226, 225 ], [ 233, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 226, 230 ], [ 230, 231 ], [ 230, 232 ], [ 233, 233 ], [ 233, 234 ], [ 233, 235 ], [ 226, 236 ], [ 236, 237 ], [ 236, 238 ], [ 223, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 242, 244 ], [ 223, 245 ], [ 245, 246 ], [ 248, 247 ], [ 255, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 248, 252 ], [ 252, 253 ], [ 252, 254 ], [ 255, 255 ], [ 255, 256 ], [ 255, 257 ], [ 248, 258 ], [ 258, 259 ], [ 258, 260 ], [ 245, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 264, 266 ], [ 245, 267 ], [ 267, 268 ], [ 270, 269 ], [ 277, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 270, 274 ], [ 274, 275 ], [ 274, 276 ], [ 277, 277 ], [ 277, 278 ], [ 277, 279 ], [ 270, 280 ], [ 280, 281 ], [ 280, 282 ], [ 267, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 286, 288 ], [ 267, 289 ], [ 289, 290 ], [ 292, 291 ], [ 299, 292 ], [ 292, 293 ], [ 293, 294 ], [ 293, 295 ], [ 292, 296 ], [ 296, 297 ], [ 296, 298 ], [ 299, 299 ], [ 299, 300 ], [ 299, 301 ], [ 292, 302 ], [ 302, 303 ], [ 302, 304 ], [ 289, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 308, 309 ], [ 308, 310 ], [ 289, 311 ], [ 311, 312 ], [ 312, 313 ], [ 313, 314 ], [ 313, 315 ], [ 312, 316 ], [ 316, 317 ], [ 316, 318 ], [ 311, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 322, 323 ], [ 322, 324 ], [ 311, 325 ], [ 325, 326 ], [ 326, 327 ], [ 327, 328 ], [ 327, 329 ], [ 326, 330 ], [ 330, 331 ], [ 330, 332 ], [ 325, 333 ], [ 333, 334 ], [ 334, 335 ], [ 334, 336 ], [ 336, 337 ], [ 336, 338 ], [ 55, 339 ], [ 339, 340 ], [ 340, 341 ], [ 339, 342 ], [ 53, 343 ], [ 343, 344 ], [ 53, 345 ], [ 345, 346 ], [ 53, 347 ], [ 347, 348 ], [ 0, 349 ], [ 349, 350 ], [ 349, 351 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int d = Integer.parseInt(in.next());\n long ans = 0;\n\n if (b <= 0 && d <= 0) {\n ans = (long) a * (long) c;\n } else if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int d = Integer.parseInt(in.next());\n long ans = 0;\n\n if (b <= 0 && d <= 0) {\n ans = (long) a * (long) c;\n } else if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "Scanner in = new Scanner(inputStream);", "in", "new Scanner(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "BProductMax solver = new BProductMax();", "solver", "new BProductMax()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class BProductMax {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int d = Integer.parseInt(in.next());\n long ans = 0;\n\n if (b <= 0 && d <= 0) {\n ans = (long) a * (long) c;\n } else if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }", "BProductMax", "public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int d = Integer.parseInt(in.next());\n long ans = 0;\n\n if (b <= 0 && d <= 0) {\n ans = (long) a * (long) c;\n } else if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }\n\n // 出力\n out.println(ans);\n\n }", "solve", "{\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int d = Integer.parseInt(in.next());\n long ans = 0;\n\n if (b <= 0 && d <= 0) {\n ans = (long) a * (long) c;\n } else if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }\n\n // 出力\n out.println(ans);\n\n }", "int a = Integer.parseInt(in.next());", "a", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int b = Integer.parseInt(in.next());", "b", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int c = Integer.parseInt(in.next());", "c", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "int d = Integer.parseInt(in.next());", "d", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "long ans = 0;", "ans", "0", "if (b <= 0 && d <= 0) {\n ans = (long) a * (long) c;\n } else if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "b <= 0 && d <= 0", "b <= 0", "b", "0", "d <= 0", "d", "0", "{\n ans = (long) a * (long) c;\n }", "ans = (long) a * (long) c", "ans", "(long) a * (long) c", "(long) a", "(long) c", "if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "a >= 0 && c >= 0", "a >= 0", "a", "0", "c >= 0", "c", "0", "{\n ans = (long) b * (long) d;\n }", "ans = (long) b * (long) d", "ans", "(long) b * (long) d", "(long) b", "(long) d", "if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "(a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)", "(a < 0 && b <= 0 && c < 0 && d <= 0)", "c < 0", "a < 0 && b <= 0 && c < 0 && d <= 0", "a < 0", "a", "0", "b <= 0", "b", "0", "c < 0", "c", "0", "d <= 0", "d", "0", "(a < 0 && b < 0 && c < 0 && d > 0)", "c < 0", "a < 0 && b < 0 && c < 0 && d > 0", "a < 0", "a", "0", "b < 0", "b", "0", "c < 0", "c", "0", "d > 0", "d", "0", "{\n ans = (long) a * (long) c;\n }", "ans = (long) a * (long) c", "ans", "(long) a * (long) c", "(long) a", "(long) c", "if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "(a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)", "(a >= 0 && b > 0 && c >= 0 && d > 0)", "c >= 0", "a >= 0 && b > 0 && c >= 0 && d > 0", "a >= 0", "a", "0", "b > 0", "b", "0", "c >= 0", "c", "0", "d > 0", "d", "0", "(a > 0 && b > 0 && c < 0 && d > 0)", "c < 0", "a > 0 && b > 0 && c < 0 && d > 0", "a > 0", "a", "0", "b > 0", "b", "0", "c < 0", "c", "0", "d > 0", "d", "0", "{\n ans = (long) b * (long) d;\n }", "ans = (long) b * (long) d", "ans", "(long) b * (long) d", "(long) b", "(long) d", "if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "a < 0 && b > 0 && c < 0 && d > 0", "c < 0", "a < 0 && b > 0 && c < 0 && d > 0", "a < 0", "a", "0", "b > 0", "b", "0", "c < 0", "c", "0", "d > 0", "d", "0", "{\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n }", "ans = Math.max((long) b * (long) d, (long) a * (long) c)", "ans", "Math.max((long) b * (long) d, (long) a * (long) c)", "Math.max", "Math", "(long) b * (long) d", "(long) b", "(long) d", "(long) a * (long) c", "(long) a", "(long) c", "if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "a < 0 && b > 0 && c > 0 && d > 0", "c > 0", "a < 0 && b > 0 && c > 0 && d > 0", "a < 0", "a", "0", "b > 0", "b", "0", "c > 0", "c", "0", "d > 0", "d", "0", "{\n ans = (long) b * (long) d;\n }", "ans = (long) b * (long) d", "ans", "(long) b * (long) d", "(long) b", "(long) d", "if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "a < 0 && b < 0 && c > 0 && d > 0", "c > 0", "a < 0 && b < 0 && c > 0 && d > 0", "a < 0", "a", "0", "b < 0", "b", "0", "c > 0", "c", "0", "d > 0", "d", "0", "{\n ans = (long) b * (long) c;\n }", "ans = (long) b * (long) c", "ans", "(long) b * (long) c", "(long) b", "(long) c", "if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "a > 0 && b > 0 && c < 0 && d < 0", "c < 0", "a > 0 && b > 0 && c < 0 && d < 0", "a > 0", "a", "0", "b > 0", "b", "0", "c < 0", "c", "0", "d < 0", "d", "0", "{\n ans = (long) a * (long) d;\n }", "ans = (long) a * (long) d", "ans", "(long) a * (long) d", "(long) a", "(long) d", "if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "a < 0 && b > 0 && c < 0 && d < 0", "c < 0", "a < 0 && b > 0 && c < 0 && d < 0", "a < 0", "a", "0", "b > 0", "b", "0", "c < 0", "c", "0", "d < 0", "d", "0", "{\n ans = (long) a * (long) c;\n }", "ans = (long) a * (long) c", "ans", "(long) a * (long) c", "(long) a", "(long) c", "if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "b <= 0 && c >= 0", "b <= 0", "b", "0", "c >= 0", "c", "0", "{\n ans = (long) b * (long) c;\n }", "ans = (long) b * (long) c", "ans", "(long) b * (long) c", "(long) b", "(long) c", "if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }", "a >= 0 && d <= 0", "a >= 0", "a", "0", "d <= 0", "d", "0", "{\n ans = (long) a * (long) d;\n }", "ans = (long) a * (long) d", "ans", "(long) a * (long) d", "(long) a", "(long) d", "out.println(ans)", "out.println", "out", "ans", "int testNumber", "testNumber", "Scanner in", "in", "PrintWriter out", "out", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int d = Integer.parseInt(in.next());\n long ans = 0;\n\n if (b <= 0 && d <= 0) {\n ans = (long) a * (long) c;\n } else if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BProductMax solver = new BProductMax();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BProductMax {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n // 入力\n int a = Integer.parseInt(in.next());\n int b = Integer.parseInt(in.next());\n int c = Integer.parseInt(in.next());\n int d = Integer.parseInt(in.next());\n long ans = 0;\n\n if (b <= 0 && d <= 0) {\n ans = (long) a * (long) c;\n } else if (a >= 0 && c >= 0) {\n ans = (long) b * (long) d;\n } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) {\n ans = (long) a * (long) c;\n } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n ans = Math.max((long) b * (long) d, (long) a * (long) c);\n } else if (a < 0 && b > 0 && c > 0 && d > 0) {\n ans = (long) b * (long) d;\n } else if (a < 0 && b < 0 && c > 0 && d > 0) {\n ans = (long) b * (long) c;\n } else if (a > 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) d;\n } else if (a < 0 && b > 0 && c < 0 && d < 0) {\n ans = (long) a * (long) c;\n } else if (b <= 0 && c >= 0) {\n ans = (long) b * (long) c;\n } else if (a >= 0 && d <= 0) {\n ans = (long) a * (long) d;\n }\n\n // 出力\n out.println(ans);\n\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; Scanner in = new Scanner(inputStream); PrintWriter out = new PrintWriter(outputStream); BProductMax solver = new BProductMax(); solver.solve(1, in, out); out.close(); } static class BProductMax { public void solve(int testNumber, Scanner in, PrintWriter out) { // 入力 int a = Integer.parseInt(in.next()); int b = Integer.parseInt(in.next()); int c = Integer.parseInt(in.next()); int d = Integer.parseInt(in.next()); long ans = 0; if (b <= 0 && d <= 0) { ans = (long) a * (long) c; } else if (a >= 0 && c >= 0) { ans = (long) b * (long) d; } else if ((a < 0 && b <= 0 && c < 0 && d <= 0) || (a < 0 && b < 0 && c < 0 && d > 0)) { ans = (long) a * (long) c; } else if ((a >= 0 && b > 0 && c >= 0 && d > 0) || (a > 0 && b > 0 && c < 0 && d > 0)) { ans = (long) b * (long) d; } else if (a < 0 && b > 0 && c < 0 && d > 0) { ans = Math.max((long) b * (long) d, (long) a * (long) c); } else if (a < 0 && b > 0 && c > 0 && d > 0) { ans = (long) b * (long) d; } else if (a < 0 && b < 0 && c > 0 && d > 0) { ans = (long) b * (long) c; } else if (a > 0 && b > 0 && c < 0 && d < 0) { ans = (long) a * (long) d; } else if (a < 0 && b > 0 && c < 0 && d < 0) { ans = (long) a * (long) c; } else if (b <= 0 && c >= 0) { ans = (long) b * (long) c; } else if (a >= 0 && d <= 0) { ans = (long) a * (long) d; } // 出力 out.println(ans); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 13, 17, 42, 17, 30, 38, 5, 13, 30, 3, 30, 41, 13, 4, 18, 18, 13, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 30, 3, 30, 4, 18, 13, 13, 12, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 13, 29, 20, 12, 13, 30, 4, 13, 29, 20, 23, 13, 12, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 4, 13, 29, 20, 12, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 17, 30, 38, 5, 13, 30, 3, 30, 41, 13, 4, 18, 18, 13, 13, 14, 2, 2, 13, 17, 2, 13, 40, 17, 30, 3, 12, 13, 30, 42, 17, 30, 38, 5, 13, 30, 3, 30, 41, 13, 4, 18, 18, 13, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 3, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 282, 11 ], [ 282, 12 ], [ 12, 13 ], [ 12, 14 ], [ 282, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 17, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 17, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 17, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 15, 72 ], [ 72, 73 ], [ 282, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 97, 98 ], [ 99, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 103, 105 ], [ 99, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 97, 110 ], [ 110, 111 ], [ 97, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 282, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 126, 127 ], [ 127, 128 ], [ 282, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 138, 139 ], [ 139, 140 ], [ 135, 141 ], [ 129, 142 ], [ 142, 143 ], [ 282, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 153, 154 ], [ 154, 155 ], [ 282, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 165, 166 ], [ 166, 167 ], [ 162, 168 ], [ 156, 169 ], [ 169, 170 ], [ 282, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 176, 177 ], [ 282, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 180, 183 ], [ 183, 184 ], [ 178, 185 ], [ 185, 186 ], [ 282, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 189, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 193, 196 ], [ 196, 197 ], [ 197, 198 ], [ 282, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 204, 205 ], [ 282, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 209, 210 ], [ 208, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 212, 215 ], [ 215, 216 ], [ 216, 217 ], [ 282, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 224, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 229, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 238, 242 ], [ 242, 243 ], [ 242, 244 ], [ 244, 245 ], [ 237, 246 ], [ 246, 247 ], [ 282, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 257, 258 ], [ 254, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 259, 267 ], [ 267, 268 ], [ 269, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 269, 273 ], [ 273, 274 ], [ 273, 275 ], [ 269, 276 ], [ 276, 277 ], [ 276, 278 ], [ 278, 279 ], [ 267, 280 ], [ 0, 281 ], [ 281, 282 ], [ 281, 283 ] ]
[ "import java.io.IOException;\nimport java.math.BigDecimal;\nimport java.math.BigInteger;\n\npublic class Main {\n private static final StringBuilder builder = new StringBuilder();\n public static void main(String[] args) {\n long a = readLong(), b = readLong(), c = readLong(), d = readLong();\n long ac = a * c, ad = a * d, bc = b * c, bd = b * d;\n System.out.print(Math.max(Math.max(ac, ad), Math.max(bc, bd)));\n }\n\n private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }\n\n private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }\n\n private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }\n\n private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }\n\n private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }\n\n private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }\n\n private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }\n\n private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }\n\n private static float readFloat() {\n read();\n return Float.parseFloat(builder.toString());\n }\n\n private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }\n\n}", "import java.io.IOException;", "IOException", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.BigInteger;", "BigInteger", "java.math", "public class Main {\n private static final StringBuilder builder = new StringBuilder();\n public static void main(String[] args) {\n long a = readLong(), b = readLong(), c = readLong(), d = readLong();\n long ac = a * c, ad = a * d, bc = b * c, bd = b * d;\n System.out.print(Math.max(Math.max(ac, ad), Math.max(bc, bd)));\n }\n\n private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }\n\n private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }\n\n private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }\n\n private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }\n\n private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }\n\n private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }\n\n private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }\n\n private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }\n\n private static float readFloat() {\n read();\n return Float.parseFloat(builder.toString());\n }\n\n private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }\n\n}", "Main", "private static final StringBuilder builder = new StringBuilder();", "builder", "new StringBuilder()", "public static void main(String[] args) {\n long a = readLong(), b = readLong(), c = readLong(), d = readLong();\n long ac = a * c, ad = a * d, bc = b * c, bd = b * d;\n System.out.print(Math.max(Math.max(ac, ad), Math.max(bc, bd)));\n }", "main", "{\n long a = readLong(), b = readLong(), c = readLong(), d = readLong();\n long ac = a * c, ad = a * d, bc = b * c, bd = b * d;\n System.out.print(Math.max(Math.max(ac, ad), Math.max(bc, bd)));\n }", "long a = readLong()", "a", "readLong()", "readLong", "b = readLong()", "b", "readLong()", "readLong", "c = readLong()", "c", "readLong()", "readLong", "d = readLong();", "d", "readLong()", "readLong", "long ac = a * c", "ac", "a * c", "a", "c", "ad = a * d", "ad", "a * d", "a", "d", "bc = b * c", "bc", "b * c", "b", "c", "bd = b * d;", "bd", "b * d", "b", "d", "System.out.print(Math.max(Math.max(ac, ad), Math.max(bc, bd)))", "System.out.print", "System.out", "System", "System.out", "Math.max(Math.max(ac, ad), Math.max(bc, bd))", "Math.max", "Math", "Math.max(ac, ad)", "Math.max", "Math", "ac", "ad", "Math.max(bc, bd)", "Math.max", "Math", "bc", "bd", "String[] args", "args", "private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }", "read", "{\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }", "builder.setLength(0)", "builder.setLength", "builder", "0", "while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }", "true", "{\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }", "try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }", "catch (IOException e) {\n break;\n }", "IOException e", "{\n break;\n }", "break;", "{\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n }", "int b = System.in.read();", "b", "System.in.read()", "System.in.read", "System.in", "System", "System.in", "if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }", "b == ' ' || b == '\\n' || b == -1", "b == ' ' || b == '\\n' || b == -1", "b == ' '", "b", "' '", "b == '\\n'", "b", "'\\n'", "b == -1", "b", "-1", "1", "{\n break;\n }", "break;", "{\n builder.appendCodePoint(b);\n }", "builder.appendCodePoint(b)", "builder.appendCodePoint", "builder", "b", "private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }", "readInt", "{\n read();\n return Integer.parseInt(builder.toString());\n }", "read()", "read", "return Integer.parseInt(builder.toString());", "Integer.parseInt(builder.toString())", "Integer.parseInt", "Integer", "builder.toString()", "builder.toString", "builder", "private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }", "readInt", "{\n read();\n return Integer.parseInt(builder.toString(), radix);\n }", "read()", "read", "return Integer.parseInt(builder.toString(), radix);", "Integer.parseInt(builder.toString(), radix)", "Integer.parseInt", "Integer", "builder.toString()", "builder.toString", "builder", "radix", "int radix", "radix", "private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }", "readLong", "{\n read();\n return Long.parseLong(builder.toString());\n }", "read()", "read", "return Long.parseLong(builder.toString());", "Long.parseLong(builder.toString())", "Long.parseLong", "Long", "builder.toString()", "builder.toString", "builder", "private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }", "readLong", "{\n read();\n return Long.parseLong(builder.toString(), radix);\n }", "read()", "read", "return Long.parseLong(builder.toString(), radix);", "Long.parseLong(builder.toString(), radix)", "Long.parseLong", "Long", "builder.toString()", "builder.toString", "builder", "radix", "int radix", "radix", "private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }", "readBigInteger", "{\n read();\n return new BigInteger(builder.toString());\n }", "read()", "read", "return new BigInteger(builder.toString());", "new BigInteger(builder.toString())", "private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }", "readBigInteger", "{\n read();\n return new BigInteger(builder.toString(), radix);\n }", "read()", "read", "return new BigInteger(builder.toString(), radix);", "new BigInteger(builder.toString(), radix)", "int radix", "radix", "private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }", "readDouble", "{\n read();\n return Double.parseDouble(builder.toString());\n }", "read()", "read", "return Double.parseDouble(builder.toString());", "Double.parseDouble(builder.toString())", "Double.parseDouble", "Double", "builder.toString()", "builder.toString", "builder", "private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }", "readBigDecimal", "{\n read();\n return new BigDecimal(builder.toString());\n }", "read()", "read", "return new BigDecimal(builder.toString());", "new BigDecimal(builder.toString())", "private static float readFloat() {\n read();\n return Float.parseFloat(builder.toString());\n }", "readFloat", "{\n read();\n return Float.parseFloat(builder.toString());\n }", "read()", "read", "return Float.parseFloat(builder.toString());", "Float.parseFloat(builder.toString())", "Float.parseFloat", "Float", "builder.toString()", "builder.toString", "builder", "private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }", "skipLine", "{\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }", "while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }", "true", "{\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }", "try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }", "catch (IOException e) {\n break;\n }", "IOException e", "{\n break;\n }", "break;", "{\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n }", "int b = System.in.read();", "b", "System.in.read()", "System.in.read", "System.in", "System", "System.in", "if (b == '\\n' || b == -1) {\n break;\n }", "b == '\\n' || b == -1", "b == '\\n'", "b", "'\\n'", "b == -1", "b", "-1", "1", "{\n break;\n }", "break;", "private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }", "skip", "{\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }", "while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }", "true", "{\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }", "try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }", "catch (IOException e) {\n break;\n }", "IOException e", "{\n break;\n }", "break;", "{\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n }", "int b = System.in.read();", "b", "System.in.read()", "System.in.read", "System.in", "System", "System.in", "if (b == ' ' || b == '\\n' || b == -1) break;", "b == ' ' || b == '\\n' || b == -1", "b == ' ' || b == '\\n' || b == -1", "b == ' '", "b", "' '", "b == '\\n'", "b", "'\\n'", "b == -1", "b", "-1", "1", "break;", "public class Main {\n private static final StringBuilder builder = new StringBuilder();\n public static void main(String[] args) {\n long a = readLong(), b = readLong(), c = readLong(), d = readLong();\n long ac = a * c, ad = a * d, bc = b * c, bd = b * d;\n System.out.print(Math.max(Math.max(ac, ad), Math.max(bc, bd)));\n }\n\n private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }\n\n private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }\n\n private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }\n\n private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }\n\n private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }\n\n private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }\n\n private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }\n\n private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }\n\n private static float readFloat() {\n read();\n return Float.parseFloat(builder.toString());\n }\n\n private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }\n\n}", "public class Main {\n private static final StringBuilder builder = new StringBuilder();\n public static void main(String[] args) {\n long a = readLong(), b = readLong(), c = readLong(), d = readLong();\n long ac = a * c, ad = a * d, bc = b * c, bd = b * d;\n System.out.print(Math.max(Math.max(ac, ad), Math.max(bc, bd)));\n }\n\n private static void read() {\n builder.setLength(0);\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) {\n break;\n } else {\n builder.appendCodePoint(b);\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static int readInt() {\n read();\n return Integer.parseInt(builder.toString());\n }\n\n private static int readInt(int radix) {\n read();\n return Integer.parseInt(builder.toString(), radix);\n }\n\n private static long readLong() {\n read();\n return Long.parseLong(builder.toString());\n }\n\n private static long readLong(int radix) {\n read();\n return Long.parseLong(builder.toString(), radix);\n }\n\n private static BigInteger readBigInteger() {\n read();\n return new BigInteger(builder.toString());\n }\n\n private static BigInteger readBigInteger(int radix) {\n read();\n return new BigInteger(builder.toString(), radix);\n }\n\n private static double readDouble() {\n read();\n return Double.parseDouble(builder.toString());\n }\n\n private static BigDecimal readBigDecimal() {\n read();\n return new BigDecimal(builder.toString());\n }\n\n private static float readFloat() {\n read();\n return Float.parseFloat(builder.toString());\n }\n\n private static void skipLine() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == '\\n' || b == -1) {\n break;\n }\n } catch (IOException e) {\n break;\n }\n }\n }\n\n private static void skip() {\n while (true) {\n try {\n int b = System.in.read();\n if (b == ' ' || b == '\\n' || b == -1) break;\n } catch (IOException e) {\n break;\n }\n }\n }\n\n}", "Main" ]
import java.io.IOException; import java.math.BigDecimal; import java.math.BigInteger; public class Main { private static final StringBuilder builder = new StringBuilder(); public static void main(String[] args) { long a = readLong(), b = readLong(), c = readLong(), d = readLong(); long ac = a * c, ad = a * d, bc = b * c, bd = b * d; System.out.print(Math.max(Math.max(ac, ad), Math.max(bc, bd))); } private static void read() { builder.setLength(0); while (true) { try { int b = System.in.read(); if (b == ' ' || b == '\n' || b == -1) { break; } else { builder.appendCodePoint(b); } } catch (IOException e) { break; } } } private static int readInt() { read(); return Integer.parseInt(builder.toString()); } private static int readInt(int radix) { read(); return Integer.parseInt(builder.toString(), radix); } private static long readLong() { read(); return Long.parseLong(builder.toString()); } private static long readLong(int radix) { read(); return Long.parseLong(builder.toString(), radix); } private static BigInteger readBigInteger() { read(); return new BigInteger(builder.toString()); } private static BigInteger readBigInteger(int radix) { read(); return new BigInteger(builder.toString(), radix); } private static double readDouble() { read(); return Double.parseDouble(builder.toString()); } private static BigDecimal readBigDecimal() { read(); return new BigDecimal(builder.toString()); } private static float readFloat() { read(); return Float.parseFloat(builder.toString()); } private static void skipLine() { while (true) { try { int b = System.in.read(); if (b == '\n' || b == -1) { break; } } catch (IOException e) { break; } } } private static void skip() { while (true) { try { int b = System.in.read(); if (b == ' ' || b == '\n' || b == -1) break; } catch (IOException e) { break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 17, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "\nimport java.util.*;\npublic class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextInt();\n long b=sc.nextInt();\n long c=sc.nextInt();\n long d=sc.nextInt();\n long arr[]=new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n System.out.println(arr[3]);\n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextInt();\n long b=sc.nextInt();\n long c=sc.nextInt();\n long d=sc.nextInt();\n long arr[]=new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n System.out.println(arr[3]);\n \n }\n}", "Main", "public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextInt();\n long b=sc.nextInt();\n long c=sc.nextInt();\n long d=sc.nextInt();\n long arr[]=new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n System.out.println(arr[3]);\n \n }", "main", "{\n Scanner sc=new Scanner(System.in);\n long a=sc.nextInt();\n long b=sc.nextInt();\n long c=sc.nextInt();\n long d=sc.nextInt();\n long arr[]=new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n System.out.println(arr[3]);\n \n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b=sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c=sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d=sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long arr[]=new long[4];", "arr", "new long[4]", "4", "arr[0]=a*c", "arr[0]", "arr", "0", "a*c", "a", "c", "arr[1]=a*d", "arr[1]", "arr", "1", "a*d", "a", "d", "arr[2]=b*c", "arr[2]", "arr", "2", "b*c", "b", "c", "arr[3]=b*d", "arr[3]", "arr", "3", "b*d", "b", "d", "Arrays.sort(arr)", "Arrays.sort", "Arrays", "arr", "System.out.println(arr[3])", "System.out.println", "System.out", "System", "System.out", "arr[3]", "arr", "3", "String args[]", "args", "public class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextInt();\n long b=sc.nextInt();\n long c=sc.nextInt();\n long d=sc.nextInt();\n long arr[]=new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n System.out.println(arr[3]);\n \n }\n}", "public class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n long a=sc.nextInt();\n long b=sc.nextInt();\n long c=sc.nextInt();\n long d=sc.nextInt();\n long arr[]=new long[4];\n arr[0]=a*c;\n arr[1]=a*d;\n arr[2]=b*c;\n arr[3]=b*d;\n Arrays.sort(arr);\n System.out.println(arr[3]);\n \n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc=new Scanner(System.in); long a=sc.nextInt(); long b=sc.nextInt(); long c=sc.nextInt(); long d=sc.nextInt(); long arr[]=new long[4]; arr[0]=a*c; arr[1]=a*d; arr[2]=b*c; arr[3]=b*d; Arrays.sort(arr); System.out.println(arr[3]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 97, 5 ], [ 97, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 19, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 8, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 8, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 84, 88 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 89, 93 ], [ 6, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.util.*;\n\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] lines = line.split(\" \", 0);\n long a = Long.parseLong(lines[0]);\n long b = Long.parseLong(lines[1]);\n long c = Long.parseLong(lines[2]);\n long d = Long.parseLong(lines[3]);\n \n long x1 = a * c;\n long x2 = a * d;\n long x3 = b * c;\n long x4 = b * d;\n\n System.out.println(Math.max(Math.max(x1, x2), Math.max(x3, x4)));\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] lines = line.split(\" \", 0);\n long a = Long.parseLong(lines[0]);\n long b = Long.parseLong(lines[1]);\n long c = Long.parseLong(lines[2]);\n long d = Long.parseLong(lines[3]);\n \n long x1 = a * c;\n long x2 = a * d;\n long x3 = b * c;\n long x4 = b * d;\n\n System.out.println(Math.max(Math.max(x1, x2), Math.max(x3, x4)));\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] lines = line.split(\" \", 0);\n long a = Long.parseLong(lines[0]);\n long b = Long.parseLong(lines[1]);\n long c = Long.parseLong(lines[2]);\n long d = Long.parseLong(lines[3]);\n \n long x1 = a * c;\n long x2 = a * d;\n long x3 = b * c;\n long x4 = b * d;\n\n System.out.println(Math.max(Math.max(x1, x2), Math.max(x3, x4)));\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] lines = line.split(\" \", 0);\n long a = Long.parseLong(lines[0]);\n long b = Long.parseLong(lines[1]);\n long c = Long.parseLong(lines[2]);\n long d = Long.parseLong(lines[3]);\n \n long x1 = a * c;\n long x2 = a * d;\n long x3 = b * c;\n long x4 = b * d;\n\n System.out.println(Math.max(Math.max(x1, x2), Math.max(x3, x4)));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] lines = line.split(\" \", 0);", "lines", "line.split(\" \", 0)", "line.split", "line", "\" \"", "0", "long a = Long.parseLong(lines[0]);", "a", "Long.parseLong(lines[0])", "Long.parseLong", "Long", "lines[0]", "lines", "0", "long b = Long.parseLong(lines[1]);", "b", "Long.parseLong(lines[1])", "Long.parseLong", "Long", "lines[1]", "lines", "1", "long c = Long.parseLong(lines[2]);", "c", "Long.parseLong(lines[2])", "Long.parseLong", "Long", "lines[2]", "lines", "2", "long d = Long.parseLong(lines[3]);", "d", "Long.parseLong(lines[3])", "Long.parseLong", "Long", "lines[3]", "lines", "3", "long x1 = a * c;", "x1", "a * c", "a", "c", "long x2 = a * d;", "x2", "a * d", "a", "d", "long x3 = b * c;", "x3", "b * c", "b", "c", "long x4 = b * d;", "x4", "b * d", "b", "d", "System.out.println(Math.max(Math.max(x1, x2), Math.max(x3, x4)))", "System.out.println", "System.out", "System", "System.out", "Math.max(Math.max(x1, x2), Math.max(x3, x4))", "Math.max", "Math", "Math.max(x1, x2)", "Math.max", "Math", "x1", "x2", "Math.max(x3, x4)", "Math.max", "Math", "x3", "x4", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] lines = line.split(\" \", 0);\n long a = Long.parseLong(lines[0]);\n long b = Long.parseLong(lines[1]);\n long c = Long.parseLong(lines[2]);\n long d = Long.parseLong(lines[3]);\n \n long x1 = a * c;\n long x2 = a * d;\n long x3 = b * c;\n long x4 = b * d;\n\n System.out.println(Math.max(Math.max(x1, x2), Math.max(x3, x4)));\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n String[] lines = line.split(\" \", 0);\n long a = Long.parseLong(lines[0]);\n long b = Long.parseLong(lines[1]);\n long c = Long.parseLong(lines[2]);\n long d = Long.parseLong(lines[3]);\n \n long x1 = a * c;\n long x2 = a * d;\n long x3 = b * c;\n long x4 = b * d;\n\n System.out.println(Math.max(Math.max(x1, x2), Math.max(x3, x4)));\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] lines = line.split(" ", 0); long a = Long.parseLong(lines[0]); long b = Long.parseLong(lines[1]); long c = Long.parseLong(lines[2]); long d = Long.parseLong(lines[3]); long x1 = a * c; long x2 = a * d; long x3 = b * c; long x4 = b * d; System.out.println(Math.max(Math.max(x1, x2), Math.max(x3, x4))); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 13, 41, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 109, 5 ], [ 109, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 41, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 56, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 68, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 8, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 6, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "import java.util.Scanner;\n\n// 提出時にclass Main に書き換え\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// 標準入力を受け取る\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // long aを受け取る\n\t\tlong b = sc.nextLong(); // long bを受け取る\n\t\tlong c = sc.nextLong(); // long cを受け取る\n\t\tlong d = sc.nextLong(); // long dを受け取る\n\t\tsc.close(); // 標準入力を終了\n\n\t\tlong x = b;\n\t\tlong y = d;\n\n\t\tif (b <= 0 && d <= 0) {\n\t\t\t// 負×負 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t} else if (a >= 0 && d <= 0) {\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t} else if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}\n\n\t\tlong ans = x * y;\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// 標準入力を受け取る\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // long aを受け取る\n\t\tlong b = sc.nextLong(); // long bを受け取る\n\t\tlong c = sc.nextLong(); // long cを受け取る\n\t\tlong d = sc.nextLong(); // long dを受け取る\n\t\tsc.close(); // 標準入力を終了\n\n\t\tlong x = b;\n\t\tlong y = d;\n\n\t\tif (b <= 0 && d <= 0) {\n\t\t\t// 負×負 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t} else if (a >= 0 && d <= 0) {\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t} else if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}\n\n\t\tlong ans = x * y;\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// 標準入力を受け取る\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // long aを受け取る\n\t\tlong b = sc.nextLong(); // long bを受け取る\n\t\tlong c = sc.nextLong(); // long cを受け取る\n\t\tlong d = sc.nextLong(); // long dを受け取る\n\t\tsc.close(); // 標準入力を終了\n\n\t\tlong x = b;\n\t\tlong y = d;\n\n\t\tif (b <= 0 && d <= 0) {\n\t\t\t// 負×負 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t} else if (a >= 0 && d <= 0) {\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t} else if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}\n\n\t\tlong ans = x * y;\n\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\t// 標準入力を受け取る\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // long aを受け取る\n\t\tlong b = sc.nextLong(); // long bを受け取る\n\t\tlong c = sc.nextLong(); // long cを受け取る\n\t\tlong d = sc.nextLong(); // long dを受け取る\n\t\tsc.close(); // 標準入力を終了\n\n\t\tlong x = b;\n\t\tlong y = d;\n\n\t\tif (b <= 0 && d <= 0) {\n\t\t\t// 負×負 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t} else if (a >= 0 && d <= 0) {\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t} else if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}\n\n\t\tlong ans = x * y;\n\n\t\tSystem.out.println(ans);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "sc.close()", "sc.close", "sc", "long x = b;", "x", "b", "long y = d;", "y", "d", "if (b <= 0 && d <= 0) {\n\t\t\t// 負×負 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t} else if (a >= 0 && d <= 0) {\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t} else if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}", "b <= 0 && d <= 0", "b <= 0", "b", "0", "d <= 0", "d", "0", "{\n\t\t\t// 負×負 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}", "x = a", "x", "a", "y = c", "y", "c", "if (a >= 0 && d <= 0) {\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t} else if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}", "a >= 0 && d <= 0", "a >= 0", "a", "0", "d <= 0", "d", "0", "{\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t}", "x = a", "x", "a", "if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}", "b <= 0 && c >= 0", "b <= 0", "b", "0", "c >= 0", "c", "0", "{\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t}", "y = c", "y", "c", "if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}", "a * c > b * d", "a * c", "a", "c", "b * d", "b", "d", "{\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}", "x = a", "x", "a", "y = c", "y", "c", "long ans = x * y;", "ans", "x * y", "x", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// 標準入力を受け取る\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // long aを受け取る\n\t\tlong b = sc.nextLong(); // long bを受け取る\n\t\tlong c = sc.nextLong(); // long cを受け取る\n\t\tlong d = sc.nextLong(); // long dを受け取る\n\t\tsc.close(); // 標準入力を終了\n\n\t\tlong x = b;\n\t\tlong y = d;\n\n\t\tif (b <= 0 && d <= 0) {\n\t\t\t// 負×負 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t} else if (a >= 0 && d <= 0) {\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t} else if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}\n\n\t\tlong ans = x * y;\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// 標準入力を受け取る\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong(); // long aを受け取る\n\t\tlong b = sc.nextLong(); // long bを受け取る\n\t\tlong c = sc.nextLong(); // long cを受け取る\n\t\tlong d = sc.nextLong(); // long dを受け取る\n\t\tsc.close(); // 標準入力を終了\n\n\t\tlong x = b;\n\t\tlong y = d;\n\n\t\tif (b <= 0 && d <= 0) {\n\t\t\t// 負×負 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t} else if (a >= 0 && d <= 0) {\n\t\t\t// 正×負 x=a, y=d が最大\n\t\t\tx = a;\n\t\t} else if (b <= 0 && c >= 0) {\n\t\t\t// 負×正 x=b, y=c が最大\n\t\t\ty = c;\n\t\t} else if (a * c > b * d) {\n\t\t\t// a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大\n\t\t\tx = a;\n\t\t\ty = c;\n\t\t}\n\n\t\tlong ans = x * y;\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "Main" ]
import java.util.Scanner; // 提出時にclass Main に書き換え public class Main { public static void main(String[] args) { // 標準入力を受け取る Scanner sc = new Scanner(System.in); long a = sc.nextLong(); // long aを受け取る long b = sc.nextLong(); // long bを受け取る long c = sc.nextLong(); // long cを受け取る long d = sc.nextLong(); // long dを受け取る sc.close(); // 標準入力を終了 long x = b; long y = d; if (b <= 0 && d <= 0) { // 負×負 x=a, y=c が最大 x = a; y = c; } else if (a >= 0 && d <= 0) { // 正×負 x=a, y=d が最大 x = a; } else if (b <= 0 && c >= 0) { // 負×正 x=b, y=c が最大 y = c; } else if (a * c > b * d) { // a*cの方が、b*dよりも解が大きい場合 x=a, y=c が最大 x = a; y = c; } long ans = x * y; System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 39, 45 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 48, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 57, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 6, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String args[]){\n\n Scanner src = new Scanner(System.in);\n\n int a = src.nextInt();\n int b = src.nextInt();\n int c = src.nextInt();\n int d = src.nextInt();\n\n long max = (long)a*(long)c;\n\n max = Math.max((long)b*(long)d,max);\n max = Math.max((long)a*(long)d,max);\n max = Math.max((long)b*(long)c,max);\n\n System.out.println(max);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n public static void main(String args[]){\n\n Scanner src = new Scanner(System.in);\n\n int a = src.nextInt();\n int b = src.nextInt();\n int c = src.nextInt();\n int d = src.nextInt();\n\n long max = (long)a*(long)c;\n\n max = Math.max((long)b*(long)d,max);\n max = Math.max((long)a*(long)d,max);\n max = Math.max((long)b*(long)c,max);\n\n System.out.println(max);\n\n }\n}", "Main", "public static void main(String args[]){\n\n Scanner src = new Scanner(System.in);\n\n int a = src.nextInt();\n int b = src.nextInt();\n int c = src.nextInt();\n int d = src.nextInt();\n\n long max = (long)a*(long)c;\n\n max = Math.max((long)b*(long)d,max);\n max = Math.max((long)a*(long)d,max);\n max = Math.max((long)b*(long)c,max);\n\n System.out.println(max);\n\n }", "main", "{\n\n Scanner src = new Scanner(System.in);\n\n int a = src.nextInt();\n int b = src.nextInt();\n int c = src.nextInt();\n int d = src.nextInt();\n\n long max = (long)a*(long)c;\n\n max = Math.max((long)b*(long)d,max);\n max = Math.max((long)a*(long)d,max);\n max = Math.max((long)b*(long)c,max);\n\n System.out.println(max);\n\n }", "Scanner src = new Scanner(System.in);", "src", "new Scanner(System.in)", "int a = src.nextInt();", "a", "src.nextInt()", "src.nextInt", "src", "int b = src.nextInt();", "b", "src.nextInt()", "src.nextInt", "src", "int c = src.nextInt();", "c", "src.nextInt()", "src.nextInt", "src", "int d = src.nextInt();", "d", "src.nextInt()", "src.nextInt", "src", "long max = (long)a*(long)c;", "max", "(long)a*(long)c", "(long)a", "(long)c", "max = Math.max((long)b*(long)d,max)", "max", "Math.max((long)b*(long)d,max)", "Math.max", "Math", "(long)b*(long)d", "(long)b", "(long)d", "max", "max = Math.max((long)a*(long)d,max)", "max", "Math.max((long)a*(long)d,max)", "Math.max", "Math", "(long)a*(long)d", "(long)a", "(long)d", "max", "max = Math.max((long)b*(long)c,max)", "max", "Math.max((long)b*(long)c,max)", "Math.max", "Math", "(long)b*(long)c", "(long)b", "(long)c", "max", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String args[]", "args", "public class Main {\n\n\n public static void main(String args[]){\n\n Scanner src = new Scanner(System.in);\n\n int a = src.nextInt();\n int b = src.nextInt();\n int c = src.nextInt();\n int d = src.nextInt();\n\n long max = (long)a*(long)c;\n\n max = Math.max((long)b*(long)d,max);\n max = Math.max((long)a*(long)d,max);\n max = Math.max((long)b*(long)c,max);\n\n System.out.println(max);\n\n }\n}", "public class Main {\n\n\n public static void main(String args[]){\n\n Scanner src = new Scanner(System.in);\n\n int a = src.nextInt();\n int b = src.nextInt();\n int c = src.nextInt();\n int d = src.nextInt();\n\n long max = (long)a*(long)c;\n\n max = Math.max((long)b*(long)d,max);\n max = Math.max((long)a*(long)d,max);\n max = Math.max((long)b*(long)c,max);\n\n System.out.println(max);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner src = new Scanner(System.in); int a = src.nextInt(); int b = src.nextInt(); int c = src.nextInt(); int d = src.nextInt(); long max = (long)a*(long)c; max = Math.max((long)b*(long)d,max); max = Math.max((long)a*(long)d,max); max = Math.max((long)b*(long)c,max); System.out.println(max); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 13, 2, 13, 13, 2, 13, 13, 41, 13, 4, 13, 2, 13, 13, 2, 13, 13, 4, 18, 13, 4, 13, 13, 13, 4, 18, 13, 12, 13, 30, 4, 18, 20, 23, 13, 6, 13, 41, 13, 41, 13, 20, 12, 13, 30, 0, 13, 20, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 14, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 14, 4, 18, 13, 30, 29, 17, 30, 41, 13, 4, 18, 13, 42, 2, 2, 13, 17, 2, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 14, 2, 13, 17, 30, 29, 17, 30, 0, 13, 20, 29, 17, 6, 13, 41, 13, 41, 13, 20, 12, 13, 30, 0, 13, 20, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 213, 11 ], [ 213, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 14, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 14, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 14, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 14, 68 ], [ 68, 69 ], [ 69, 70 ], [ 213, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 71, 77 ], [ 77, 78 ], [ 213, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 79, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 79, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 92, 98 ], [ 98, 99 ], [ 79, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 103, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 102, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 79, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 123, 124 ], [ 79, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 128, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 135, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 146, 150 ], [ 141, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 135, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 162, 163 ], [ 157, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 168, 169 ], [ 213, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 170, 174 ], [ 174, 175 ], [ 174, 176 ], [ 170, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 170, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 183, 189 ], [ 189, 190 ], [ 170, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 194, 197 ], [ 191, 198 ], [ 198, 199 ], [ 170, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 203, 206 ], [ 206, 207 ], [ 207, 208 ], [ 202, 209 ], [ 209, 210 ], [ 210, 211 ], [ 0, 212 ], [ 212, 213 ], [ 212, 214 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nimport static java.lang.Math.*;\n\npublic class Main {\n class Reader {\n BufferedReader in;\n\n Reader() throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n }\n\n Reader(String name) throws IOException {\n in = new BufferedReader(new FileReader(name));\n }\n\n StringTokenizer tokin = new StringTokenizer(\"\");\n\n String next() throws IOException {\n if (!tokin.hasMoreTokens()) {\n tokin = new StringTokenizer(in.readLine());\n }\n return tokin.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n boolean hasNext() throws IOException {\n if (tokin.hasMoreTokens()) {\n return true;\n } else {\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }\n }\n }\n\n class Writer {\n PrintWriter cout;\n\n Writer() throws IOException {\n cout = new PrintWriter(System.out);\n }\n\n Writer(String name) throws IOException {\n cout = new PrintWriter(new FileWriter(name));\n }\n\n StringBuilder out = new StringBuilder();\n\n void print(Object a) {\n out.append(a);\n }\n\n void close() {\n cout.print(out.toString());\n cout.close();\n }\n }\n\n void run() throws IOException {\n Reader in = new Reader();\n Writer out = new Writer();\n long a = in.nextInt();\n long b = in.nextInt();\n long c = in.nextInt();\n long d = in.nextInt();\n long m1 = max(a * c, a * d);\n long m2 = max(b * c, b * d);\n out.print(max(m1, m2));\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().run();\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "public class Main {\n class Reader {\n BufferedReader in;\n\n Reader() throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n }\n\n Reader(String name) throws IOException {\n in = new BufferedReader(new FileReader(name));\n }\n\n StringTokenizer tokin = new StringTokenizer(\"\");\n\n String next() throws IOException {\n if (!tokin.hasMoreTokens()) {\n tokin = new StringTokenizer(in.readLine());\n }\n return tokin.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n boolean hasNext() throws IOException {\n if (tokin.hasMoreTokens()) {\n return true;\n } else {\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }\n }\n }\n\n class Writer {\n PrintWriter cout;\n\n Writer() throws IOException {\n cout = new PrintWriter(System.out);\n }\n\n Writer(String name) throws IOException {\n cout = new PrintWriter(new FileWriter(name));\n }\n\n StringBuilder out = new StringBuilder();\n\n void print(Object a) {\n out.append(a);\n }\n\n void close() {\n cout.print(out.toString());\n cout.close();\n }\n }\n\n void run() throws IOException {\n Reader in = new Reader();\n Writer out = new Writer();\n long a = in.nextInt();\n long b = in.nextInt();\n long c = in.nextInt();\n long d = in.nextInt();\n long m1 = max(a * c, a * d);\n long m2 = max(b * c, b * d);\n out.print(max(m1, m2));\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().run();\n }\n}", "Main", "void run() throws IOException {\n Reader in = new Reader();\n Writer out = new Writer();\n long a = in.nextInt();\n long b = in.nextInt();\n long c = in.nextInt();\n long d = in.nextInt();\n long m1 = max(a * c, a * d);\n long m2 = max(b * c, b * d);\n out.print(max(m1, m2));\n out.close();\n }", "run", "{\n Reader in = new Reader();\n Writer out = new Writer();\n long a = in.nextInt();\n long b = in.nextInt();\n long c = in.nextInt();\n long d = in.nextInt();\n long m1 = max(a * c, a * d);\n long m2 = max(b * c, b * d);\n out.print(max(m1, m2));\n out.close();\n }", "Reader in = new Reader();", "in", "new Reader()", "Writer out = new Writer();", "out", "new Writer()", "long a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "long b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "long c = in.nextInt();", "c", "in.nextInt()", "in.nextInt", "in", "long d = in.nextInt();", "d", "in.nextInt()", "in.nextInt", "in", "long m1 = max(a * c, a * d);", "m1", "max(a * c, a * d)", "max", "a * c", "a", "c", "a * d", "a", "d", "long m2 = max(b * c, b * d);", "m2", "max(b * c, b * d)", "max", "b * c", "b", "c", "b * d", "b", "d", "out.print(max(m1, m2))", "out.print", "out", "max(m1, m2)", "max", "m1", "m2", "out.close()", "out.close", "out", "public static void main(String[] args) throws IOException {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "class Reader {\n BufferedReader in;\n\n Reader() throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n }\n\n Reader(String name) throws IOException {\n in = new BufferedReader(new FileReader(name));\n }\n\n StringTokenizer tokin = new StringTokenizer(\"\");\n\n String next() throws IOException {\n if (!tokin.hasMoreTokens()) {\n tokin = new StringTokenizer(in.readLine());\n }\n return tokin.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n boolean hasNext() throws IOException {\n if (tokin.hasMoreTokens()) {\n return true;\n } else {\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }\n }\n }", "Reader", "BufferedReader in;", "in", "StringTokenizer tokin = new StringTokenizer(\"\");", "tokin", "new StringTokenizer(\"\")", "Reader() throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n }", "Reader", "{\n in = new BufferedReader(new InputStreamReader(System.in));\n }", "in = new BufferedReader(new InputStreamReader(System.in))", "in", "new BufferedReader(new InputStreamReader(System.in))", "Reader(String name) throws IOException {\n in = new BufferedReader(new FileReader(name));\n }", "Reader", "{\n in = new BufferedReader(new FileReader(name));\n }", "in = new BufferedReader(new FileReader(name))", "in", "new BufferedReader(new FileReader(name))", "String name", "name", "String next() throws IOException {\n if (!tokin.hasMoreTokens()) {\n tokin = new StringTokenizer(in.readLine());\n }\n return tokin.nextToken();\n }", "next", "{\n if (!tokin.hasMoreTokens()) {\n tokin = new StringTokenizer(in.readLine());\n }\n return tokin.nextToken();\n }", "if (!tokin.hasMoreTokens()) {\n tokin = new StringTokenizer(in.readLine());\n }", "!tokin.hasMoreTokens()", "tokin.hasMoreTokens()", "tokin.hasMoreTokens", "tokin", "{\n tokin = new StringTokenizer(in.readLine());\n }", "tokin = new StringTokenizer(in.readLine())", "tokin", "new StringTokenizer(in.readLine())", "return tokin.nextToken();", "tokin.nextToken()", "tokin.nextToken", "tokin", "int nextInt() throws IOException {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "boolean hasNext() throws IOException {\n if (tokin.hasMoreTokens()) {\n return true;\n } else {\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }\n }", "hasNext", "{\n if (tokin.hasMoreTokens()) {\n return true;\n } else {\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }\n }", "if (tokin.hasMoreTokens()) {\n return true;\n } else {\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }", "tokin.hasMoreTokens()", "tokin.hasMoreTokens", "tokin", "{\n return true;\n }", "return true;", "true", "{\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }", "String s = in.readLine();", "s", "in.readLine()", "in.readLine", "in", "while (s != null && s.length() == 0) {\n s = in.readLine();\n }", "s != null && s.length() == 0", "s != null", "s", "null", "s.length() == 0", "s.length()", "s.length", "s", "0", "{\n s = in.readLine();\n }", "s = in.readLine()", "s", "in.readLine()", "in.readLine", "in", "if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }", "s == null", "s", "null", "{\n return false;\n }", "return false;", "false", "{\n tokin = new StringTokenizer(s);\n return true;\n }", "tokin = new StringTokenizer(s)", "tokin", "new StringTokenizer(s)", "return true;", "true", "class Writer {\n PrintWriter cout;\n\n Writer() throws IOException {\n cout = new PrintWriter(System.out);\n }\n\n Writer(String name) throws IOException {\n cout = new PrintWriter(new FileWriter(name));\n }\n\n StringBuilder out = new StringBuilder();\n\n void print(Object a) {\n out.append(a);\n }\n\n void close() {\n cout.print(out.toString());\n cout.close();\n }\n }", "Writer", "PrintWriter cout;", "cout", "StringBuilder out = new StringBuilder();", "out", "new StringBuilder()", "Writer() throws IOException {\n cout = new PrintWriter(System.out);\n }", "Writer", "{\n cout = new PrintWriter(System.out);\n }", "cout = new PrintWriter(System.out)", "cout", "new PrintWriter(System.out)", "Writer(String name) throws IOException {\n cout = new PrintWriter(new FileWriter(name));\n }", "Writer", "{\n cout = new PrintWriter(new FileWriter(name));\n }", "cout = new PrintWriter(new FileWriter(name))", "cout", "new PrintWriter(new FileWriter(name))", "String name", "name", "void print(Object a) {\n out.append(a);\n }", "print", "{\n out.append(a);\n }", "out.append(a)", "out.append", "out", "a", "Object a", "a", "void close() {\n cout.print(out.toString());\n cout.close();\n }", "close", "{\n cout.print(out.toString());\n cout.close();\n }", "cout.print(out.toString())", "cout.print", "cout", "out.toString()", "out.toString", "out", "cout.close()", "cout.close", "cout", "public class Main {\n class Reader {\n BufferedReader in;\n\n Reader() throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n }\n\n Reader(String name) throws IOException {\n in = new BufferedReader(new FileReader(name));\n }\n\n StringTokenizer tokin = new StringTokenizer(\"\");\n\n String next() throws IOException {\n if (!tokin.hasMoreTokens()) {\n tokin = new StringTokenizer(in.readLine());\n }\n return tokin.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n boolean hasNext() throws IOException {\n if (tokin.hasMoreTokens()) {\n return true;\n } else {\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }\n }\n }\n\n class Writer {\n PrintWriter cout;\n\n Writer() throws IOException {\n cout = new PrintWriter(System.out);\n }\n\n Writer(String name) throws IOException {\n cout = new PrintWriter(new FileWriter(name));\n }\n\n StringBuilder out = new StringBuilder();\n\n void print(Object a) {\n out.append(a);\n }\n\n void close() {\n cout.print(out.toString());\n cout.close();\n }\n }\n\n void run() throws IOException {\n Reader in = new Reader();\n Writer out = new Writer();\n long a = in.nextInt();\n long b = in.nextInt();\n long c = in.nextInt();\n long d = in.nextInt();\n long m1 = max(a * c, a * d);\n long m2 = max(b * c, b * d);\n out.print(max(m1, m2));\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().run();\n }\n}", "public class Main {\n class Reader {\n BufferedReader in;\n\n Reader() throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n }\n\n Reader(String name) throws IOException {\n in = new BufferedReader(new FileReader(name));\n }\n\n StringTokenizer tokin = new StringTokenizer(\"\");\n\n String next() throws IOException {\n if (!tokin.hasMoreTokens()) {\n tokin = new StringTokenizer(in.readLine());\n }\n return tokin.nextToken();\n }\n\n int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n boolean hasNext() throws IOException {\n if (tokin.hasMoreTokens()) {\n return true;\n } else {\n String s = in.readLine();\n while (s != null && s.length() == 0) {\n s = in.readLine();\n }\n if (s == null) {\n return false;\n } else {\n tokin = new StringTokenizer(s);\n return true;\n }\n }\n }\n }\n\n class Writer {\n PrintWriter cout;\n\n Writer() throws IOException {\n cout = new PrintWriter(System.out);\n }\n\n Writer(String name) throws IOException {\n cout = new PrintWriter(new FileWriter(name));\n }\n\n StringBuilder out = new StringBuilder();\n\n void print(Object a) {\n out.append(a);\n }\n\n void close() {\n cout.print(out.toString());\n cout.close();\n }\n }\n\n void run() throws IOException {\n Reader in = new Reader();\n Writer out = new Writer();\n long a = in.nextInt();\n long b = in.nextInt();\n long c = in.nextInt();\n long d = in.nextInt();\n long m1 = max(a * c, a * d);\n long m2 = max(b * c, b * d);\n out.print(max(m1, m2));\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().run();\n }\n}", "Main" ]
import java.io.*; import java.util.*; import static java.lang.Math.*; public class Main { class Reader { BufferedReader in; Reader() throws IOException { in = new BufferedReader(new InputStreamReader(System.in)); } Reader(String name) throws IOException { in = new BufferedReader(new FileReader(name)); } StringTokenizer tokin = new StringTokenizer(""); String next() throws IOException { if (!tokin.hasMoreTokens()) { tokin = new StringTokenizer(in.readLine()); } return tokin.nextToken(); } int nextInt() throws IOException { return Integer.parseInt(next()); } boolean hasNext() throws IOException { if (tokin.hasMoreTokens()) { return true; } else { String s = in.readLine(); while (s != null && s.length() == 0) { s = in.readLine(); } if (s == null) { return false; } else { tokin = new StringTokenizer(s); return true; } } } } class Writer { PrintWriter cout; Writer() throws IOException { cout = new PrintWriter(System.out); } Writer(String name) throws IOException { cout = new PrintWriter(new FileWriter(name)); } StringBuilder out = new StringBuilder(); void print(Object a) { out.append(a); } void close() { cout.print(out.toString()); cout.close(); } } void run() throws IOException { Reader in = new Reader(); Writer out = new Writer(); long a = in.nextInt(); long b = in.nextInt(); long c = in.nextInt(); long d = in.nextInt(); long m1 = max(a * c, a * d); long m2 = max(b * c, b * d); out.print(max(m1, m2)); out.close(); } public static void main(String[] args) throws IOException { new Main().run(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 17, 38, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 2, 18, 13, 17, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 29, 4, 18, 13, 13, 13, 23, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 107, 5 ], [ 107, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 13 ], [ 13, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 18, 23 ], [ 23, 24 ], [ 23, 25 ], [ 18, 26 ], [ 26, 27 ], [ 27, 28 ], [ 18, 29 ], [ 30, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 49, 51 ], [ 43, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 43, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 43, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 6, 73 ], [ 73, 74 ], [ 107, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 77, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 87, 91 ], [ 77, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 93, 97 ], [ 75, 98 ], [ 98, 99 ], [ 75, 100 ], [ 100, 101 ], [ 75, 102 ], [ 102, 103 ], [ 75, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n long[] abcd = new long[4];\n try (Scanner s = new Scanner(System.in)) {\n for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }\n System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]));\n }\n }\n \n private static long max(long p, long q, long r, long s) {\n long m1 = Math.max(p, q);\n long m2 = Math.max(m1, r);\n return Math.max(m2, s);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n long[] abcd = new long[4];\n try (Scanner s = new Scanner(System.in)) {\n for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }\n System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]));\n }\n }\n \n private static long max(long p, long q, long r, long s) {\n long m1 = Math.max(p, q);\n long m2 = Math.max(m1, r);\n return Math.max(m2, s);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n long[] abcd = new long[4];\n try (Scanner s = new Scanner(System.in)) {\n for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }\n System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]));\n }\n }", "main", "{\n long[] abcd = new long[4];\n try (Scanner s = new Scanner(System.in)) {\n for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }\n System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]));\n }\n }", "long[] abcd = new long[4];", "abcd", "new long[4]", "4", "try (Scanner s = new Scanner(System.in)) {\n for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }\n System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]));\n }", "{\n for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }\n System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]));\n }", "Scanner s = new Scanner(System.in)", "Scanner s = new Scanner(System.in)", "new Scanner(System.in)", "for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n abcd[i] = s.nextLong();\n }", "{\n abcd[i] = s.nextLong();\n }", "abcd[i] = s.nextLong()", "abcd[i]", "abcd", "i", "s.nextLong()", "s.nextLong", "s", "System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]))", "System.out.println", "System.out", "System", "System.out", "max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3])", "max", "abcd[0] * abcd[2]", "abcd[0]", "abcd", "0", "abcd[2]", "abcd", "2", "abcd[0] * abcd[3]", "abcd[0]", "abcd", "0", "abcd[3]", "abcd", "3", "abcd[1] * abcd[2]", "abcd[1]", "abcd", "1", "abcd[2]", "abcd", "2", "abcd[1] * abcd[3]", "abcd[1]", "abcd", "1", "abcd[3]", "abcd", "3", "String[] args", "args", "private static long max(long p, long q, long r, long s) {\n long m1 = Math.max(p, q);\n long m2 = Math.max(m1, r);\n return Math.max(m2, s);\n }", "max", "{\n long m1 = Math.max(p, q);\n long m2 = Math.max(m1, r);\n return Math.max(m2, s);\n }", "long m1 = Math.max(p, q);", "m1", "Math.max(p, q)", "Math.max", "Math", "p", "q", "long m2 = Math.max(m1, r);", "m2", "Math.max(m1, r)", "Math.max", "Math", "m1", "r", "return Math.max(m2, s);", "Math.max(m2, s)", "Math.max", "Math", "m2", "s", "long p", "p", "long q", "q", "long r", "r", "long s", "s", "public class Main {\n public static void main(String[] args) throws Exception {\n long[] abcd = new long[4];\n try (Scanner s = new Scanner(System.in)) {\n for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }\n System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]));\n }\n }\n \n private static long max(long p, long q, long r, long s) {\n long m1 = Math.max(p, q);\n long m2 = Math.max(m1, r);\n return Math.max(m2, s);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n long[] abcd = new long[4];\n try (Scanner s = new Scanner(System.in)) {\n for(int i = 0; i < 4; i++) {\n abcd[i] = s.nextLong();\n }\n System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3]));\n }\n }\n \n private static long max(long p, long q, long r, long s) {\n long m1 = Math.max(p, q);\n long m2 = Math.max(m1, r);\n return Math.max(m2, s);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { long[] abcd = new long[4]; try (Scanner s = new Scanner(System.in)) { for(int i = 0; i < 4; i++) { abcd[i] = s.nextLong(); } System.out.println(max(abcd[0] * abcd[2], abcd[0] * abcd[3], abcd[1] * abcd[2], abcd[1] * abcd[3])); } } private static long max(long p, long q, long r, long s) { long m1 = Math.max(p, q); long m2 = Math.max(m1, r); return Math.max(m2, s); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 29, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 29, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 29, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 29, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 29, 30, 4, 18, 18, 13, 13, 2, 13, 13, 29, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 179, 5 ], [ 179, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 32, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 48, 55 ], [ 32, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 64, 73 ], [ 56, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 82, 91 ], [ 74, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 92, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 108, 115 ], [ 92, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 124, 133 ], [ 116, 134 ], [ 134, 135 ], [ 137, 136 ], [ 144, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 141, 143 ], [ 144, 144 ], [ 144, 145 ], [ 144, 146 ], [ 137, 147 ], [ 147, 148 ], [ 147, 149 ], [ 134, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 159, 160 ], [ 159, 161 ], [ 156, 162 ], [ 162, 163 ], [ 162, 164 ], [ 150, 165 ], [ 134, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 172, 174 ], [ 166, 175 ], [ 6, 176 ], [ 176, 177 ], [ 0, 178 ], [ 178, 179 ], [ 178, 180 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n if (a == 0 && b == 0 || c == 0 && d == 0) {\n System.out.println(0);\n return;\n } else if (a > 0 && d < 0) {\n System.out.println(a * d);\n return;\n } else if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }\n\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n if (a == 0 && b == 0 || c == 0 && d == 0) {\n System.out.println(0);\n return;\n } else if (a > 0 && d < 0) {\n System.out.println(a * d);\n return;\n } else if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }\n\n }\n\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n if (a == 0 && b == 0 || c == 0 && d == 0) {\n System.out.println(0);\n return;\n } else if (a > 0 && d < 0) {\n System.out.println(a * d);\n return;\n } else if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n if (a == 0 && b == 0 || c == 0 && d == 0) {\n System.out.println(0);\n return;\n } else if (a > 0 && d < 0) {\n System.out.println(a * d);\n return;\n } else if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "if (a == 0 && b == 0 || c == 0 && d == 0) {\n System.out.println(0);\n return;\n } else if (a > 0 && d < 0) {\n System.out.println(a * d);\n return;\n } else if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }", "a == 0 && b == 0 || c == 0 && d == 0", "a == 0 && b == 0", "a == 0", "a", "0", "b == 0", "b", "0", "c == 0 && d == 0", "c == 0", "c", "0", "d == 0", "d", "0", "{\n System.out.println(0);\n return;\n }", "System.out.println(0)", "System.out.println", "System.out", "System", "System.out", "0", "return;", "if (a > 0 && d < 0) {\n System.out.println(a * d);\n return;\n } else if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }", "a > 0 && d < 0", "a > 0", "a", "0", "d < 0", "d", "0", "{\n System.out.println(a * d);\n return;\n }", "System.out.println(a * d)", "System.out.println", "System.out", "System", "System.out", "a * d", "a", "d", "return;", "if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }", "b < 0 && c > 0", "b < 0", "b", "0", "c > 0", "c", "0", "{\n System.out.println(b * c);\n return;\n }", "System.out.println(b * c)", "System.out.println", "System.out", "System", "System.out", "b * c", "b", "c", "return;", "if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }", "a == 0 && d < 0 || c == 0 && b < 0", "a == 0 && d < 0", "a == 0", "a", "0", "d < 0", "d", "0", "c == 0 && b < 0", "c == 0", "c", "0", "b < 0", "b", "0", "{\n System.out.println(0);\n return;\n }", "System.out.println(0)", "System.out.println", "System.out", "System", "System.out", "0", "return;", "if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }", "a >= 0 || c >= 0", "a >= 0", "a", "0", "c >= 0", "c", "0", "{\n System.out.println(b * d);\n return;\n }", "System.out.println(b * d)", "System.out.println", "System.out", "System", "System.out", "b * d", "b", "d", "return;", "if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }", "a < 0 && b > 0 && c < 0 && d > 0", "c < 0", "a < 0 && b > 0 && c < 0 && d > 0", "a < 0", "a", "0", "b > 0", "b", "0", "c < 0", "c", "0", "d > 0", "d", "0", "{\n System.out.println(Math.max(a * c, b * d));\n return;\n }", "System.out.println(Math.max(a * c, b * d))", "System.out.println", "System.out", "System", "System.out", "Math.max(a * c, b * d)", "Math.max", "Math", "a * c", "a", "c", "b * d", "b", "d", "return;", "{\n System.out.println(a * c);\n return;\n }", "System.out.println(a * c)", "System.out.println", "System.out", "System", "System.out", "a * c", "a", "c", "return;", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n if (a == 0 && b == 0 || c == 0 && d == 0) {\n System.out.println(0);\n return;\n } else if (a > 0 && d < 0) {\n System.out.println(a * d);\n return;\n } else if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }\n\n }\n\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n if (a == 0 && b == 0 || c == 0 && d == 0) {\n System.out.println(0);\n return;\n } else if (a > 0 && d < 0) {\n System.out.println(a * d);\n return;\n } else if (b < 0 && c > 0) {\n System.out.println(b * c);\n return;\n } else if (a == 0 && d < 0 || c == 0 && b < 0) {\n System.out.println(0);\n return;\n } else if (a >= 0 || c >= 0) {\n System.out.println(b * d);\n return;\n } else if (a < 0 && b > 0 && c < 0 && d > 0) {\n System.out.println(Math.max(a * c, b * d));\n return;\n } else {\n System.out.println(a * c);\n return;\n }\n\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); if (a == 0 && b == 0 || c == 0 && d == 0) { System.out.println(0); return; } else if (a > 0 && d < 0) { System.out.println(a * d); return; } else if (b < 0 && c > 0) { System.out.println(b * c); return; } else if (a == 0 && d < 0 || c == 0 && b < 0) { System.out.println(0); return; } else if (a >= 0 || c >= 0) { System.out.println(b * d); return; } else if (a < 0 && b > 0 && c < 0 && d > 0) { System.out.println(Math.max(a * c, b * d)); return; } else { System.out.println(a * c); return; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 17, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 124, 11 ], [ 124, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 35, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 51, 52 ], [ 14, 53 ], [ 53, 54 ], [ 53, 55 ], [ 14, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 14, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 14, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 14, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 14, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 14, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 90, 100 ], [ 100, 101 ], [ 101, 102 ], [ 90, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 107, 111 ], [ 111, 112 ], [ 111, 113 ], [ 14, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 14, 118 ], [ 118, 119 ], [ 119, 120 ], [ 12, 121 ], [ 121, 122 ], [ 0, 123 ], [ 123, 124 ], [ 123, 125 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n\n long[] respondents = new long[4];\n respondents[0] = a * c;\n respondents[1] = a * d;\n respondents[2] = b * c;\n respondents[3] = b * d;\n long max = respondents[0];\n for (int i = 1; i < respondents.length; i++) {\n max = Math.max(max, respondents[i]);\n }\n out.println(max);\n out.flush();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n\n long[] respondents = new long[4];\n respondents[0] = a * c;\n respondents[1] = a * d;\n respondents[2] = b * c;\n respondents[3] = b * d;\n long max = respondents[0];\n for (int i = 1; i < respondents.length; i++) {\n max = Math.max(max, respondents[i]);\n }\n out.println(max);\n out.flush();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n\n long[] respondents = new long[4];\n respondents[0] = a * c;\n respondents[1] = a * d;\n respondents[2] = b * c;\n respondents[3] = b * d;\n long max = respondents[0];\n for (int i = 1; i < respondents.length; i++) {\n max = Math.max(max, respondents[i]);\n }\n out.println(max);\n out.flush();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n\n long[] respondents = new long[4];\n respondents[0] = a * c;\n respondents[1] = a * d;\n respondents[2] = b * c;\n respondents[3] = b * d;\n long max = respondents[0];\n for (int i = 1; i < respondents.length; i++) {\n max = Math.max(max, respondents[i]);\n }\n out.println(max);\n out.flush();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "long a = Integer.parseInt(scan.next());", "a", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "long b = Integer.parseInt(scan.next());", "b", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "long c = Integer.parseInt(scan.next());", "c", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "long d = Integer.parseInt(scan.next());", "d", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "long[] respondents = new long[4];", "respondents", "new long[4]", "4", "respondents[0] = a * c", "respondents[0]", "respondents", "0", "a * c", "a", "c", "respondents[1] = a * d", "respondents[1]", "respondents", "1", "a * d", "a", "d", "respondents[2] = b * c", "respondents[2]", "respondents", "2", "b * c", "b", "c", "respondents[3] = b * d", "respondents[3]", "respondents", "3", "b * d", "b", "d", "long max = respondents[0];", "max", "respondents[0]", "respondents", "0", "for (int i = 1; i < respondents.length; i++) {\n max = Math.max(max, respondents[i]);\n }", "int i = 1;", "int i = 1;", "i", "1", "i < respondents.length", "i", "respondents.length", "respondents", "respondents.length", "i++", "i++", "i", "{\n max = Math.max(max, respondents[i]);\n }", "{\n max = Math.max(max, respondents[i]);\n }", "max = Math.max(max, respondents[i])", "max", "Math.max(max, respondents[i])", "Math.max", "Math", "max", "respondents[i]", "respondents", "i", "out.println(max)", "out.println", "out", "max", "out.flush()", "out.flush", "out", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n\n long[] respondents = new long[4];\n respondents[0] = a * c;\n respondents[1] = a * d;\n respondents[2] = b * c;\n respondents[3] = b * d;\n long max = respondents[0];\n for (int i = 1; i < respondents.length; i++) {\n max = Math.max(max, respondents[i]);\n }\n out.println(max);\n out.flush();\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n long a = Integer.parseInt(scan.next());\n long b = Integer.parseInt(scan.next());\n long c = Integer.parseInt(scan.next());\n long d = Integer.parseInt(scan.next());\n\n long[] respondents = new long[4];\n respondents[0] = a * c;\n respondents[1] = a * d;\n respondents[2] = b * c;\n respondents[3] = b * d;\n long max = respondents[0];\n for (int i = 1; i < respondents.length; i++) {\n max = Math.max(max, respondents[i]);\n }\n out.println(max);\n out.flush();\n }\n}", "Main" ]
import java.util.*; import java.io.*; import java.lang.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); long a = Integer.parseInt(scan.next()); long b = Integer.parseInt(scan.next()); long c = Integer.parseInt(scan.next()); long d = Integer.parseInt(scan.next()); long[] respondents = new long[4]; respondents[0] = a * c; respondents[1] = a * d; respondents[2] = b * c; respondents[3] = b * d; long max = respondents[0]; for (int i = 1; i < respondents.length; i++) { max = Math.max(max, respondents[i]); } out.println(max); out.flush(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 2, 2, 13, 17, 13, 4, 18, 13, 4, 18, 13, 2, 2, 13, 17, 13, 2, 2, 13, 17, 13, 2, 2, 13, 17, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 12, 13, 30, 0, 18, 36, 13, 17, 28, 13, 13, 30, 14, 2, 13, 13, 30, 4, 18, 13, 36, 0, 18, 36, 13, 18, 13, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 323, 23 ], [ 323, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 323, 29 ], [ 29, 30 ], [ 29, 31 ], [ 323, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 34, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 34, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 34, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 34, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 67, 67 ], [ 67, 68 ], [ 67, 69 ], [ 67, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 78, 78 ], [ 78, 79 ], [ 78, 80 ], [ 78, 81 ], [ 74, 82 ], [ 83, 83 ], [ 83, 84 ], [ 83, 85 ], [ 83, 86 ], [ 71, 87 ], [ 88, 88 ], [ 88, 89 ], [ 88, 90 ], [ 88, 91 ], [ 32, 92 ], [ 92, 93 ], [ 323, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 94, 103 ], [ 103, 104 ], [ 94, 105 ], [ 105, 106 ], [ 323, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 115, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 127, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 136, 138 ], [ 127, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 143, 145 ], [ 127, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 109, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 107, 155 ], [ 155, 156 ], [ 323, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 162, 164 ], [ 159, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 165, 173 ], [ 173, 174 ], [ 174, 175 ], [ 165, 176 ], [ 177, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 180, 183 ], [ 177, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 186, 188 ], [ 177, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 189, 193 ], [ 193, 194 ], [ 193, 195 ], [ 177, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 159, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 157, 205 ], [ 205, 206 ], [ 323, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 209, 211 ], [ 207, 212 ], [ 212, 213 ], [ 207, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 217, 221 ], [ 216, 222 ], [ 222, 223 ], [ 222, 224 ], [ 222, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 226, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 231, 234 ], [ 230, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 239, 240 ], [ 239, 241 ], [ 214, 242 ], [ 242, 243 ], [ 323, 244 ], [ 244, 245 ], [ 244, 246 ], [ 246, 247 ], [ 246, 248 ], [ 244, 249 ], [ 249, 250 ], [ 249, 251 ], [ 244, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 255, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 260, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 254, 271 ], [ 271, 272 ], [ 272, 273 ], [ 273, 274 ], [ 244, 275 ], [ 275, 276 ], [ 275, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 279, 282 ], [ 282, 283 ], [ 244, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 286, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 293, 295 ], [ 291, 296 ], [ 296, 297 ], [ 296, 298 ], [ 291, 299 ], [ 299, 300 ], [ 300, 301 ], [ 291, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 303, 307 ], [ 307, 308 ], [ 286, 309 ], [ 309, 310 ], [ 284, 311 ], [ 311, 312 ], [ 244, 313 ], [ 313, 314 ], [ 313, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 317, 320 ], [ 320, 321 ], [ 0, 322 ], [ 322, 323 ], [ 322, 324 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Random;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint a = fs.nextInt();\n\t\tint b = fs.nextInt();\n\t\tint c = fs.nextInt();\n\t\tint d = fs.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d)));\n\t}\n\t\n\tstatic long mul(long a, long b) {\n\t\treturn a*b%mod;\n\t}\n\t\n\tstatic class Node {\n\t\tArrayList<Node> adj=new ArrayList<>();\n\t\tint subtreeSize;\n\t\t\n\t\tpublic void dfs(Node par) {\n\t\t\tthis.subtreeSize=1;\n\t\t\tfor (Node nn:adj) if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic void ruffleSort(long[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Random;", "Random", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint a = fs.nextInt();\n\t\tint b = fs.nextInt();\n\t\tint c = fs.nextInt();\n\t\tint d = fs.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d)));\n\t}\n\t\n\tstatic long mul(long a, long b) {\n\t\treturn a*b%mod;\n\t}\n\t\n\tstatic class Node {\n\t\tArrayList<Node> adj=new ArrayList<>();\n\t\tint subtreeSize;\n\t\t\n\t\tpublic void dfs(Node par) {\n\t\t\tthis.subtreeSize=1;\n\t\t\tfor (Node nn:adj) if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic void ruffleSort(long[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}", "Main", "static long mod=(long)1e9+7;", "mod", "(long)1e9+7", "(long)1e9", "7", "static final Random random=new Random();", "random", "new Random()", "public static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint a = fs.nextInt();\n\t\tint b = fs.nextInt();\n\t\tint c = fs.nextInt();\n\t\tint d = fs.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d)));\n\t}", "main", "{\n\t\tFastScanner fs=new FastScanner();\n\t\tint a = fs.nextInt();\n\t\tint b = fs.nextInt();\n\t\tint c = fs.nextInt();\n\t\tint d = fs.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d)));\n\t}", "FastScanner fs=new FastScanner();", "fs", "new FastScanner()", "int a = fs.nextInt();", "a", "fs.nextInt()", "fs.nextInt", "fs", "int b = fs.nextInt();", "b", "fs.nextInt()", "fs.nextInt", "fs", "int c = fs.nextInt();", "c", "fs.nextInt()", "fs.nextInt", "fs", "int d = fs.nextInt();", "d", "fs.nextInt()", "fs.nextInt", "fs", "System.out.println(Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d)))", "System.out.println", "System.out", "System", "System.out", "Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d))", "Math.max", "Math", "a*1L*c", "a*1L*c", "a", "1L", "c", "Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d)", "Math.max", "Math", "Math.max(a*1L*d, b*1L*c)", "Math.max", "Math", "a*1L*d", "a*1L*d", "a", "1L", "d", "b*1L*c", "b*1L*c", "b", "1L", "c", "b*1L*d", "b*1L*d", "b", "1L", "d", "String[] args", "args", "static long mul(long a, long b) {\n\t\treturn a*b%mod;\n\t}", "mul", "{\n\t\treturn a*b%mod;\n\t}", "return a*b%mod;", "a*b%mod", "a*b", "a", "b", "mod", "long a", "a", "long b", "b", "static void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "ruffleSort", "{\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "int n=a.length;", "n", "a.length", "a", "a.length", "for (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "{\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "int oi=random.nextInt(n)", "oi", "random.nextInt(n)", "random.nextInt", "random", "n", "temp=a[oi];", "temp", "a[oi]", "a", "oi", "a[oi]=a[i]", "a[oi]", "a", "oi", "a[i]", "a", "i", "a[i]=temp", "a[i]", "a", "i", "temp", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "int[] a", "a", "static void ruffleSort(long[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "ruffleSort", "{\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}", "int n=a.length;", "n", "a.length", "a", "a.length", "for (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "{\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}", "int oi=random.nextInt(n);", "oi", "random.nextInt(n)", "random.nextInt", "random", "n", "long temp=a[oi];", "temp", "a[oi]", "a", "oi", "a[oi]=a[i]", "a[oi]", "a", "oi", "a[i]", "a", "i", "a[i]=temp", "a[i]", "a", "i", "temp", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "long[] a", "a", "static class Node {\n\t\tArrayList<Node> adj=new ArrayList<>();\n\t\tint subtreeSize;\n\t\t\n\t\tpublic void dfs(Node par) {\n\t\t\tthis.subtreeSize=1;\n\t\t\tfor (Node nn:adj) if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}\n\t\t}\n\t}", "Node", "ArrayList<Node> adj=new ArrayList<>();", "adj", "new ArrayList<>()", "int subtreeSize;", "subtreeSize", "public void dfs(Node par) {\n\t\t\tthis.subtreeSize=1;\n\t\t\tfor (Node nn:adj) if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}\n\t\t}", "dfs", "{\n\t\t\tthis.subtreeSize=1;\n\t\t\tfor (Node nn:adj) if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}\n\t\t}", "this.subtreeSize=1", "this.subtreeSize", "this", "this.subtreeSize", "1", "for (Node nn:adj) if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}", "Node nn", "adj", "if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}", "if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}", "nn!=par", "nn", "par", "{\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}", "nn.dfs(this)", "nn.dfs", "nn", "this", "this.subtreeSize+=nn.subtreeSize", "this.subtreeSize", "this", "this.subtreeSize", "nn.subtreeSize", "nn", "nn.subtreeSize", "Node par", "par", "static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}", "FastScanner", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st=new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}", "st=new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}", "readArray", "{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}", "int[] a=new int[n];", "a", "new int[n]", "n", "for (int i=0; i<n; i++) a[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextInt();", "a[i]=nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public class Main {\n\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint a = fs.nextInt();\n\t\tint b = fs.nextInt();\n\t\tint c = fs.nextInt();\n\t\tint d = fs.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d)));\n\t}\n\t\n\tstatic long mul(long a, long b) {\n\t\treturn a*b%mod;\n\t}\n\t\n\tstatic class Node {\n\t\tArrayList<Node> adj=new ArrayList<>();\n\t\tint subtreeSize;\n\t\t\n\t\tpublic void dfs(Node par) {\n\t\t\tthis.subtreeSize=1;\n\t\t\tfor (Node nn:adj) if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic void ruffleSort(long[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}", "public class Main {\n\n\tstatic long mod=(long)1e9+7;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs=new FastScanner();\n\t\tint a = fs.nextInt();\n\t\tint b = fs.nextInt();\n\t\tint c = fs.nextInt();\n\t\tint d = fs.nextInt();\n\t\t\n\t\tSystem.out.println(Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d)));\n\t}\n\t\n\tstatic long mul(long a, long b) {\n\t\treturn a*b%mod;\n\t}\n\t\n\tstatic class Node {\n\t\tArrayList<Node> adj=new ArrayList<>();\n\t\tint subtreeSize;\n\t\t\n\t\tpublic void dfs(Node par) {\n\t\t\tthis.subtreeSize=1;\n\t\t\tfor (Node nn:adj) if (nn!=par) {\n\t\t\t\tnn.dfs(this);\n\t\t\t\tthis.subtreeSize+=nn.subtreeSize;\n\t\t\t}\n\t\t}\n\t}\n\n\tstatic final Random random=new Random();\n\t\n\tstatic void ruffleSort(int[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n), temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic void ruffleSort(long[] a) {\n\t\tint n=a.length;//shuffle, then sort \n\t\tfor (int i=0; i<n; i++) {\n\t\t\tint oi=random.nextInt(n);\n\t\t\tlong temp=a[oi];\n\t\t\ta[oi]=a[i]; a[i]=temp;\n\t\t}\n\t\tArrays.sort(a);\n\t}\n\t\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n\n\t\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.Random; import java.util.StringTokenizer; public class Main { static long mod=(long)1e9+7; public static void main(String[] args) { FastScanner fs=new FastScanner(); int a = fs.nextInt(); int b = fs.nextInt(); int c = fs.nextInt(); int d = fs.nextInt(); System.out.println(Math.max(a*1L*c, Math.max( Math.max(a*1L*d, b*1L*c), b*1L*d))); } static long mul(long a, long b) { return a*b%mod; } static class Node { ArrayList<Node> adj=new ArrayList<>(); int subtreeSize; public void dfs(Node par) { this.subtreeSize=1; for (Node nn:adj) if (nn!=par) { nn.dfs(this); this.subtreeSize+=nn.subtreeSize; } } } static final Random random=new Random(); static void ruffleSort(int[] a) { int n=a.length;//shuffle, then sort for (int i=0; i<n; i++) { int oi=random.nextInt(n), temp=a[oi]; a[oi]=a[i]; a[i]=temp; } Arrays.sort(a); } static void ruffleSort(long[] a) { int n=a.length;//shuffle, then sort for (int i=0; i<n; i++) { int oi=random.nextInt(n); long temp=a[oi]; a[oi]=a[i]; a[i]=temp; } Arrays.sort(a); } static class FastScanner { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st=new StringTokenizer(""); String next() { while (!st.hasMoreTokens()) try { st=new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } int[] readArray(int n) { int[] a=new int[n]; for (int i=0; i<n; i++) a[i]=nextInt(); return a; } long nextLong() { return Long.parseLong(next()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 30, 0, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 84, 5 ], [ 84, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 35, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 35, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 66, 72 ], [ 72, 73 ], [ 72, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 6, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \t\n // 入力\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong max=0;\n\n\t\tif((b<0&&c>0)||(a>0&&d<0)){\n max=Math.max(b*c,a*d);\n }else{\n max=Math.max(a*c,b*d);\n }\n System.out.println(max);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \t\n // 入力\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong max=0;\n\n\t\tif((b<0&&c>0)||(a>0&&d<0)){\n max=Math.max(b*c,a*d);\n }else{\n max=Math.max(a*c,b*d);\n }\n System.out.println(max);\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \t\n // 入力\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong max=0;\n\n\t\tif((b<0&&c>0)||(a>0&&d<0)){\n max=Math.max(b*c,a*d);\n }else{\n max=Math.max(a*c,b*d);\n }\n System.out.println(max);\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \t\n // 入力\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong max=0;\n\n\t\tif((b<0&&c>0)||(a>0&&d<0)){\n max=Math.max(b*c,a*d);\n }else{\n max=Math.max(a*c,b*d);\n }\n System.out.println(max);\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long max=0;", "max", "0", "if((b<0&&c>0)||(a>0&&d<0)){\n max=Math.max(b*c,a*d);\n }else{\n max=Math.max(a*c,b*d);\n }", "(b<0&&c>0)||(a>0&&d<0)", "(b<0&&c>0)", "b<0", "b", "0", "c>0", "c", "0", "(a>0&&d<0)", "a>0", "a", "0", "d<0", "d", "0", "{\n max=Math.max(b*c,a*d);\n }", "max=Math.max(b*c,a*d)", "max", "Math.max(b*c,a*d)", "Math.max", "Math", "b*c", "b", "c", "a*d", "a", "d", "{\n max=Math.max(a*c,b*d);\n }", "max=Math.max(a*c,b*d)", "max", "Math.max(a*c,b*d)", "Math.max", "Math", "a*c", "a", "c", "b*d", "b", "d", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \t\n // 入力\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong max=0;\n\n\t\tif((b<0&&c>0)||(a>0&&d<0)){\n max=Math.max(b*c,a*d);\n }else{\n max=Math.max(a*c,b*d);\n }\n System.out.println(max);\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \t\n // 入力\n long a = sc.nextInt();\n \tlong b = sc.nextInt();\n \tlong c = sc.nextInt();\n \tlong d = sc.nextInt();\n \tlong max=0;\n\n\t\tif((b<0&&c>0)||(a>0&&d<0)){\n max=Math.max(b*c,a*d);\n }else{\n max=Math.max(a*c,b*d);\n }\n System.out.println(max);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 入力 long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long max=0; if((b<0&&c>0)||(a>0&&d<0)){ max=Math.max(b*c,a*d); }else{ max=Math.max(a*c,b*d); } System.out.println(max); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 29, 4, 18, 13, 13, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 6, 13, 12, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 18, 36, 13, 20, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 18, 13, 13, 23, 13, 12, 13, 30, 4, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 12, 13, 30, 4, 18, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 7, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 16, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 14, 30 ], [ 30, 31 ], [ 14, 32 ], [ 32, 33 ], [ 7, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 44, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 44, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 36, 71 ], [ 71, 72 ], [ 34, 73 ], [ 73, 74 ], [ 34, 75 ], [ 75, 76 ], [ 7, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 79, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 79, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 79, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 79, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 79, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 79, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 113, 117 ], [ 117, 118 ], [ 117, 119 ], [ 79, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 122, 126 ], [ 126, 127 ], [ 126, 128 ], [ 79, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 131, 135 ], [ 135, 136 ], [ 135, 137 ], [ 79, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 79, 142 ], [ 142, 143 ], [ 143, 144 ], [ 79, 145 ], [ 145, 146 ], [ 146, 147 ], [ 77, 148 ], [ 148, 149 ], [ 7, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 150, 154 ], [ 154, 155 ], [ 154, 156 ], [ 150, 158 ], [ 158, 159 ], [ 150, 160 ], [ 160, 161 ], [ 150, 162 ], [ 162, 163 ], [ 150, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 164, 172 ], [ 172, 173 ], [ 150, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 177, 182 ], [ 182, 183 ], [ 176, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 188, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 192, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 188, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 209, 210 ], [ 210, 211 ], [ 176, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 150, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 219, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 219, 233 ], [ 233, 234 ], [ 233, 235 ], [ 219, 236 ], [ 236, 237 ], [ 237, 238 ], [ 237, 239 ], [ 236, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 240, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 219, 249 ], [ 249, 250 ], [ 249, 251 ], [ 219, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 252, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 259, 263 ], [ 263, 264 ], [ 263, 265 ], [ 258, 266 ], [ 266, 267 ], [ 257, 268 ], [ 268, 269 ], [ 268, 270 ], [ 257, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 273, 275 ], [ 257, 276 ], [ 276, 277 ], [ 276, 278 ], [ 278, 279 ], [ 219, 280 ], [ 280, 281 ], [ 281, 282 ], [ 281, 283 ], [ 150, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 289, 290 ], [ 286, 291 ], [ 291, 292 ], [ 292, 293 ], [ 292, 294 ], [ 291, 295 ], [ 295, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 286, 300 ], [ 300, 301 ], [ 300, 302 ], [ 286, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 303, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 307, 312 ], [ 312, 313 ], [ 312, 314 ], [ 314, 315 ], [ 286, 316 ], [ 316, 317 ], [ 316, 318 ], [ 286, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 321, 323 ], [ 319, 324 ], [ 324, 325 ], [ 325, 326 ], [ 326, 327 ], [ 327, 328 ], [ 327, 329 ], [ 326, 330 ], [ 330, 331 ], [ 330, 332 ], [ 325, 333 ], [ 333, 334 ], [ 324, 335 ], [ 335, 336 ], [ 335, 337 ], [ 324, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 340, 342 ], [ 324, 343 ], [ 343, 344 ], [ 343, 345 ], [ 345, 346 ], [ 286, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 150, 351 ], [ 351, 352 ], [ 351, 353 ], [ 353, 354 ], [ 354, 355 ], [ 354, 356 ], [ 353, 358 ], [ 358, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 358, 363 ], [ 363, 364 ], [ 363, 365 ], [ 358, 366 ], [ 366, 367 ], [ 367, 368 ], [ 358, 369 ], [ 370, 370 ], [ 370, 371 ], [ 371, 372 ], [ 372, 373 ], [ 372, 374 ], [ 371, 375 ], [ 375, 376 ], [ 353, 377 ], [ 377, 378 ], [ 351, 379 ], [ 379, 380 ], [ 150, 381 ], [ 381, 382 ], [ 381, 383 ], [ 383, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 383, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 388, 392 ], [ 392, 393 ], [ 393, 394 ], [ 393, 395 ], [ 395, 396 ], [ 383, 397 ], [ 397, 398 ], [ 397, 399 ], [ 383, 400 ], [ 400, 401 ], [ 401, 402 ], [ 402, 403 ], [ 402, 404 ], [ 400, 405 ], [ 405, 406 ], [ 406, 407 ], [ 407, 408 ], [ 406, 409 ], [ 405, 410 ], [ 410, 411 ], [ 410, 412 ], [ 412, 413 ], [ 383, 414 ], [ 414, 415 ], [ 415, 416 ], [ 416, 417 ], [ 150, 418 ], [ 418, 419 ], [ 418, 420 ], [ 420, 421 ], [ 421, 422 ], [ 421, 423 ], [ 423, 424 ], [ 420, 425 ], [ 425, 426 ], [ 426, 427 ], [ 426, 428 ], [ 425, 429 ], [ 429, 430 ], [ 429, 431 ], [ 431, 432 ], [ 420, 433 ], [ 433, 434 ], [ 433, 435 ], [ 420, 436 ], [ 436, 437 ], [ 437, 438 ], [ 438, 439 ], [ 438, 440 ], [ 436, 441 ], [ 441, 442 ], [ 442, 443 ], [ 443, 444 ], [ 442, 445 ], [ 441, 446 ], [ 446, 447 ], [ 446, 448 ], [ 448, 449 ], [ 420, 450 ], [ 450, 451 ], [ 451, 452 ], [ 452, 453 ], [ 150, 454 ], [ 454, 455 ], [ 454, 456 ], [ 456, 457 ], [ 457, 458 ], [ 458, 459 ], [ 458, 460 ], [ 457, 461 ], [ 461, 462 ], [ 462, 463 ], [ 463, 464 ], [ 462, 465 ], [ 456, 466 ], [ 466, 467 ], [ 470, 468 ], [ 480, 469 ], [ 477, 470 ], [ 470, 471 ], [ 471, 472 ], [ 471, 473 ], [ 470, 474 ], [ 474, 475 ], [ 474, 476 ], [ 477, 477 ], [ 477, 478 ], [ 477, 479 ], [ 480, 480 ], [ 480, 481 ], [ 480, 482 ], [ 470, 483 ], [ 483, 484 ], [ 483, 485 ], [ 485, 486 ], [ 454, 487 ], [ 487, 488 ], [ 150, 489 ], [ 489, 490 ], [ 489, 491 ], [ 491, 492 ], [ 492, 493 ], [ 494, 494 ], [ 494, 495 ], [ 495, 496 ], [ 495, 497 ], [ 494, 498 ], [ 498, 499 ], [ 498, 500 ], [ 494, 501 ], [ 501, 502 ], [ 501, 503 ], [ 503, 504 ], [ 489, 505 ], [ 505, 506 ], [ 150, 507 ], [ 507, 508 ], [ 507, 509 ], [ 509, 510 ], [ 509, 511 ], [ 511, 512 ], [ 7, 513 ], [ 513, 514 ], [ 513, 515 ], [ 515, 516 ], [ 513, 517 ], [ 517, 518 ], [ 517, 519 ], [ 519, 520 ], [ 520, 521 ], [ 520, 522 ], [ 517, 523 ], [ 523, 524 ], [ 513, 525 ], [ 525, 526 ], [ 525, 527 ], [ 527, 528 ], [ 528, 529 ], [ 529, 530 ], [ 529, 531 ], [ 528, 532 ], [ 525, 533 ], [ 533, 534 ], [ 513, 535 ], [ 535, 536 ], [ 535, 537 ], [ 537, 538 ], [ 538, 539 ], [ 539, 540 ], [ 540, 541 ], [ 540, 542 ], [ 538, 543 ], [ 543, 544 ], [ 543, 545 ], [ 545, 546 ], [ 545, 547 ], [ 538, 548 ], [ 548, 549 ], [ 549, 550 ], [ 538, 551 ], [ 552, 552 ], [ 552, 553 ], [ 553, 554 ], [ 554, 555 ], [ 554, 556 ], [ 553, 557 ], [ 557, 558 ], [ 558, 559 ], [ 557, 560 ], [ 552, 561 ], [ 561, 562 ], [ 562, 563 ], [ 561, 564 ], [ 564, 565 ], [ 564, 566 ], [ 535, 567 ], [ 567, 568 ], [ 513, 569 ], [ 569, 570 ], [ 569, 571 ], [ 571, 572 ], [ 572, 573 ], [ 572, 574 ], [ 571, 575 ], [ 575, 576 ], [ 576, 577 ], [ 569, 578 ], [ 578, 579 ], [ 513, 580 ], [ 580, 581 ], [ 580, 582 ], [ 582, 583 ], [ 583, 584 ], [ 584, 585 ], [ 513, 586 ], [ 586, 587 ], [ 586, 588 ], [ 588, 589 ], [ 589, 590 ], [ 590, 591 ] ]
[ "import java.util.*;\nimport java.io.*;\nclass Main{\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }\n static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}\n static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n } \n static int mod = (int)(1e9+7);\n public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long a = in.nextInt(),b = in.nextInt(),c = in.nextInt(),d = in.nextInt();\n long res = a*c;\n res = Math.max(res,a*d);\n res = Math.max(res,b*d);\n res = Math.max(res,b*c);\n out.printLine(res);\n out.flush();\n out.close();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main{\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }\n static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}\n static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n } \n static int mod = (int)(1e9+7);\n public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long a = in.nextInt(),b = in.nextInt(),c = in.nextInt(),d = in.nextInt();\n long res = a*c;\n res = Math.max(res,a*d);\n res = Math.max(res,b*d);\n res = Math.max(res,b*c);\n out.printLine(res);\n out.flush();\n out.close();\n }\n}", "Main", "static int mod = (int)(1e9+7);", "mod", "(int)(1e9+7)", "1e9", "7", "static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n }", "gcd", "{ \n if (a == 0) \n return b; \n return gcd(b % a, a); \n }", "if (a == 0) \n return b;", "a == 0", "a", "0", "return b;", "b", "return gcd(b % a, a);", "gcd(b % a, a)", "gcd", "b % a", "b", "a", "a", "int a", "a", "int b", "b", "public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }", "pow", "{\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }", "long ans = 1;", "ans", "1", "while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }", "b> 0", "b", "0", "{\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }", "if((b & 1)==1){\n ans = (ans*a) % mod; \n }", "(b & 1)==1", "(b & 1)", "b", "1", "1", "{\n ans = (ans*a) % mod; \n }", "ans = (ans*a) % mod", "ans", "(ans*a) % mod", "(ans*a)", "ans", "a", "mod", "a = (a*a) % mod", "a", "(a*a) % mod", "(a*a)", "a", "a", "mod", "b = b>>1", "b", "b>>1", "b", "1", "return ans;", "ans", "long a", "a", "long b", "b", "public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long a = in.nextInt(),b = in.nextInt(),c = in.nextInt(),d = in.nextInt();\n long res = a*c;\n res = Math.max(res,a*d);\n res = Math.max(res,b*d);\n res = Math.max(res,b*c);\n out.printLine(res);\n out.flush();\n out.close();\n }", "main", "{\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long a = in.nextInt(),b = in.nextInt(),c = in.nextInt(),d = in.nextInt();\n long res = a*c;\n res = Math.max(res,a*d);\n res = Math.max(res,b*d);\n res = Math.max(res,b*c);\n out.printLine(res);\n out.flush();\n out.close();\n }", "InputReader in = new InputReader(System.in);", "in", "new InputReader(System.in)", "OutputWriter out = new OutputWriter(System.out);", "out", "new OutputWriter(System.out)", "long a = in.nextInt()", "a", "in.nextInt()", "in.nextInt", "in", "b = in.nextInt()", "b", "in.nextInt()", "in.nextInt", "in", "c = in.nextInt()", "c", "in.nextInt()", "in.nextInt", "in", "d = in.nextInt();", "d", "in.nextInt()", "in.nextInt", "in", "long res = a*c;", "res", "a*c", "a", "c", "res = Math.max(res,a*d)", "res", "Math.max(res,a*d)", "Math.max", "Math", "res", "a*d", "a", "d", "res = Math.max(res,b*d)", "res", "Math.max(res,b*d)", "Math.max", "Math", "res", "b*d", "b", "d", "res = Math.max(res,b*c)", "res", "Math.max(res,b*c)", "Math.max", "Math", "res", "b*c", "b", "c", "out.printLine(res)", "out.printLine", "out", "res", "out.flush()", "out.flush", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n\n }", "InputReader", "private final InputStream stream;", "stream", "private final byte[] buf = new byte[8192];", "buf", "new byte[8192]", "8192", "private int curChar", "curChar", "snumChars;", "snumChars", "private SpaceCharFilter filter;", "filter", "public InputReader(InputStream stream) {\n this.stream = stream;\n }", "InputReader", "{\n this.stream = stream;\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "snext", "{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "if (snumChars == -1)\n throw new InputMismatchException();", "snumChars == -1", "snumChars", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }", "curChar >= snumChars", "curChar", "snumChars", "{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }", "curChar = 0", "curChar", "0", "try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n snumChars = stream.read(buf);\n }", "snumChars = stream.read(buf)", "snumChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (snumChars <= 0)\n return -1;", "snumChars <= 0", "snumChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextInt", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = snext();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = snext();\n }", "sgn = -1", "sgn", "-1", "1", "c = snext()", "c", "snext()", "snext", "int res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = snext()", "c", "snext()", "snext", "return res * sgn;", "res * sgn", "res", "sgn", "public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextLong", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = snext();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = snext();\n }", "sgn = -1", "sgn", "-1", "1", "c = snext()", "c", "snext()", "snext", "long res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = snext()", "c", "snext()", "snext", "return res * sgn;", "res * sgn", "res", "sgn", "public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "nextIntArray", "{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "int a[] = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = nextInt();\n }", "{\n a[i] = nextInt();\n }", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "readString", "{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c)) {\n c = snext();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = snext();\n }", "c = snext()", "c", "snext()", "snext", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res.appendCodePoint(c);\n c = snext();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = snext()", "c", "snext()", "snext", "return res.toString();", "res.toString()", "res.toString", "res", "public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }", "nextLine", "{\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }", "int c = snext();", "c", "snext()", "snext", "while (isSpaceChar(c))\n c = snext();", "isSpaceChar(c)", "isSpaceChar", "c", "c = snext()", "c", "snext()", "snext", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));", "!isEndOfLine(c)", "isEndOfLine(c)", "isEndOfLine", "c", "{\n res.appendCodePoint(c);\n c = snext();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = snext()", "c", "snext()", "snext", "return res.toString();", "res.toString()", "res.toString", "res", "public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "if (filter != null)\n return filter.isSpaceChar(c);", "filter != null", "filter", "null", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }", "isEndOfLine", "{\n return c == '\\n' || c == '\\r' || c == -1;\n }", "return c == '\\n' || c == '\\r' || c == -1;", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == -1", "c", "-1", "1", "int c", "c", "public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}", "OutputWriter", "private final PrintWriter writer;", "writer", "public OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}", "OutputWriter", "{\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}", "writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "writer", "new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "OutputStream outputStream", "outputStream", "public OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}", "OutputWriter", "{\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}", "this.writer = new PrintWriter(writer)", "this.writer", "this", "this.writer", "new PrintWriter(writer)", "Writer writer", "writer", "public void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}", "print", "{\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}", "for (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < objects.length", "i", "objects.length", "objects", "objects.length", "i++", "i++", "i", "{\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}", "{\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}", "if (i != 0)\n\t\t\t\t\twriter.print(' ');", "i != 0", "i", "0", "writer.print(' ')", "writer.print", "writer", "' '", "writer.print(objects[i])", "writer.print", "writer", "objects[i]", "objects", "i", "Object...objects", "objects", "public void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}", "printLine", "{\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}", "print(objects)", "print", "objects", "writer.println()", "writer.println", "writer", "Object...objects", "objects", "public void close() {\n\t\t\twriter.close();\n\t\t}", "close", "{\n\t\t\twriter.close();\n\t\t}", "writer.close()", "writer.close", "writer", "public void flush() {\n\t\t\twriter.flush();\n\t\t}", "flush", "{\n\t\t\twriter.flush();\n\t\t}", "writer.flush()", "writer.flush", "writer" ]
import java.util.*; import java.io.*; class Main{ static class InputReader { private final InputStream stream; private final byte[] buf = new byte[8192]; private int curChar, snumChars; private SpaceCharFilter filter; public InputReader(InputStream stream) { this.stream = stream; } public int snext() { if (snumChars == -1) throw new InputMismatchException(); if (curChar >= snumChars) { curChar = 0; try { snumChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (snumChars <= 0) return -1; } return buf[curChar++]; } public int nextInt() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } int sgn = 1; if (c == '-') { sgn = -1; c = snext(); } int res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = snext(); } while (!isSpaceChar(c)); return res * sgn; } public long nextLong() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } int sgn = 1; if (c == '-') { sgn = -1; c = snext(); } long res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = snext(); } while (!isSpaceChar(c)); return res * sgn; } public int[] nextIntArray(int n) { int a[] = new int[n]; for (int i = 0; i < n; i++) { a[i] = nextInt(); } return a; } public String readString() { int c = snext(); while (isSpaceChar(c)) { c = snext(); } StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = snext(); } while (!isSpaceChar(c)); return res.toString(); } public String nextLine() { int c = snext(); while (isSpaceChar(c)) c = snext(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = snext(); } while (!isEndOfLine(c)); return res.toString(); } public boolean isSpaceChar(int c) { if (filter != null) return filter.isSpaceChar(c); return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } private boolean isEndOfLine(int c) { return c == '\n' || c == '\r' || c == -1; } public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } } static class OutputWriter { private final PrintWriter writer; public OutputWriter(OutputStream outputStream) { writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream))); } public OutputWriter(Writer writer) { this.writer = new PrintWriter(writer); } public void print(Object...objects) { for (int i = 0; i < objects.length; i++) { if (i != 0) writer.print(' '); writer.print(objects[i]); } } public void printLine(Object...objects) { print(objects); writer.println(); } public void close() { writer.close(); } public void flush() { writer.flush(); } } static int gcd(int a, int b) { if (a == 0) return b; return gcd(b % a, a); } static int mod = (int)(1e9+7); public static long pow(long a,long b) { long ans = 1; while(b> 0) { if((b & 1)==1){ ans = (ans*a) % mod; } a = (a*a) % mod; b = b>>1; } return ans; } public static void main(String[] args) { InputReader in = new InputReader(System.in); OutputWriter out = new OutputWriter(System.out); long a = in.nextInt(),b = in.nextInt(),c = in.nextInt(),d = in.nextInt(); long res = a*c; res = Math.max(res,a*d); res = Math.max(res,b*d); res = Math.max(res,b*c); out.printLine(res); out.flush(); out.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 0, 13, 8, 2, 13, 2, 13, 13, 2, 13, 13, 13, 41, 13, 2, 13, 13, 0, 13, 8, 2, 13, 2, 13, 13, 2, 13, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 87, 5 ], [ 87, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 39, 48 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 62, 63 ], [ 62, 64 ], [ 56, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 66, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 6, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // xの範囲\n long a = sc.nextLong();\n long b = sc.nextLong();\n // yの範囲\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long resultA = a * c;\n resultA = resultA < a * d ? a * d : resultA;\n long resultB = b * c;\n resultB = resultB < b * d ? b * d : resultB;\n if (resultA < resultB) {\n System.out.println(resultB);\n } else {\n System.out.println(resultA);\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // xの範囲\n long a = sc.nextLong();\n long b = sc.nextLong();\n // yの範囲\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long resultA = a * c;\n resultA = resultA < a * d ? a * d : resultA;\n long resultB = b * c;\n resultB = resultB < b * d ? b * d : resultB;\n if (resultA < resultB) {\n System.out.println(resultB);\n } else {\n System.out.println(resultA);\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // xの範囲\n long a = sc.nextLong();\n long b = sc.nextLong();\n // yの範囲\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long resultA = a * c;\n resultA = resultA < a * d ? a * d : resultA;\n long resultB = b * c;\n resultB = resultB < b * d ? b * d : resultB;\n if (resultA < resultB) {\n System.out.println(resultB);\n } else {\n System.out.println(resultA);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n // xの範囲\n long a = sc.nextLong();\n long b = sc.nextLong();\n // yの範囲\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long resultA = a * c;\n resultA = resultA < a * d ? a * d : resultA;\n long resultB = b * c;\n resultB = resultB < b * d ? b * d : resultB;\n if (resultA < resultB) {\n System.out.println(resultB);\n } else {\n System.out.println(resultA);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long resultA = a * c;", "resultA", "a * c", "a", "c", "resultA = resultA < a * d ? a * d : resultA", "resultA", "resultA < a * d ? a * d : resultA", "resultA < a * d", "resultA", "a * d", "a", "d", "a * d", "a", "d", "resultA", "long resultB = b * c;", "resultB", "b * c", "b", "c", "resultB = resultB < b * d ? b * d : resultB", "resultB", "resultB < b * d ? b * d : resultB", "resultB < b * d", "resultB", "b * d", "b", "d", "b * d", "b", "d", "resultB", "if (resultA < resultB) {\n System.out.println(resultB);\n } else {\n System.out.println(resultA);\n }", "resultA < resultB", "resultA", "resultB", "{\n System.out.println(resultB);\n }", "System.out.println(resultB)", "System.out.println", "System.out", "System", "System.out", "resultB", "{\n System.out.println(resultA);\n }", "System.out.println(resultA)", "System.out.println", "System.out", "System", "System.out", "resultA", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // xの範囲\n long a = sc.nextLong();\n long b = sc.nextLong();\n // yの範囲\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long resultA = a * c;\n resultA = resultA < a * d ? a * d : resultA;\n long resultB = b * c;\n resultB = resultB < b * d ? b * d : resultB;\n if (resultA < resultB) {\n System.out.println(resultB);\n } else {\n System.out.println(resultA);\n }\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // xの範囲\n long a = sc.nextLong();\n long b = sc.nextLong();\n // yの範囲\n long c = sc.nextLong();\n long d = sc.nextLong();\n\n long resultA = a * c;\n resultA = resultA < a * d ? a * d : resultA;\n long resultB = b * c;\n resultB = resultB < b * d ? b * d : resultB;\n if (resultA < resultB) {\n System.out.println(resultB);\n } else {\n System.out.println(resultA);\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // xの範囲 long a = sc.nextLong(); long b = sc.nextLong(); // yの範囲 long c = sc.nextLong(); long d = sc.nextLong(); long resultA = a * c; resultA = resultA < a * d ? a * d : resultA; long resultB = b * c; resultB = resultB < b * d ? b * d : resultB; if (resultA < resultB) { System.out.println(resultB); } else { System.out.println(resultA); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 19, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 17, 0, 18, 13, 17, 4, 18, 4, 18, 13, 13, 4, 18, 13, 13, 0, 18, 13, 17, 4, 18, 4, 18, 13, 13, 4, 18, 13, 13, 0, 18, 13, 17, 4, 18, 4, 18, 13, 13, 4, 18, 13, 13, 0, 18, 13, 17, 4, 18, 4, 18, 13, 13, 4, 18, 13, 13, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 18, 13, 13, 40, 17, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 12, 13, 30, 0, 13, 20, 17, 0, 13, 17, 0, 13, 20, 12, 13, 30, 38, 30, 4, 13, 30, 4, 18, 33, 12, 13, 30, 14, 2, 13, 17, 4, 18, 13, 12, 13, 30, 14, 2, 13, 18, 13, 13, 29, 18, 13, 40, 13, 41, 13, 4, 18, 13, 42, 2, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 17, 0, 13, 17, 29, 18, 13, 40, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 282, 14 ], [ 282, 15 ], [ 15, 16 ], [ 282, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 19, 28 ], [ 28, 29 ], [ 29, 30 ], [ 17, 31 ], [ 31, 32 ], [ 282, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 36, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 43, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 43, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 43, 64 ], [ 64, 65 ], [ 64, 66 ], [ 43, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 72, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 43, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 43, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 43, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 114, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 43, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 126, 128 ], [ 43, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 136, 138 ], [ 129, 139 ], [ 139, 140 ], [ 140, 141 ], [ 129, 142 ], [ 143, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 149, 150 ], [ 149, 151 ], [ 145, 152 ], [ 152, 153 ], [ 144, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 157, 159 ], [ 43, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 282, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 166, 170 ], [ 170, 171 ], [ 166, 172 ], [ 172, 173 ], [ 166, 174 ], [ 174, 175 ], [ 174, 176 ], [ 166, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 179, 187 ], [ 187, 188 ], [ 187, 189 ], [ 166, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 193, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 166, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 204, 208 ], [ 208, 209 ], [ 209, 210 ], [ 166, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 217, 219 ], [ 214, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 213, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 228, 229 ], [ 213, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 230, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 237, 238 ], [ 213, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 242, 243 ], [ 241, 244 ], [ 241, 245 ], [ 213, 246 ], [ 246, 247 ], [ 246, 248 ], [ 213, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 166, 254 ], [ 254, 255 ], [ 254, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 258, 261 ], [ 261, 262 ], [ 166, 263 ], [ 263, 264 ], [ 263, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 267, 270 ], [ 270, 271 ], [ 166, 272 ], [ 272, 273 ], [ 272, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 277, 278 ], [ 276, 279 ], [ 279, 280 ], [ 0, 281 ], [ 281, 282 ], [ 281, 283 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\n\npublic class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n BigInteger abcd[] = new BigInteger[4];\n abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C));\n abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D));\n abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C));\n abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D));\n\n BigInteger max = abcd[0];\n\n for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }\n \tSystem.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n BigInteger abcd[] = new BigInteger[4];\n abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C));\n abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D));\n abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C));\n abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D));\n\n BigInteger max = abcd[0];\n\n for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }\n \tSystem.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}", "Main", "private static Scanner sc;", "sc", "public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }", "main", "{\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }", "Main instance = new Main();", "instance", "new Main()", "sc = instance.new Scanner()", "sc", "instance.new Scanner()", "instance", "instance", "instance.solve()", "instance.solve", "instance", "String[] args", "args", "private void solve() {\n try {\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n BigInteger abcd[] = new BigInteger[4];\n abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C));\n abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D));\n abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C));\n abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D));\n\n BigInteger max = abcd[0];\n\n for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }\n \tSystem.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "solve", "{\n try {\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n BigInteger abcd[] = new BigInteger[4];\n abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C));\n abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D));\n abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C));\n abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D));\n\n BigInteger max = abcd[0];\n\n for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }\n \tSystem.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "try {\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n BigInteger abcd[] = new BigInteger[4];\n abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C));\n abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D));\n abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C));\n abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D));\n\n BigInteger max = abcd[0];\n\n for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }\n \tSystem.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }", "catch (Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n BigInteger abcd[] = new BigInteger[4];\n abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C));\n abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D));\n abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C));\n abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D));\n\n BigInteger max = abcd[0];\n\n for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }\n \tSystem.out.println(max);\n }", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int C = sc.nextInt();", "C", "sc.nextInt()", "sc.nextInt", "sc", "int D = sc.nextInt();", "D", "sc.nextInt()", "sc.nextInt", "sc", "BigInteger abcd[] = new BigInteger[4];", "abcd", "new BigInteger[4]", "4", "abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C))", "abcd[0]", "abcd", "0", "BigInteger.valueOf(A).multiply(BigInteger.valueOf(C))", "BigInteger.valueOf(A).multiply", "BigInteger.valueOf(A)", "BigInteger.valueOf", "BigInteger", "A", "BigInteger.valueOf(C)", "BigInteger.valueOf", "BigInteger", "C", "abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D))", "abcd[1]", "abcd", "1", "BigInteger.valueOf(A).multiply(BigInteger.valueOf(D))", "BigInteger.valueOf(A).multiply", "BigInteger.valueOf(A)", "BigInteger.valueOf", "BigInteger", "A", "BigInteger.valueOf(D)", "BigInteger.valueOf", "BigInteger", "D", "abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C))", "abcd[2]", "abcd", "2", "BigInteger.valueOf(B).multiply(BigInteger.valueOf(C))", "BigInteger.valueOf(B).multiply", "BigInteger.valueOf(B)", "BigInteger.valueOf", "BigInteger", "B", "BigInteger.valueOf(C)", "BigInteger.valueOf", "BigInteger", "C", "abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D))", "abcd[3]", "abcd", "3", "BigInteger.valueOf(B).multiply(BigInteger.valueOf(D))", "BigInteger.valueOf(B).multiply", "BigInteger.valueOf(B)", "BigInteger.valueOf", "BigInteger", "B", "BigInteger.valueOf(D)", "BigInteger.valueOf", "BigInteger", "D", "BigInteger max = abcd[0];", "max", "abcd[0]", "abcd", "0", "for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i < abcd.length", "i", "abcd.length", "abcd", "abcd.length", "i++", "i++", "i", "{\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }", "{\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }", "if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }", "max.compareTo(abcd[i]) == -1", "max.compareTo(abcd[i])", "max.compareTo", "max", "abcd[i]", "abcd", "i", "-1", "1", "{\n \tmax = abcd[i];\n }", "max = abcd[i]", "max", "abcd[i]", "abcd", "i", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }", "Scanner", "String[] s;", "s", "int i;", "i", "BufferedReader br;", "br", "String regex = \" \";", "regex", "\" \"", "public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "Scanner", "{\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "s = new String[0]", "s", "new String[0]", "0", "i = 0", "i", "0", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "@Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }", "finalize", "{\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }", "try {\n super.finalize();\n } finally {\n destruction();\n }", "{\n destruction();\n }", "destruction()", "destruction", "{\n super.finalize();\n }", "super.finalize()", "super.finalize", "super", "private void destruction() throws IOException {\n if (br != null) br.close();\n }", "destruction", "{\n if (br != null) br.close();\n }", "if (br != null) br.close();", "br != null", "br", "null", "br.close()", "br.close", "br", "public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }", "next", "{\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }", "if (i < s.length) return s[i++];", "i < s.length", "i", "s.length", "s", "s.length", "return s[i++];", "s[i++]", "s", "i++", "i", "String st = br.readLine();", "st", "br.readLine()", "br.readLine", "br", "while (st == \"\") st = br.readLine();", "st == \"\"", "st", "\"\"", "st = br.readLine()", "st", "br.readLine()", "br.readLine", "br", "s = st.split(regex, 0)", "s", "st.split(regex, 0)", "st.split", "st", "regex", "0", "i = 0", "i", "0", "return s[i++];", "s[i++]", "s", "i++", "i", "public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n BigInteger abcd[] = new BigInteger[4];\n abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C));\n abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D));\n abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C));\n abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D));\n\n BigInteger max = abcd[0];\n\n for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }\n \tSystem.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}", "public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n int A = sc.nextInt();\n int B = sc.nextInt();\n int C = sc.nextInt();\n int D = sc.nextInt();\n\n BigInteger abcd[] = new BigInteger[4];\n abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C));\n abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D));\n abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C));\n abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D));\n\n BigInteger max = abcd[0];\n\n for(int i = 1; i < abcd.length; i++) {\n if(max.compareTo(abcd[i]) == -1) {\n \tmax = abcd[i];\n }\n }\n \tSystem.out.println(max);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; public class Main { private static Scanner sc; public static void main(String[] args) { Main instance = new Main(); sc = instance.new Scanner(); instance.solve(); } private void solve() { try { int A = sc.nextInt(); int B = sc.nextInt(); int C = sc.nextInt(); int D = sc.nextInt(); BigInteger abcd[] = new BigInteger[4]; abcd[0] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(C)); abcd[1] = BigInteger.valueOf(A).multiply(BigInteger.valueOf(D)); abcd[2] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(C)); abcd[3] = BigInteger.valueOf(B).multiply(BigInteger.valueOf(D)); BigInteger max = abcd[0]; for(int i = 1; i < abcd.length; i++) { if(max.compareTo(abcd[i]) == -1) { max = abcd[i]; } } System.out.println(max); } catch (Exception e) { e.printStackTrace(); } } private class Scanner { String[] s; int i; BufferedReader br; String regex = " "; public Scanner() { s = new String[0]; i = 0; br = new BufferedReader(new InputStreamReader(System.in)); } @Override protected void finalize() throws Throwable { try { super.finalize(); } finally { destruction(); } } private void destruction() throws IOException { if (br != null) br.close(); } public String next() throws IOException { if (i < s.length) return s[i++]; String st = br.readLine(); while (st == "") st = br.readLine(); s = st.split(regex, 0); i = 0; return s[i++]; } public int nextInt() throws NumberFormatException, IOException { return Integer.parseInt(next()); } public Long nextLong() throws NumberFormatException, IOException { return Long.parseLong(next()); } public Double nextDouble() throws NumberFormatException, IOException { return Double.parseDouble(next()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 29, 4, 18, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 98, 5 ], [ 98, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 33, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 38, 42 ], [ 6, 43 ], [ 43, 44 ], [ 6, 45 ], [ 45, 46 ], [ 6, 47 ], [ 47, 48 ], [ 6, 49 ], [ 49, 50 ], [ 98, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 53, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 53, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 53, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 53, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 53, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 82, 86 ], [ 82, 87 ], [ 82, 88 ], [ 53, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 51, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public long getMaxProduct(int a, int b, int c, int d) {\n long cand1 = (long) a * (long) c;\n long cand2 = (long) a * (long) d;\n long cand3 = (long) b * (long) c;\n long cand4 = (long) b * (long) d;\n return Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4));\n }\n\n public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int c = scanner.nextInt();\n int d = scanner.nextInt();\n\n long answer = solution.getMaxProduct(a, b, c, d);\n System.out.println(answer);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public long getMaxProduct(int a, int b, int c, int d) {\n long cand1 = (long) a * (long) c;\n long cand2 = (long) a * (long) d;\n long cand3 = (long) b * (long) c;\n long cand4 = (long) b * (long) d;\n return Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4));\n }\n\n public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int c = scanner.nextInt();\n int d = scanner.nextInt();\n\n long answer = solution.getMaxProduct(a, b, c, d);\n System.out.println(answer);\n }\n}", "Main", "public long getMaxProduct(int a, int b, int c, int d) {\n long cand1 = (long) a * (long) c;\n long cand2 = (long) a * (long) d;\n long cand3 = (long) b * (long) c;\n long cand4 = (long) b * (long) d;\n return Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4));\n }", "getMaxProduct", "{\n long cand1 = (long) a * (long) c;\n long cand2 = (long) a * (long) d;\n long cand3 = (long) b * (long) c;\n long cand4 = (long) b * (long) d;\n return Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4));\n }", "long cand1 = (long) a * (long) c;", "cand1", "(long) a * (long) c", "(long) a", "(long) c", "long cand2 = (long) a * (long) d;", "cand2", "(long) a * (long) d", "(long) a", "(long) d", "long cand3 = (long) b * (long) c;", "cand3", "(long) b * (long) c", "(long) b", "(long) c", "long cand4 = (long) b * (long) d;", "cand4", "(long) b * (long) d", "(long) b", "(long) d", "return Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4));", "Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4))", "Math.max", "Math", "Math.max(cand1, cand2)", "Math.max", "Math", "cand1", "cand2", "Math.max(cand3, cand4)", "Math.max", "Math", "cand3", "cand4", "int a", "a", "int b", "b", "int c", "c", "int d", "d", "public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int c = scanner.nextInt();\n int d = scanner.nextInt();\n\n long answer = solution.getMaxProduct(a, b, c, d);\n System.out.println(answer);\n }", "main", "{\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int c = scanner.nextInt();\n int d = scanner.nextInt();\n\n long answer = solution.getMaxProduct(a, b, c, d);\n System.out.println(answer);\n }", "Main solution = new Main();", "solution", "new Main()", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "int c = scanner.nextInt();", "c", "scanner.nextInt()", "scanner.nextInt", "scanner", "int d = scanner.nextInt();", "d", "scanner.nextInt()", "scanner.nextInt", "scanner", "long answer = solution.getMaxProduct(a, b, c, d);", "answer", "solution.getMaxProduct(a, b, c, d)", "solution.getMaxProduct", "solution", "a", "b", "c", "d", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "String[] args", "args", "public class Main {\n public long getMaxProduct(int a, int b, int c, int d) {\n long cand1 = (long) a * (long) c;\n long cand2 = (long) a * (long) d;\n long cand3 = (long) b * (long) c;\n long cand4 = (long) b * (long) d;\n return Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4));\n }\n\n public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int c = scanner.nextInt();\n int d = scanner.nextInt();\n\n long answer = solution.getMaxProduct(a, b, c, d);\n System.out.println(answer);\n }\n}", "public class Main {\n public long getMaxProduct(int a, int b, int c, int d) {\n long cand1 = (long) a * (long) c;\n long cand2 = (long) a * (long) d;\n long cand3 = (long) b * (long) c;\n long cand4 = (long) b * (long) d;\n return Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4));\n }\n\n public static void main(String[] args) throws Exception {\n Main solution = new Main();\n\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int c = scanner.nextInt();\n int d = scanner.nextInt();\n\n long answer = solution.getMaxProduct(a, b, c, d);\n System.out.println(answer);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public long getMaxProduct(int a, int b, int c, int d) { long cand1 = (long) a * (long) c; long cand2 = (long) a * (long) d; long cand3 = (long) b * (long) c; long cand4 = (long) b * (long) d; return Math.max(Math.max(cand1, cand2), Math.max(cand3, cand4)); } public static void main(String[] args) throws Exception { Main solution = new Main(); Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); int d = scanner.nextInt(); long answer = solution.getMaxProduct(a, b, c, d); System.out.println(answer); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 2, 18, 13, 17, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 18, 13, 13, 18, 13, 13, 13, 30, 0, 13, 2, 18, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 100, 5 ], [ 100, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 21, 22 ], [ 21, 23 ], [ 16, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 28, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 71, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 88, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 6, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong[] num = new long[4];\n \tfor(int i=0;i<4;i++){\n num[i] = sc.nextLong();\n }\n \tlong max = num[0] * num[2];\n \tfor(int i=0;i<2;i++){\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }\n \tSystem.out.println(max);\n \n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong[] num = new long[4];\n \tfor(int i=0;i<4;i++){\n num[i] = sc.nextLong();\n }\n \tlong max = num[0] * num[2];\n \tfor(int i=0;i<2;i++){\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }\n \tSystem.out.println(max);\n \n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong[] num = new long[4];\n \tfor(int i=0;i<4;i++){\n num[i] = sc.nextLong();\n }\n \tlong max = num[0] * num[2];\n \tfor(int i=0;i<2;i++){\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }\n \tSystem.out.println(max);\n \n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n \tlong[] num = new long[4];\n \tfor(int i=0;i<4;i++){\n num[i] = sc.nextLong();\n }\n \tlong max = num[0] * num[2];\n \tfor(int i=0;i<2;i++){\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }\n \tSystem.out.println(max);\n \n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long[] num = new long[4];", "num", "new long[4]", "4", "for(int i=0;i<4;i++){\n num[i] = sc.nextLong();\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n num[i] = sc.nextLong();\n }", "{\n num[i] = sc.nextLong();\n }", "num[i] = sc.nextLong()", "num[i]", "num", "i", "sc.nextLong()", "sc.nextLong", "sc", "long max = num[0] * num[2];", "max", "num[0] * num[2]", "num[0]", "num", "0", "num[2]", "num", "2", "for(int i=0;i<2;i++){\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<2", "i", "2", "i++", "i++", "i", "{\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }", "{\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }", "for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }", "int j=2;", "int j=2;", "j", "2", "j<4", "j", "4", "j++", "j++", "j", "{\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }", "{\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }", "if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }", "num[i] * num[j] > max", "num[i] * num[j]", "num[i]", "num", "i", "num[j]", "num", "j", "max", "{\n max = num[i] * num[j];\n }", "max = num[i] * num[j]", "max", "num[i] * num[j]", "num[i]", "num", "i", "num[j]", "num", "j", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong[] num = new long[4];\n \tfor(int i=0;i<4;i++){\n num[i] = sc.nextLong();\n }\n \tlong max = num[0] * num[2];\n \tfor(int i=0;i<2;i++){\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }\n \tSystem.out.println(max);\n \n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tlong[] num = new long[4];\n \tfor(int i=0;i<4;i++){\n num[i] = sc.nextLong();\n }\n \tlong max = num[0] * num[2];\n \tfor(int i=0;i<2;i++){\n for(int j=2;j<4;j++){\n if( num[i] * num[j] > max ){\n max = num[i] * num[j];\n }\n }\n }\n \tSystem.out.println(max);\n \n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); long[] num = new long[4]; for(int i=0;i<4;i++){ num[i] = sc.nextLong(); } long max = num[0] * num[2]; for(int i=0;i<2;i++){ for(int j=2;j<4;j++){ if( num[i] * num[j] > max ){ max = num[i] * num[j]; } } } System.out.println(max); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 90, 8 ], [ 90, 9 ], [ 9, 10 ], [ 9, 11 ], [ 90, 12 ], [ 12, 13 ], [ 90, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 16, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 90, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 38, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 38, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 57, 63 ], [ 63, 64 ], [ 63, 65 ], [ 38, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 74, 75 ], [ 74, 76 ], [ 38, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 82, 86 ], [ 36, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static StringTokenizer st;\n\n private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }\n\n public static void main(String[] args) throws IOException {\n long a = readInt();\n long b = readInt();\n long c = readInt();\n long d = readInt();\n\n long res = Math.max(a * c, a * d);\n long res2 = Math.max(b * c, b * d);\n System.out.println(Math.max(res, res2));\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static StringTokenizer st;\n\n private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }\n\n public static void main(String[] args) throws IOException {\n long a = readInt();\n long b = readInt();\n long c = readInt();\n long d = readInt();\n\n long res = Math.max(a * c, a * d);\n long res2 = Math.max(b * c, b * d);\n System.out.println(Math.max(res, res2));\n }\n}", "Main", "private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "private static StringTokenizer st;", "st", "private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }", "readInt", "{\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public static void main(String[] args) throws IOException {\n long a = readInt();\n long b = readInt();\n long c = readInt();\n long d = readInt();\n\n long res = Math.max(a * c, a * d);\n long res2 = Math.max(b * c, b * d);\n System.out.println(Math.max(res, res2));\n }", "main", "{\n long a = readInt();\n long b = readInt();\n long c = readInt();\n long d = readInt();\n\n long res = Math.max(a * c, a * d);\n long res2 = Math.max(b * c, b * d);\n System.out.println(Math.max(res, res2));\n }", "long a = readInt();", "a", "readInt()", "readInt", "long b = readInt();", "b", "readInt()", "readInt", "long c = readInt();", "c", "readInt()", "readInt", "long d = readInt();", "d", "readInt()", "readInt", "long res = Math.max(a * c, a * d);", "res", "Math.max(a * c, a * d)", "Math.max", "Math", "a * c", "a", "c", "a * d", "a", "d", "long res2 = Math.max(b * c, b * d);", "res2", "Math.max(b * c, b * d)", "Math.max", "Math", "b * c", "b", "c", "b * d", "b", "d", "System.out.println(Math.max(res, res2))", "System.out.println", "System.out", "System", "System.out", "Math.max(res, res2)", "Math.max", "Math", "res", "res2", "String[] args", "args", "public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static StringTokenizer st;\n\n private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }\n\n public static void main(String[] args) throws IOException {\n long a = readInt();\n long b = readInt();\n long c = readInt();\n long d = readInt();\n\n long res = Math.max(a * c, a * d);\n long res2 = Math.max(b * c, b * d);\n System.out.println(Math.max(res, res2));\n }\n}", "public class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static StringTokenizer st;\n\n private static int readInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine());\n return Integer.parseInt(st.nextToken());\n }\n\n public static void main(String[] args) throws IOException {\n long a = readInt();\n long b = readInt();\n long c = readInt();\n long d = readInt();\n\n long res = Math.max(a * c, a * d);\n long res2 = Math.max(b * c, b * d);\n System.out.println(Math.max(res, res2));\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); private static StringTokenizer st; private static int readInt() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine()); return Integer.parseInt(st.nextToken()); } public static void main(String[] args) throws IOException { long a = readInt(); long b = readInt(); long c = readInt(); long d = readInt(); long res = Math.max(a * c, a * d); long res2 = Math.max(b * c, b * d); System.out.println(Math.max(res, res2)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 108, 5 ], [ 108, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 37, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 8, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 89, 93 ], [ 93, 94 ], [ 93, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 6, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tString N = scan.next();\n\t\t\tString [] token = N.split(\" \");\n\t\t\tlong a = Long.parseLong(token[0]);\n\t\t\tlong b = Long.parseLong(scan.next());\n\t\t\tlong c = Long.parseLong(scan.next());\n\t\t\tlong d = Long.parseLong(scan.next());\n\n\n\t\t\tlong max = Long.MIN_VALUE;\n\t\t\tmax = Math.max(max, b*d);\n\t\t\tmax = Math.max(max, a*c);\n\t\t\tmax = Math.max(max, a*d);\n\t\t\tmax = Math.max(max, b*c);\n\t\t\tSystem.out.println(max);\n\t\t\tscan.close();\n\t\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tString N = scan.next();\n\t\t\tString [] token = N.split(\" \");\n\t\t\tlong a = Long.parseLong(token[0]);\n\t\t\tlong b = Long.parseLong(scan.next());\n\t\t\tlong c = Long.parseLong(scan.next());\n\t\t\tlong d = Long.parseLong(scan.next());\n\n\n\t\t\tlong max = Long.MIN_VALUE;\n\t\t\tmax = Math.max(max, b*d);\n\t\t\tmax = Math.max(max, a*c);\n\t\t\tmax = Math.max(max, a*d);\n\t\t\tmax = Math.max(max, b*c);\n\t\t\tSystem.out.println(max);\n\t\t\tscan.close();\n\t\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tString N = scan.next();\n\t\t\tString [] token = N.split(\" \");\n\t\t\tlong a = Long.parseLong(token[0]);\n\t\t\tlong b = Long.parseLong(scan.next());\n\t\t\tlong c = Long.parseLong(scan.next());\n\t\t\tlong d = Long.parseLong(scan.next());\n\n\n\t\t\tlong max = Long.MIN_VALUE;\n\t\t\tmax = Math.max(max, b*d);\n\t\t\tmax = Math.max(max, a*c);\n\t\t\tmax = Math.max(max, a*d);\n\t\t\tmax = Math.max(max, b*c);\n\t\t\tSystem.out.println(max);\n\t\t\tscan.close();\n\t\t}", "main", "{\n\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tString N = scan.next();\n\t\t\tString [] token = N.split(\" \");\n\t\t\tlong a = Long.parseLong(token[0]);\n\t\t\tlong b = Long.parseLong(scan.next());\n\t\t\tlong c = Long.parseLong(scan.next());\n\t\t\tlong d = Long.parseLong(scan.next());\n\n\n\t\t\tlong max = Long.MIN_VALUE;\n\t\t\tmax = Math.max(max, b*d);\n\t\t\tmax = Math.max(max, a*c);\n\t\t\tmax = Math.max(max, a*d);\n\t\t\tmax = Math.max(max, b*c);\n\t\t\tSystem.out.println(max);\n\t\t\tscan.close();\n\t\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String N = scan.next();", "N", "scan.next()", "scan.next", "scan", "String [] token = N.split(\" \");", "token", "N.split(\" \")", "N.split", "N", "\" \"", "long a = Long.parseLong(token[0]);", "a", "Long.parseLong(token[0])", "Long.parseLong", "Long", "token[0]", "token", "0", "long b = Long.parseLong(scan.next());", "b", "Long.parseLong(scan.next())", "Long.parseLong", "Long", "scan.next()", "scan.next", "scan", "long c = Long.parseLong(scan.next());", "c", "Long.parseLong(scan.next())", "Long.parseLong", "Long", "scan.next()", "scan.next", "scan", "long d = Long.parseLong(scan.next());", "d", "Long.parseLong(scan.next())", "Long.parseLong", "Long", "scan.next()", "scan.next", "scan", "long max = Long.MIN_VALUE;", "max", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "max = Math.max(max, b*d)", "max", "Math.max(max, b*d)", "Math.max", "Math", "max", "b*d", "b", "d", "max = Math.max(max, a*c)", "max", "Math.max(max, a*c)", "Math.max", "Math", "max", "a*c", "a", "c", "max = Math.max(max, a*d)", "max", "Math.max(max, a*d)", "Math.max", "Math", "max", "a*d", "a", "d", "max = Math.max(max, b*c)", "max", "Math.max(max, b*c)", "Math.max", "Math", "max", "b*c", "b", "c", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tString N = scan.next();\n\t\t\tString [] token = N.split(\" \");\n\t\t\tlong a = Long.parseLong(token[0]);\n\t\t\tlong b = Long.parseLong(scan.next());\n\t\t\tlong c = Long.parseLong(scan.next());\n\t\t\tlong d = Long.parseLong(scan.next());\n\n\n\t\t\tlong max = Long.MIN_VALUE;\n\t\t\tmax = Math.max(max, b*d);\n\t\t\tmax = Math.max(max, a*c);\n\t\t\tmax = Math.max(max, a*d);\n\t\t\tmax = Math.max(max, b*c);\n\t\t\tSystem.out.println(max);\n\t\t\tscan.close();\n\t\t}\n\n}", "public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner scan = new Scanner(System.in);\n\t\t\tString N = scan.next();\n\t\t\tString [] token = N.split(\" \");\n\t\t\tlong a = Long.parseLong(token[0]);\n\t\t\tlong b = Long.parseLong(scan.next());\n\t\t\tlong c = Long.parseLong(scan.next());\n\t\t\tlong d = Long.parseLong(scan.next());\n\n\n\t\t\tlong max = Long.MIN_VALUE;\n\t\t\tmax = Math.max(max, b*d);\n\t\t\tmax = Math.max(max, a*c);\n\t\t\tmax = Math.max(max, a*d);\n\t\t\tmax = Math.max(max, b*c);\n\t\t\tSystem.out.println(max);\n\t\t\tscan.close();\n\t\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String N = scan.next(); String [] token = N.split(" "); long a = Long.parseLong(token[0]); long b = Long.parseLong(scan.next()); long c = Long.parseLong(scan.next()); long d = Long.parseLong(scan.next()); long max = Long.MIN_VALUE; max = Math.max(max, b*d); max = Math.max(max, a*c); max = Math.max(max, a*d); max = Math.max(max, b*c); System.out.println(max); scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 8, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 6, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main (String args[])\n {\n \n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n //aとbが0以下かつ\n ArrayList<Long> result = new ArrayList<>();\n \n result.add(a*c);\n result.add(a*d);\n result.add(b*c);\n result.add(b*d);\n\n Long max = Collections.max(result);\n System.out.println(max);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main (String args[])\n {\n \n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n //aとbが0以下かつ\n ArrayList<Long> result = new ArrayList<>();\n \n result.add(a*c);\n result.add(a*d);\n result.add(b*c);\n result.add(b*d);\n\n Long max = Collections.max(result);\n System.out.println(max);\n }\n}", "Main", "public static void main (String args[])\n {\n \n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n //aとbが0以下かつ\n ArrayList<Long> result = new ArrayList<>();\n \n result.add(a*c);\n result.add(a*d);\n result.add(b*c);\n result.add(b*d);\n\n Long max = Collections.max(result);\n System.out.println(max);\n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n //aとbが0以下かつ\n ArrayList<Long> result = new ArrayList<>();\n \n result.add(a*c);\n result.add(a*d);\n result.add(b*c);\n result.add(b*d);\n\n Long max = Collections.max(result);\n System.out.println(max);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "ArrayList<Long> result = new ArrayList<>();", "result", "new ArrayList<>()", "result.add(a*c)", "result.add", "result", "a*c", "a", "c", "result.add(a*d)", "result.add", "result", "a*d", "a", "d", "result.add(b*c)", "result.add", "result", "b*c", "b", "c", "result.add(b*d)", "result.add", "result", "b*d", "b", "d", "Long max = Collections.max(result);", "max", "Collections.max(result)", "Collections.max", "Collections", "result", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String args[]", "args", "public class Main {\n public static void main (String args[])\n {\n \n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n //aとbが0以下かつ\n ArrayList<Long> result = new ArrayList<>();\n \n result.add(a*c);\n result.add(a*d);\n result.add(b*c);\n result.add(b*d);\n\n Long max = Collections.max(result);\n System.out.println(max);\n }\n}", "public class Main {\n public static void main (String args[])\n {\n \n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n //aとbが0以下かつ\n ArrayList<Long> result = new ArrayList<>();\n \n result.add(a*c);\n result.add(a*d);\n result.add(b*c);\n result.add(b*d);\n\n Long max = Collections.max(result);\n System.out.println(max);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main (String args[]) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); //aとbが0以下かつ ArrayList<Long> result = new ArrayList<>(); result.add(a*c); result.add(a*d); result.add(b*c); result.add(b*d); Long max = Collections.max(result); System.out.println(max); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 209, 17 ], [ 209, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 20, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 20, 44 ], [ 44, 45 ], [ 20, 46 ], [ 46, 47 ], [ 20, 48 ], [ 48, 49 ], [ 20, 50 ], [ 50, 51 ], [ 20, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 20, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 20, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 20, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 20, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 20, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 81, 85 ], [ 20, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 88, 92 ], [ 20, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 18, 99 ], [ 99, 100 ], [ 209, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 112, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 117, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 111, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 101, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 139, 140 ], [ 101, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 153, 154 ], [ 153, 155 ], [ 148, 156 ], [ 156, 157 ], [ 157, 158 ], [ 148, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 143, 166 ], [ 166, 167 ], [ 141, 168 ], [ 168, 169 ], [ 101, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 174, 177 ], [ 177, 178 ], [ 101, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 186, 191 ], [ 191, 192 ], [ 191, 193 ], [ 186, 194 ], [ 194, 195 ], [ 195, 196 ], [ 186, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 181, 204 ], [ 204, 205 ], [ 179, 206 ], [ 206, 207 ], [ 0, 208 ], [ 208, 209 ], [ 208, 210 ] ]
[ "//package csesCodes;// template code for cp;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws InterruptedException {\n FastScanner fs=new FastScanner();\n long a=fs.nextLong();\n long b=fs.nextLong();\n long c=fs.nextLong();\n long d=fs.nextLong();\n long p1,p2,p3,p4;\n p1=a*c;\n p2=a*d;\n p3=b*c;\n p4=b*d;\n long ans1=Math.max(p1,p2);\n long ans2=Math.max(p3,p4);\n long result=Math.max(ans1,ans2);\n System.out.println(result);\n\n\n\n }\n\n\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] readLongArray(int n) {\n long[] a=new long[n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) throws InterruptedException {\n FastScanner fs=new FastScanner();\n long a=fs.nextLong();\n long b=fs.nextLong();\n long c=fs.nextLong();\n long d=fs.nextLong();\n long p1,p2,p3,p4;\n p1=a*c;\n p2=a*d;\n p3=b*c;\n p4=b*d;\n long ans1=Math.max(p1,p2);\n long ans2=Math.max(p3,p4);\n long result=Math.max(ans1,ans2);\n System.out.println(result);\n\n\n\n }\n\n\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] readLongArray(int n) {\n long[] a=new long[n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }\n }\n\n}", "Main", "public static void main(String[] args) throws InterruptedException {\n FastScanner fs=new FastScanner();\n long a=fs.nextLong();\n long b=fs.nextLong();\n long c=fs.nextLong();\n long d=fs.nextLong();\n long p1,p2,p3,p4;\n p1=a*c;\n p2=a*d;\n p3=b*c;\n p4=b*d;\n long ans1=Math.max(p1,p2);\n long ans2=Math.max(p3,p4);\n long result=Math.max(ans1,ans2);\n System.out.println(result);\n\n\n\n }", "main", "{\n FastScanner fs=new FastScanner();\n long a=fs.nextLong();\n long b=fs.nextLong();\n long c=fs.nextLong();\n long d=fs.nextLong();\n long p1,p2,p3,p4;\n p1=a*c;\n p2=a*d;\n p3=b*c;\n p4=b*d;\n long ans1=Math.max(p1,p2);\n long ans2=Math.max(p3,p4);\n long result=Math.max(ans1,ans2);\n System.out.println(result);\n\n\n\n }", "FastScanner fs=new FastScanner();", "fs", "new FastScanner()", "long a=fs.nextLong();", "a", "fs.nextLong()", "fs.nextLong", "fs", "long b=fs.nextLong();", "b", "fs.nextLong()", "fs.nextLong", "fs", "long c=fs.nextLong();", "c", "fs.nextLong()", "fs.nextLong", "fs", "long d=fs.nextLong();", "d", "fs.nextLong()", "fs.nextLong", "fs", "long p1", "p1", "p2", "p2", "p3", "p3", "p4;", "p4", "p1=a*c", "p1", "a*c", "a", "c", "p2=a*d", "p2", "a*d", "a", "d", "p3=b*c", "p3", "b*c", "b", "c", "p4=b*d", "p4", "b*d", "b", "d", "long ans1=Math.max(p1,p2);", "ans1", "Math.max(p1,p2)", "Math.max", "Math", "p1", "p2", "long ans2=Math.max(p3,p4);", "ans2", "Math.max(p3,p4)", "Math.max", "Math", "p3", "p4", "long result=Math.max(ans1,ans2);", "result", "Math.max(ans1,ans2)", "Math.max", "Math", "ans1", "ans2", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] readLongArray(int n) {\n long[] a=new long[n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }\n }", "FastScanner", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st=new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "public String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n\n }", "next", "{\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n\n }", "while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st=new StringTokenizer(br.readLine());\n }", "st=new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }", "readArray", "{\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }", "int[] a=new int[n];", "a", "new int[n]", "n", "for (int i=0; i<n; i++) a[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextInt();", "a[i]=nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public long[] readLongArray(int n) {\n long[] a=new long[n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }", "readLongArray", "{\n long[] a=new long[n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }", "long[] a=new long[n];", "a", "new long[n]", "n", "for (int i=0; i<n; i++) a[i]=nextLong();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextLong();", "a[i]=nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main {\n\n public static void main(String[] args) throws InterruptedException {\n FastScanner fs=new FastScanner();\n long a=fs.nextLong();\n long b=fs.nextLong();\n long c=fs.nextLong();\n long d=fs.nextLong();\n long p1,p2,p3,p4;\n p1=a*c;\n p2=a*d;\n p3=b*c;\n p4=b*d;\n long ans1=Math.max(p1,p2);\n long ans2=Math.max(p3,p4);\n long result=Math.max(ans1,ans2);\n System.out.println(result);\n\n\n\n }\n\n\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] readLongArray(int n) {\n long[] a=new long[n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }\n }\n\n}", "public class Main {\n\n public static void main(String[] args) throws InterruptedException {\n FastScanner fs=new FastScanner();\n long a=fs.nextLong();\n long b=fs.nextLong();\n long c=fs.nextLong();\n long d=fs.nextLong();\n long p1,p2,p3,p4;\n p1=a*c;\n p2=a*d;\n p3=b*c;\n p4=b*d;\n long ans1=Math.max(p1,p2);\n long ans2=Math.max(p3,p4);\n long result=Math.max(ans1,ans2);\n System.out.println(result);\n\n\n\n }\n\n\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreTokens())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] readLongArray(int n) {\n long[] a=new long[n];\n for (int i=0; i<n; i++) a[i]=nextLong();\n return a;\n }\n }\n\n}", "Main" ]
//package csesCodes;// template code for cp; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; import java.util.*; public class Main { public static void main(String[] args) throws InterruptedException { FastScanner fs=new FastScanner(); long a=fs.nextLong(); long b=fs.nextLong(); long c=fs.nextLong(); long d=fs.nextLong(); long p1,p2,p3,p4; p1=a*c; p2=a*d; p3=b*c; p4=b*d; long ans1=Math.max(p1,p2); long ans2=Math.max(p3,p4); long result=Math.max(ans1,ans2); System.out.println(result); } static class FastScanner { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st=new StringTokenizer(""); public String next() { while (!st.hasMoreTokens()) try { st=new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return st.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } public int[] readArray(int n) { int[] a=new int[n]; for (int i=0; i<n; i++) a[i]=nextInt(); return a; } public long nextLong() { return Long.parseLong(next()); } public long[] readLongArray(int n) { long[] a=new long[n]; for (int i=0; i<n; i++) a[i]=nextLong(); return a; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 40, 17, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 84, 5 ], [ 84, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 6, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n//\t\tString[] array = new String[n];\n//\t\tfor(int i=0;i<n;i++) {\n//\t\t\t\tarray[i] = sc.next();\n//\t\t}\n\t\tsc.close();\n\n\t\tlong ans = -1000000000000000000L;\n\n\t\tans = Math.max(ans, a*c);\n\t\tans = Math.max(ans, a*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, b*d);\n\n\t\tSystem.out.println(ans);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n//\t\tString[] array = new String[n];\n//\t\tfor(int i=0;i<n;i++) {\n//\t\t\t\tarray[i] = sc.next();\n//\t\t}\n\t\tsc.close();\n\n\t\tlong ans = -1000000000000000000L;\n\n\t\tans = Math.max(ans, a*c);\n\t\tans = Math.max(ans, a*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, b*d);\n\n\t\tSystem.out.println(ans);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n//\t\tString[] array = new String[n];\n//\t\tfor(int i=0;i<n;i++) {\n//\t\t\t\tarray[i] = sc.next();\n//\t\t}\n\t\tsc.close();\n\n\t\tlong ans = -1000000000000000000L;\n\n\t\tans = Math.max(ans, a*c);\n\t\tans = Math.max(ans, a*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, b*d);\n\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n//\t\tString[] array = new String[n];\n//\t\tfor(int i=0;i<n;i++) {\n//\t\t\t\tarray[i] = sc.next();\n//\t\t}\n\t\tsc.close();\n\n\t\tlong ans = -1000000000000000000L;\n\n\t\tans = Math.max(ans, a*c);\n\t\tans = Math.max(ans, a*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, b*d);\n\n\t\tSystem.out.println(ans);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "sc.close()", "sc.close", "sc", "long ans = -1000000000000000000L;", "ans", "-1000000000000000000L", "1000000000000000000L", "ans = Math.max(ans, a*c)", "ans", "Math.max(ans, a*c)", "Math.max", "Math", "ans", "a*c", "a", "c", "ans = Math.max(ans, a*d)", "ans", "Math.max(ans, a*d)", "Math.max", "Math", "ans", "a*d", "a", "d", "ans = Math.max(ans, b*c)", "ans", "Math.max(ans, b*c)", "Math.max", "Math", "ans", "b*c", "b", "c", "ans = Math.max(ans, b*d)", "ans", "Math.max(ans, b*d)", "Math.max", "Math", "ans", "b*d", "b", "d", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n//\t\tString[] array = new String[n];\n//\t\tfor(int i=0;i<n;i++) {\n//\t\t\t\tarray[i] = sc.next();\n//\t\t}\n\t\tsc.close();\n\n\t\tlong ans = -1000000000000000000L;\n\n\t\tans = Math.max(ans, a*c);\n\t\tans = Math.max(ans, a*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, b*d);\n\n\t\tSystem.out.println(ans);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tlong c = sc.nextLong();\n\t\tlong d = sc.nextLong();\n//\t\tString[] array = new String[n];\n//\t\tfor(int i=0;i<n;i++) {\n//\t\t\t\tarray[i] = sc.next();\n//\t\t}\n\t\tsc.close();\n\n\t\tlong ans = -1000000000000000000L;\n\n\t\tans = Math.max(ans, a*c);\n\t\tans = Math.max(ans, a*d);\n\t\tans = Math.max(ans, b*c);\n\t\tans = Math.max(ans, b*d);\n\n\t\tSystem.out.println(ans);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); // String[] array = new String[n]; // for(int i=0;i<n;i++) { // array[i] = sc.next(); // } sc.close(); long ans = -1000000000000000000L; ans = Math.max(ans, a*c); ans = Math.max(ans, a*d); ans = Math.max(ans, b*c); ans = Math.max(ans, b*d); System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 17, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 0, 18, 13, 17, 2, 13, 13, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 69, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 6, 102 ], [ 102, 103 ] ]
[ "import java.util.*;\n\nclass Main\n{\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n \n long[] array = new long[4];\n \n array[0] = a * d;\n array[1] = b * c;\n array[2] = a * c;\n array[3] = b * d;\n \n long max = array[0];\n for (int i = 0; i < array.length ; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }\n \n System.out.println(max);\n \n }\n}", "import java.util.*;", "util.*", "java", "class Main\n{\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n \n long[] array = new long[4];\n \n array[0] = a * d;\n array[1] = b * c;\n array[2] = a * c;\n array[3] = b * d;\n \n long max = array[0];\n for (int i = 0; i < array.length ; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }\n \n System.out.println(max);\n \n }\n}", "Main", "public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n \n long[] array = new long[4];\n \n array[0] = a * d;\n array[1] = b * c;\n array[2] = a * c;\n array[3] = b * d;\n \n long max = array[0];\n for (int i = 0; i < array.length ; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }\n \n System.out.println(max);\n \n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n \n long[] array = new long[4];\n \n array[0] = a * d;\n array[1] = b * c;\n array[2] = a * c;\n array[3] = b * d;\n \n long max = array[0];\n for (int i = 0; i < array.length ; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }\n \n System.out.println(max);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long[] array = new long[4];", "array", "new long[4]", "4", "array[0] = a * d", "array[0]", "array", "0", "a * d", "a", "d", "array[1] = b * c", "array[1]", "array", "1", "b * c", "b", "c", "array[2] = a * c", "array[2]", "array", "2", "a * c", "a", "c", "array[3] = b * d", "array[3]", "array", "3", "b * d", "b", "d", "long max = array[0];", "max", "array[0]", "array", "0", "for (int i = 0; i < array.length ; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n if (max < array[i]) {\n max = array[i];\n }\n }", "{\n if (max < array[i]) {\n max = array[i];\n }\n }", "if (max < array[i]) {\n max = array[i];\n }", "max < array[i]", "max", "array[i]", "array", "i", "{\n max = array[i];\n }", "max = array[i]", "max", "array[i]", "array", "i", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long[] array = new long[4]; array[0] = a * d; array[1] = b * c; array[2] = a * c; array[3] = b * d; long max = array[0]; for (int i = 0; i < array.length ; i++) { if (max < array[i]) { max = array[i]; } } System.out.println(max); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 60, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 65, 69 ], [ 6, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "\n\n\nimport java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a=scan.nextLong();\n long b=scan.nextLong();\n long c=scan.nextLong();\n long d=scan.nextLong();\n long ans1=a*c;\n long ans2=b*d;\n long ans4=b*c;\n long ans3=a*d;\n System.out.print(Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4)));\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a=scan.nextLong();\n long b=scan.nextLong();\n long c=scan.nextLong();\n long d=scan.nextLong();\n long ans1=a*c;\n long ans2=b*d;\n long ans4=b*c;\n long ans3=a*d;\n System.out.print(Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4)));\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a=scan.nextLong();\n long b=scan.nextLong();\n long c=scan.nextLong();\n long d=scan.nextLong();\n long ans1=a*c;\n long ans2=b*d;\n long ans4=b*c;\n long ans3=a*d;\n System.out.print(Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4)));\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n long a=scan.nextLong();\n long b=scan.nextLong();\n long c=scan.nextLong();\n long d=scan.nextLong();\n long ans1=a*c;\n long ans2=b*d;\n long ans4=b*c;\n long ans3=a*d;\n System.out.print(Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4)));\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long a=scan.nextLong();", "a", "scan.nextLong()", "scan.nextLong", "scan", "long b=scan.nextLong();", "b", "scan.nextLong()", "scan.nextLong", "scan", "long c=scan.nextLong();", "c", "scan.nextLong()", "scan.nextLong", "scan", "long d=scan.nextLong();", "d", "scan.nextLong()", "scan.nextLong", "scan", "long ans1=a*c;", "ans1", "a*c", "a", "c", "long ans2=b*d;", "ans2", "b*d", "b", "d", "long ans4=b*c;", "ans4", "b*c", "b", "c", "long ans3=a*d;", "ans3", "a*d", "a", "d", "System.out.print(Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4)))", "System.out.print", "System.out", "System", "System.out", "Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4))", "Math.max", "Math", "Math.max(ans1,ans3)", "Math.max", "Math", "ans1", "ans3", "Math.max(ans2,ans4)", "Math.max", "Math", "ans2", "ans4", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a=scan.nextLong();\n long b=scan.nextLong();\n long c=scan.nextLong();\n long d=scan.nextLong();\n long ans1=a*c;\n long ans2=b*d;\n long ans4=b*c;\n long ans3=a*d;\n System.out.print(Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4)));\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long a=scan.nextLong();\n long b=scan.nextLong();\n long c=scan.nextLong();\n long d=scan.nextLong();\n long ans1=a*c;\n long ans2=b*d;\n long ans4=b*c;\n long ans3=a*d;\n System.out.print(Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4)));\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); long a=scan.nextLong(); long b=scan.nextLong(); long c=scan.nextLong(); long d=scan.nextLong(); long ans1=a*c; long ans2=b*d; long ans4=b*c; long ans3=a*d; System.out.print(Math.max(Math.max(ans1,ans3),Math.max(ans2,ans4))); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 91, 14 ], [ 91, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 17, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 17, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 54, 55 ], [ 17, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 17, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 76, 78 ], [ 73, 79 ], [ 79, 80 ], [ 79, 81 ], [ 17, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 15, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tlong b = Long.parseLong(st.nextToken());\n\t\tlong c = Long.parseLong(st.nextToken());\n\t\tlong d = Long.parseLong(st.nextToken());\n\n\t\tlong ans = Math.max(a * c, a * d);\n\t\tans = Math.max( ans, Math.max(b*c, b * d));\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tlong b = Long.parseLong(st.nextToken());\n\t\tlong c = Long.parseLong(st.nextToken());\n\t\tlong d = Long.parseLong(st.nextToken());\n\n\t\tlong ans = Math.max(a * c, a * d);\n\t\tans = Math.max( ans, Math.max(b*c, b * d));\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tlong b = Long.parseLong(st.nextToken());\n\t\tlong c = Long.parseLong(st.nextToken());\n\t\tlong d = Long.parseLong(st.nextToken());\n\n\t\tlong ans = Math.max(a * c, a * d);\n\t\tans = Math.max( ans, Math.max(b*c, b * d));\n\t\t\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tlong b = Long.parseLong(st.nextToken());\n\t\tlong c = Long.parseLong(st.nextToken());\n\t\tlong d = Long.parseLong(st.nextToken());\n\n\t\tlong ans = Math.max(a * c, a * d);\n\t\tans = Math.max( ans, Math.max(b*c, b * d));\n\t\t\n\t\tSystem.out.println(ans);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(br.readLine(), \" \");", "st", "new StringTokenizer(br.readLine(), \" \")", "long a = Long.parseLong(st.nextToken());", "a", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "long b = Long.parseLong(st.nextToken());", "b", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "long c = Long.parseLong(st.nextToken());", "c", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "long d = Long.parseLong(st.nextToken());", "d", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "long ans = Math.max(a * c, a * d);", "ans", "Math.max(a * c, a * d)", "Math.max", "Math", "a * c", "a", "c", "a * d", "a", "d", "ans = Math.max( ans, Math.max(b*c, b * d))", "ans", "Math.max( ans, Math.max(b*c, b * d))", "Math.max", "Math", "ans", "Math.max(b*c, b * d)", "Math.max", "Math", "b*c", "b", "c", "b * d", "b", "d", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tlong b = Long.parseLong(st.nextToken());\n\t\tlong c = Long.parseLong(st.nextToken());\n\t\tlong d = Long.parseLong(st.nextToken());\n\n\t\tlong ans = Math.max(a * c, a * d);\n\t\tans = Math.max( ans, Math.max(b*c, b * d));\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tStringTokenizer st = new StringTokenizer(br.readLine(), \" \");\n\t\t\n\t\tlong a = Long.parseLong(st.nextToken());\n\t\tlong b = Long.parseLong(st.nextToken());\n\t\tlong c = Long.parseLong(st.nextToken());\n\t\tlong d = Long.parseLong(st.nextToken());\n\n\t\tlong ans = Math.max(a * c, a * d);\n\t\tans = Math.max( ans, Math.max(b*c, b * d));\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine(), " "); long a = Long.parseLong(st.nextToken()); long b = Long.parseLong(st.nextToken()); long c = Long.parseLong(st.nextToken()); long d = Long.parseLong(st.nextToken()); long ans = Math.max(a * c, a * d); ans = Math.max( ans, Math.max(b*c, b * d)); System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 8, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 71, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n \tScanner sn = new Scanner(System.in);\n Long a = sn.nextLong();\n \tLong b = sn.nextLong();\n \tLong c = sn.nextLong();\n \tLong d = sn.nextLong();\n Long max1 = (Long) a * c; \n \tLong max2 = (Long) a * d;\n \tLong max3 = (Long) b * c;\n \tLong max4 = (Long) b * d;\n \tLong max11 = Math.max(max1, max2);\n \tLong max22 = Math.max(max3, max4);\n \tSystem.out.println(Math.max(max11, max22));\n }\n}\n ", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n \tScanner sn = new Scanner(System.in);\n Long a = sn.nextLong();\n \tLong b = sn.nextLong();\n \tLong c = sn.nextLong();\n \tLong d = sn.nextLong();\n Long max1 = (Long) a * c; \n \tLong max2 = (Long) a * d;\n \tLong max3 = (Long) b * c;\n \tLong max4 = (Long) b * d;\n \tLong max11 = Math.max(max1, max2);\n \tLong max22 = Math.max(max3, max4);\n \tSystem.out.println(Math.max(max11, max22));\n }\n}", "Main", "public static void main(String[] args) {\n \tScanner sn = new Scanner(System.in);\n Long a = sn.nextLong();\n \tLong b = sn.nextLong();\n \tLong c = sn.nextLong();\n \tLong d = sn.nextLong();\n Long max1 = (Long) a * c; \n \tLong max2 = (Long) a * d;\n \tLong max3 = (Long) b * c;\n \tLong max4 = (Long) b * d;\n \tLong max11 = Math.max(max1, max2);\n \tLong max22 = Math.max(max3, max4);\n \tSystem.out.println(Math.max(max11, max22));\n }", "main", "{\n \tScanner sn = new Scanner(System.in);\n Long a = sn.nextLong();\n \tLong b = sn.nextLong();\n \tLong c = sn.nextLong();\n \tLong d = sn.nextLong();\n Long max1 = (Long) a * c; \n \tLong max2 = (Long) a * d;\n \tLong max3 = (Long) b * c;\n \tLong max4 = (Long) b * d;\n \tLong max11 = Math.max(max1, max2);\n \tLong max22 = Math.max(max3, max4);\n \tSystem.out.println(Math.max(max11, max22));\n }", "Scanner sn = new Scanner(System.in);", "sn", "new Scanner(System.in)", "Long a = sn.nextLong();", "a", "sn.nextLong()", "sn.nextLong", "sn", "Long b = sn.nextLong();", "b", "sn.nextLong()", "sn.nextLong", "sn", "Long c = sn.nextLong();", "c", "sn.nextLong()", "sn.nextLong", "sn", "Long d = sn.nextLong();", "d", "sn.nextLong()", "sn.nextLong", "sn", "Long max1 = (Long) a * c;", "max1", "(Long) a * c", "(Long) a", "c", "Long max2 = (Long) a * d;", "max2", "(Long) a * d", "(Long) a", "d", "Long max3 = (Long) b * c;", "max3", "(Long) b * c", "(Long) b", "c", "Long max4 = (Long) b * d;", "max4", "(Long) b * d", "(Long) b", "d", "Long max11 = Math.max(max1, max2);", "max11", "Math.max(max1, max2)", "Math.max", "Math", "max1", "max2", "Long max22 = Math.max(max3, max4);", "max22", "Math.max(max3, max4)", "Math.max", "Math", "max3", "max4", "System.out.println(Math.max(max11, max22))", "System.out.println", "System.out", "System", "System.out", "Math.max(max11, max22)", "Math.max", "Math", "max11", "max22", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n \tScanner sn = new Scanner(System.in);\n Long a = sn.nextLong();\n \tLong b = sn.nextLong();\n \tLong c = sn.nextLong();\n \tLong d = sn.nextLong();\n Long max1 = (Long) a * c; \n \tLong max2 = (Long) a * d;\n \tLong max3 = (Long) b * c;\n \tLong max4 = (Long) b * d;\n \tLong max11 = Math.max(max1, max2);\n \tLong max22 = Math.max(max3, max4);\n \tSystem.out.println(Math.max(max11, max22));\n }\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n \tScanner sn = new Scanner(System.in);\n Long a = sn.nextLong();\n \tLong b = sn.nextLong();\n \tLong c = sn.nextLong();\n \tLong d = sn.nextLong();\n Long max1 = (Long) a * c; \n \tLong max2 = (Long) a * d;\n \tLong max3 = (Long) b * c;\n \tLong max4 = (Long) b * d;\n \tLong max11 = Math.max(max1, max2);\n \tLong max22 = Math.max(max3, max4);\n \tSystem.out.println(Math.max(max11, max22));\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sn = new Scanner(System.in); Long a = sn.nextLong(); Long b = sn.nextLong(); Long c = sn.nextLong(); Long d = sn.nextLong(); Long max1 = (Long) a * c; Long max2 = (Long) a * d; Long max3 = (Long) b * c; Long max4 = (Long) b * d; Long max11 = Math.max(max1, max2); Long max22 = Math.max(max3, max4); System.out.println(Math.max(max11, max22)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 115, 14 ], [ 115, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 25, 26 ], [ 17, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 17, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 17, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 57, 58 ], [ 17, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 70, 72 ], [ 61, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 76, 78 ], [ 73, 79 ], [ 79, 80 ], [ 79, 81 ], [ 17, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 88, 90 ], [ 83, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 95, 97 ], [ 82, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 101, 105 ], [ 17, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 15, 112 ], [ 112, 113 ], [ 0, 114 ], [ 114, 115 ], [ 114, 116 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n br.close();\n long a = Integer.parseInt(st.nextToken()),\n b = Integer.parseInt(st.nextToken()),\n c = Integer.parseInt(st.nextToken()),\n d = Integer.parseInt(st.nextToken()),\n max = Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d));\n\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) {\n max = Math.max(max, 0);\n }\n\n System.out.println(max);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n br.close();\n long a = Integer.parseInt(st.nextToken()),\n b = Integer.parseInt(st.nextToken()),\n c = Integer.parseInt(st.nextToken()),\n d = Integer.parseInt(st.nextToken()),\n max = Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d));\n\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) {\n max = Math.max(max, 0);\n }\n\n System.out.println(max);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n br.close();\n long a = Integer.parseInt(st.nextToken()),\n b = Integer.parseInt(st.nextToken()),\n c = Integer.parseInt(st.nextToken()),\n d = Integer.parseInt(st.nextToken()),\n max = Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d));\n\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) {\n max = Math.max(max, 0);\n }\n\n System.out.println(max);\n }", "main", "{\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n br.close();\n long a = Integer.parseInt(st.nextToken()),\n b = Integer.parseInt(st.nextToken()),\n c = Integer.parseInt(st.nextToken()),\n d = Integer.parseInt(st.nextToken()),\n max = Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d));\n\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) {\n max = Math.max(max, 0);\n }\n\n System.out.println(max);\n }", "BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));", "br", "new BufferedReader(\n new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(br.readLine());", "st", "new StringTokenizer(br.readLine())", "br.close()", "br.close", "br", "long a = Integer.parseInt(st.nextToken())", "a", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "b = Integer.parseInt(st.nextToken())", "b", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "c = Integer.parseInt(st.nextToken())", "c", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "d = Integer.parseInt(st.nextToken())", "d", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "max = Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d));", "max", "Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d))", "Math.max", "Math", "Math.max(a * c, a * d)", "Math.max", "Math", "a * c", "a", "c", "a * d", "a", "d", "Math.max(b * c, b * d)", "Math.max", "Math", "b * c", "b", "c", "b * d", "b", "d", "if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) {\n max = Math.max(max, 0);\n }", "(a <= 0 && b >= 0) || (c <= 0 && d >= 0)", "(a <= 0 && b >= 0)", "a <= 0", "a", "0", "b >= 0", "b", "0", "(c <= 0 && d >= 0)", "c <= 0", "c", "0", "d >= 0", "d", "0", "{\n max = Math.max(max, 0);\n }", "max = Math.max(max, 0)", "max", "Math.max(max, 0)", "Math.max", "Math", "max", "0", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n br.close();\n long a = Integer.parseInt(st.nextToken()),\n b = Integer.parseInt(st.nextToken()),\n c = Integer.parseInt(st.nextToken()),\n d = Integer.parseInt(st.nextToken()),\n max = Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d));\n\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) {\n max = Math.max(max, 0);\n }\n\n System.out.println(max);\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n br.close();\n long a = Integer.parseInt(st.nextToken()),\n b = Integer.parseInt(st.nextToken()),\n c = Integer.parseInt(st.nextToken()),\n d = Integer.parseInt(st.nextToken()),\n max = Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d));\n\n if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) {\n max = Math.max(max, 0);\n }\n\n System.out.println(max);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); br.close(); long a = Integer.parseInt(st.nextToken()), b = Integer.parseInt(st.nextToken()), c = Integer.parseInt(st.nextToken()), d = Integer.parseInt(st.nextToken()), max = Math.max(Math.max(a * c, a * d), Math.max(b * c, b * d)); if ((a <= 0 && b >= 0) || (c <= 0 && d >= 0)) { max = Math.max(max, 0); } System.out.println(max); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 92, 5 ], [ 92, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 21, 22 ], [ 21, 23 ], [ 16, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 28, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 41, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 6, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc =new Scanner(System.in);\n long[] line =new long[4];\n for (int i = 0; i < 4; i++) {\n line[i] = sc.nextLong(); \n }\n long max = Long.MIN_VALUE;\n \n for (int i = 0; i < 2; i++) {\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }\n\n System.out.println(max);\n\t\tsc.close();\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc =new Scanner(System.in);\n long[] line =new long[4];\n for (int i = 0; i < 4; i++) {\n line[i] = sc.nextLong(); \n }\n long max = Long.MIN_VALUE;\n \n for (int i = 0; i < 2; i++) {\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }\n\n System.out.println(max);\n\t\tsc.close();\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc =new Scanner(System.in);\n long[] line =new long[4];\n for (int i = 0; i < 4; i++) {\n line[i] = sc.nextLong(); \n }\n long max = Long.MIN_VALUE;\n \n for (int i = 0; i < 2; i++) {\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }\n\n System.out.println(max);\n\t\tsc.close();\n }", "main", "{\n Scanner sc =new Scanner(System.in);\n long[] line =new long[4];\n for (int i = 0; i < 4; i++) {\n line[i] = sc.nextLong(); \n }\n long max = Long.MIN_VALUE;\n \n for (int i = 0; i < 2; i++) {\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }\n\n System.out.println(max);\n\t\tsc.close();\n }", "Scanner sc =new Scanner(System.in);", "sc", "new Scanner(System.in)", "long[] line =new long[4];", "line", "new long[4]", "4", "for (int i = 0; i < 4; i++) {\n line[i] = sc.nextLong(); \n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n line[i] = sc.nextLong(); \n }", "{\n line[i] = sc.nextLong(); \n }", "line[i] = sc.nextLong()", "line[i]", "line", "i", "sc.nextLong()", "sc.nextLong", "sc", "long max = Long.MIN_VALUE;", "max", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "for (int i = 0; i < 2; i++) {\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 2", "i", "2", "i++", "i++", "i", "{\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }", "{\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }", "for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }", "int j = 2;", "int j = 2;", "j", "2", "j < 4", "j", "4", "j++", "j++", "j", "{\n max = Math.max(max, line[i]*line[j]);\n }", "{\n max = Math.max(max, line[i]*line[j]);\n }", "max = Math.max(max, line[i]*line[j])", "max", "Math.max(max, line[i]*line[j])", "Math.max", "Math", "max", "line[i]*line[j]", "line[i]", "line", "i", "line[j]", "line", "j", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc =new Scanner(System.in);\n long[] line =new long[4];\n for (int i = 0; i < 4; i++) {\n line[i] = sc.nextLong(); \n }\n long max = Long.MIN_VALUE;\n \n for (int i = 0; i < 2; i++) {\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }\n\n System.out.println(max);\n\t\tsc.close();\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc =new Scanner(System.in);\n long[] line =new long[4];\n for (int i = 0; i < 4; i++) {\n line[i] = sc.nextLong(); \n }\n long max = Long.MIN_VALUE;\n \n for (int i = 0; i < 2; i++) {\n for (int j = 2; j < 4; j++) {\n max = Math.max(max, line[i]*line[j]);\n }\n }\n\n System.out.println(max);\n\t\tsc.close();\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc =new Scanner(System.in); long[] line =new long[4]; for (int i = 0; i < 4; i++) { line[i] = sc.nextLong(); } long max = Long.MIN_VALUE; for (int i = 0; i < 2; i++) { for (int j = 2; j < 4; j++) { max = Math.max(max, line[i]*line[j]); } } System.out.println(max); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 13, 13, 41, 13, 4, 13, 13, 41, 13, 4, 13, 13, 41, 13, 4, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 13, 4, 18, 13, 13, 40, 17, 23, 13, 12, 13, 30, 14, 2, 18, 13, 13, 17, 30, 29, 13, 30, 0, 18, 13, 13, 4, 13, 18, 13, 13, 29, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 13, 41, 13, 4, 13, 13, 14, 2, 13, 13, 30, 29, 14, 2, 18, 13, 13, 18, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 212, 8 ], [ 212, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 11, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 9, 61 ], [ 61, 62 ], [ 212, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 71, 72 ], [ 63, 73 ], [ 73, 74 ], [ 212, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 83, 84 ], [ 75, 85 ], [ 85, 86 ], [ 212, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 95, 96 ], [ 87, 97 ], [ 97, 98 ], [ 212, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 107, 108 ], [ 99, 109 ], [ 109, 110 ], [ 0, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 111, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 122, 126 ], [ 126, 127 ], [ 115, 128 ], [ 128, 129 ], [ 111, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 133, 139 ], [ 139, 140 ], [ 140, 141 ], [ 133, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 149, 151 ], [ 142, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 130, 156 ], [ 156, 157 ], [ 111, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 163, 165 ], [ 160, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 168, 170 ], [ 160, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 175, 176 ], [ 160, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 182, 183 ], [ 182, 184 ], [ 177, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 189, 191 ], [ 185, 192 ], [ 192, 193 ], [ 192, 194 ], [ 160, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 199, 200 ], [ 199, 201 ], [ 160, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 158, 207 ], [ 207, 208 ], [ 158, 209 ], [ 209, 210 ], [ 0, 211 ], [ 211, 212 ], [ 211, 213 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = nextInt(scanner);\n long b = nextInt(scanner);\n long c = nextInt(scanner);\n long d = nextInt(scanner);\n System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n }\n\n private static int nextInt(Scanner scanner) {\n return Integer.parseInt(scanner.next());\n }\n\n private static long nextLong(Scanner scanner) {\n return Long.parseLong(scanner.next());\n }\n\n private static float nextFloat(Scanner scanner) {\n return Float.parseFloat(scanner.next());\n }\n\n private static double nextDouble(Scanner scanner) {\n return Double.parseDouble(scanner.next());\n }\n\n\n}\n\n\nclass UnionFind {\n int[] parent;\n\n UnionFind(int n) {\n parent = new int[n];\n Arrays.fill(parent, -1);\n }\n\n int find(int x) {\n if (parent[x] < 0) {\n return x;\n } else {\n parent[x] = find(parent[x]);\n return parent[x];\n }\n }\n\n void unite(int x, int y) {\n int rootX = find(x);\n int rootY = find(y);\n if (rootX == rootY) {\n return;\n }\n\n if (parent[rootX] > parent[rootY]) {\n int temp = rootX;\n rootX = rootY;\n rootY = temp;\n }\n parent[rootX] += parent[rootY];\n parent[rootY] = rootX;\n }\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = nextInt(scanner);\n long b = nextInt(scanner);\n long c = nextInt(scanner);\n long d = nextInt(scanner);\n System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n }\n\n private static int nextInt(Scanner scanner) {\n return Integer.parseInt(scanner.next());\n }\n\n private static long nextLong(Scanner scanner) {\n return Long.parseLong(scanner.next());\n }\n\n private static float nextFloat(Scanner scanner) {\n return Float.parseFloat(scanner.next());\n }\n\n private static double nextDouble(Scanner scanner) {\n return Double.parseDouble(scanner.next());\n }\n\n\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = nextInt(scanner);\n long b = nextInt(scanner);\n long c = nextInt(scanner);\n long d = nextInt(scanner);\n System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n long a = nextInt(scanner);\n long b = nextInt(scanner);\n long c = nextInt(scanner);\n long d = nextInt(scanner);\n System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "long a = nextInt(scanner);", "a", "nextInt(scanner)", "nextInt", "scanner", "long b = nextInt(scanner);", "b", "nextInt(scanner)", "nextInt", "scanner", "long c = nextInt(scanner);", "c", "nextInt(scanner)", "nextInt", "scanner", "long d = nextInt(scanner);", "d", "nextInt(scanner)", "nextInt", "scanner", "System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))))", "System.out.println", "System.out", "System", "System.out", "Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d)))", "Math.max", "Math", "a * c", "a", "c", "Math.max(a * d, Math.max(b * c, b * d))", "Math.max", "Math", "a * d", "a", "d", "Math.max(b * c, b * d)", "Math.max", "Math", "b * c", "b", "c", "b * d", "b", "d", "String[] args", "args", "private static int nextInt(Scanner scanner) {\n return Integer.parseInt(scanner.next());\n }", "nextInt", "{\n return Integer.parseInt(scanner.next());\n }", "return Integer.parseInt(scanner.next());", "Integer.parseInt(scanner.next())", "Integer.parseInt", "Integer", "scanner.next()", "scanner.next", "scanner", "Scanner scanner", "scanner", "private static long nextLong(Scanner scanner) {\n return Long.parseLong(scanner.next());\n }", "nextLong", "{\n return Long.parseLong(scanner.next());\n }", "return Long.parseLong(scanner.next());", "Long.parseLong(scanner.next())", "Long.parseLong", "Long", "scanner.next()", "scanner.next", "scanner", "Scanner scanner", "scanner", "private static float nextFloat(Scanner scanner) {\n return Float.parseFloat(scanner.next());\n }", "nextFloat", "{\n return Float.parseFloat(scanner.next());\n }", "return Float.parseFloat(scanner.next());", "Float.parseFloat(scanner.next())", "Float.parseFloat", "Float", "scanner.next()", "scanner.next", "scanner", "Scanner scanner", "scanner", "private static double nextDouble(Scanner scanner) {\n return Double.parseDouble(scanner.next());\n }", "nextDouble", "{\n return Double.parseDouble(scanner.next());\n }", "return Double.parseDouble(scanner.next());", "Double.parseDouble(scanner.next())", "Double.parseDouble", "Double", "scanner.next()", "scanner.next", "scanner", "Scanner scanner", "scanner", "class UnionFind {\n int[] parent;\n\n UnionFind(int n) {\n parent = new int[n];\n Arrays.fill(parent, -1);\n }\n\n int find(int x) {\n if (parent[x] < 0) {\n return x;\n } else {\n parent[x] = find(parent[x]);\n return parent[x];\n }\n }\n\n void unite(int x, int y) {\n int rootX = find(x);\n int rootY = find(y);\n if (rootX == rootY) {\n return;\n }\n\n if (parent[rootX] > parent[rootY]) {\n int temp = rootX;\n rootX = rootY;\n rootY = temp;\n }\n parent[rootX] += parent[rootY];\n parent[rootY] = rootX;\n }\n\n}", "UnionFind", "int[] parent;", "parent", "UnionFind(int n) {\n parent = new int[n];\n Arrays.fill(parent, -1);\n }", "UnionFind", "{\n parent = new int[n];\n Arrays.fill(parent, -1);\n }", "parent = new int[n]", "parent", "new int[n]", "n", "Arrays.fill(parent, -1)", "Arrays.fill", "Arrays", "parent", "-1", "1", "int n", "n", "int find(int x) {\n if (parent[x] < 0) {\n return x;\n } else {\n parent[x] = find(parent[x]);\n return parent[x];\n }\n }", "find", "{\n if (parent[x] < 0) {\n return x;\n } else {\n parent[x] = find(parent[x]);\n return parent[x];\n }\n }", "if (parent[x] < 0) {\n return x;\n } else {\n parent[x] = find(parent[x]);\n return parent[x];\n }", "parent[x] < 0", "parent[x]", "parent", "x", "0", "{\n return x;\n }", "return x;", "x", "{\n parent[x] = find(parent[x]);\n return parent[x];\n }", "parent[x] = find(parent[x])", "parent[x]", "parent", "x", "find(parent[x])", "find", "parent[x]", "parent", "x", "return parent[x];", "parent[x]", "parent", "x", "int x", "x", "void unite(int x, int y) {\n int rootX = find(x);\n int rootY = find(y);\n if (rootX == rootY) {\n return;\n }\n\n if (parent[rootX] > parent[rootY]) {\n int temp = rootX;\n rootX = rootY;\n rootY = temp;\n }\n parent[rootX] += parent[rootY];\n parent[rootY] = rootX;\n }", "unite", "{\n int rootX = find(x);\n int rootY = find(y);\n if (rootX == rootY) {\n return;\n }\n\n if (parent[rootX] > parent[rootY]) {\n int temp = rootX;\n rootX = rootY;\n rootY = temp;\n }\n parent[rootX] += parent[rootY];\n parent[rootY] = rootX;\n }", "int rootX = find(x);", "rootX", "find(x)", "find", "x", "int rootY = find(y);", "rootY", "find(y)", "find", "y", "if (rootX == rootY) {\n return;\n }", "rootX == rootY", "rootX", "rootY", "{\n return;\n }", "return;", "if (parent[rootX] > parent[rootY]) {\n int temp = rootX;\n rootX = rootY;\n rootY = temp;\n }", "parent[rootX] > parent[rootY]", "parent[rootX]", "parent", "rootX", "parent[rootY]", "parent", "rootY", "{\n int temp = rootX;\n rootX = rootY;\n rootY = temp;\n }", "int temp = rootX;", "temp", "rootX", "rootX = rootY", "rootX", "rootY", "rootY = temp", "rootY", "temp", "parent[rootX] += parent[rootY]", "parent[rootX]", "parent", "rootX", "parent[rootY]", "parent", "rootY", "parent[rootY] = rootX", "parent[rootY]", "parent", "rootY", "rootX", "int x", "x", "int y", "y", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = nextInt(scanner);\n long b = nextInt(scanner);\n long c = nextInt(scanner);\n long d = nextInt(scanner);\n System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n }\n\n private static int nextInt(Scanner scanner) {\n return Integer.parseInt(scanner.next());\n }\n\n private static long nextLong(Scanner scanner) {\n return Long.parseLong(scanner.next());\n }\n\n private static float nextFloat(Scanner scanner) {\n return Float.parseFloat(scanner.next());\n }\n\n private static double nextDouble(Scanner scanner) {\n return Double.parseDouble(scanner.next());\n }\n\n\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = nextInt(scanner);\n long b = nextInt(scanner);\n long c = nextInt(scanner);\n long d = nextInt(scanner);\n System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d))));\n }\n\n private static int nextInt(Scanner scanner) {\n return Integer.parseInt(scanner.next());\n }\n\n private static long nextLong(Scanner scanner) {\n return Long.parseLong(scanner.next());\n }\n\n private static float nextFloat(Scanner scanner) {\n return Float.parseFloat(scanner.next());\n }\n\n private static double nextDouble(Scanner scanner) {\n return Double.parseDouble(scanner.next());\n }\n\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long a = nextInt(scanner); long b = nextInt(scanner); long c = nextInt(scanner); long d = nextInt(scanner); System.out.println(Math.max(a * c, Math.max(a * d, Math.max(b * c, b * d)))); } private static int nextInt(Scanner scanner) { return Integer.parseInt(scanner.next()); } private static long nextLong(Scanner scanner) { return Long.parseLong(scanner.next()); } private static float nextFloat(Scanner scanner) { return Float.parseFloat(scanner.next()); } private static double nextDouble(Scanner scanner) { return Double.parseDouble(scanner.next()); } } class UnionFind { int[] parent; UnionFind(int n) { parent = new int[n]; Arrays.fill(parent, -1); } int find(int x) { if (parent[x] < 0) { return x; } else { parent[x] = find(parent[x]); return parent[x]; } } void unite(int x, int y) { int rootX = find(x); int rootY = find(y); if (rootX == rootY) { return; } if (parent[rootX] > parent[rootY]) { int temp = rootX; rootX = rootY; rootY = temp; } parent[rootX] += parent[rootY]; parent[rootY] = rootX; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 2, 13, 13, 4, 18, 13, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 128, 17 ], [ 128, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 40, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 18, 49 ], [ 49, 50 ], [ 128, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 55, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 55, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 55, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 83, 87 ], [ 87, 88 ], [ 87, 89 ], [ 55, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 55, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 55, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 110, 114 ], [ 114, 115 ], [ 114, 116 ], [ 55, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 53, 121 ], [ 121, 122 ], [ 53, 123 ], [ 123, 124 ], [ 53, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author test\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc187_b solver = new abc187_b();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc187_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long aa = in.nextLong();\n long bb = in.nextLong();\n long cc = in.nextLong();\n long dd = in.nextLong();\n long max = Long.MIN_VALUE;\n\n //out.println(Math.max(aa*cc,Math.max(aa*dd,Math.max(bb*cc,dd*bb))));\n\n\n max = Math.max(max, aa * cc);\n max = Math.max(max, aa * dd);\n max = Math.max(max, bb * cc);\n max = Math.max(max, bb * dd);\n\n out.println(max);\n\n /*\n int X = Math.max(aa,bb);\n int Y = Math.max(cc,dd);\n\n */\n\n\n /*\n long X = aa<bb?bb:aa;\n long Y = cc<dd?dd:cc;\n\n if (bb<0 && dd<0){\n out.println(aa * dd);\n return;\n } else if (cc>0 && dd<0) {\n out.println(aa*dd);\n return;\n\n }\n out.println(X*Y);\n\n */\n/*\n if ((X <0) && (Y>=0))\n {\n\n }\n\n if (X<Y) {\n if (X<0) {\n Y = cc;\n }\n } else if (X>Y) {\n if (Y<0) {\n X = aa;\n }\n }\n out.println(X*Y);\n */\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc187_b solver = new abc187_b();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc187_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long aa = in.nextLong();\n long bb = in.nextLong();\n long cc = in.nextLong();\n long dd = in.nextLong();\n long max = Long.MIN_VALUE;\n\n //out.println(Math.max(aa*cc,Math.max(aa*dd,Math.max(bb*cc,dd*bb))));\n\n\n max = Math.max(max, aa * cc);\n max = Math.max(max, aa * dd);\n max = Math.max(max, bb * cc);\n max = Math.max(max, bb * dd);\n\n out.println(max);\n\n /*\n int X = Math.max(aa,bb);\n int Y = Math.max(cc,dd);\n\n */\n\n\n /*\n long X = aa<bb?bb:aa;\n long Y = cc<dd?dd:cc;\n\n if (bb<0 && dd<0){\n out.println(aa * dd);\n return;\n } else if (cc>0 && dd<0) {\n out.println(aa*dd);\n return;\n\n }\n out.println(X*Y);\n\n */\n/*\n if ((X <0) && (Y>=0))\n {\n\n }\n\n if (X<Y) {\n if (X<0) {\n Y = cc;\n }\n } else if (X>Y) {\n if (Y<0) {\n X = aa;\n }\n }\n out.println(X*Y);\n */\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc187_b solver = new abc187_b();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc187_b solver = new abc187_b();\n solver.solve(1, in, out);\n out.close();\n }", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "Scanner in = new Scanner(inputStream);", "in", "new Scanner(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "abc187_b solver = new abc187_b();", "solver", "new abc187_b()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class abc187_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long aa = in.nextLong();\n long bb = in.nextLong();\n long cc = in.nextLong();\n long dd = in.nextLong();\n long max = Long.MIN_VALUE;\n\n //out.println(Math.max(aa*cc,Math.max(aa*dd,Math.max(bb*cc,dd*bb))));\n\n\n max = Math.max(max, aa * cc);\n max = Math.max(max, aa * dd);\n max = Math.max(max, bb * cc);\n max = Math.max(max, bb * dd);\n\n out.println(max);\n\n /*\n int X = Math.max(aa,bb);\n int Y = Math.max(cc,dd);\n\n */\n\n\n /*\n long X = aa<bb?bb:aa;\n long Y = cc<dd?dd:cc;\n\n if (bb<0 && dd<0){\n out.println(aa * dd);\n return;\n } else if (cc>0 && dd<0) {\n out.println(aa*dd);\n return;\n\n }\n out.println(X*Y);\n\n */\n/*\n if ((X <0) && (Y>=0))\n {\n\n }\n\n if (X<Y) {\n if (X<0) {\n Y = cc;\n }\n } else if (X>Y) {\n if (Y<0) {\n X = aa;\n }\n }\n out.println(X*Y);\n */\n }\n\n }", "abc187_b", "public void solve(int testNumber, Scanner in, PrintWriter out) {\n long aa = in.nextLong();\n long bb = in.nextLong();\n long cc = in.nextLong();\n long dd = in.nextLong();\n long max = Long.MIN_VALUE;\n\n //out.println(Math.max(aa*cc,Math.max(aa*dd,Math.max(bb*cc,dd*bb))));\n\n\n max = Math.max(max, aa * cc);\n max = Math.max(max, aa * dd);\n max = Math.max(max, bb * cc);\n max = Math.max(max, bb * dd);\n\n out.println(max);\n\n /*\n int X = Math.max(aa,bb);\n int Y = Math.max(cc,dd);\n\n */\n\n\n /*\n long X = aa<bb?bb:aa;\n long Y = cc<dd?dd:cc;\n\n if (bb<0 && dd<0){\n out.println(aa * dd);\n return;\n } else if (cc>0 && dd<0) {\n out.println(aa*dd);\n return;\n\n }\n out.println(X*Y);\n\n */\n/*\n if ((X <0) && (Y>=0))\n {\n\n }\n\n if (X<Y) {\n if (X<0) {\n Y = cc;\n }\n } else if (X>Y) {\n if (Y<0) {\n X = aa;\n }\n }\n out.println(X*Y);\n */\n }", "solve", "{\n long aa = in.nextLong();\n long bb = in.nextLong();\n long cc = in.nextLong();\n long dd = in.nextLong();\n long max = Long.MIN_VALUE;\n\n //out.println(Math.max(aa*cc,Math.max(aa*dd,Math.max(bb*cc,dd*bb))));\n\n\n max = Math.max(max, aa * cc);\n max = Math.max(max, aa * dd);\n max = Math.max(max, bb * cc);\n max = Math.max(max, bb * dd);\n\n out.println(max);\n\n /*\n int X = Math.max(aa,bb);\n int Y = Math.max(cc,dd);\n\n */\n\n\n /*\n long X = aa<bb?bb:aa;\n long Y = cc<dd?dd:cc;\n\n if (bb<0 && dd<0){\n out.println(aa * dd);\n return;\n } else if (cc>0 && dd<0) {\n out.println(aa*dd);\n return;\n\n }\n out.println(X*Y);\n\n */\n/*\n if ((X <0) && (Y>=0))\n {\n\n }\n\n if (X<Y) {\n if (X<0) {\n Y = cc;\n }\n } else if (X>Y) {\n if (Y<0) {\n X = aa;\n }\n }\n out.println(X*Y);\n */\n }", "long aa = in.nextLong();", "aa", "in.nextLong()", "in.nextLong", "in", "long bb = in.nextLong();", "bb", "in.nextLong()", "in.nextLong", "in", "long cc = in.nextLong();", "cc", "in.nextLong()", "in.nextLong", "in", "long dd = in.nextLong();", "dd", "in.nextLong()", "in.nextLong", "in", "long max = Long.MIN_VALUE;", "max", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "max = Math.max(max, aa * cc)", "max", "Math.max(max, aa * cc)", "Math.max", "Math", "max", "aa * cc", "aa", "cc", "max = Math.max(max, aa * dd)", "max", "Math.max(max, aa * dd)", "Math.max", "Math", "max", "aa * dd", "aa", "dd", "max = Math.max(max, bb * cc)", "max", "Math.max(max, bb * cc)", "Math.max", "Math", "max", "bb * cc", "bb", "cc", "max = Math.max(max, bb * dd)", "max", "Math.max(max, bb * dd)", "Math.max", "Math", "max", "bb * dd", "bb", "dd", "out.println(max)", "out.println", "out", "max", "int testNumber", "testNumber", "Scanner in", "in", "PrintWriter out", "out", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc187_b solver = new abc187_b();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc187_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long aa = in.nextLong();\n long bb = in.nextLong();\n long cc = in.nextLong();\n long dd = in.nextLong();\n long max = Long.MIN_VALUE;\n\n //out.println(Math.max(aa*cc,Math.max(aa*dd,Math.max(bb*cc,dd*bb))));\n\n\n max = Math.max(max, aa * cc);\n max = Math.max(max, aa * dd);\n max = Math.max(max, bb * cc);\n max = Math.max(max, bb * dd);\n\n out.println(max);\n\n /*\n int X = Math.max(aa,bb);\n int Y = Math.max(cc,dd);\n\n */\n\n\n /*\n long X = aa<bb?bb:aa;\n long Y = cc<dd?dd:cc;\n\n if (bb<0 && dd<0){\n out.println(aa * dd);\n return;\n } else if (cc>0 && dd<0) {\n out.println(aa*dd);\n return;\n\n }\n out.println(X*Y);\n\n */\n/*\n if ((X <0) && (Y>=0))\n {\n\n }\n\n if (X<Y) {\n if (X<0) {\n Y = cc;\n }\n } else if (X>Y) {\n if (Y<0) {\n X = aa;\n }\n }\n out.println(X*Y);\n */\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc187_b solver = new abc187_b();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc187_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long aa = in.nextLong();\n long bb = in.nextLong();\n long cc = in.nextLong();\n long dd = in.nextLong();\n long max = Long.MIN_VALUE;\n\n //out.println(Math.max(aa*cc,Math.max(aa*dd,Math.max(bb*cc,dd*bb))));\n\n\n max = Math.max(max, aa * cc);\n max = Math.max(max, aa * dd);\n max = Math.max(max, bb * cc);\n max = Math.max(max, bb * dd);\n\n out.println(max);\n\n /*\n int X = Math.max(aa,bb);\n int Y = Math.max(cc,dd);\n\n */\n\n\n /*\n long X = aa<bb?bb:aa;\n long Y = cc<dd?dd:cc;\n\n if (bb<0 && dd<0){\n out.println(aa * dd);\n return;\n } else if (cc>0 && dd<0) {\n out.println(aa*dd);\n return;\n\n }\n out.println(X*Y);\n\n */\n/*\n if ((X <0) && (Y>=0))\n {\n\n }\n\n if (X<Y) {\n if (X<0) {\n Y = cc;\n }\n } else if (X>Y) {\n if (Y<0) {\n X = aa;\n }\n }\n out.println(X*Y);\n */\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; /** * Built using CHelper plug-in * Actual solution is at the top * * @author test */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; Scanner in = new Scanner(inputStream); PrintWriter out = new PrintWriter(outputStream); abc187_b solver = new abc187_b(); solver.solve(1, in, out); out.close(); } static class abc187_b { public void solve(int testNumber, Scanner in, PrintWriter out) { long aa = in.nextLong(); long bb = in.nextLong(); long cc = in.nextLong(); long dd = in.nextLong(); long max = Long.MIN_VALUE; //out.println(Math.max(aa*cc,Math.max(aa*dd,Math.max(bb*cc,dd*bb)))); max = Math.max(max, aa * cc); max = Math.max(max, aa * dd); max = Math.max(max, bb * cc); max = Math.max(max, bb * dd); out.println(max); /* int X = Math.max(aa,bb); int Y = Math.max(cc,dd); */ /* long X = aa<bb?bb:aa; long Y = cc<dd?dd:cc; if (bb<0 && dd<0){ out.println(aa * dd); return; } else if (cc>0 && dd<0) { out.println(aa*dd); return; } out.println(X*Y); */ /* if ((X <0) && (Y>=0)) { } if (X<Y) { if (X<0) { Y = cc; } } else if (X>Y) { if (Y<0) { X = aa; } } out.println(X*Y); */ } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 17, 41, 13, 0, 13, 4, 18, 13, 2, 18, 13, 17, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 0, 13, 4, 18, 13, 13, 2, 18, 13, 17, 18, 13, 17, 0, 13, 4, 18, 13, 13, 2, 18, 13, 17, 18, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 350, 8 ], [ 350, 9 ], [ 9, 10 ], [ 9, 11 ], [ 350, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 14, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 32, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 32, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 32, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 14, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 12, 60 ], [ 60, 61 ], [ 350, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 64, 74 ], [ 74, 75 ], [ 64, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 64, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 97, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 64, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 118, 120 ], [ 64, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 62, 127 ], [ 127, 128 ], [ 350, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 129, 133 ], [ 133, 134 ], [ 129, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 129, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 141, 147 ], [ 147, 148 ], [ 129, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 152, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 162, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 151, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 129, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 181, 184 ], [ 184, 185 ], [ 129, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 190, 193 ], [ 193, 194 ], [ 129, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 199, 202 ], [ 202, 203 ], [ 129, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 207, 208 ], [ 206, 209 ], [ 209, 210 ], [ 209, 211 ], [ 206, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 214, 219 ], [ 219, 220 ], [ 219, 221 ], [ 214, 222 ], [ 222, 223 ], [ 223, 224 ], [ 214, 225 ], [ 226, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 226, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 231, 236 ], [ 236, 237 ], [ 236, 238 ], [ 231, 239 ], [ 239, 240 ], [ 240, 241 ], [ 231, 242 ], [ 243, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 249 ], [ 244, 250 ], [ 250, 251 ], [ 251, 252 ], [ 250, 253 ], [ 206, 254 ], [ 254, 255 ], [ 204, 256 ], [ 256, 257 ], [ 204, 258 ], [ 258, 259 ], [ 129, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 264, 267 ], [ 260, 268 ], [ 268, 269 ], [ 129, 270 ], [ 270, 271 ], [ 270, 272 ], [ 272, 273 ], [ 273, 274 ], [ 273, 275 ], [ 272, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 277, 282 ], [ 282, 283 ], [ 282, 284 ], [ 277, 285 ], [ 285, 286 ], [ 286, 287 ], [ 277, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 289, 293 ], [ 293, 294 ], [ 272, 295 ], [ 295, 296 ], [ 270, 297 ], [ 297, 298 ], [ 129, 299 ], [ 299, 300 ], [ 299, 301 ], [ 301, 302 ], [ 302, 303 ], [ 302, 304 ], [ 301, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 306, 311 ], [ 311, 312 ], [ 311, 313 ], [ 306, 314 ], [ 314, 315 ], [ 315, 316 ], [ 306, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 319, 321 ], [ 318, 322 ], [ 322, 323 ], [ 301, 324 ], [ 324, 325 ], [ 299, 326 ], [ 326, 327 ], [ 129, 328 ], [ 328, 329 ], [ 328, 330 ], [ 330, 331 ], [ 331, 332 ], [ 331, 333 ], [ 330, 334 ], [ 334, 335 ], [ 335, 336 ], [ 335, 337 ], [ 337, 338 ], [ 338, 339 ], [ 339, 340 ], [ 334, 341 ], [ 341, 342 ], [ 342, 343 ], [ 342, 344 ], [ 344, 345 ], [ 345, 346 ], [ 330, 347 ], [ 347, 348 ], [ 0, 349 ], [ 349, 350 ], [ 349, 351 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main{\n static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}\n public FastReader(String fileName) throws FileNotFoundException{br = new BufferedReader(new FileReader(fileName));}\n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}\n int nextInt(){return Integer.parseInt(next());}\n long nextLong(){return Long.parseLong(next());}\n double nextDouble(){return Double.parseDouble(next());}\n char[][] readCharArray(int n,int m) {\n \tString str;\n \tchar[][] arr = new char[n][m];\n \tfor(int i=0;i<n;i++) {\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}\n \treturn arr;\n }\n char[][] readCharArray(int n){\n \treturn readCharArray(n,n);\n }\n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}\n }\n static final Random random=new Random();\n static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort\n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n \tFastReader st = new FastReader();\n \tlong[] arr = st.readLongArray(4);\n \tlong ans;\n \tans = Math.max(arr[0]*arr[2], arr[0]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[2]);\n \tSystem.out.println(ans);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}\n public FastReader(String fileName) throws FileNotFoundException{br = new BufferedReader(new FileReader(fileName));}\n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}\n int nextInt(){return Integer.parseInt(next());}\n long nextLong(){return Long.parseLong(next());}\n double nextDouble(){return Double.parseDouble(next());}\n char[][] readCharArray(int n,int m) {\n \tString str;\n \tchar[][] arr = new char[n][m];\n \tfor(int i=0;i<n;i++) {\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}\n \treturn arr;\n }\n char[][] readCharArray(int n){\n \treturn readCharArray(n,n);\n }\n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}\n }\n static final Random random=new Random();\n static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort\n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n \tFastReader st = new FastReader();\n \tlong[] arr = st.readLongArray(4);\n \tlong ans;\n \tans = Math.max(arr[0]*arr[2], arr[0]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[2]);\n \tSystem.out.println(ans);\n }\n}", "Main", "static final Random random=new Random();", "random", "new Random()", "static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort\n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }", "ruffleSort", "{\n int n=a.length;//shuffle, then sort\n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }", "int n=a.length;", "n", "a.length", "a", "a.length", "for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }", "{\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }", "int oi=random.nextInt(n)", "oi", "random.nextInt(n)", "random.nextInt", "random", "n", "temp=a[oi];", "temp", "a[oi]", "a", "oi", "a[oi]=a[i]", "a[oi]", "a", "oi", "a[i]", "a", "i", "a[i]=temp", "a[i]", "a", "i", "temp", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "int[] a", "a", "public static void main(String[] args) throws NumberFormatException, IOException {\n \tFastReader st = new FastReader();\n \tlong[] arr = st.readLongArray(4);\n \tlong ans;\n \tans = Math.max(arr[0]*arr[2], arr[0]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[2]);\n \tSystem.out.println(ans);\n }", "main", "{\n \tFastReader st = new FastReader();\n \tlong[] arr = st.readLongArray(4);\n \tlong ans;\n \tans = Math.max(arr[0]*arr[2], arr[0]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[2]);\n \tSystem.out.println(ans);\n }", "FastReader st = new FastReader();", "st", "new FastReader()", "long[] arr = st.readLongArray(4);", "arr", "st.readLongArray(4)", "st.readLongArray", "st", "4", "long ans;", "ans", "ans = Math.max(arr[0]*arr[2], arr[0]*arr[3])", "ans", "Math.max(arr[0]*arr[2], arr[0]*arr[3])", "Math.max", "Math", "arr[0]*arr[2]", "arr[0]", "arr", "0", "arr[2]", "arr", "2", "arr[0]*arr[3]", "arr[0]", "arr", "0", "arr[3]", "arr", "3", "ans = Math.max(ans, arr[1]*arr[3])", "ans", "Math.max(ans, arr[1]*arr[3])", "Math.max", "Math", "ans", "arr[1]*arr[3]", "arr[1]", "arr", "1", "arr[3]", "arr", "3", "ans = Math.max(ans, arr[1]*arr[2])", "ans", "Math.max(ans, arr[1]*arr[2])", "Math.max", "Math", "ans", "arr[1]*arr[2]", "arr[1]", "arr", "1", "arr[2]", "arr", "2", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}\n public FastReader(String fileName) throws FileNotFoundException{br = new BufferedReader(new FileReader(fileName));}\n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}\n int nextInt(){return Integer.parseInt(next());}\n long nextLong(){return Long.parseLong(next());}\n double nextDouble(){return Double.parseDouble(next());}\n char[][] readCharArray(int n,int m) {\n \tString str;\n \tchar[][] arr = new char[n][m];\n \tfor(int i=0;i<n;i++) {\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}\n \treturn arr;\n }\n char[][] readCharArray(int n){\n \treturn readCharArray(n,n);\n }\n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}", "FastReader", "{br = new BufferedReader(new InputStreamReader(System.in));}", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "public FastReader(String fileName) throws FileNotFoundException{br = new BufferedReader(new FileReader(fileName));}", "FastReader", "{br = new BufferedReader(new FileReader(fileName));}", "br = new BufferedReader(new FileReader(fileName))", "br", "new BufferedReader(new FileReader(fileName))", "String fileName", "fileName", "String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}", "next", "{while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}", "while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}", "try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}", "catch (IOException e){e.printStackTrace();}", "IOException e", "{e.printStackTrace();}", "e.printStackTrace()", "e.printStackTrace", "e", "{st = new StringTokenizer(br.readLine());}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt(){return Integer.parseInt(next());}", "nextInt", "{return Integer.parseInt(next());}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong(){return Long.parseLong(next());}", "nextLong", "{return Long.parseLong(next());}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble(){return Double.parseDouble(next());}", "nextDouble", "{return Double.parseDouble(next());}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "char[][] readCharArray(int n,int m) {\n \tString str;\n \tchar[][] arr = new char[n][m];\n \tfor(int i=0;i<n;i++) {\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}\n \treturn arr;\n }", "readCharArray", "{\n \tString str;\n \tchar[][] arr = new char[n][m];\n \tfor(int i=0;i<n;i++) {\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}\n \treturn arr;\n }", "String str;", "str", "char[][] arr = new char[n][m];", "arr", "new char[n][m]", "n", "m", "for(int i=0;i<n;i++) {\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}", "{\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}", "str=nextLine()", "str", "nextLine()", "nextLine", "for(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}", "int j=0;", "int j=0;", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}", "{\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}", "arr[i][j]=str.charAt(j)", "arr[i][j]", "arr[i]", "arr", "i", "j", "str.charAt(j)", "str.charAt", "str", "j", "return arr;", "arr", "int n", "n", "int m", "m", "char[][] readCharArray(int n){\n \treturn readCharArray(n,n);\n }", "readCharArray", "{\n \treturn readCharArray(n,n);\n }", "return readCharArray(n,n);", "readCharArray(n,n)", "readCharArray", "n", "n", "int n", "n", "int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}", "readArray", "{int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}", "int[] a=new int[n];", "a", "new int[n]", "n", "for (int i=0; i<n; i++) a[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextInt();", "a[i]=nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}", "readLongArray", "{long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}", "long[] a=new long[n];", "a", "new long[n]", "n", "for (int i=0; i<n; i++) a[i]=nextLong();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextLong();", "a[i]=nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}", "nextLine", "{String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}", "String str = \"\";", "str", "\"\"", "try{str = br.readLine();}catch (IOException e){e.printStackTrace();}", "catch (IOException e){e.printStackTrace();}", "IOException e", "{e.printStackTrace();}", "e.printStackTrace()", "e.printStackTrace", "e", "{str = br.readLine();}", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main{\n static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}\n public FastReader(String fileName) throws FileNotFoundException{br = new BufferedReader(new FileReader(fileName));}\n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}\n int nextInt(){return Integer.parseInt(next());}\n long nextLong(){return Long.parseLong(next());}\n double nextDouble(){return Double.parseDouble(next());}\n char[][] readCharArray(int n,int m) {\n \tString str;\n \tchar[][] arr = new char[n][m];\n \tfor(int i=0;i<n;i++) {\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}\n \treturn arr;\n }\n char[][] readCharArray(int n){\n \treturn readCharArray(n,n);\n }\n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}\n }\n static final Random random=new Random();\n static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort\n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n \tFastReader st = new FastReader();\n \tlong[] arr = st.readLongArray(4);\n \tlong ans;\n \tans = Math.max(arr[0]*arr[2], arr[0]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[2]);\n \tSystem.out.println(ans);\n }\n}", "public class Main{\n static class FastReader{\n BufferedReader br;\n StringTokenizer st;\n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}\n public FastReader(String fileName) throws FileNotFoundException{br = new BufferedReader(new FileReader(fileName));}\n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}\n int nextInt(){return Integer.parseInt(next());}\n long nextLong(){return Long.parseLong(next());}\n double nextDouble(){return Double.parseDouble(next());}\n char[][] readCharArray(int n,int m) {\n \tString str;\n \tchar[][] arr = new char[n][m];\n \tfor(int i=0;i<n;i++) {\n \t\tstr=nextLine();\n \t\tfor(int j=0;j<n;j++) {\n \t\t\tarr[i][j]=str.charAt(j);\n \t\t}\n \t}\n \treturn arr;\n }\n char[][] readCharArray(int n){\n \treturn readCharArray(n,n);\n }\n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}\n }\n static final Random random=new Random();\n static void ruffleSort(int[] a) {\n int n=a.length;//shuffle, then sort\n for (int i=0; i<n; i++) {\n int oi=random.nextInt(n), temp=a[oi];\n a[oi]=a[i]; a[i]=temp;\n }\n Arrays.sort(a);\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n \tFastReader st = new FastReader();\n \tlong[] arr = st.readLongArray(4);\n \tlong ans;\n \tans = Math.max(arr[0]*arr[2], arr[0]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[3]);\n \tans = Math.max(ans, arr[1]*arr[2]);\n \tSystem.out.println(ans);\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ static class FastReader{ BufferedReader br; StringTokenizer st; public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} public FastReader(String fileName) throws FileNotFoundException{br = new BufferedReader(new FileReader(fileName));} String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} int nextInt(){return Integer.parseInt(next());} long nextLong(){return Long.parseLong(next());} double nextDouble(){return Double.parseDouble(next());} char[][] readCharArray(int n,int m) { String str; char[][] arr = new char[n][m]; for(int i=0;i<n;i++) { str=nextLine(); for(int j=0;j<n;j++) { arr[i][j]=str.charAt(j); } } return arr; } char[][] readCharArray(int n){ return readCharArray(n,n); } int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;} long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;} String nextLine(){String str = "";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} } static final Random random=new Random(); static void ruffleSort(int[] a) { int n=a.length;//shuffle, then sort for (int i=0; i<n; i++) { int oi=random.nextInt(n), temp=a[oi]; a[oi]=a[i]; a[i]=temp; } Arrays.sort(a); } public static void main(String[] args) throws NumberFormatException, IOException { FastReader st = new FastReader(); long[] arr = st.readLongArray(4); long ans; ans = Math.max(arr[0]*arr[2], arr[0]*arr[3]); ans = Math.max(ans, arr[1]*arr[3]); ans = Math.max(ans, arr[1]*arr[2]); System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 8, 2, 2, 13, 13, 2, 13, 13, 2, 13, 13, 2, 13, 13, 0, 13, 8, 2, 13, 2, 13, 13, 13, 2, 13, 13, 0, 13, 8, 2, 13, 2, 13, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 42, 44 ], [ 34, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 50, 56 ], [ 50, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 62, 69 ], [ 69, 70 ], [ 69, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 6, 78 ], [ 78, 79 ] ]
[ "import java.util.Scanner;\nclass Main{\npublic static void main(String[]args){\nScanner input=new Scanner(System.in);\n long a=input.nextInt();\n long b=input.nextInt();\n long c=input.nextInt();\n long d=input.nextInt();\n long max=a*c>b*d?a*c:b*d;\n max=max>a*d?max:a*d;\n max=max>b*c?max:b*c;\n System.out.println(max);\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\npublic static void main(String[]args){\nScanner input=new Scanner(System.in);\n long a=input.nextInt();\n long b=input.nextInt();\n long c=input.nextInt();\n long d=input.nextInt();\n long max=a*c>b*d?a*c:b*d;\n max=max>a*d?max:a*d;\n max=max>b*c?max:b*c;\n System.out.println(max);\n}\n}", "Main", "public static void main(String[]args){\nScanner input=new Scanner(System.in);\n long a=input.nextInt();\n long b=input.nextInt();\n long c=input.nextInt();\n long d=input.nextInt();\n long max=a*c>b*d?a*c:b*d;\n max=max>a*d?max:a*d;\n max=max>b*c?max:b*c;\n System.out.println(max);\n}", "main", "{\nScanner input=new Scanner(System.in);\n long a=input.nextInt();\n long b=input.nextInt();\n long c=input.nextInt();\n long d=input.nextInt();\n long max=a*c>b*d?a*c:b*d;\n max=max>a*d?max:a*d;\n max=max>b*c?max:b*c;\n System.out.println(max);\n}", "Scanner input=new Scanner(System.in);", "input", "new Scanner(System.in)", "long a=input.nextInt();", "a", "input.nextInt()", "input.nextInt", "input", "long b=input.nextInt();", "b", "input.nextInt()", "input.nextInt", "input", "long c=input.nextInt();", "c", "input.nextInt()", "input.nextInt", "input", "long d=input.nextInt();", "d", "input.nextInt()", "input.nextInt", "input", "long max=a*c>b*d?a*c:b*d;", "max", "a*c>b*d?a*c:b*d", "a*c>b*d", "a*c", "a", "c", "b*d", "b", "d", "a*c", "a", "c", "b*d", "b", "d", "max=max>a*d?max:a*d", "max", "max>a*d?max:a*d", "max>a*d", "max", "a*d", "a", "d", "max", "a*d", "a", "d", "max=max>b*c?max:b*c", "max", "max>b*c?max:b*c", "max>b*c", "max", "b*c", "b", "c", "max", "b*c", "b", "c", "System.out.println(max)", "System.out.println", "System.out", "System", "System.out", "max", "String[]args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[]args){ Scanner input=new Scanner(System.in); long a=input.nextInt(); long b=input.nextInt(); long c=input.nextInt(); long d=input.nextInt(); long max=a*c>b*d?a*c:b*d; max=max>a*d?max:a*d; max=max>b*c?max:b*c; System.out.println(max); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 162, 5 ], [ 162, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 8, 40 ], [ 40, 41 ], [ 8, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 8, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 48, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 62, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 76, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 90, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 104, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 104, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 117, 119 ], [ 104, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 122, 124 ], [ 104, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 127, 131 ], [ 104, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 134, 138 ], [ 104, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 141, 145 ], [ 104, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 148, 152 ], [ 8, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 6, 159 ], [ 159, 160 ], [ 0, 161 ], [ 161, 162 ], [ 161, 163 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long x;\n long y;\n long s;\n long t;\n long z;\n long zz;\n long zzz;\n long zzzz;\n \n if(b<0 && d<0 ) {\n \tz=a*c;\n } else if(a>0 && c>0) {\n \tz=b*d;\n }else if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }\n \n System.out.println(z);\n \n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long x;\n long y;\n long s;\n long t;\n long z;\n long zz;\n long zzz;\n long zzzz;\n \n if(b<0 && d<0 ) {\n \tz=a*c;\n } else if(a>0 && c>0) {\n \tz=b*d;\n }else if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }\n \n System.out.println(z);\n \n\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long x;\n long y;\n long s;\n long t;\n long z;\n long zz;\n long zzz;\n long zzzz;\n \n if(b<0 && d<0 ) {\n \tz=a*c;\n } else if(a>0 && c>0) {\n \tz=b*d;\n }else if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }\n \n System.out.println(z);\n \n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long x;\n long y;\n long s;\n long t;\n long z;\n long zz;\n long zzz;\n long zzzz;\n \n if(b<0 && d<0 ) {\n \tz=a*c;\n } else if(a>0 && c>0) {\n \tz=b*d;\n }else if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }\n \n System.out.println(z);\n \n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "long x;", "x", "long y;", "y", "long s;", "s", "long t;", "t", "long z;", "z", "long zz;", "zz", "long zzz;", "zzz", "long zzzz;", "zzzz", "if(b<0 && d<0 ) {\n \tz=a*c;\n } else if(a>0 && c>0) {\n \tz=b*d;\n }else if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }", "b<0 && d<0", "b<0", "b", "0", "d<0", "d", "0", "{\n \tz=a*c;\n }", "z=a*c", "z", "a*c", "a", "c", "if(a>0 && c>0) {\n \tz=b*d;\n }else if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }", "a>0 && c>0", "a>0", "a", "0", "c>0", "c", "0", "{\n \tz=b*d;\n }", "z=b*d", "z", "b*d", "b", "d", "if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }", "b<0 && c>0", "b<0", "b", "0", "c>0", "c", "0", "{\n \tz=b*c;\n }", "z=b*c", "z", "b*c", "b", "c", "if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }", "a>0 && d<0", "a>0", "a", "0", "d<0", "d", "0", "{\n \tz=a*d;\n }", "z=a*d", "z", "a*d", "a", "d", "{\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }", "s=a*c", "s", "a*c", "a", "c", "t=b*d", "t", "b*d", "b", "d", "x=a*d", "x", "a*d", "a", "d", "y=b*c", "y", "b*c", "b", "c", "zz=Math.max(s,t)", "zz", "Math.max(s,t)", "Math.max", "Math", "s", "t", "zzz=Math.max(zz,x)", "zzz", "Math.max(zz,x)", "Math.max", "Math", "zz", "x", "zzzz=Math.max(zzz,y)", "zzzz", "Math.max(zzz,y)", "Math.max", "Math", "zzz", "y", "z=Math.max(zzzz, 0)", "z", "Math.max(zzzz, 0)", "Math.max", "Math", "zzzz", "0", "System.out.println(z)", "System.out.println", "System.out", "System", "System.out", "z", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long x;\n long y;\n long s;\n long t;\n long z;\n long zz;\n long zzz;\n long zzzz;\n \n if(b<0 && d<0 ) {\n \tz=a*c;\n } else if(a>0 && c>0) {\n \tz=b*d;\n }else if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }\n \n System.out.println(z);\n \n\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n long x;\n long y;\n long s;\n long t;\n long z;\n long zz;\n long zzz;\n long zzzz;\n \n if(b<0 && d<0 ) {\n \tz=a*c;\n } else if(a>0 && c>0) {\n \tz=b*d;\n }else if(b<0 && c>0) {\n \tz=b*c;\n }else if(a>0 && d<0) {\n \tz=a*d;\n } else {\n \ts=a*c;\n \tt=b*d;\n \tx=a*d;\n \ty=b*c;\n \tzz=Math.max(s,t);\n \tzzz=Math.max(zz,x);\n \tzzzz=Math.max(zzz,y);\n \tz=Math.max(zzzz, 0);\n }\n \n System.out.println(z);\n \n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); long x; long y; long s; long t; long z; long zz; long zzz; long zzzz; if(b<0 && d<0 ) { z=a*c; } else if(a>0 && c>0) { z=b*d; }else if(b<0 && c>0) { z=b*c; }else if(a>0 && d<0) { z=a*d; } else { s=a*c; t=b*d; x=a*d; y=b*c; zz=Math.max(s,t); zzz=Math.max(zz,x); zzzz=Math.max(zzz,y); z=Math.max(zzzz, 0); } System.out.println(z); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 8, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 6, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long h = a*c;\n long i = a*d;\n long j = b*c;\n long k = b*d;\n \n long x = Math.max(h,i);\n long y = Math.max(j,k);\n long z = Math.max(x,y);\n \n System.out.println(z);\n }\n}\n \n \n ", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long h = a*c;\n long i = a*d;\n long j = b*c;\n long k = b*d;\n \n long x = Math.max(h,i);\n long y = Math.max(j,k);\n long z = Math.max(x,y);\n \n System.out.println(z);\n }\n}", "Main", "public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long h = a*c;\n long i = a*d;\n long j = b*c;\n long k = b*d;\n \n long x = Math.max(h,i);\n long y = Math.max(j,k);\n long z = Math.max(x,y);\n \n System.out.println(z);\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long h = a*c;\n long i = a*d;\n long j = b*c;\n long k = b*d;\n \n long x = Math.max(h,i);\n long y = Math.max(j,k);\n long z = Math.max(x,y);\n \n System.out.println(z);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long h = a*c;", "h", "a*c", "a", "c", "long i = a*d;", "i", "a*d", "a", "d", "long j = b*c;", "j", "b*c", "b", "c", "long k = b*d;", "k", "b*d", "b", "d", "long x = Math.max(h,i);", "x", "Math.max(h,i)", "Math.max", "Math", "h", "i", "long y = Math.max(j,k);", "y", "Math.max(j,k)", "Math.max", "Math", "j", "k", "long z = Math.max(x,y);", "z", "Math.max(x,y)", "Math.max", "Math", "x", "y", "System.out.println(z)", "System.out.println", "System.out", "System", "System.out", "z", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long h = a*c;\n long i = a*d;\n long j = b*c;\n long k = b*d;\n \n long x = Math.max(h,i);\n long y = Math.max(j,k);\n long z = Math.max(x,y);\n \n System.out.println(z);\n }\n}", "public class Main{\n public static void main(String[] args){\n\n Scanner sc = new Scanner(System.in);\n \n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n \n long h = a*c;\n long i = a*d;\n long j = b*c;\n long k = b*d;\n \n long x = Math.max(h,i);\n long y = Math.max(j,k);\n long z = Math.max(x,y);\n \n System.out.println(z);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long h = a*c; long i = a*d; long j = b*c; long k = b*d; long x = Math.max(h,i); long y = Math.max(j,k); long z = Math.max(x,y); System.out.println(z); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 14, 2, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 14, 2, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 14, 2, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 6, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = a*c;\n if (ans < (a*d)) {\n ans = a*d;\n }\n if (ans < (b*c)) {\n ans = b*c;\n }\n if (ans < (b*d)) {\n ans = b*d;\n }\n\n System.out.println(ans);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = a*c;\n if (ans < (a*d)) {\n ans = a*d;\n }\n if (ans < (b*c)) {\n ans = b*c;\n }\n if (ans < (b*d)) {\n ans = b*d;\n }\n\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = a*c;\n if (ans < (a*d)) {\n ans = a*d;\n }\n if (ans < (b*c)) {\n ans = b*c;\n }\n if (ans < (b*d)) {\n ans = b*d;\n }\n\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = a*c;\n if (ans < (a*d)) {\n ans = a*d;\n }\n if (ans < (b*c)) {\n ans = b*c;\n }\n if (ans < (b*d)) {\n ans = b*d;\n }\n\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c = sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d = sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long ans = a*c;", "ans", "a*c", "a", "c", "if (ans < (a*d)) {\n ans = a*d;\n }", "ans < (a*d)", "ans", "(a*d)", "a", "d", "{\n ans = a*d;\n }", "ans = a*d", "ans", "a*d", "a", "d", "if (ans < (b*c)) {\n ans = b*c;\n }", "ans < (b*c)", "ans", "(b*c)", "b", "c", "{\n ans = b*c;\n }", "ans = b*c", "ans", "b*c", "b", "c", "if (ans < (b*d)) {\n ans = b*d;\n }", "ans < (b*d)", "ans", "(b*d)", "b", "d", "{\n ans = b*d;\n }", "ans = b*d", "ans", "b*d", "b", "d", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = a*c;\n if (ans < (a*d)) {\n ans = a*d;\n }\n if (ans < (b*c)) {\n ans = b*c;\n }\n if (ans < (b*d)) {\n ans = b*d;\n }\n\n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n long b = sc.nextLong();\n long c = sc.nextLong();\n long d = sc.nextLong();\n long ans = a*c;\n if (ans < (a*d)) {\n ans = a*d;\n }\n if (ans < (b*c)) {\n ans = b*c;\n }\n if (ans < (b*d)) {\n ans = b*d;\n }\n\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextLong(); long b = sc.nextLong(); long c = sc.nextLong(); long d = sc.nextLong(); long ans = a*c; if (ans < (a*d)) { ans = a*d; } if (ans < (b*c)) { ans = b*c; } if (ans < (b*d)) { ans = b*d; } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 14, 2, 2, 13, 17, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 4, 13, 13, 12, 13, 30, 4, 18, 13, 12, 13, 30, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 13, 4, 13, 17, 12, 13, 30, 29, 4, 13, 4, 13, 17, 12, 13, 30, 41, 13, 4, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 29, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 29, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 14, 2, 13, 13, 30, 29, 4, 18, 13, 13, 13, 14, 2, 13, 13, 30, 29, 4, 18, 13, 13, 13, 30, 37, 20, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 29, 20, 23, 13, 23, 13, 12, 13, 30, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 13, 4, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 17, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 30, 42, 2, 0, 13, 4, 18, 13, 17, 30, 4, 18, 13, 13, 0, 13, 4, 18, 13, 12, 13, 30, 29, 2, 13, 13, 12, 13, 30, 14, 4, 13, 30, 29, 4, 18, 13, 40, 13, 30, 37, 20, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 427, 11 ], [ 427, 12 ], [ 12, 13 ], [ 12, 14 ], [ 427, 15 ], [ 15, 16 ], [ 15, 17 ], [ 427, 18 ], [ 18, 19 ], [ 18, 20 ], [ 427, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 23, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 23, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 23, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 23, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 23, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 23, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 23, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 23, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 81, 85 ], [ 23, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 88, 92 ], [ 23, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 103, 105 ], [ 98, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 93, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 23, 117 ], [ 117, 118 ], [ 117, 119 ], [ 427, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 427, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 126, 133 ], [ 133, 134 ], [ 427, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 137, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 135, 150 ], [ 150, 151 ], [ 427, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 427, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 427, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 173, 174 ], [ 427, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 427, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 188, 191 ], [ 191, 192 ], [ 427, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 197, 201 ], [ 427, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 206, 210 ], [ 427, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 213, 218 ], [ 218, 219 ], [ 218, 220 ], [ 213, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 221, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 229, 230 ], [ 221, 231 ], [ 231, 232 ], [ 232, 233 ], [ 221, 234 ], [ 235, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 236, 239 ], [ 239, 240 ], [ 240, 241 ], [ 239, 242 ], [ 242, 243 ], [ 243, 244 ], [ 242, 245 ], [ 213, 246 ], [ 246, 247 ], [ 427, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 253, 254 ], [ 250, 255 ], [ 255, 256 ], [ 255, 257 ], [ 250, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 258, 263 ], [ 263, 264 ], [ 263, 265 ], [ 265, 266 ], [ 266, 267 ], [ 258, 268 ], [ 268, 269 ], [ 269, 270 ], [ 258, 271 ], [ 272, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 273, 276 ], [ 276, 277 ], [ 277, 278 ], [ 276, 279 ], [ 279, 280 ], [ 280, 281 ], [ 279, 282 ], [ 250, 283 ], [ 283, 284 ], [ 427, 285 ], [ 285, 286 ], [ 285, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 291, 292 ], [ 290, 293 ], [ 287, 294 ], [ 294, 295 ], [ 295, 296 ], [ 295, 297 ], [ 294, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 300, 303 ], [ 300, 304 ], [ 294, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 305, 309 ], [ 309, 310 ], [ 310, 311 ], [ 311, 312 ], [ 312, 313 ], [ 311, 314 ], [ 311, 315 ], [ 305, 316 ], [ 316, 317 ], [ 317, 318 ], [ 285, 319 ], [ 319, 320 ], [ 285, 321 ], [ 321, 322 ], [ 427, 323 ], [ 323, 324 ], [ 323, 325 ], [ 325, 326 ], [ 326, 327 ], [ 326, 328 ], [ 328, 329 ], [ 329, 330 ], [ 328, 331 ], [ 325, 332 ], [ 332, 333 ], [ 323, 334 ], [ 334, 335 ], [ 323, 336 ], [ 336, 337 ], [ 427, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 341, 344 ], [ 341, 345 ], [ 340, 346 ], [ 346, 347 ], [ 347, 348 ], [ 346, 349 ], [ 346, 350 ], [ 340, 351 ], [ 351, 352 ], [ 352, 353 ], [ 351, 354 ], [ 351, 355 ], [ 340, 356 ], [ 356, 357 ], [ 340, 358 ], [ 358, 359 ], [ 338, 360 ], [ 360, 361 ], [ 427, 362 ], [ 362, 363 ], [ 362, 364 ], [ 364, 365 ], [ 364, 366 ], [ 362, 367 ], [ 367, 368 ], [ 367, 369 ], [ 362, 370 ], [ 370, 371 ], [ 362, 372 ], [ 372, 373 ], [ 362, 374 ], [ 374, 375 ], [ 374, 376 ], [ 376, 377 ], [ 377, 378 ], [ 377, 379 ], [ 376, 380 ], [ 380, 381 ], [ 381, 382 ], [ 381, 383 ], [ 380, 384 ], [ 384, 385 ], [ 385, 386 ], [ 386, 387 ], [ 387, 388 ], [ 387, 389 ], [ 389, 390 ], [ 390, 391 ], [ 386, 392 ], [ 385, 393 ], [ 393, 394 ], [ 394, 395 ], [ 395, 396 ], [ 394, 397 ], [ 376, 398 ], [ 398, 399 ], [ 398, 400 ], [ 400, 401 ], [ 401, 402 ], [ 362, 403 ], [ 403, 404 ], [ 403, 405 ], [ 405, 406 ], [ 406, 407 ], [ 407, 408 ], [ 407, 409 ], [ 362, 410 ], [ 410, 411 ], [ 410, 412 ], [ 412, 413 ], [ 413, 414 ], [ 414, 415 ], [ 413, 416 ], [ 416, 417 ], [ 417, 418 ], [ 418, 419 ], [ 419, 420 ], [ 418, 421 ], [ 421, 422 ], [ 413, 423 ], [ 423, 424 ], [ 424, 425 ], [ 0, 426 ], [ 426, 427 ], [ 426, 428 ] ]
[ "import java.util.*; import java.io.*; import java.math.*;\npublic class Main{\n\tstatic void solve(){//Here is the main function\n\t\tArrayList<Long> one = nextLongArray();\n\t\tlong a = one.get(0);\n\t\tlong b = one.get(1);\n\t\tlong c = one.get(2);\n\t\tlong d = one.get(3);\n\t\tlong pattern1 = a * c;\n\t\tlong pattern2 = a * d;\n\t\tlong pattern3 = b * c;\n\t\tlong pattern4 = b * d;\n\t\tlong L = Math.max(pattern1, pattern2);\n\t\tlong R = Math.max(pattern3, pattern4);\n\t\tlong output = Math.max(L, R);\n\t\tif(output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))){\n\t\t\toutput = 0;\n\t\t}\n\t\tmyout(output);\n\t}\n\t//Method addition frame start\n\n\n\n\t//Method addition frame end\n\n\t//Don't have to see. start------------------------------------------\n\tstatic class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}\n\tstatic HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();\n\tstatic InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic void flush(){out.flush();}\n\tstatic void myout(Object t){out.println(t);}\n\tstatic void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}\n\tstatic String next(){return ii.next();}\n\tstatic boolean hasNext(){return ii.hasNext();}\n\tstatic int nextInt(){return Integer.parseInt(next());}\n\tstatic long nextLong(){return Long.parseLong(next());}\n\tstatic double nextDouble(){return Double.parseDouble(next());}\n\tstatic ArrayList<String> nextStrArray(){return myconv(next(), 8);}\n\tstatic ArrayList<String> nextCharArray(){return myconv(next(), 0);}\n\tstatic ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}\n\tstatic ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}\n\tpublic static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}\n\t//Don't have to see. end------------------------------------------\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "public class Main{\n\tstatic void solve(){//Here is the main function\n\t\tArrayList<Long> one = nextLongArray();\n\t\tlong a = one.get(0);\n\t\tlong b = one.get(1);\n\t\tlong c = one.get(2);\n\t\tlong d = one.get(3);\n\t\tlong pattern1 = a * c;\n\t\tlong pattern2 = a * d;\n\t\tlong pattern3 = b * c;\n\t\tlong pattern4 = b * d;\n\t\tlong L = Math.max(pattern1, pattern2);\n\t\tlong R = Math.max(pattern3, pattern4);\n\t\tlong output = Math.max(L, R);\n\t\tif(output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))){\n\t\t\toutput = 0;\n\t\t}\n\t\tmyout(output);\n\t}\n\t//Method addition frame start\n\n\n\n\t//Method addition frame end\n\n\t//Don't have to see. start------------------------------------------\n\tstatic class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}\n\tstatic HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();\n\tstatic InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic void flush(){out.flush();}\n\tstatic void myout(Object t){out.println(t);}\n\tstatic void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}\n\tstatic String next(){return ii.next();}\n\tstatic boolean hasNext(){return ii.hasNext();}\n\tstatic int nextInt(){return Integer.parseInt(next());}\n\tstatic long nextLong(){return Long.parseLong(next());}\n\tstatic double nextDouble(){return Double.parseDouble(next());}\n\tstatic ArrayList<String> nextStrArray(){return myconv(next(), 8);}\n\tstatic ArrayList<String> nextCharArray(){return myconv(next(), 0);}\n\tstatic ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}\n\tstatic ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}\n\tpublic static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}\n\t//Don't have to see. end------------------------------------------\n}", "Main", "static HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();", "CONVSTR", "new HashMap<Integer, String>()", "static InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.", "ii", "new InputIterator()", "static PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "static void solve(){//Here is the main function\n\t\tArrayList<Long> one = nextLongArray();\n\t\tlong a = one.get(0);\n\t\tlong b = one.get(1);\n\t\tlong c = one.get(2);\n\t\tlong d = one.get(3);\n\t\tlong pattern1 = a * c;\n\t\tlong pattern2 = a * d;\n\t\tlong pattern3 = b * c;\n\t\tlong pattern4 = b * d;\n\t\tlong L = Math.max(pattern1, pattern2);\n\t\tlong R = Math.max(pattern3, pattern4);\n\t\tlong output = Math.max(L, R);\n\t\tif(output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))){\n\t\t\toutput = 0;\n\t\t}\n\t\tmyout(output);\n\t}", "solve", "{//Here is the main function\n\t\tArrayList<Long> one = nextLongArray();\n\t\tlong a = one.get(0);\n\t\tlong b = one.get(1);\n\t\tlong c = one.get(2);\n\t\tlong d = one.get(3);\n\t\tlong pattern1 = a * c;\n\t\tlong pattern2 = a * d;\n\t\tlong pattern3 = b * c;\n\t\tlong pattern4 = b * d;\n\t\tlong L = Math.max(pattern1, pattern2);\n\t\tlong R = Math.max(pattern3, pattern4);\n\t\tlong output = Math.max(L, R);\n\t\tif(output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))){\n\t\t\toutput = 0;\n\t\t}\n\t\tmyout(output);\n\t}", "ArrayList<Long> one = nextLongArray();", "one", "nextLongArray()", "nextLongArray", "long a = one.get(0);", "a", "one.get(0)", "one.get", "one", "0", "long b = one.get(1);", "b", "one.get(1)", "one.get", "one", "1", "long c = one.get(2);", "c", "one.get(2)", "one.get", "one", "2", "long d = one.get(3);", "d", "one.get(3)", "one.get", "one", "3", "long pattern1 = a * c;", "pattern1", "a * c", "a", "c", "long pattern2 = a * d;", "pattern2", "a * d", "a", "d", "long pattern3 = b * c;", "pattern3", "b * c", "b", "c", "long pattern4 = b * d;", "pattern4", "b * d", "b", "d", "long L = Math.max(pattern1, pattern2);", "L", "Math.max(pattern1, pattern2)", "Math.max", "Math", "pattern1", "pattern2", "long R = Math.max(pattern3, pattern4);", "R", "Math.max(pattern3, pattern4)", "Math.max", "Math", "pattern3", "pattern4", "long output = Math.max(L, R);", "output", "Math.max(L, R)", "Math.max", "Math", "L", "R", "if(output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))){\n\t\t\toutput = 0;\n\t\t}", "output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))", "output < 0", "output", "0", "((a <= 0 && b >= 0) || (c <= 0 && d >= 0))", "(a <= 0 && b >= 0)", "a <= 0", "a", "0", "b >= 0", "b", "0", "(c <= 0 && d >= 0)", "c <= 0", "c", "0", "d >= 0", "d", "0", "{\n\t\t\toutput = 0;\n\t\t}", "output = 0", "output", "0", "myout(output)", "myout", "output", "static void flush(){out.flush();}", "flush", "{out.flush();}", "out.flush()", "out.flush", "out", "static void myout(Object t){out.println(t);}", "myout", "{out.println(t);}", "out.println(t)", "out.println", "out", "t", "Object t", "t", "static void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}", "myerr", "{System.err.print(\"debug:\");System.err.println(t);}", "System.err.print(\"debug:\")", "System.err.print", "System.err", "System", "System.err", "\"debug:\"", "System.err.println(t)", "System.err.println", "System.err", "System", "System.err", "t", "Object t", "t", "static String next(){return ii.next();}", "next", "{return ii.next();}", "return ii.next();", "ii.next()", "ii.next", "ii", "static boolean hasNext(){return ii.hasNext();}", "hasNext", "{return ii.hasNext();}", "return ii.hasNext();", "ii.hasNext()", "ii.hasNext", "ii", "static int nextInt(){return Integer.parseInt(next());}", "nextInt", "{return Integer.parseInt(next());}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "static long nextLong(){return Long.parseLong(next());}", "nextLong", "{return Long.parseLong(next());}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "static double nextDouble(){return Double.parseDouble(next());}", "nextDouble", "{return Double.parseDouble(next());}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "static ArrayList<String> nextStrArray(){return myconv(next(), 8);}", "nextStrArray", "{return myconv(next(), 8);}", "return myconv(next(), 8);", "myconv(next(), 8)", "myconv", "next()", "next", "8", "static ArrayList<String> nextCharArray(){return myconv(next(), 0);}", "nextCharArray", "{return myconv(next(), 0);}", "return myconv(next(), 0);", "myconv(next(), 0)", "myconv", "next()", "next", "0", "static ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}", "nextIntArray", "{\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}", "ArrayList<String> input = nextStrArray();", "input", "nextStrArray()", "nextStrArray", "ArrayList<Integer> ret = new ArrayList<Integer>(input.size());", "ret", "new ArrayList<Integer>(input.size())", "for(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < input.size()", "i", "input.size()", "input.size", "input", "i++", "i++", "i", "{\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}", "{\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}", "ret.add(Integer.parseInt(input.get(i)))", "ret.add", "ret", "Integer.parseInt(input.get(i))", "Integer.parseInt", "Integer", "input.get(i)", "input.get", "input", "i", "return ret;", "ret", "static ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}", "nextLongArray", "{\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}", "ArrayList<String> input = nextStrArray();", "input", "nextStrArray()", "nextStrArray", "ArrayList<Long> ret = new ArrayList<Long>(input.size());", "ret", "new ArrayList<Long>(input.size())", "for(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < input.size()", "i", "input.size()", "input.size", "input", "i++", "i++", "i", "{\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}", "{\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}", "ret.add(Long.parseLong(input.get(i)))", "ret.add", "ret", "Long.parseLong(input.get(i))", "Long.parseLong", "Long", "input.get(i)", "input.get", "input", "i", "return ret;", "ret", "static String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}", "myconv", "{//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}", "String joinString = CONVSTR.get(no);", "joinString", "CONVSTR.get(no)", "CONVSTR.get", "CONVSTR", "no", "if(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}", "list instanceof String[]", "list", "String[]", "{\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}", "return String.join(joinString, (String[])list);", "String.join(joinString, (String[])list)", "String.join", "String", "joinString", "(String[])list", "if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}", "list instanceof ArrayList", "list", "ArrayList", "{\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}", "return String.join(joinString, (ArrayList)list);", "String.join(joinString, (ArrayList)list)", "String.join", "String", "joinString", "(ArrayList)list", "{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}", "throw new ClassCastException(\"Don't join\");", "new ClassCastException(\"Don't join\")", "Object list", "list", "int no", "no", "static ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}", "myconv", "{//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}", "String splitString = CONVSTR.get(no);", "splitString", "CONVSTR.get(no)", "CONVSTR.get", "CONVSTR", "no", "return new ArrayList<String>(Arrays.asList(str.split(splitString)));", "new ArrayList<String>(Arrays.asList(str.split(splitString)))", "String str", "str", "int no", "no", "public static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}", "main", "{\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}", "CONVSTR.put(8, \" \")", "CONVSTR.put", "CONVSTR", "8", "\" \"", "CONVSTR.put(9, \"\\n\")", "CONVSTR.put", "CONVSTR", "9", "\"\\n\"", "CONVSTR.put(0, \"\")", "CONVSTR.put", "CONVSTR", "0", "\"\"", "solve()", "solve", "flush()", "flush", "String[] args", "args", "static class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}", "InputIterator", "ArrayList<String> inputLine = new ArrayList<String>(1024);", "inputLine", "new ArrayList<String>(1024)", "int index = 0;", "index", "0", "int max;", "max", "String read;", "read", "InputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}", "InputIterator", "{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}", "catch(IOException e){}", "IOException e", "{}", "{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}", "while((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}", "(read = br.readLine()) != null", "(read = br.readLine())", "read", "br.readLine()", "br.readLine", "br", "null", "{\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}", "inputLine.add(read)", "inputLine.add", "inputLine", "read", "max = inputLine.size()", "max", "inputLine.size()", "inputLine.size", "inputLine", "boolean hasNext(){return (index < max);}", "hasNext", "{return (index < max);}", "return (index < max);", "(index < max)", "index", "max", "String next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}", "next", "{\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}", "if(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}", "hasNext()", "hasNext", "{\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}", "return inputLine.get(index++);", "inputLine.get(index++)", "inputLine.get", "inputLine", "index++", "index", "{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}", "throw new IndexOutOfBoundsException(\"There is no more input\");", "new IndexOutOfBoundsException(\"There is no more input\")", "public class Main{\n\tstatic void solve(){//Here is the main function\n\t\tArrayList<Long> one = nextLongArray();\n\t\tlong a = one.get(0);\n\t\tlong b = one.get(1);\n\t\tlong c = one.get(2);\n\t\tlong d = one.get(3);\n\t\tlong pattern1 = a * c;\n\t\tlong pattern2 = a * d;\n\t\tlong pattern3 = b * c;\n\t\tlong pattern4 = b * d;\n\t\tlong L = Math.max(pattern1, pattern2);\n\t\tlong R = Math.max(pattern3, pattern4);\n\t\tlong output = Math.max(L, R);\n\t\tif(output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))){\n\t\t\toutput = 0;\n\t\t}\n\t\tmyout(output);\n\t}\n\t//Method addition frame start\n\n\n\n\t//Method addition frame end\n\n\t//Don't have to see. start------------------------------------------\n\tstatic class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}\n\tstatic HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();\n\tstatic InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic void flush(){out.flush();}\n\tstatic void myout(Object t){out.println(t);}\n\tstatic void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}\n\tstatic String next(){return ii.next();}\n\tstatic boolean hasNext(){return ii.hasNext();}\n\tstatic int nextInt(){return Integer.parseInt(next());}\n\tstatic long nextLong(){return Long.parseLong(next());}\n\tstatic double nextDouble(){return Double.parseDouble(next());}\n\tstatic ArrayList<String> nextStrArray(){return myconv(next(), 8);}\n\tstatic ArrayList<String> nextCharArray(){return myconv(next(), 0);}\n\tstatic ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}\n\tstatic ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}\n\tpublic static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}\n\t//Don't have to see. end------------------------------------------\n}", "public class Main{\n\tstatic void solve(){//Here is the main function\n\t\tArrayList<Long> one = nextLongArray();\n\t\tlong a = one.get(0);\n\t\tlong b = one.get(1);\n\t\tlong c = one.get(2);\n\t\tlong d = one.get(3);\n\t\tlong pattern1 = a * c;\n\t\tlong pattern2 = a * d;\n\t\tlong pattern3 = b * c;\n\t\tlong pattern4 = b * d;\n\t\tlong L = Math.max(pattern1, pattern2);\n\t\tlong R = Math.max(pattern3, pattern4);\n\t\tlong output = Math.max(L, R);\n\t\tif(output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))){\n\t\t\toutput = 0;\n\t\t}\n\t\tmyout(output);\n\t}\n\t//Method addition frame start\n\n\n\n\t//Method addition frame end\n\n\t//Don't have to see. start------------------------------------------\n\tstatic class InputIterator{\n\t\tArrayList<String> inputLine = new ArrayList<String>(1024);\n\t\tint index = 0; int max; String read;\n\t\tInputIterator(){\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\ttry{\n\t\t\t\twhile((read = br.readLine()) != null){\n\t\t\t\t\tinputLine.add(read);\n\t\t\t\t}\n\t\t\t}catch(IOException e){}\n\t\t\tmax = inputLine.size();\n\t\t}\n\t\tboolean hasNext(){return (index < max);}\n\t\tString next(){\n\t\t\tif(hasNext()){\n\t\t\t\treturn inputLine.get(index++);\n\t\t\t}else{\n\t\t\t\tthrow new IndexOutOfBoundsException(\"There is no more input\");\n\t\t\t}\n\t\t}\n\t}\n\tstatic HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>();\n\tstatic InputIterator ii = new InputIterator();//This class cannot be used in reactive problem.\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic void flush(){out.flush();}\n\tstatic void myout(Object t){out.println(t);}\n\tstatic void myerr(Object t){System.err.print(\"debug:\");System.err.println(t);}\n\tstatic String next(){return ii.next();}\n\tstatic boolean hasNext(){return ii.hasNext();}\n\tstatic int nextInt(){return Integer.parseInt(next());}\n\tstatic long nextLong(){return Long.parseLong(next());}\n\tstatic double nextDouble(){return Double.parseDouble(next());}\n\tstatic ArrayList<String> nextStrArray(){return myconv(next(), 8);}\n\tstatic ArrayList<String> nextCharArray(){return myconv(next(), 0);}\n\tstatic ArrayList<Integer> nextIntArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Integer.parseInt(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic ArrayList<Long> nextLongArray(){\n\t\tArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size());\n\t\tfor(int i = 0; i < input.size(); i++){\n\t\t\tret.add(Long.parseLong(input.get(i)));\n\t\t}\n\t\treturn ret;\n\t}\n\tstatic String myconv(Object list, int no){//only join\n\t\tString joinString = CONVSTR.get(no);\n\t\tif(list instanceof String[]){\n\t\t\treturn String.join(joinString, (String[])list);\n\t\t}else if(list instanceof ArrayList){\n\t\t\treturn String.join(joinString, (ArrayList)list);\n\t\t}else{\n\t\t\tthrow new ClassCastException(\"Don't join\");\n\t\t}\n\t}\n\tstatic ArrayList<String> myconv(String str, int no){//only split\n\t\tString splitString = CONVSTR.get(no);\n\t\treturn new ArrayList<String>(Arrays.asList(str.split(splitString)));\n\t}\n\tpublic static void main(String[] args){\n\t\tCONVSTR.put(8, \" \"); CONVSTR.put(9, \"\\n\"); CONVSTR.put(0, \"\");\n\t\tsolve();flush();\n\t}\n\t//Don't have to see. end------------------------------------------\n}", "Main" ]
import java.util.*; import java.io.*; import java.math.*; public class Main{ static void solve(){//Here is the main function ArrayList<Long> one = nextLongArray(); long a = one.get(0); long b = one.get(1); long c = one.get(2); long d = one.get(3); long pattern1 = a * c; long pattern2 = a * d; long pattern3 = b * c; long pattern4 = b * d; long L = Math.max(pattern1, pattern2); long R = Math.max(pattern3, pattern4); long output = Math.max(L, R); if(output < 0 && ((a <= 0 && b >= 0) || (c <= 0 && d >= 0))){ output = 0; } myout(output); } //Method addition frame start //Method addition frame end //Don't have to see. start------------------------------------------ static class InputIterator{ ArrayList<String> inputLine = new ArrayList<String>(1024); int index = 0; int max; String read; InputIterator(){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ while((read = br.readLine()) != null){ inputLine.add(read); } }catch(IOException e){} max = inputLine.size(); } boolean hasNext(){return (index < max);} String next(){ if(hasNext()){ return inputLine.get(index++); }else{ throw new IndexOutOfBoundsException("There is no more input"); } } } static HashMap<Integer, String> CONVSTR = new HashMap<Integer, String>(); static InputIterator ii = new InputIterator();//This class cannot be used in reactive problem. static PrintWriter out = new PrintWriter(System.out); static void flush(){out.flush();} static void myout(Object t){out.println(t);} static void myerr(Object t){System.err.print("debug:");System.err.println(t);} static String next(){return ii.next();} static boolean hasNext(){return ii.hasNext();} static int nextInt(){return Integer.parseInt(next());} static long nextLong(){return Long.parseLong(next());} static double nextDouble(){return Double.parseDouble(next());} static ArrayList<String> nextStrArray(){return myconv(next(), 8);} static ArrayList<String> nextCharArray(){return myconv(next(), 0);} static ArrayList<Integer> nextIntArray(){ ArrayList<String> input = nextStrArray(); ArrayList<Integer> ret = new ArrayList<Integer>(input.size()); for(int i = 0; i < input.size(); i++){ ret.add(Integer.parseInt(input.get(i))); } return ret; } static ArrayList<Long> nextLongArray(){ ArrayList<String> input = nextStrArray(); ArrayList<Long> ret = new ArrayList<Long>(input.size()); for(int i = 0; i < input.size(); i++){ ret.add(Long.parseLong(input.get(i))); } return ret; } static String myconv(Object list, int no){//only join String joinString = CONVSTR.get(no); if(list instanceof String[]){ return String.join(joinString, (String[])list); }else if(list instanceof ArrayList){ return String.join(joinString, (ArrayList)list); }else{ throw new ClassCastException("Don't join"); } } static ArrayList<String> myconv(String str, int no){//only split String splitString = CONVSTR.get(no); return new ArrayList<String>(Arrays.asList(str.split(splitString))); } public static void main(String[] args){ CONVSTR.put(8, " "); CONVSTR.put(9, "\n"); CONVSTR.put(0, ""); solve();flush(); } //Don't have to see. end------------------------------------------ }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 4, 18, 4, 18, 13, 17, 29, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 58, 62 ], [ 62, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 64, 77 ], [ 77, 78 ], [ 64, 79 ], [ 79, 80 ], [ 0, 81 ], [ 270, 82 ], [ 270, 83 ], [ 83, 84 ], [ 83, 85 ], [ 270, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 88, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 88, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 88, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 88, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 88, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 88, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 124, 126 ], [ 88, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 129, 131 ], [ 88, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 134, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 138, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 142, 146 ], [ 88, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 86, 153 ], [ 153, 154 ], [ 270, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 155, 159 ], [ 159, 160 ], [ 155, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 155, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 170, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 180, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 169, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 155, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 199, 202 ], [ 202, 203 ], [ 155, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 208, 211 ], [ 211, 212 ], [ 155, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 217, 220 ], [ 220, 221 ], [ 155, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 228, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 238, 245 ], [ 224, 246 ], [ 246, 247 ], [ 155, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 254, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 265, 266 ], [ 250, 267 ], [ 267, 268 ], [ 0, 269 ], [ 269, 270 ], [ 269, 271 ] ]
[ "\nimport java.io.BufferedOutputStream;\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Comparator;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.LinkedList;\nimport java.util.List;\nimport java.util.Queue;\nimport java.util.Set;\nimport java.util.SortedSet;\nimport java.util.StringTokenizer;\nimport java.util.TreeMap;\nimport java.util.TreeSet;\n\n\nclass Pair\n{\n int a; double b;\n Pair(int a,double b)\n {\n this.a=a;\n this.b=b;\n }\n}\n\n\n\n\npublic class Main {\n\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n static class FastReader {\n\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }\n }\n\n// static long mod = 1000000007;\n//\n// static ArrayList<String> al=new ArrayList<>();\n// public static int n;\n//\n// static long inversion=0;\n//\n// // static long arr[];\n//static long tree[] = new long[100000];\n//static void MakeTree(long arr[],int s,int e,int i)\n//{\n// if(s==e)\n// {\n// tree[i] = arr[s];\n// return;\n// }\n// if(s<e)\n// {\n// int mid = (s+e)/2;\n// MakeTree(arr,s,mid,2*i);\n// MakeTree(arr,mid+1,e,2*i+1);\n// tree[i] = Math.min(tree[2*i],tree[2*i+1]);\n// }\n// return;\n//}\n\n//static long MinQuery(int s,int e,int qs,int qe,int i)\n//{\n// long t=0;\n//\n// if(qe<s || qs>e)\n// { t= Long.MAX_VALUE;}\n// else if(s==e)\n// {\n// t = tree[i];\n// }\n// else if(qs==s&&qe==e)\n// {\n// t = tree[i];\n//\n// }\n// else {\n// int mid = (s + e) / 2;\n// t= Math.min(MinQuery(s, mid, qs, qe, 2 * i), MinQuery(mid + 1, e, qs, qe, 2 * i + 1));\n//\n// }\n//\n// return t;\n//}\n//\n//public static void UpdateQuery(int s,int e,int i,int qi,long val)\n//{\n// if(qi<s||qi>e)\n// return;\n// if(s==e)\n// {\n// if(s==qi)\n// tree[i]=val;\n// return;\n// }\n// int mid = (s+e)/2;\n// UpdateQuery(s,mid,2*i,qi,val);\n// UpdateQuery(mid+1,e,2*i+1,qi,val);\n//\n//\n//\n//}\n\n//public static int QueryTime(int s,int e,int qs,int qe,long k,int i)\n//{\n//\n// if(qe<s || qs>e)\n// {\n//\n// return 0;}\n// if(s>=qs && e<=qe)\n// {\n// int index = Collections.binarySearch(tree[i].al , k);\n// if(index<0)\n// index = Math.abs(index)-1;\n// //System.out.println(tree[i].al.size()-index);\n// return tree[i].al.size()-index;\n// }\n// int mid = (s+e)/2;\n// int m1 = QueryTime(s,mid,qs,qe,k,2*i);\n// int m2 = QueryTime(mid+1,e,qs,qe,k,2*i+1);\n//\n// // System.out.println((m1+m2) +\" \"+m1+\" \"+m2);\n// return m1+m2;\n//}\n// public static ArrayList<Long> MakeTree(int s,int e,long arr[],int i)\n// {\n// if(s==e)\n// {\n// ArrayList<Long>al=new ArrayList<>();\n// al.add(arr[s]);\n// Node n = new Node(al);\n// tree[i]=n;\n// return al;\n// }\n// int mid = (s+e)/2;\n// ArrayList<Long> al1=MakeTree(s,mid,arr,2*i);\n// ArrayList<Long> al2=MakeTree(mid+1,e,arr,2*i+1);\n// ArrayList<Long>al=new ArrayList<>();\n//// System.out.println(\"al1\" +al1.toString());\n//// System.out.println(\"al2\" +al2.toString());\n//\n// int ai=0,bi=0;\n// while(ai<al1.size() && bi<al2.size())\n// {\n// if(al1.get(ai)<al2.get(bi))\n// {\n// al.add(al1.get(ai));\n// ++ai;\n// }\n// else\n// {\n// al.add(al2.get(bi));\n// ++bi;\n// }\n// }\n// while(ai<al1.size())\n// {\n// al.add(al1.get(ai++));\n// }\n// while(bi<al2.size())\n// {\n// al.add(al2.get(bi++));\n// }\n//// System.out.println(\"al\"+al.toString());\n//\n// Node n=new Node(al);\n// tree[i]=n;\n// return al;\n// }\n//\n//\n// static int arr[][];\n// static Node tree[]=new Node[400070];\n\n\n public static void main(String[] args) throws Exception {\n FastReader sc = new FastReader();\n// int t=sc.nextInt();\n// for(int t1=0;t1<t;++t1) {\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n\n long aa=a*c;\n long bb=a*d;\n long cc=b*c;\n long dd=b*d;\n long ans=Math.max(aa,Math.max(bb,Math.max(cc,dd)));\n System.out.println(ans);\n\n\n\n }\n\n\n }\n\n// out.println(al.toString().replaceAll(\"[\\\\[|\\\\]|,]\",\"\"));", "import java.io.BufferedOutputStream;", "BufferedOutputStream", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Comparator;", "Comparator", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.LinkedList;", "LinkedList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Queue;", "Queue", "java.util", "import java.util.Set;", "Set", "java.util", "import java.util.SortedSet;", "SortedSet", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.util.TreeMap;", "TreeMap", "java.util", "import java.util.TreeSet;", "TreeSet", "java.util", "class Pair\n{\n int a; double b;\n Pair(int a,double b)\n {\n this.a=a;\n this.b=b;\n }\n}", "Pair", "int a;", "a", "double b;", "b", "Pair(int a,double b)\n {\n this.a=a;\n this.b=b;\n }", "Pair", "{\n this.a=a;\n this.b=b;\n }", "this.a=a", "this.a", "this", "this.a", "a", "this.b=b", "this.b", "this", "this.b", "b", "int a", "a", "double b", "b", "public class Main {\n\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n static class FastReader {\n\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }\n }\n\n// static long mod = 1000000007;\n//\n// static ArrayList<String> al=new ArrayList<>();\n// public static int n;\n//\n// static long inversion=0;\n//\n// // static long arr[];\n//static long tree[] = new long[100000];\n//static void MakeTree(long arr[],int s,int e,int i)\n//{\n// if(s==e)\n// {\n// tree[i] = arr[s];\n// return;\n// }\n// if(s<e)\n// {\n// int mid = (s+e)/2;\n// MakeTree(arr,s,mid,2*i);\n// MakeTree(arr,mid+1,e,2*i+1);\n// tree[i] = Math.min(tree[2*i],tree[2*i+1]);\n// }\n// return;\n//}\n\n//static long MinQuery(int s,int e,int qs,int qe,int i)\n//{\n// long t=0;\n//\n// if(qe<s || qs>e)\n// { t= Long.MAX_VALUE;}\n// else if(s==e)\n// {\n// t = tree[i];\n// }\n// else if(qs==s&&qe==e)\n// {\n// t = tree[i];\n//\n// }\n// else {\n// int mid = (s + e) / 2;\n// t= Math.min(MinQuery(s, mid, qs, qe, 2 * i), MinQuery(mid + 1, e, qs, qe, 2 * i + 1));\n//\n// }\n//\n// return t;\n//}\n//\n//public static void UpdateQuery(int s,int e,int i,int qi,long val)\n//{\n// if(qi<s||qi>e)\n// return;\n// if(s==e)\n// {\n// if(s==qi)\n// tree[i]=val;\n// return;\n// }\n// int mid = (s+e)/2;\n// UpdateQuery(s,mid,2*i,qi,val);\n// UpdateQuery(mid+1,e,2*i+1,qi,val);\n//\n//\n//\n//}\n\n//public static int QueryTime(int s,int e,int qs,int qe,long k,int i)\n//{\n//\n// if(qe<s || qs>e)\n// {\n//\n// return 0;}\n// if(s>=qs && e<=qe)\n// {\n// int index = Collections.binarySearch(tree[i].al , k);\n// if(index<0)\n// index = Math.abs(index)-1;\n// //System.out.println(tree[i].al.size()-index);\n// return tree[i].al.size()-index;\n// }\n// int mid = (s+e)/2;\n// int m1 = QueryTime(s,mid,qs,qe,k,2*i);\n// int m2 = QueryTime(mid+1,e,qs,qe,k,2*i+1);\n//\n// // System.out.println((m1+m2) +\" \"+m1+\" \"+m2);\n// return m1+m2;\n//}\n// public static ArrayList<Long> MakeTree(int s,int e,long arr[],int i)\n// {\n// if(s==e)\n// {\n// ArrayList<Long>al=new ArrayList<>();\n// al.add(arr[s]);\n// Node n = new Node(al);\n// tree[i]=n;\n// return al;\n// }\n// int mid = (s+e)/2;\n// ArrayList<Long> al1=MakeTree(s,mid,arr,2*i);\n// ArrayList<Long> al2=MakeTree(mid+1,e,arr,2*i+1);\n// ArrayList<Long>al=new ArrayList<>();\n//// System.out.println(\"al1\" +al1.toString());\n//// System.out.println(\"al2\" +al2.toString());\n//\n// int ai=0,bi=0;\n// while(ai<al1.size() && bi<al2.size())\n// {\n// if(al1.get(ai)<al2.get(bi))\n// {\n// al.add(al1.get(ai));\n// ++ai;\n// }\n// else\n// {\n// al.add(al2.get(bi));\n// ++bi;\n// }\n// }\n// while(ai<al1.size())\n// {\n// al.add(al1.get(ai++));\n// }\n// while(bi<al2.size())\n// {\n// al.add(al2.get(bi++));\n// }\n//// System.out.println(\"al\"+al.toString());\n//\n// Node n=new Node(al);\n// tree[i]=n;\n// return al;\n// }\n//\n//\n// static int arr[][];\n// static Node tree[]=new Node[400070];\n\n\n public static void main(String[] args) throws Exception {\n FastReader sc = new FastReader();\n// int t=sc.nextInt();\n// for(int t1=0;t1<t;++t1) {\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n\n long aa=a*c;\n long bb=a*d;\n long cc=b*c;\n long dd=b*d;\n long ans=Math.max(aa,Math.max(bb,Math.max(cc,dd)));\n System.out.println(ans);\n\n\n\n }\n\n\n }", "Main", "public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));", "out", "new PrintWriter(new BufferedOutputStream(System.out))", "public static void main(String[] args) throws Exception {\n FastReader sc = new FastReader();\n// int t=sc.nextInt();\n// for(int t1=0;t1<t;++t1) {\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n\n long aa=a*c;\n long bb=a*d;\n long cc=b*c;\n long dd=b*d;\n long ans=Math.max(aa,Math.max(bb,Math.max(cc,dd)));\n System.out.println(ans);\n\n\n\n }", "main", "{\n FastReader sc = new FastReader();\n// int t=sc.nextInt();\n// for(int t1=0;t1<t;++t1) {\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n\n long aa=a*c;\n long bb=a*d;\n long cc=b*c;\n long dd=b*d;\n long ans=Math.max(aa,Math.max(bb,Math.max(cc,dd)));\n System.out.println(ans);\n\n\n\n }", "FastReader sc = new FastReader();", "sc", "new FastReader()", "long a=sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b=sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "long c=sc.nextLong();", "c", "sc.nextLong()", "sc.nextLong", "sc", "long d=sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long aa=a*c;", "aa", "a*c", "a", "c", "long bb=a*d;", "bb", "a*d", "a", "d", "long cc=b*c;", "cc", "b*c", "b", "c", "long dd=b*d;", "dd", "b*d", "b", "d", "long ans=Math.max(aa,Math.max(bb,Math.max(cc,dd)));", "ans", "Math.max(aa,Math.max(bb,Math.max(cc,dd)))", "Math.max", "Math", "aa", "Math.max(bb,Math.max(cc,dd))", "Math.max", "Math", "bb", "Math.max(cc,dd)", "Math.max", "Math", "cc", "dd", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "static class FastReader {\n\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "br = new BufferedReader(new\n InputStreamReader(System.in))", "br", "new BufferedReader(new\n InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }", "nextSArray", "{\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }", "String sr[] = null;", "sr", "null", "try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n sr = br.readLine().trim().split(\" \");\n }", "sr = br.readLine().trim().split(\" \")", "sr", "br.readLine().trim().split(\" \")", "br.readLine().trim().split", "br.readLine().trim()", "br.readLine().trim", "br.readLine()", "br.readLine", "br", "\" \"", "return sr;", "sr", "String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n static class FastReader {\n\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }\n }\n\n// static long mod = 1000000007;\n//\n// static ArrayList<String> al=new ArrayList<>();\n// public static int n;\n//\n// static long inversion=0;\n//\n// // static long arr[];\n//static long tree[] = new long[100000];\n//static void MakeTree(long arr[],int s,int e,int i)\n//{\n// if(s==e)\n// {\n// tree[i] = arr[s];\n// return;\n// }\n// if(s<e)\n// {\n// int mid = (s+e)/2;\n// MakeTree(arr,s,mid,2*i);\n// MakeTree(arr,mid+1,e,2*i+1);\n// tree[i] = Math.min(tree[2*i],tree[2*i+1]);\n// }\n// return;\n//}\n\n//static long MinQuery(int s,int e,int qs,int qe,int i)\n//{\n// long t=0;\n//\n// if(qe<s || qs>e)\n// { t= Long.MAX_VALUE;}\n// else if(s==e)\n// {\n// t = tree[i];\n// }\n// else if(qs==s&&qe==e)\n// {\n// t = tree[i];\n//\n// }\n// else {\n// int mid = (s + e) / 2;\n// t= Math.min(MinQuery(s, mid, qs, qe, 2 * i), MinQuery(mid + 1, e, qs, qe, 2 * i + 1));\n//\n// }\n//\n// return t;\n//}\n//\n//public static void UpdateQuery(int s,int e,int i,int qi,long val)\n//{\n// if(qi<s||qi>e)\n// return;\n// if(s==e)\n// {\n// if(s==qi)\n// tree[i]=val;\n// return;\n// }\n// int mid = (s+e)/2;\n// UpdateQuery(s,mid,2*i,qi,val);\n// UpdateQuery(mid+1,e,2*i+1,qi,val);\n//\n//\n//\n//}\n\n//public static int QueryTime(int s,int e,int qs,int qe,long k,int i)\n//{\n//\n// if(qe<s || qs>e)\n// {\n//\n// return 0;}\n// if(s>=qs && e<=qe)\n// {\n// int index = Collections.binarySearch(tree[i].al , k);\n// if(index<0)\n// index = Math.abs(index)-1;\n// //System.out.println(tree[i].al.size()-index);\n// return tree[i].al.size()-index;\n// }\n// int mid = (s+e)/2;\n// int m1 = QueryTime(s,mid,qs,qe,k,2*i);\n// int m2 = QueryTime(mid+1,e,qs,qe,k,2*i+1);\n//\n// // System.out.println((m1+m2) +\" \"+m1+\" \"+m2);\n// return m1+m2;\n//}\n// public static ArrayList<Long> MakeTree(int s,int e,long arr[],int i)\n// {\n// if(s==e)\n// {\n// ArrayList<Long>al=new ArrayList<>();\n// al.add(arr[s]);\n// Node n = new Node(al);\n// tree[i]=n;\n// return al;\n// }\n// int mid = (s+e)/2;\n// ArrayList<Long> al1=MakeTree(s,mid,arr,2*i);\n// ArrayList<Long> al2=MakeTree(mid+1,e,arr,2*i+1);\n// ArrayList<Long>al=new ArrayList<>();\n//// System.out.println(\"al1\" +al1.toString());\n//// System.out.println(\"al2\" +al2.toString());\n//\n// int ai=0,bi=0;\n// while(ai<al1.size() && bi<al2.size())\n// {\n// if(al1.get(ai)<al2.get(bi))\n// {\n// al.add(al1.get(ai));\n// ++ai;\n// }\n// else\n// {\n// al.add(al2.get(bi));\n// ++bi;\n// }\n// }\n// while(ai<al1.size())\n// {\n// al.add(al1.get(ai++));\n// }\n// while(bi<al2.size())\n// {\n// al.add(al2.get(bi++));\n// }\n//// System.out.println(\"al\"+al.toString());\n//\n// Node n=new Node(al);\n// tree[i]=n;\n// return al;\n// }\n//\n//\n// static int arr[][];\n// static Node tree[]=new Node[400070];\n\n\n public static void main(String[] args) throws Exception {\n FastReader sc = new FastReader();\n// int t=sc.nextInt();\n// for(int t1=0;t1<t;++t1) {\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n\n long aa=a*c;\n long bb=a*d;\n long cc=b*c;\n long dd=b*d;\n long ans=Math.max(aa,Math.max(bb,Math.max(cc,dd)));\n System.out.println(ans);\n\n\n\n }\n\n\n }", "public class Main {\n\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n static class FastReader {\n\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }\n }\n\n// static long mod = 1000000007;\n//\n// static ArrayList<String> al=new ArrayList<>();\n// public static int n;\n//\n// static long inversion=0;\n//\n// // static long arr[];\n//static long tree[] = new long[100000];\n//static void MakeTree(long arr[],int s,int e,int i)\n//{\n// if(s==e)\n// {\n// tree[i] = arr[s];\n// return;\n// }\n// if(s<e)\n// {\n// int mid = (s+e)/2;\n// MakeTree(arr,s,mid,2*i);\n// MakeTree(arr,mid+1,e,2*i+1);\n// tree[i] = Math.min(tree[2*i],tree[2*i+1]);\n// }\n// return;\n//}\n\n//static long MinQuery(int s,int e,int qs,int qe,int i)\n//{\n// long t=0;\n//\n// if(qe<s || qs>e)\n// { t= Long.MAX_VALUE;}\n// else if(s==e)\n// {\n// t = tree[i];\n// }\n// else if(qs==s&&qe==e)\n// {\n// t = tree[i];\n//\n// }\n// else {\n// int mid = (s + e) / 2;\n// t= Math.min(MinQuery(s, mid, qs, qe, 2 * i), MinQuery(mid + 1, e, qs, qe, 2 * i + 1));\n//\n// }\n//\n// return t;\n//}\n//\n//public static void UpdateQuery(int s,int e,int i,int qi,long val)\n//{\n// if(qi<s||qi>e)\n// return;\n// if(s==e)\n// {\n// if(s==qi)\n// tree[i]=val;\n// return;\n// }\n// int mid = (s+e)/2;\n// UpdateQuery(s,mid,2*i,qi,val);\n// UpdateQuery(mid+1,e,2*i+1,qi,val);\n//\n//\n//\n//}\n\n//public static int QueryTime(int s,int e,int qs,int qe,long k,int i)\n//{\n//\n// if(qe<s || qs>e)\n// {\n//\n// return 0;}\n// if(s>=qs && e<=qe)\n// {\n// int index = Collections.binarySearch(tree[i].al , k);\n// if(index<0)\n// index = Math.abs(index)-1;\n// //System.out.println(tree[i].al.size()-index);\n// return tree[i].al.size()-index;\n// }\n// int mid = (s+e)/2;\n// int m1 = QueryTime(s,mid,qs,qe,k,2*i);\n// int m2 = QueryTime(mid+1,e,qs,qe,k,2*i+1);\n//\n// // System.out.println((m1+m2) +\" \"+m1+\" \"+m2);\n// return m1+m2;\n//}\n// public static ArrayList<Long> MakeTree(int s,int e,long arr[],int i)\n// {\n// if(s==e)\n// {\n// ArrayList<Long>al=new ArrayList<>();\n// al.add(arr[s]);\n// Node n = new Node(al);\n// tree[i]=n;\n// return al;\n// }\n// int mid = (s+e)/2;\n// ArrayList<Long> al1=MakeTree(s,mid,arr,2*i);\n// ArrayList<Long> al2=MakeTree(mid+1,e,arr,2*i+1);\n// ArrayList<Long>al=new ArrayList<>();\n//// System.out.println(\"al1\" +al1.toString());\n//// System.out.println(\"al2\" +al2.toString());\n//\n// int ai=0,bi=0;\n// while(ai<al1.size() && bi<al2.size())\n// {\n// if(al1.get(ai)<al2.get(bi))\n// {\n// al.add(al1.get(ai));\n// ++ai;\n// }\n// else\n// {\n// al.add(al2.get(bi));\n// ++bi;\n// }\n// }\n// while(ai<al1.size())\n// {\n// al.add(al1.get(ai++));\n// }\n// while(bi<al2.size())\n// {\n// al.add(al2.get(bi++));\n// }\n//// System.out.println(\"al\"+al.toString());\n//\n// Node n=new Node(al);\n// tree[i]=n;\n// return al;\n// }\n//\n//\n// static int arr[][];\n// static Node tree[]=new Node[400070];\n\n\n public static void main(String[] args) throws Exception {\n FastReader sc = new FastReader();\n// int t=sc.nextInt();\n// for(int t1=0;t1<t;++t1) {\n long a=sc.nextLong();\n long b=sc.nextLong();\n long c=sc.nextLong();\n long d=sc.nextLong();\n\n long aa=a*c;\n long bb=a*d;\n long cc=b*c;\n long dd=b*d;\n long ans=Math.max(aa,Math.max(bb,Math.max(cc,dd)));\n System.out.println(ans);\n\n\n\n }\n\n\n }", "Main" ]
import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; import java.util.LinkedList; import java.util.List; import java.util.Queue; import java.util.Set; import java.util.SortedSet; import java.util.StringTokenizer; import java.util.TreeMap; import java.util.TreeSet; class Pair { int a; double b; Pair(int a,double b) { this.a=a; this.b=b; } } public class Main { public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out)); static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String[] nextSArray() { String sr[] = null; try { sr = br.readLine().trim().split(" "); } catch (IOException e) { e.printStackTrace(); } return sr; } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } // static long mod = 1000000007; // // static ArrayList<String> al=new ArrayList<>(); // public static int n; // // static long inversion=0; // // // static long arr[]; //static long tree[] = new long[100000]; //static void MakeTree(long arr[],int s,int e,int i) //{ // if(s==e) // { // tree[i] = arr[s]; // return; // } // if(s<e) // { // int mid = (s+e)/2; // MakeTree(arr,s,mid,2*i); // MakeTree(arr,mid+1,e,2*i+1); // tree[i] = Math.min(tree[2*i],tree[2*i+1]); // } // return; //} //static long MinQuery(int s,int e,int qs,int qe,int i) //{ // long t=0; // // if(qe<s || qs>e) // { t= Long.MAX_VALUE;} // else if(s==e) // { // t = tree[i]; // } // else if(qs==s&&qe==e) // { // t = tree[i]; // // } // else { // int mid = (s + e) / 2; // t= Math.min(MinQuery(s, mid, qs, qe, 2 * i), MinQuery(mid + 1, e, qs, qe, 2 * i + 1)); // // } // // return t; //} // //public static void UpdateQuery(int s,int e,int i,int qi,long val) //{ // if(qi<s||qi>e) // return; // if(s==e) // { // if(s==qi) // tree[i]=val; // return; // } // int mid = (s+e)/2; // UpdateQuery(s,mid,2*i,qi,val); // UpdateQuery(mid+1,e,2*i+1,qi,val); // // // //} //public static int QueryTime(int s,int e,int qs,int qe,long k,int i) //{ // // if(qe<s || qs>e) // { // // return 0;} // if(s>=qs && e<=qe) // { // int index = Collections.binarySearch(tree[i].al , k); // if(index<0) // index = Math.abs(index)-1; // //System.out.println(tree[i].al.size()-index); // return tree[i].al.size()-index; // } // int mid = (s+e)/2; // int m1 = QueryTime(s,mid,qs,qe,k,2*i); // int m2 = QueryTime(mid+1,e,qs,qe,k,2*i+1); // // // System.out.println((m1+m2) +" "+m1+" "+m2); // return m1+m2; //} // public static ArrayList<Long> MakeTree(int s,int e,long arr[],int i) // { // if(s==e) // { // ArrayList<Long>al=new ArrayList<>(); // al.add(arr[s]); // Node n = new Node(al); // tree[i]=n; // return al; // } // int mid = (s+e)/2; // ArrayList<Long> al1=MakeTree(s,mid,arr,2*i); // ArrayList<Long> al2=MakeTree(mid+1,e,arr,2*i+1); // ArrayList<Long>al=new ArrayList<>(); //// System.out.println("al1" +al1.toString()); //// System.out.println("al2" +al2.toString()); // // int ai=0,bi=0; // while(ai<al1.size() && bi<al2.size()) // { // if(al1.get(ai)<al2.get(bi)) // { // al.add(al1.get(ai)); // ++ai; // } // else // { // al.add(al2.get(bi)); // ++bi; // } // } // while(ai<al1.size()) // { // al.add(al1.get(ai++)); // } // while(bi<al2.size()) // { // al.add(al2.get(bi++)); // } //// System.out.println("al"+al.toString()); // // Node n=new Node(al); // tree[i]=n; // return al; // } // // // static int arr[][]; // static Node tree[]=new Node[400070]; public static void main(String[] args) throws Exception { FastReader sc = new FastReader(); // int t=sc.nextInt(); // for(int t1=0;t1<t;++t1) { long a=sc.nextLong(); long b=sc.nextLong(); long c=sc.nextLong(); long d=sc.nextLong(); long aa=a*c; long bb=a*d; long cc=b*c; long dd=b*d; long ans=Math.max(aa,Math.max(bb,Math.max(cc,dd))); System.out.println(ans); } } // out.println(al.toString().replaceAll("[\\[|\\]|,]",""));
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 102, 8 ], [ 102, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 11, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 11, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 11, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 11, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 11, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 88, 92 ], [ 11, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 9, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String [] inp =buffer.readLine().split(\" \");\n long a = Integer.parseInt(inp[0]), b = Integer.parseInt(inp[1]), c = Integer.parseInt(inp[2]), d = Integer.parseInt(inp[3]);\n long res1 = a*d, res2 = a*c, res3 = b*c, res4 = b*d;\n long res = Math.max(res1,Math.max(res2, Math.max(res3, res4)));\n System.out.println(res);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String [] inp =buffer.readLine().split(\" \");\n long a = Integer.parseInt(inp[0]), b = Integer.parseInt(inp[1]), c = Integer.parseInt(inp[2]), d = Integer.parseInt(inp[3]);\n long res1 = a*d, res2 = a*c, res3 = b*c, res4 = b*d;\n long res = Math.max(res1,Math.max(res2, Math.max(res3, res4)));\n System.out.println(res);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String [] inp =buffer.readLine().split(\" \");\n long a = Integer.parseInt(inp[0]), b = Integer.parseInt(inp[1]), c = Integer.parseInt(inp[2]), d = Integer.parseInt(inp[3]);\n long res1 = a*d, res2 = a*c, res3 = b*c, res4 = b*d;\n long res = Math.max(res1,Math.max(res2, Math.max(res3, res4)));\n System.out.println(res);\n }", "main", "{\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String [] inp =buffer.readLine().split(\" \");\n long a = Integer.parseInt(inp[0]), b = Integer.parseInt(inp[1]), c = Integer.parseInt(inp[2]), d = Integer.parseInt(inp[3]);\n long res1 = a*d, res2 = a*c, res3 = b*c, res4 = b*d;\n long res = Math.max(res1,Math.max(res2, Math.max(res3, res4)));\n System.out.println(res);\n }", "BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));", "buffer", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String [] inp =buffer.readLine().split(\" \");", "inp", "buffer.readLine().split(\" \")", "buffer.readLine().split", "buffer.readLine()", "buffer.readLine", "buffer", "\" \"", "long a = Integer.parseInt(inp[0])", "a", "Integer.parseInt(inp[0])", "Integer.parseInt", "Integer", "inp[0]", "inp", "0", "b = Integer.parseInt(inp[1])", "b", "Integer.parseInt(inp[1])", "Integer.parseInt", "Integer", "inp[1]", "inp", "1", "c = Integer.parseInt(inp[2])", "c", "Integer.parseInt(inp[2])", "Integer.parseInt", "Integer", "inp[2]", "inp", "2", "d = Integer.parseInt(inp[3]);", "d", "Integer.parseInt(inp[3])", "Integer.parseInt", "Integer", "inp[3]", "inp", "3", "long res1 = a*d", "res1", "a*d", "a", "d", "res2 = a*c", "res2", "a*c", "a", "c", "res3 = b*c", "res3", "b*c", "b", "c", "res4 = b*d;", "res4", "b*d", "b", "d", "long res = Math.max(res1,Math.max(res2, Math.max(res3, res4)));", "res", "Math.max(res1,Math.max(res2, Math.max(res3, res4)))", "Math.max", "Math", "res1", "Math.max(res2, Math.max(res3, res4))", "Math.max", "Math", "res2", "Math.max(res3, res4)", "Math.max", "Math", "res3", "res4", "System.out.println(res)", "System.out.println", "System.out", "System", "System.out", "res", "String[] args", "args", "public class Main{\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String [] inp =buffer.readLine().split(\" \");\n long a = Integer.parseInt(inp[0]), b = Integer.parseInt(inp[1]), c = Integer.parseInt(inp[2]), d = Integer.parseInt(inp[3]);\n long res1 = a*d, res2 = a*c, res3 = b*c, res4 = b*d;\n long res = Math.max(res1,Math.max(res2, Math.max(res3, res4)));\n System.out.println(res);\n }\n}", "public class Main{\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n String [] inp =buffer.readLine().split(\" \");\n long a = Integer.parseInt(inp[0]), b = Integer.parseInt(inp[1]), c = Integer.parseInt(inp[2]), d = Integer.parseInt(inp[3]);\n long res1 = a*d, res2 = a*c, res3 = b*c, res4 = b*d;\n long res = Math.max(res1,Math.max(res2, Math.max(res3, res4)));\n System.out.println(res);\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args) throws Exception { BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String [] inp =buffer.readLine().split(" "); long a = Integer.parseInt(inp[0]), b = Integer.parseInt(inp[1]), c = Integer.parseInt(inp[2]), d = Integer.parseInt(inp[3]); long res1 = a*d, res2 = a*c, res3 = b*c, res4 = b*d; long res = Math.max(res1,Math.max(res2, Math.max(res3, res4))); System.out.println(res); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 41, 13, 20, 17, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 39, 13, 13, 41, 13, 39, 13, 13, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 2, 2, 18, 13, 13, 18, 13, 13, 17, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 2, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 133, 8 ], [ 133, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 133, 14 ], [ 14, 15 ], [ 14, 16 ], [ 133, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 20, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 20, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 20, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 20, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 20, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 62, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 75, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 90, 94 ], [ 95, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 99, 101 ], [ 95, 102 ], [ 20, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 20, 107 ], [ 107, 108 ], [ 108, 109 ], [ 18, 110 ], [ 110, 111 ], [ 133, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 114, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 112, 128 ], [ 128, 129 ], [ 112, 130 ], [ 130, 131 ], [ 0, 132 ], [ 132, 133 ], [ 132, 134 ] ]
[ "\nimport java.util.*;\nimport java.io.*;\n\npublic class Main{\n\n\tprivate static final long mod =(long)1e9+7;\n\tpublic static void main(String[] args) throws Exception {\n\t Scanner sc=new Scanner(System.in);\n\t PrintWriter out=new PrintWriter(System.out);\n\t long a=sc.nextLong(),b=sc.nextLong(),c=sc.nextLong(),d=sc.nextLong();\n\t long aa[]= {a,b};\n\t long bb[]= {c,d};\n\t long ans=Long.MIN_VALUE;\n\t for(int i=0;i<2;i++) {\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }\n\t out.println(ans);\n\n\t out.flush();\n\t }\n//\t static long binarySearch(long i,long j,long a[]) {\n//\t \n//\t }\n\t\n\tstatic boolean vis[]=new boolean[10001];\n\t static long gcd(long a, long b) \n\t { \n\t if (a == 0) \n\t return b; \n\t return gcd(b % a, a); \n\t } \n//\t static void dfs(long n,boolean flag,ArrayList<ArrayList<longeger>> adj,long src,boolean vis[],ArrayList<longeger> centroid,long size[]) {\n//\t vis[src]=true;\n//\t size[src]=1;\n//\t for(long i:adj.get(src)) {\n//\t if(vis[i]==false){\n//\t dfs(n,flag,adj,i,vis,centroid,size);\n//\t size[src]+=size[i];\n//\t if(size[i]>n/2) {\n//\t flag=false;\n//\t }\n//\t }\n//\t }\n//\t if(n-size[src]>n/2) {\n//\t flag=false;\n//\t }\n//\t if(flag==true) {\n//\t centroid.add(src);\n//\t }\n//\t }\n//\t\n//\t \n//\t \n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main{\n\n\tprivate static final long mod =(long)1e9+7;\n\tpublic static void main(String[] args) throws Exception {\n\t Scanner sc=new Scanner(System.in);\n\t PrintWriter out=new PrintWriter(System.out);\n\t long a=sc.nextLong(),b=sc.nextLong(),c=sc.nextLong(),d=sc.nextLong();\n\t long aa[]= {a,b};\n\t long bb[]= {c,d};\n\t long ans=Long.MIN_VALUE;\n\t for(int i=0;i<2;i++) {\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }\n\t out.println(ans);\n\n\t out.flush();\n\t }\n//\t static long binarySearch(long i,long j,long a[]) {\n//\t \n//\t }\n\t\n\tstatic boolean vis[]=new boolean[10001];\n\t static long gcd(long a, long b) \n\t { \n\t if (a == 0) \n\t return b; \n\t return gcd(b % a, a); \n\t } \n//\t static void dfs(long n,boolean flag,ArrayList<ArrayList<longeger>> adj,long src,boolean vis[],ArrayList<longeger> centroid,long size[]) {\n//\t vis[src]=true;\n//\t size[src]=1;\n//\t for(long i:adj.get(src)) {\n//\t if(vis[i]==false){\n//\t dfs(n,flag,adj,i,vis,centroid,size);\n//\t size[src]+=size[i];\n//\t if(size[i]>n/2) {\n//\t flag=false;\n//\t }\n//\t }\n//\t }\n//\t if(n-size[src]>n/2) {\n//\t flag=false;\n//\t }\n//\t if(flag==true) {\n//\t centroid.add(src);\n//\t }\n//\t }\n//\t\n//\t \n//\t \n}", "Main", "private static final long mod =(long)1e9+7;", "mod", "(long)1e9+7", "(long)1e9", "7", "static boolean vis[]=new boolean[10001];", "vis", "new boolean[10001]", "10001", "public static void main(String[] args) throws Exception {\n\t Scanner sc=new Scanner(System.in);\n\t PrintWriter out=new PrintWriter(System.out);\n\t long a=sc.nextLong(),b=sc.nextLong(),c=sc.nextLong(),d=sc.nextLong();\n\t long aa[]= {a,b};\n\t long bb[]= {c,d};\n\t long ans=Long.MIN_VALUE;\n\t for(int i=0;i<2;i++) {\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }\n\t out.println(ans);\n\n\t out.flush();\n\t }", "main", "{\n\t Scanner sc=new Scanner(System.in);\n\t PrintWriter out=new PrintWriter(System.out);\n\t long a=sc.nextLong(),b=sc.nextLong(),c=sc.nextLong(),d=sc.nextLong();\n\t long aa[]= {a,b};\n\t long bb[]= {c,d};\n\t long ans=Long.MIN_VALUE;\n\t for(int i=0;i<2;i++) {\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }\n\t out.println(ans);\n\n\t out.flush();\n\t }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "PrintWriter out=new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "long a=sc.nextLong()", "a", "sc.nextLong()", "sc.nextLong", "sc", "b=sc.nextLong()", "b", "sc.nextLong()", "sc.nextLong", "sc", "c=sc.nextLong()", "c", "sc.nextLong()", "sc.nextLong", "sc", "d=sc.nextLong();", "d", "sc.nextLong()", "sc.nextLong", "sc", "long aa[]= {a,b};", "aa", "{a,b}", "a", "b", "long bb[]= {c,d};", "bb", "{c,d}", "c", "d", "long ans=Long.MIN_VALUE;", "ans", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "for(int i=0;i<2;i++) {\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }", "int i=0;", "int i=0;", "i", "0", "i<2", "i", "2", "i++", "i++", "i", "{\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }", "{\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }", "for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }", "int j=0;", "int j=0;", "j", "0", "j<2", "j", "2", "j++", "j++", "j", "{\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }", "{\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }", "ans=Math.max(ans,aa[i]*bb[j]*1l)", "ans", "Math.max(ans,aa[i]*bb[j]*1l)", "Math.max", "Math", "ans", "aa[i]*bb[j]*1l", "aa[i]*bb[j]*1l", "aa[i]", "aa", "i", "bb[j]", "bb", "j", "1l", "out.println(ans)", "out.println", "out", "ans", "out.flush()", "out.flush", "out", "String[] args", "args", "static long gcd(long a, long b) \n\t { \n\t if (a == 0) \n\t return b; \n\t return gcd(b % a, a); \n\t }", "gcd", "{ \n\t if (a == 0) \n\t return b; \n\t return gcd(b % a, a); \n\t }", "if (a == 0) \n\t return b;", "a == 0", "a", "0", "return b;", "b", "return gcd(b % a, a);", "gcd(b % a, a)", "gcd", "b % a", "b", "a", "a", "long a", "a", "long b", "b", "public class Main{\n\n\tprivate static final long mod =(long)1e9+7;\n\tpublic static void main(String[] args) throws Exception {\n\t Scanner sc=new Scanner(System.in);\n\t PrintWriter out=new PrintWriter(System.out);\n\t long a=sc.nextLong(),b=sc.nextLong(),c=sc.nextLong(),d=sc.nextLong();\n\t long aa[]= {a,b};\n\t long bb[]= {c,d};\n\t long ans=Long.MIN_VALUE;\n\t for(int i=0;i<2;i++) {\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }\n\t out.println(ans);\n\n\t out.flush();\n\t }\n//\t static long binarySearch(long i,long j,long a[]) {\n//\t \n//\t }\n\t\n\tstatic boolean vis[]=new boolean[10001];\n\t static long gcd(long a, long b) \n\t { \n\t if (a == 0) \n\t return b; \n\t return gcd(b % a, a); \n\t } \n//\t static void dfs(long n,boolean flag,ArrayList<ArrayList<longeger>> adj,long src,boolean vis[],ArrayList<longeger> centroid,long size[]) {\n//\t vis[src]=true;\n//\t size[src]=1;\n//\t for(long i:adj.get(src)) {\n//\t if(vis[i]==false){\n//\t dfs(n,flag,adj,i,vis,centroid,size);\n//\t size[src]+=size[i];\n//\t if(size[i]>n/2) {\n//\t flag=false;\n//\t }\n//\t }\n//\t }\n//\t if(n-size[src]>n/2) {\n//\t flag=false;\n//\t }\n//\t if(flag==true) {\n//\t centroid.add(src);\n//\t }\n//\t }\n//\t\n//\t \n//\t \n}", "public class Main{\n\n\tprivate static final long mod =(long)1e9+7;\n\tpublic static void main(String[] args) throws Exception {\n\t Scanner sc=new Scanner(System.in);\n\t PrintWriter out=new PrintWriter(System.out);\n\t long a=sc.nextLong(),b=sc.nextLong(),c=sc.nextLong(),d=sc.nextLong();\n\t long aa[]= {a,b};\n\t long bb[]= {c,d};\n\t long ans=Long.MIN_VALUE;\n\t for(int i=0;i<2;i++) {\n\t for(int j=0;j<2;j++) {\n\t ans=Math.max(ans,aa[i]*bb[j]*1l);\n\t }\n\t }\n\t out.println(ans);\n\n\t out.flush();\n\t }\n//\t static long binarySearch(long i,long j,long a[]) {\n//\t \n//\t }\n\t\n\tstatic boolean vis[]=new boolean[10001];\n\t static long gcd(long a, long b) \n\t { \n\t if (a == 0) \n\t return b; \n\t return gcd(b % a, a); \n\t } \n//\t static void dfs(long n,boolean flag,ArrayList<ArrayList<longeger>> adj,long src,boolean vis[],ArrayList<longeger> centroid,long size[]) {\n//\t vis[src]=true;\n//\t size[src]=1;\n//\t for(long i:adj.get(src)) {\n//\t if(vis[i]==false){\n//\t dfs(n,flag,adj,i,vis,centroid,size);\n//\t size[src]+=size[i];\n//\t if(size[i]>n/2) {\n//\t flag=false;\n//\t }\n//\t }\n//\t }\n//\t if(n-size[src]>n/2) {\n//\t flag=false;\n//\t }\n//\t if(flag==true) {\n//\t centroid.add(src);\n//\t }\n//\t }\n//\t\n//\t \n//\t \n}", "Main" ]
import java.util.*; import java.io.*; public class Main{ private static final long mod =(long)1e9+7; public static void main(String[] args) throws Exception { Scanner sc=new Scanner(System.in); PrintWriter out=new PrintWriter(System.out); long a=sc.nextLong(),b=sc.nextLong(),c=sc.nextLong(),d=sc.nextLong(); long aa[]= {a,b}; long bb[]= {c,d}; long ans=Long.MIN_VALUE; for(int i=0;i<2;i++) { for(int j=0;j<2;j++) { ans=Math.max(ans,aa[i]*bb[j]*1l); } } out.println(ans); out.flush(); } // static long binarySearch(long i,long j,long a[]) { // // } static boolean vis[]=new boolean[10001]; static long gcd(long a, long b) { if (a == 0) return b; return gcd(b % a, a); } // static void dfs(long n,boolean flag,ArrayList<ArrayList<longeger>> adj,long src,boolean vis[],ArrayList<longeger> centroid,long size[]) { // vis[src]=true; // size[src]=1; // for(long i:adj.get(src)) { // if(vis[i]==false){ // dfs(n,flag,adj,i,vis,centroid,size); // size[src]+=size[i]; // if(size[i]>n/2) { // flag=false; // } // } // } // if(n-size[src]>n/2) { // flag=false; // } // if(flag==true) { // centroid.add(src); // } // } // // // }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 2, 2, 17, 13, 13, 4, 18, 13, 2, 2, 17, 13, 13, 4, 18, 13, 2, 2, 17, 13, 13, 2, 2, 17, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 13, 13, 2, 13, 13, 2, 2, 13, 13, 2, 13, 13, 23, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 18, 13, 13, 30, 29, 2, 13, 18, 13, 13, 29, 2, 13, 18, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 2, 2, 17, 17, 13, 17, 13, 17, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 2, 18, 13, 13, 13, 2, 18, 13, 13, 13, 2, 18, 13, 13, 18, 13, 13, 2, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 2, 2, 17, 17, 13, 17, 13, 17, 12, 13, 30, 29, 2, 13, 18, 13, 13, 23, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 18, 13, 13, 29, 2, 13, 18, 13, 13, 29, 2, 13, 18, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 18, 13, 13, 13, 2, 18, 13, 13, 13, 2, 2, 18, 13, 13, 13, 2, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 17, 13, 12, 13, 30, 14, 2, 2, 2, 18, 36, 13, 18, 13, 13, 2, 18, 36, 13, 18, 13, 13, 2, 2, 18, 13, 13, 18, 36, 13, 2, 18, 13, 13, 18, 36, 13, 29, 17, 29, 17, 23, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 14, 40, 4, 18, 13, 29, 17, 29, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 14, 2, 4, 18, 13, 17, 17, 30, 0, 13, 17, 40, 13, 11, 1, 41, 13, 13, 2, 13, 4, 18, 13, 1, 40, 13, 30, 14, 2, 4, 18, 13, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 20, 0, 13, 17, 30, 4, 18, 13, 4, 18, 13, 13, 14, 13, 0, 13, 17, 0, 13, 2, 4, 18, 13, 4, 18, 13, 13, 29, 2, 13, 8, 13, 40, 17, 17, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 634, 14 ], [ 634, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 17, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 17, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 51, 51 ], [ 51, 52 ], [ 51, 53 ], [ 51, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 59, 59 ], [ 59, 60 ], [ 59, 61 ], [ 59, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 67, 67 ], [ 67, 68 ], [ 67, 69 ], [ 67, 70 ], [ 63, 71 ], [ 72, 72 ], [ 72, 73 ], [ 72, 74 ], [ 72, 75 ], [ 17, 76 ], [ 76, 77 ], [ 77, 78 ], [ 15, 79 ], [ 79, 80 ], [ 634, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 83, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 81, 97 ], [ 97, 98 ], [ 81, 99 ], [ 99, 100 ], [ 634, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 109, 112 ], [ 101, 113 ], [ 113, 114 ], [ 101, 115 ], [ 115, 116 ], [ 634, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 126, 128 ], [ 121, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 133, 135 ], [ 117, 136 ], [ 136, 137 ], [ 117, 138 ], [ 138, 139 ], [ 117, 140 ], [ 140, 141 ], [ 117, 142 ], [ 142, 143 ], [ 634, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 144, 148 ], [ 148, 149 ], [ 144, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 152, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 150, 163 ], [ 163, 164 ], [ 150, 165 ], [ 165, 166 ], [ 144, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 170, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 180, 182 ], [ 169, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 186, 188 ], [ 167, 189 ], [ 189, 190 ], [ 144, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 199, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 197, 203 ], [ 196, 204 ], [ 199, 205 ], [ 144, 206 ], [ 634, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 207, 211 ], [ 211, 212 ], [ 207, 213 ], [ 213, 214 ], [ 207, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 222 ], [ 217, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 217, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 228, 232 ], [ 215, 233 ], [ 233, 234 ], [ 215, 235 ], [ 235, 236 ], [ 215, 237 ], [ 237, 238 ], [ 207, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 246, 250 ], [ 245, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 251, 255 ], [ 244, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 260, 261 ], [ 260, 262 ], [ 243, 263 ], [ 263, 264 ], [ 263, 265 ], [ 239, 266 ], [ 266, 267 ], [ 207, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 271, 272 ], [ 276, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 275, 279 ], [ 274, 280 ], [ 273, 281 ], [ 276, 282 ], [ 207, 283 ], [ 283, 284 ], [ 283, 285 ], [ 285, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 289, 290 ], [ 289, 291 ], [ 283, 292 ], [ 292, 293 ], [ 207, 294 ], [ 634, 295 ], [ 295, 296 ], [ 295, 297 ], [ 297, 298 ], [ 295, 299 ], [ 299, 300 ], [ 295, 301 ], [ 301, 302 ], [ 301, 303 ], [ 303, 304 ], [ 304, 305 ], [ 305, 306 ], [ 305, 307 ], [ 304, 308 ], [ 303, 309 ], [ 309, 310 ], [ 310, 311 ], [ 310, 312 ], [ 309, 313 ], [ 301, 314 ], [ 314, 315 ], [ 301, 316 ], [ 316, 317 ], [ 295, 318 ], [ 318, 319 ], [ 318, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 322, 324 ], [ 324, 325 ], [ 324, 326 ], [ 321, 327 ], [ 327, 328 ], [ 328, 329 ], [ 328, 330 ], [ 330, 331 ], [ 330, 332 ], [ 320, 333 ], [ 333, 334 ], [ 334, 335 ], [ 334, 336 ], [ 336, 337 ], [ 336, 338 ], [ 318, 339 ], [ 339, 340 ], [ 295, 341 ], [ 341, 342 ], [ 341, 343 ], [ 343, 344 ], [ 344, 345 ], [ 345, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 347, 351 ], [ 346, 352 ], [ 352, 353 ], [ 353, 354 ], [ 353, 355 ], [ 352, 356 ], [ 345, 357 ], [ 357, 358 ], [ 358, 359 ], [ 359, 360 ], [ 359, 361 ], [ 358, 362 ], [ 357, 363 ], [ 363, 364 ], [ 364, 365 ], [ 364, 366 ], [ 363, 367 ], [ 341, 368 ], [ 368, 369 ], [ 295, 370 ], [ 370, 371 ], [ 370, 372 ], [ 372, 373 ], [ 373, 374 ], [ 375, 375 ], [ 375, 376 ], [ 375, 377 ], [ 375, 378 ], [ 295, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 384, 385 ], [ 385, 386 ], [ 386, 387 ], [ 386, 388 ], [ 385, 389 ], [ 389, 390 ], [ 389, 391 ], [ 384, 392 ], [ 392, 393 ], [ 393, 394 ], [ 393, 395 ], [ 392, 396 ], [ 396, 397 ], [ 396, 398 ], [ 383, 399 ], [ 399, 400 ], [ 400, 401 ], [ 401, 402 ], [ 401, 403 ], [ 400, 404 ], [ 404, 405 ], [ 404, 406 ], [ 399, 407 ], [ 407, 408 ], [ 408, 409 ], [ 408, 410 ], [ 407, 411 ], [ 411, 412 ], [ 411, 413 ], [ 382, 414 ], [ 414, 415 ], [ 381, 416 ], [ 416, 417 ], [ 379, 418 ], [ 418, 419 ], [ 295, 420 ], [ 634, 421 ], [ 421, 422 ], [ 421, 423 ], [ 423, 424 ], [ 421, 425 ], [ 425, 426 ], [ 421, 427 ], [ 427, 428 ], [ 427, 429 ], [ 429, 430 ], [ 430, 431 ], [ 430, 432 ], [ 427, 433 ], [ 433, 434 ], [ 421, 435 ], [ 435, 436 ], [ 435, 437 ], [ 437, 438 ], [ 438, 439 ], [ 438, 440 ], [ 435, 441 ], [ 441, 442 ], [ 421, 443 ], [ 443, 444 ], [ 443, 445 ], [ 445, 446 ], [ 446, 447 ], [ 447, 448 ], [ 448, 449 ], [ 448, 450 ], [ 447, 451 ], [ 451, 452 ], [ 452, 453 ], [ 453, 454 ], [ 446, 455 ], [ 455, 456 ], [ 456, 457 ], [ 457, 458 ], [ 457, 459 ], [ 459, 460 ], [ 460, 461 ], [ 456, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 445, 466 ], [ 466, 467 ], [ 467, 468 ], [ 468, 469 ], [ 421, 470 ], [ 470, 471 ], [ 470, 472 ], [ 472, 473 ], [ 473, 474 ], [ 474, 475 ], [ 475, 476 ], [ 476, 477 ], [ 473, 478 ], [ 478, 479 ], [ 472, 480 ], [ 480, 481 ], [ 421, 482 ], [ 482, 483 ], [ 482, 484 ], [ 484, 485 ], [ 485, 486 ], [ 486, 487 ], [ 487, 488 ], [ 486, 489 ], [ 489, 490 ], [ 421, 491 ], [ 491, 492 ], [ 491, 493 ], [ 493, 494 ], [ 494, 495 ], [ 495, 496 ], [ 496, 497 ], [ 495, 498 ], [ 498, 499 ], [ 421, 500 ], [ 500, 501 ], [ 500, 502 ], [ 502, 503 ], [ 503, 504 ], [ 504, 505 ], [ 504, 506 ], [ 506, 507 ], [ 507, 508 ], [ 503, 509 ], [ 509, 510 ], [ 510, 511 ], [ 511, 512 ], [ 512, 513 ], [ 421, 514 ], [ 514, 515 ], [ 514, 516 ], [ 516, 517 ], [ 517, 518 ], [ 517, 519 ], [ 519, 520 ], [ 516, 521 ], [ 521, 522 ], [ 521, 523 ], [ 516, 524 ], [ 524, 525 ], [ 524, 526 ], [ 516, 527 ], [ 527, 528 ], [ 527, 529 ], [ 516, 530 ], [ 530, 531 ], [ 530, 532 ], [ 516, 533 ], [ 533, 534 ], [ 533, 535 ], [ 516, 536 ], [ 536, 537 ], [ 536, 538 ], [ 516, 539 ], [ 539, 540 ], [ 540, 541 ], [ 541, 542 ], [ 542, 543 ], [ 541, 544 ], [ 540, 545 ], [ 539, 546 ], [ 546, 547 ], [ 547, 548 ], [ 547, 549 ], [ 546, 550 ], [ 550, 551 ], [ 516, 552 ], [ 552, 553 ], [ 553, 554 ], [ 554, 555 ], [ 554, 556 ], [ 552, 557 ], [ 557, 558 ], [ 557, 559 ], [ 559, 560 ], [ 560, 561 ], [ 552, 562 ], [ 562, 563 ], [ 563, 564 ], [ 552, 565 ], [ 565, 566 ], [ 566, 567 ], [ 567, 568 ], [ 568, 569 ], [ 569, 570 ], [ 568, 571 ], [ 567, 572 ], [ 566, 573 ], [ 573, 574 ], [ 574, 575 ], [ 574, 576 ], [ 576, 577 ], [ 577, 578 ], [ 576, 579 ], [ 579, 580 ], [ 580, 581 ], [ 573, 582 ], [ 582, 583 ], [ 582, 584 ], [ 573, 585 ], [ 585, 586 ], [ 585, 587 ], [ 566, 588 ], [ 588, 589 ], [ 589, 590 ], [ 590, 591 ], [ 589, 592 ], [ 592, 593 ], [ 593, 594 ], [ 592, 595 ], [ 588, 596 ], [ 596, 597 ], [ 596, 598 ], [ 598, 599 ], [ 598, 600 ], [ 516, 601 ], [ 601, 602 ], [ 601, 603 ], [ 603, 604 ], [ 604, 605 ], [ 605, 606 ], [ 604, 607 ], [ 607, 608 ], [ 608, 609 ], [ 603, 610 ], [ 516, 611 ], [ 611, 612 ], [ 612, 613 ], [ 612, 614 ], [ 614, 615 ], [ 614, 616 ], [ 616, 617 ], [ 614, 618 ], [ 421, 619 ], [ 619, 620 ], [ 619, 621 ], [ 621, 622 ], [ 622, 623 ], [ 623, 624 ], [ 623, 625 ], [ 625, 626 ], [ 626, 627 ], [ 622, 628 ], [ 628, 629 ], [ 629, 630 ], [ 630, 631 ], [ 631, 632 ], [ 0, 633 ], [ 633, 634 ], [ 633, 635 ] ]
[ "import java.awt.*;\nimport java.io.*;\n\nimport java.math.BigInteger;\nimport java.util.*;\n\npublic class Main {\n\n\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n\n pw.print(Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c ))));\n\n\n\n pw.close();\n }\n static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }\n\n static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }\n\n private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }\n\n static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }\n\n\n private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }\n\n\n static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n}", "import java.awt.*;", "awt.*", "java", "import java.io.*;", "io.*", "java", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "public class Main {\n\n\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n\n pw.print(Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c ))));\n\n\n\n pw.close();\n }\n static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }\n\n static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }\n\n private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }\n\n static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }\n\n\n private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }\n\n\n static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n\n pw.print(Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c ))));\n\n\n\n pw.close();\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n\n pw.print(Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c ))));\n\n\n\n pw.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "PrintWriter pw = new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "pw.print(Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c ))))", "pw.print", "pw", "Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c )))", "Math.max", "Math", "1l*a * d", "1l*a * d", "1l", "a", "d", "Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c ))", "Math.max", "Math", "1l*b * d", "1l*b * d", "1l", "b", "d", "Math.max(1l*b * c, 1l*a * c )", "Math.max", "Math", "1l*b * c", "1l*b * c", "1l", "b", "c", "1l*a * c", "1l*a * c", "1l", "a", "c", "pw.close()", "pw.close", "pw", "String[] args", "args", "private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }", "gcd", "{\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }", "if( b == 0)\n return a;", "b == 0", "b", "0", "return a;", "a", "return gcd(b , a%b);", "gcd(b , a%b)", "gcd", "b", "a%b", "a", "b", "long a", "a", "long b", "b", "static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }", "lcm", "{\n return (a*b)/gcd(a, b);\n }", "return (a*b)/gcd(a, b);", "(a*b)/gcd(a, b)", "(a*b)", "a", "b", "gcd(a, b)", "gcd", "a", "b", "int a", "a", "int b", "b", "private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }", "dis", "{\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }", "return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);", "(xa-xb)*(xa - xb) + (ya- yb)*(ya-yb)", "(xa-xb)*(xa - xb)", "(xa-xb)", "xa", "xb", "(xa - xb)", "xa", "xb", "(ya- yb)*(ya-yb)", "(ya- yb)", "ya", "yb", "(ya-yb)", "ya", "yb", "int xa", "xa", "int ya", "ya", "int xb", "xb", "int yb", "yb", "static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }", "Point", "int x", "x", "y ;", "y", "public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }", "Point", "{\n this.x = x;\n this.y = y;\n }", "this.x = x", "this.x", "this", "this.x", "x", "this.y = y", "this.y", "this", "this.y", "y", "int x", "x", "int y", "y", "@Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }", "compareTo", "{\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }", "if (x == o.x) {\n return y - o.y;\n }", "x == o.x", "x", "o.x", "o", "o.x", "{\n return y - o.y;\n }", "return y - o.y;", "y - o.y", "y", "o.y", "o", "o.y", "return x - o.x;", "x - o.x", "x", "o.x", "o", "o.x", "Point o", "o", "@Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }", "toString", "{\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }", "return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';", "\"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}'", "y", "\", y=\"", "x", "\"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}'", "\"Point{\"", "\"x=\"", "x", "\", y=\"", "y", "'}'", "Comparable", "static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }", "Circle", "int x", "x", "radius", "radius", "idx;", "idx", "public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }", "Circle", "{\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }", "this.x = x", "this.x", "this", "this.x", "x", "this.radius = r", "this.radius", "this", "this.radius", "r", "this.idx = idx", "this.idx", "this", "this.idx", "idx", "int x", "x", "int r", "r", "int idx", "idx", "public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }", "isInside", "{\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }", "return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;", "(p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius", "(p.x - x)*(p.x - x) + (p.y)*(p.y)", "(p.x - x)*(p.x - x)", "(p.x - x)", "p.x", "p", "p.x", "x", "(p.x - x)", "p.x", "p", "p.x", "x", "(p.y)*(p.y)", "(p.y)", "p", "p.y", "(p.y)", "p", "p.y", "radius * radius", "radius", "radius", "Point p", "p", "@Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }", "toString", "{\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }", "return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';", "\"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}'", "radius", "\", radius=\"", "x", "\"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}'", "\"Circle{\"", "\"x=\"", "x", "\", radius=\"", "radius", "'}'", "@Override\n public int compareTo(Circle o) {\n return x - o.x;\n }", "compareTo", "{\n return x - o.x;\n }", "return x - o.x;", "x - o.x", "x", "o.x", "o", "o.x", "Circle o", "o", "Comparable", "static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }", "Pair", "int x", "x", "y;", "y", "public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }", "Pair", "{\n this.x = x;\n this.y = y;\n }", "this.x = x", "this.x", "this", "this.x", "x", "this.y = y", "this.y", "this", "this.y", "y", "int x", "x", "int y", "y", "public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }", "compareTo", "{\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }", "if (y == o.y)\n return x - o.x;", "y == o.y", "y", "o.y", "o", "o.y", "return x - o.x;", "x - o.x", "x", "o.x", "o", "o.x", "return y - o.y;", "y - o.y", "y", "o.y", "o", "o.y", "Pair o", "o", "public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }", "dis", "{\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }", "return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);", "(a.x - x)*(a.x - x) + (a.y-y)*(a.y-y)", "(a.x - x)*(a.x - x)", "(a.x - x)", "a.x", "a", "a.x", "x", "(a.x - x)", "a.x", "a", "a.x", "x", "(a.y-y)*(a.y-y)", "(a.y-y)", "a.y", "a", "a.y", "y", "(a.y-y)", "a.y", "a", "a.y", "y", "Pair a", "a", "public String toString() {\n return x+\" \"+ y;\n }", "toString", "{\n return x+\" \"+ y;\n }", "return x+\" \"+ y;", "x+\" \"+ y", "x+\" \"+ y", "x", "\" \"", "y", "public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }", "overlap", "{\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }", "if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;", "(this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)", "(this.x >= a.x && this.x <= a.y)", "this.x >= a.x", "this.x", "this", "this.x", "a.x", "a", "a.x", "this.x <= a.y", "this.x", "this", "this.x", "a.y", "a", "a.y", "(a.x >= this.x && a.x <= this.y)", "a.x >= this.x", "a.x", "a", "a.x", "this.x", "this", "this.x", "a.x <= this.y", "a.x", "a", "a.x", "this.y", "this", "this.y", "return true;", "true", "return false;", "false", "Pair a", "a", "Comparable", "static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }", "Scanner", "StringTokenizer st;", "st", "BufferedReader br;", "br", "public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }", "Scanner", "{\n br = new BufferedReader(r);\n }", "br = new BufferedReader(r)", "br", "new BufferedReader(r)", "FileReader r", "r", "public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }", "Scanner", "{\n br = new BufferedReader(new InputStreamReader(s));\n }", "br = new BufferedReader(new InputStreamReader(s))", "br", "new BufferedReader(new InputStreamReader(s))", "InputStream s", "s", "public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }", "check", "{\n if (!st.hasMoreTokens())\n return false;\n return true;\n }", "if (!st.hasMoreTokens())\n return false;", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "return false;", "false", "return true;", "true", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "nextLine", "{\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }", "try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }", "catch (Exception e) {\n throw new RuntimeException(e);\n }", "Exception e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n return br.readLine();\n }", "return br.readLine();", "br.readLine()", "br.readLine", "br", "public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }", "nextDouble", "{\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }", "String x = next();", "x", "next()", "next", "StringBuilder sb = new StringBuilder(\"0\");", "sb", "new StringBuilder(\"0\")", "double res = 0", "res", "0", "f = 1;", "f", "1", "boolean dec = false", "dec", "false", "neg = false;", "neg", "false", "int start = 0;", "start", "0", "if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }", "x.charAt(0) == '-'", "x.charAt(0)", "x.charAt", "x", "0", "'-'", "{\n neg = true;\n start++;\n }", "neg = true", "neg", "true", "start++", "start", "for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }", "int i = start;", "int i = start;", "i", "start", "i < x.length()", "i", "x.length()", "x.length", "x", "i++", "i++", "i", "if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }", "if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }", "x.charAt(i) == '.'", "x.charAt(i)", "x.charAt", "x", "i", "'.'", "{\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }", "res = Long.parseLong(sb.toString())", "res", "Long.parseLong(sb.toString())", "Long.parseLong", "Long", "sb.toString()", "sb.toString", "sb", "sb = new StringBuilder(\"0\")", "sb", "new StringBuilder(\"0\")", "dec = true", "dec", "true", "{\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }", "sb.append(x.charAt(i))", "sb.append", "sb", "x.charAt(i)", "x.charAt", "x", "i", "if (dec)\n f *= 10;", "dec", "f *= 10", "f", "10", "res += Long.parseLong(sb.toString()) / f", "res", "Long.parseLong(sb.toString()) / f", "Long.parseLong(sb.toString())", "Long.parseLong", "Long", "sb.toString()", "sb.toString", "sb", "f", "return res * (neg ? -1 : 1);", "res * (neg ? -1 : 1)", "res", "(neg ? -1 : 1)", "neg", "-1", "1", "1", "public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "ready", "{\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n return br.ready();\n }", "return br.ready();", "br.ready()", "br.ready", "br", "public class Main {\n\n\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n\n pw.print(Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c ))));\n\n\n\n pw.close();\n }\n static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }\n\n static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }\n\n private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }\n\n static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }\n\n\n private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }\n\n\n static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n}", "public class Main {\n\n\n\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n\n pw.print(Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c ))));\n\n\n\n pw.close();\n }\n static class Point implements Comparable<Point>\n {\n int x ,y ;\n\n public Point(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n @Override\n public int compareTo(Point o) {\n if (x == o.x) {\n return y - o.y;\n }\n return x - o.x;\n }\n\n @Override\n public String toString() {\n return \"Point{\" +\n \"x=\" + x +\n \", y=\" + y +\n '}';\n }\n }\n\n static class Circle implements Comparable<Circle>\n {\n int x , radius ,idx;\n public Circle(int x , int r , int idx)\n {\n this.x = x;\n this.radius = r;\n this.idx = idx;\n }\n\n public boolean isInside(Point p)\n {\n return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius;\n }\n\n @Override\n public String toString() {\n return \"Circle{\" +\n \"x=\" + x +\n \", radius=\" + radius +\n '}';\n }\n\n @Override\n public int compareTo(Circle o) {\n return x - o.x;\n }\n }\n\n private static long gcd(long a, long b) {\n if( b == 0)\n return a;\n return gcd(b , a%b);\n }\n\n static long lcm(int a, int b)\n {\n return (a*b)/gcd(a, b);\n }\n\n\n private static int dis(int xa , int ya , int xb , int yb)\n {\n return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb);\n }\n\n\n static class Pair implements Comparable<Pair> {\n int x,y;\n\n\n public Pair(int x, int y) {\n this.x = x;\n this.y = y;\n }\n\n public int compareTo(Pair o) {\n if (y == o.y)\n return x - o.x;\n return y - o.y;\n\n }\n\n public double dis(Pair a){\n\n return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y);\n }\n\n public String toString() {\n return x+\" \"+ y;\n }\n public boolean overlap(Pair a)\n {\n if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true;\n return false;\n\n }\n }\n\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public boolean check() {\n if (!st.hasMoreTokens())\n return false;\n return true;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public String nextLine() {\n try {\n return br.readLine();\n } catch (Exception e) {\n throw new RuntimeException(e);\n }\n }\n\n public double nextDouble() {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if (x.charAt(0) == '-') {\n neg = true;\n start++;\n }\n for (int i = start; i < x.length(); i++)\n if (x.charAt(i) == '.') {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n } else {\n sb.append(x.charAt(i));\n if (dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg ? -1 : 1);\n }\n\n public boolean ready() {\n try {\n return br.ready();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n }\n}", "Main" ]
import java.awt.*; import java.io.*; import java.math.BigInteger; import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); PrintWriter pw = new PrintWriter(System.out); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int d = sc.nextInt(); pw.print(Math.max(1l*a * d, Math.max(1l*b * d , Math.max(1l*b * c, 1l*a * c )))); pw.close(); } static class Point implements Comparable<Point> { int x ,y ; public Point(int x, int y) { this.x = x; this.y = y; } @Override public int compareTo(Point o) { if (x == o.x) { return y - o.y; } return x - o.x; } @Override public String toString() { return "Point{" + "x=" + x + ", y=" + y + '}'; } } static class Circle implements Comparable<Circle> { int x , radius ,idx; public Circle(int x , int r , int idx) { this.x = x; this.radius = r; this.idx = idx; } public boolean isInside(Point p) { return (p.x - x)*(p.x - x) + (p.y)*(p.y) <= radius * radius; } @Override public String toString() { return "Circle{" + "x=" + x + ", radius=" + radius + '}'; } @Override public int compareTo(Circle o) { return x - o.x; } } private static long gcd(long a, long b) { if( b == 0) return a; return gcd(b , a%b); } static long lcm(int a, int b) { return (a*b)/gcd(a, b); } private static int dis(int xa , int ya , int xb , int yb) { return (xa-xb)*(xa - xb) + (ya- yb)*(ya-yb); } static class Pair implements Comparable<Pair> { int x,y; public Pair(int x, int y) { this.x = x; this.y = y; } public int compareTo(Pair o) { if (y == o.y) return x - o.x; return y - o.y; } public double dis(Pair a){ return (a.x - x)*(a.x - x) + (a.y-y)*(a.y-y); } public String toString() { return x+" "+ y; } public boolean overlap(Pair a) { if((this.x >= a.x && this.x <= a.y) || (a.x >= this.x && a.x <= this.y)) return true; return false; } } static class Scanner { StringTokenizer st; BufferedReader br; public Scanner(FileReader r) { br = new BufferedReader(r); } public Scanner(InputStream s) { br = new BufferedReader(new InputStreamReader(s)); } public String next() { while (st == null || !st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return st.nextToken(); } public boolean check() { if (!st.hasMoreTokens()) return false; return true; } public int nextInt() { return Integer.parseInt(next()); } public long nextLong() { return Long.parseLong(next()); } public String nextLine() { try { return br.readLine(); } catch (Exception e) { throw new RuntimeException(e); } } public double nextDouble() { String x = next(); StringBuilder sb = new StringBuilder("0"); double res = 0, f = 1; boolean dec = false, neg = false; int start = 0; if (x.charAt(0) == '-') { neg = true; start++; } for (int i = start; i < x.length(); i++) if (x.charAt(i) == '.') { res = Long.parseLong(sb.toString()); sb = new StringBuilder("0"); dec = true; } else { sb.append(x.charAt(i)); if (dec) f *= 10; } res += Long.parseLong(sb.toString()) / f; return res * (neg ? -1 : 1); } public boolean ready() { try { return br.ready(); } catch (IOException e) { throw new RuntimeException(e); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 41, 13, 4, 18, 13, 2, 13, 13, 4, 18, 18, 13, 13, 4, 18, 4, 18, 4, 18, 13, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 85, 8 ], [ 85, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 11, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 11, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 11, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 11, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 74, 80 ], [ 72, 81 ], [ 9, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n BigInteger ac = BigInteger.valueOf(a * c);\n BigInteger ad = BigInteger.valueOf(a * d);\n BigInteger bc = BigInteger.valueOf(b * c);\n BigInteger bd = BigInteger.valueOf(b * d);\n\n System.out.println(ac.max(ad).max(bc).max(bd));\n }\n}", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n BigInteger ac = BigInteger.valueOf(a * c);\n BigInteger ad = BigInteger.valueOf(a * d);\n BigInteger bc = BigInteger.valueOf(b * c);\n BigInteger bd = BigInteger.valueOf(b * d);\n\n System.out.println(ac.max(ad).max(bc).max(bd));\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n BigInteger ac = BigInteger.valueOf(a * c);\n BigInteger ad = BigInteger.valueOf(a * d);\n BigInteger bc = BigInteger.valueOf(b * c);\n BigInteger bd = BigInteger.valueOf(b * d);\n\n System.out.println(ac.max(ad).max(bc).max(bd));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n BigInteger ac = BigInteger.valueOf(a * c);\n BigInteger ad = BigInteger.valueOf(a * d);\n BigInteger bc = BigInteger.valueOf(b * c);\n BigInteger bd = BigInteger.valueOf(b * d);\n\n System.out.println(ac.max(ad).max(bc).max(bd));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "long c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "long d = sc.nextInt();", "d", "sc.nextInt()", "sc.nextInt", "sc", "BigInteger ac = BigInteger.valueOf(a * c);", "ac", "BigInteger.valueOf(a * c)", "BigInteger.valueOf", "BigInteger", "a * c", "a", "c", "BigInteger ad = BigInteger.valueOf(a * d);", "ad", "BigInteger.valueOf(a * d)", "BigInteger.valueOf", "BigInteger", "a * d", "a", "d", "BigInteger bc = BigInteger.valueOf(b * c);", "bc", "BigInteger.valueOf(b * c)", "BigInteger.valueOf", "BigInteger", "b * c", "b", "c", "BigInteger bd = BigInteger.valueOf(b * d);", "bd", "BigInteger.valueOf(b * d)", "BigInteger.valueOf", "BigInteger", "b * d", "b", "d", "System.out.println(ac.max(ad).max(bc).max(bd))", "System.out.println", "System.out", "System", "System.out", "ac.max(ad).max(bc).max(bd)", "ac.max(ad).max(bc).max", "ac.max(ad).max(bc)", "ac.max(ad).max", "ac.max(ad)", "ac.max", "ac", "ad", "bc", "bd", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n BigInteger ac = BigInteger.valueOf(a * c);\n BigInteger ad = BigInteger.valueOf(a * d);\n BigInteger bc = BigInteger.valueOf(b * c);\n BigInteger bd = BigInteger.valueOf(b * d);\n\n System.out.println(ac.max(ad).max(bc).max(bd));\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long a = sc.nextInt();\n long b = sc.nextInt();\n long c = sc.nextInt();\n long d = sc.nextInt();\n\n BigInteger ac = BigInteger.valueOf(a * c);\n BigInteger ad = BigInteger.valueOf(a * d);\n BigInteger bc = BigInteger.valueOf(b * c);\n BigInteger bd = BigInteger.valueOf(b * d);\n\n System.out.println(ac.max(ad).max(bc).max(bd));\n }\n}", "Main" ]
import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long a = sc.nextInt(); long b = sc.nextInt(); long c = sc.nextInt(); long d = sc.nextInt(); BigInteger ac = BigInteger.valueOf(a * c); BigInteger ad = BigInteger.valueOf(a * d); BigInteger bc = BigInteger.valueOf(b * c); BigInteger bd = BigInteger.valueOf(b * d); System.out.println(ac.max(ad).max(bc).max(bd)); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 4, 18, 13, 2, 13, 13, 2, 13, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 142, 8 ], [ 142, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 11, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 43, 49 ], [ 49, 50 ], [ 49, 51 ], [ 40, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 9, 61 ], [ 61, 62 ], [ 142, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 79, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 73, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 63, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 63, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 110, 118 ], [ 118, 119 ], [ 119, 120 ], [ 110, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 105, 128 ], [ 128, 129 ], [ 103, 130 ], [ 130, 131 ], [ 63, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 139, 140 ], [ 0, 141 ], [ 141, 142 ], [ 141, 143 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tFastScanner in = new FastScanner();\n\t\tlong a=in.nextInt();\n\t\tlong b=in.nextInt();\n\t\tlong c=in.nextInt();\n\t\tlong d=in.nextInt();\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}\n\n\t///////////////////////////\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] nextArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tFastScanner in = new FastScanner();\n\t\tlong a=in.nextInt();\n\t\tlong b=in.nextInt();\n\t\tlong c=in.nextInt();\n\t\tlong d=in.nextInt();\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}\n\n\t///////////////////////////\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] nextArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tFastScanner in = new FastScanner();\n\t\tlong a=in.nextInt();\n\t\tlong b=in.nextInt();\n\t\tlong c=in.nextInt();\n\t\tlong d=in.nextInt();\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}", "main", "{\n\t\tFastScanner in = new FastScanner();\n\t\tlong a=in.nextInt();\n\t\tlong b=in.nextInt();\n\t\tlong c=in.nextInt();\n\t\tlong d=in.nextInt();\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}", "FastScanner in = new FastScanner();", "in", "new FastScanner()", "long a=in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "long b=in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "long c=in.nextInt();", "c", "in.nextInt()", "in.nextInt", "in", "long d=in.nextInt();", "d", "in.nextInt()", "in.nextInt", "in", "System.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)))", "System.out.println", "System.out", "System", "System.out", "Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c))", "Math.max", "Math", "Math.max(a*c, b*d)", "Math.max", "Math", "a*c", "a", "c", "b*d", "b", "d", "Math.max(a*d, b*c)", "Math.max", "Math", "a*d", "a", "d", "b*c", "b", "c", "String args[]", "args", "static class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] nextArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}", "FastScanner", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}", "while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "int[] nextArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "nextArray", "{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tFastScanner in = new FastScanner();\n\t\tlong a=in.nextInt();\n\t\tlong b=in.nextInt();\n\t\tlong c=in.nextInt();\n\t\tlong d=in.nextInt();\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}\n\n\t///////////////////////////\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] nextArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tFastScanner in = new FastScanner();\n\t\tlong a=in.nextInt();\n\t\tlong b=in.nextInt();\n\t\tlong c=in.nextInt();\n\t\tlong d=in.nextInt();\n\t\tSystem.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c)));\n\t}\n\n\t///////////////////////////\n\tstatic class FastScanner {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tint[] nextArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String args[]) { FastScanner in = new FastScanner(); long a=in.nextInt(); long b=in.nextInt(); long c=in.nextInt(); long d=in.nextInt(); System.out.println(Math.max(Math.max(a*c, b*d), Math.max(a*d, b*c))); } /////////////////////////// static class FastScanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); String next() { while (!st.hasMoreTokens()) try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } int[] nextArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } long nextLong() { return Long.parseLong(next()); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 2, 2, 18, 13, 17, 17, 18, 13, 17, 41, 13, 2, 2, 18, 13, 17, 17, 18, 13, 17, 41, 13, 2, 2, 18, 13, 17, 17, 18, 13, 17, 41, 13, 2, 2, 18, 13, 17, 17, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 104, 8 ], [ 104, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 19, 24 ], [ 24, 25 ], [ 24, 26 ], [ 19, 27 ], [ 27, 28 ], [ 28, 29 ], [ 19, 30 ], [ 31, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 11, 61 ], [ 61, 62 ], [ 61, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 11, 72 ], [ 72, 73 ], [ 72, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 11, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 91, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 96, 100 ], [ 9, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t Scanner sc=new Scanner(System.in);\n\t int[] arr=new int[4];\n\t for(int i=0;i<4;i++) {\n\t \tarr[i]=sc.nextInt();\n\t }\n\t\tlong val1=arr[0]*1l*arr[2];\n\t\tlong val2=arr[0]*1l*arr[3];\n\t\tlong val3=arr[1]*1l*arr[2];\n\t\tlong val4=arr[1]*1l*arr[3];\n\t\tSystem.out.println(Math.max(Math.max(val1, val2), Math.max(val3, val4)));\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t Scanner sc=new Scanner(System.in);\n\t int[] arr=new int[4];\n\t for(int i=0;i<4;i++) {\n\t \tarr[i]=sc.nextInt();\n\t }\n\t\tlong val1=arr[0]*1l*arr[2];\n\t\tlong val2=arr[0]*1l*arr[3];\n\t\tlong val3=arr[1]*1l*arr[2];\n\t\tlong val4=arr[1]*1l*arr[3];\n\t\tSystem.out.println(Math.max(Math.max(val1, val2), Math.max(val3, val4)));\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t Scanner sc=new Scanner(System.in);\n\t int[] arr=new int[4];\n\t for(int i=0;i<4;i++) {\n\t \tarr[i]=sc.nextInt();\n\t }\n\t\tlong val1=arr[0]*1l*arr[2];\n\t\tlong val2=arr[0]*1l*arr[3];\n\t\tlong val3=arr[1]*1l*arr[2];\n\t\tlong val4=arr[1]*1l*arr[3];\n\t\tSystem.out.println(Math.max(Math.max(val1, val2), Math.max(val3, val4)));\n\t}", "main", "{\n\t Scanner sc=new Scanner(System.in);\n\t int[] arr=new int[4];\n\t for(int i=0;i<4;i++) {\n\t \tarr[i]=sc.nextInt();\n\t }\n\t\tlong val1=arr[0]*1l*arr[2];\n\t\tlong val2=arr[0]*1l*arr[3];\n\t\tlong val3=arr[1]*1l*arr[2];\n\t\tlong val4=arr[1]*1l*arr[3];\n\t\tSystem.out.println(Math.max(Math.max(val1, val2), Math.max(val3, val4)));\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[] arr=new int[4];", "arr", "new int[4]", "4", "for(int i=0;i<4;i++) {\n\t \tarr[i]=sc.nextInt();\n\t }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n\t \tarr[i]=sc.nextInt();\n\t }", "{\n\t \tarr[i]=sc.nextInt();\n\t }", "arr[i]=sc.nextInt()", "arr[i]", "arr", "i", "sc.nextInt()", "sc.nextInt", "sc", "long val1=arr[0]*1l*arr[2];", "val1", "arr[0]*1l*arr[2]", "arr[0]*1l*arr[2]", "arr[0]", "arr", "0", "1l", "arr[2]", "arr", "2", "long val2=arr[0]*1l*arr[3];", "val2", "arr[0]*1l*arr[3]", "arr[0]*1l*arr[3]", "arr[0]", "arr", "0", "1l", "arr[3]", "arr", "3", "long val3=arr[1]*1l*arr[2];", "val3", "arr[1]*1l*arr[2]", "arr[1]*1l*arr[2]", "arr[1]", "arr", "1", "1l", "arr[2]", "arr", "2", "long val4=arr[1]*1l*arr[3];", "val4", "arr[1]*1l*arr[3]", "arr[1]*1l*arr[3]", "arr[1]", "arr", "1", "1l", "arr[3]", "arr", "3", "System.out.println(Math.max(Math.max(val1, val2), Math.max(val3, val4)))", "System.out.println", "System.out", "System", "System.out", "Math.max(Math.max(val1, val2), Math.max(val3, val4))", "Math.max", "Math", "Math.max(val1, val2)", "Math.max", "Math", "val1", "val2", "Math.max(val3, val4)", "Math.max", "Math", "val3", "val4", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t Scanner sc=new Scanner(System.in);\n\t int[] arr=new int[4];\n\t for(int i=0;i<4;i++) {\n\t \tarr[i]=sc.nextInt();\n\t }\n\t\tlong val1=arr[0]*1l*arr[2];\n\t\tlong val2=arr[0]*1l*arr[3];\n\t\tlong val3=arr[1]*1l*arr[2];\n\t\tlong val4=arr[1]*1l*arr[3];\n\t\tSystem.out.println(Math.max(Math.max(val1, val2), Math.max(val3, val4)));\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t Scanner sc=new Scanner(System.in);\n\t int[] arr=new int[4];\n\t for(int i=0;i<4;i++) {\n\t \tarr[i]=sc.nextInt();\n\t }\n\t\tlong val1=arr[0]*1l*arr[2];\n\t\tlong val2=arr[0]*1l*arr[3];\n\t\tlong val3=arr[1]*1l*arr[2];\n\t\tlong val4=arr[1]*1l*arr[3];\n\t\tSystem.out.println(Math.max(Math.max(val1, val2), Math.max(val3, val4)));\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException{ Scanner sc=new Scanner(System.in); int[] arr=new int[4]; for(int i=0;i<4;i++) { arr[i]=sc.nextInt(); } long val1=arr[0]*1l*arr[2]; long val2=arr[0]*1l*arr[3]; long val3=arr[1]*1l*arr[2]; long val4=arr[1]*1l*arr[3]; System.out.println(Math.max(Math.max(val1, val2), Math.max(val3, val4))); } }