node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 41, 13, 20, 41, 13, 17, 42, 17, 30, 0, 18, 13, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 17, 14, 2, 18, 13, 13, 17, 30, 3, 40, 13, 0, 13, 17, 42, 2, 18, 13, 13, 17, 30, 35, 18, 13, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 3, 40, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 155, 8 ], [ 155, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 16 ], [ 16, 17 ], [ 16, 18 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 34, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 34, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 34, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 34, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 34, 70 ], [ 70, 71 ], [ 11, 72 ], [ 72, 73 ], [ 72, 74 ], [ 11, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 75, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 88, 101 ], [ 82, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 114, 116 ], [ 104, 117 ], [ 82, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 130, 132 ], [ 120, 133 ], [ 82, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 146, 148 ], [ 136, 149 ], [ 81, 150 ], [ 150, 151 ], [ 9, 152 ], [ 152, 153 ], [ 0, 154 ], [ 154, 155 ], [ 154, 156 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\n \t\tint[] left = new int[1000];\n \t\tint[] right = new int[1000];\n \t\tchar[] sign = new char[1000];\n \t\t\n \t\tString buffer;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile(true){\n\n\t\t\tleft[i] = scan.nextInt();\n\t\t\tbuffer = scan.next();\n\t\t\tright[i] = scan.nextInt();\n\t\t\tsign[i] = buffer.charAt(0);\n\t\t\tif(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t\t\n\t\t}\n\n\t\ti = 0;\n\t\t\n\t\twhile(sign[i] != '?'){\n\n\t\t\tswitch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\n\t\t}\n\n\n\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main{\n\tpublic static void main(String[] args){\n\n \t\tint[] left = new int[1000];\n \t\tint[] right = new int[1000];\n \t\tchar[] sign = new char[1000];\n \t\t\n \t\tString buffer;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile(true){\n\n\t\t\tleft[i] = scan.nextInt();\n\t\t\tbuffer = scan.next();\n\t\t\tright[i] = scan.nextInt();\n\t\t\tsign[i] = buffer.charAt(0);\n\t\t\tif(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t\t\n\t\t}\n\n\t\ti = 0;\n\t\t\n\t\twhile(sign[i] != '?'){\n\n\t\t\tswitch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\n\t\t}\n\n\n\n\t}\n}", "Main", "public static void main(String[] args){\n\n \t\tint[] left = new int[1000];\n \t\tint[] right = new int[1000];\n \t\tchar[] sign = new char[1000];\n \t\t\n \t\tString buffer;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile(true){\n\n\t\t\tleft[i] = scan.nextInt();\n\t\t\tbuffer = scan.next();\n\t\t\tright[i] = scan.nextInt();\n\t\t\tsign[i] = buffer.charAt(0);\n\t\t\tif(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t\t\n\t\t}\n\n\t\ti = 0;\n\t\t\n\t\twhile(sign[i] != '?'){\n\n\t\t\tswitch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\n\t\t}\n\n\n\n\t}", "main", "{\n\n \t\tint[] left = new int[1000];\n \t\tint[] right = new int[1000];\n \t\tchar[] sign = new char[1000];\n \t\t\n \t\tString buffer;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile(true){\n\n\t\t\tleft[i] = scan.nextInt();\n\t\t\tbuffer = scan.next();\n\t\t\tright[i] = scan.nextInt();\n\t\t\tsign[i] = buffer.charAt(0);\n\t\t\tif(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t\t\n\t\t}\n\n\t\ti = 0;\n\t\t\n\t\twhile(sign[i] != '?'){\n\n\t\t\tswitch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\n\t\t}\n\n\n\n\t}", "int[] left = new int[1000];", "left", "new int[1000]", "1000", "int[] right = new int[1000];", "right", "new int[1000]", "1000", "char[] sign = new char[1000];", "sign", "new char[1000]", "1000", "String buffer;", "buffer", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int i = 0;", "i", "0", "while(true){\n\n\t\t\tleft[i] = scan.nextInt();\n\t\t\tbuffer = scan.next();\n\t\t\tright[i] = scan.nextInt();\n\t\t\tsign[i] = buffer.charAt(0);\n\t\t\tif(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t\t\n\t\t}", "true", "{\n\n\t\t\tleft[i] = scan.nextInt();\n\t\t\tbuffer = scan.next();\n\t\t\tright[i] = scan.nextInt();\n\t\t\tsign[i] = buffer.charAt(0);\n\t\t\tif(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t\t\n\t\t}", "left[i] = scan.nextInt()", "left[i]", "left", "i", "scan.nextInt()", "scan.nextInt", "scan", "buffer = scan.next()", "buffer", "scan.next()", "scan.next", "scan", "right[i] = scan.nextInt()", "right[i]", "right", "i", "scan.nextInt()", "scan.nextInt", "scan", "sign[i] = buffer.charAt(0)", "sign[i]", "sign", "i", "buffer.charAt(0)", "buffer.charAt", "buffer", "0", "if(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}", "sign[i] == '?'", "sign[i]", "sign", "i", "'?'", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "i++", "i", "i = 0", "i", "0", "while(sign[i] != '?'){\n\n\t\t\tswitch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\n\t\t}", "sign[i] != '?'", "sign[i]", "sign", "i", "'?'", "{\n\n\t\t\tswitch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\n\t\t}", "switch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}", "sign[i]", "sign", "i", "case '+':", "'+'", "case '+':", "System.out.println(left[i]+right[i])", "System.out.println", "System.out", "System", "System.out", "left[i]+right[i]", "left[i]", "left", "i", "right[i]", "right", "i", "break;", "case '-':", "'-'", "case '-':", "System.out.println(left[i]-right[i])", "System.out.println", "System.out", "System", "System.out", "left[i]-right[i]", "left[i]", "left", "i", "right[i]", "right", "i", "break;", "case '*':", "'*'", "case '*':", "System.out.println(left[i]*right[i])", "System.out.println", "System.out", "System", "System.out", "left[i]*right[i]", "left[i]", "left", "i", "right[i]", "right", "i", "break;", "case '/':", "'/'", "case '/':", "System.out.println(left[i]/right[i])", "System.out.println", "System.out", "System", "System.out", "left[i]/right[i]", "left[i]", "left", "i", "right[i]", "right", "i", "break;", "i++", "i", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\n \t\tint[] left = new int[1000];\n \t\tint[] right = new int[1000];\n \t\tchar[] sign = new char[1000];\n \t\t\n \t\tString buffer;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile(true){\n\n\t\t\tleft[i] = scan.nextInt();\n\t\t\tbuffer = scan.next();\n\t\t\tright[i] = scan.nextInt();\n\t\t\tsign[i] = buffer.charAt(0);\n\t\t\tif(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t\t\n\t\t}\n\n\t\ti = 0;\n\t\t\n\t\twhile(sign[i] != '?'){\n\n\t\t\tswitch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\n\t\t}\n\n\n\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\n \t\tint[] left = new int[1000];\n \t\tint[] right = new int[1000];\n \t\tchar[] sign = new char[1000];\n \t\t\n \t\tString buffer;\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\twhile(true){\n\n\t\t\tleft[i] = scan.nextInt();\n\t\t\tbuffer = scan.next();\n\t\t\tright[i] = scan.nextInt();\n\t\t\tsign[i] = buffer.charAt(0);\n\t\t\tif(sign[i] == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t\t\n\t\t}\n\n\t\ti = 0;\n\t\t\n\t\twhile(sign[i] != '?'){\n\n\t\t\tswitch(sign[i]){\n\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(left[i]+right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(left[i]-right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(left[i]*right[i]);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\n\t\t\t\t\tSystem.out.println(left[i]/right[i]);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\n\t\t}\n\n\n\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; public class Main{ public static void main(String[] args){ int[] left = new int[1000]; int[] right = new int[1000]; char[] sign = new char[1000]; String buffer; Scanner scan = new Scanner(System.in); int i = 0; while(true){ left[i] = scan.nextInt(); buffer = scan.next(); right[i] = scan.nextInt(); sign[i] = buffer.charAt(0); if(sign[i] == '?'){ break; } i++; } i = 0; while(sign[i] != '?'){ switch(sign[i]){ case '+': System.out.println(left[i]+right[i]); break; case '-': System.out.println(left[i]-right[i]); break; case '*': System.out.println(left[i]*right[i]); break; case '/': System.out.println(left[i]/right[i]); break; } i++; } } }
[ 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, 17, 41, 13, 17, 41, 13, 17, 42, 40, 4, 18, 18, 13, 17, 17, 30, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 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 ], [ 147, 11 ], [ 147, 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 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 43, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 43, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 60, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 60, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 76, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 76, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 92, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 92, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 43, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 43, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 43, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 133, 134 ], [ 133, 135 ], [ 43, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 141, 142 ], [ 141, 143 ], [ 12, 144 ], [ 144, 145 ], [ 0, 146 ], [ 146, 147 ], [ 146, 148 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile(!strArray[1].equals(\"?\")){\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t\tif(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t\tstrArray = str.split(\" \");\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile(!strArray[1].equals(\"?\")){\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t\tif(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t\tstrArray = str.split(\" \");\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile(!strArray[1].equals(\"?\")){\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t\tif(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t\tstrArray = str.split(\" \");\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile(!strArray[1].equals(\"?\")){\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t\tif(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t\tstrArray = str.split(\" \");\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String strArray[] = str.split(\" \");", "strArray", "str.split(\" \")", "str.split", "str", "\" \"", "int a = 0;", "a", "0", "int b = 0;", "b", "0", "while(!strArray[1].equals(\"?\")){\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t\tif(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t\tstrArray = str.split(\" \");\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t}", "!strArray[1].equals(\"?\")", "strArray[1].equals(\"?\")", "strArray[1].equals", "strArray[1]", "strArray", "1", "\"?\"", "{\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t\tif(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t\tstrArray = str.split(\" \");\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t}", "a = Integer.parseInt(strArray[0])", "a", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "b = Integer.parseInt(strArray[2])", "b", "Integer.parseInt(strArray[2])", "Integer.parseInt", "Integer", "strArray[2]", "strArray", "2", "if(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}", "strArray[1].equals(\"+\")", "strArray[1].equals", "strArray[1]", "strArray", "1", "\"+\"", "{\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}", "strArray[1].equals(\"-\")", "strArray[1].equals", "strArray[1]", "strArray", "1", "\"-\"", "{\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}", "strArray[1].equals(\"*\")", "strArray[1].equals", "strArray[1]", "strArray", "1", "\"*\"", "{\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}", "System.out.println((int)(a / b))", "System.out.println", "System.out", "System", "System.out", "(int)(a / b)", "a", "b", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "strArray = str.split(\" \")", "strArray", "str.split(\" \")", "str.split", "str", "\" \"", "a = Integer.parseInt(strArray[0])", "a", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "b = Integer.parseInt(strArray[2])", "b", "Integer.parseInt(strArray[2])", "Integer.parseInt", "Integer", "strArray[2]", "strArray", "2", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile(!strArray[1].equals(\"?\")){\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t\tif(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t\tstrArray = str.split(\" \");\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\t\tint a = 0;\n\t\tint b = 0;\n\t\twhile(!strArray[1].equals(\"?\")){\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t\tif(strArray[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(strArray[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(strArray[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else{\n\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t\tstrArray = str.split(\" \");\n\t\t\ta = Integer.parseInt(strArray[0]);\n\t\t\tb = Integer.parseInt(strArray[2]);\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String strArray[] = str.split(" "); int a = 0; int b = 0; while(!strArray[1].equals("?")){ a = Integer.parseInt(strArray[0]); b = Integer.parseInt(strArray[2]); if(strArray[1].equals("+")){ System.out.println(a + b); }else if(strArray[1].equals("-")){ System.out.println(a - b); }else if(strArray[1].equals("*")){ System.out.println(a * b); }else{ System.out.println((int)(a / b)); } str = br.readLine(); strArray = str.split(" "); a = Integer.parseInt(strArray[0]); b = Integer.parseInt(strArray[2]); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 18, 13, 4, 13, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 3, 4, 18, 13, 17, 4, 18, 18, 13, 13, 13, 4, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 30, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 135, 5 ], [ 135, 6 ], [ 6, 7 ], [ 6, 8 ], [ 135, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 17, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 17, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 36, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 48, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 60, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 81, 82 ], [ 81, 83 ], [ 72, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 93, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 89, 101 ], [ 17, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 11, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 11, 112 ], [ 112, 113 ], [ 9, 114 ], [ 114, 115 ], [ 135, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 135, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint a = Integer.parseInt(input());\n\t\t\tString op = input();\n\t\t\tint b = Integer.parseInt(input());\n\n\t\t\tif (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.next();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint a = Integer.parseInt(input());\n\t\t\tString op = input();\n\t\t\tint b = Integer.parseInt(input());\n\n\t\t\tif (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.next();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "Main", "public static Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "public static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint a = Integer.parseInt(input());\n\t\t\tString op = input();\n\t\t\tint b = Integer.parseInt(input());\n\n\t\t\tif (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\t\tclose();\n\n\t}", "main", "{\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint a = Integer.parseInt(input());\n\t\t\tString op = input();\n\t\t\tint b = Integer.parseInt(input());\n\n\t\t\tif (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\t\tclose();\n\n\t}", "StringBuilder output = new StringBuilder();", "output", "new StringBuilder()", "while (true) {\n\n\t\t\tint a = Integer.parseInt(input());\n\t\t\tString op = input();\n\t\t\tint b = Integer.parseInt(input());\n\n\t\t\tif (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}", "true", "{\n\n\t\t\tint a = Integer.parseInt(input());\n\t\t\tString op = input();\n\t\t\tint b = Integer.parseInt(input());\n\n\t\t\tif (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}", "int a = Integer.parseInt(input());", "a", "Integer.parseInt(input())", "Integer.parseInt", "Integer", "input()", "input", "String op = input();", "op", "input()", "input", "int b = Integer.parseInt(input());", "b", "Integer.parseInt(input())", "Integer.parseInt", "Integer", "input()", "input", "if (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t}", "output.append(a + b)", "output.append", "output", "a + b", "a", "b", "if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t}", "output.append(a - b)", "output.append", "output", "a - b", "a", "b", "if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}", "output.append(a * b)", "output.append", "output", "a * b", "a", "b", "if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t}", "output.append(a / b)", "output.append", "output", "a / b", "a", "b", "if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}", "output.delete(output.length() - 1, output.length())", "output.delete", "output", "output.length() - 1", "output.length()", "output.length", "output", "1", "output.length()", "output.length", "output", "break;", "output.append(\"\\n\")", "output.append", "output", "\"\\n\"", "System.out.println(output)", "System.out.println", "System.out", "System", "System.out", "output", "close()", "close", "String[] args", "args", "public static String input() {\n\n\t\treturn scanner.next();\n\n\t}", "input", "{\n\n\t\treturn scanner.next();\n\n\t}", "return scanner.next();", "scanner.next()", "scanner.next", "scanner", "public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}", "close", "{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}", "if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}", "scanner != null", "scanner", "null", "{\n\n\t\t\tscanner.close();\n\n\t\t}", "scanner.close()", "scanner.close", "scanner", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint a = Integer.parseInt(input());\n\t\t\tString op = input();\n\t\t\tint b = Integer.parseInt(input());\n\n\t\t\tif (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.next();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint a = Integer.parseInt(input());\n\t\t\tString op = input();\n\t\t\tint b = Integer.parseInt(input());\n\n\t\t\tif (op.equals(\"+\")) {\n\n\t\t\t\toutput.append(a + b);\n\n\t\t\t} else if (op.equals(\"-\")) {\n\n\t\t\t\toutput.append(a - b);\n\n\t\t\t} else if (op.equals(\"*\")) {\n\n\t\t\t\toutput.append(a * b);\n\n\t\t\t}else if (op.equals(\"/\")) {\n\n\t\t\t\toutput.append(a / b);\n\n\t\t\t} else if (op.equals(\"?\")) {\n\n\t\t\t\toutput.delete(output.length() - 1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.next();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static Scanner scanner = new Scanner(System.in); public static void main(String[] args) { StringBuilder output = new StringBuilder(); while (true) { int a = Integer.parseInt(input()); String op = input(); int b = Integer.parseInt(input()); if (op.equals("+")) { output.append(a + b); } else if (op.equals("-")) { output.append(a - b); } else if (op.equals("*")) { output.append(a * b); }else if (op.equals("/")) { output.append(a / b); } else if (op.equals("?")) { output.delete(output.length() - 1, output.length()); break; } output.append("\n"); } System.out.println(output); close(); } public static String input() { return scanner.next(); } public static void close() { if (scanner != null) { scanner.close(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 14, 4, 18, 4, 18, 13, 13, 17, 3, 11, 1, 41, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 4, 18, 13, 13, 17, 3, 14, 4, 18, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 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 ], [ 177, 11 ], [ 177, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 33, 34 ], [ 27, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 36, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 36, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 59, 65 ], [ 58, 66 ], [ 14, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 67, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 78, 84 ], [ 77, 85 ], [ 76, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 87, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 76, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 109, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 121, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 76, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 131, 137 ], [ 130, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 143, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 76, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 153, 159 ], [ 152, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 165, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 12, 174 ], [ 174, 175 ], [ 0, 176 ], [ 176, 177 ], [ 176, 178 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tList<Integer> b = new ArrayList<Integer>();\n\t\tList<String> op = new ArrayList<String>();\n\n\t\t for(int i=0;;i++){\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }\n\n\n\n\t\t for(int i=0;;i++){\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }\n\t\t //System.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}\n\n}", "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\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tList<Integer> b = new ArrayList<Integer>();\n\t\tList<String> op = new ArrayList<String>();\n\n\t\t for(int i=0;;i++){\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }\n\n\n\n\t\t for(int i=0;;i++){\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }\n\t\t //System.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tList<Integer> b = new ArrayList<Integer>();\n\t\tList<String> op = new ArrayList<String>();\n\n\t\t for(int i=0;;i++){\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }\n\n\n\n\t\t for(int i=0;;i++){\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }\n\t\t //System.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tList<Integer> b = new ArrayList<Integer>();\n\t\tList<String> op = new ArrayList<String>();\n\n\t\t for(int i=0;;i++){\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }\n\n\n\n\t\t for(int i=0;;i++){\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }\n\t\t //System.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "List<Integer> a = new ArrayList<Integer>();", "a", "new ArrayList<Integer>()", "List<Integer> b = new ArrayList<Integer>();", "b", "new ArrayList<Integer>()", "List<String> op = new ArrayList<String>();", "op", "new ArrayList<String>()", "for(int i=0;;i++){\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }", "int i=0;", "int i=0;", "i", "0", "i++", "i++", "i", "{\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }", "{\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }", "a.add(i, scan.nextInt())", "a.add", "a", "i", "scan.nextInt()", "scan.nextInt", "scan", "op.add(i, scan.next())", "op.add", "op", "i", "scan.next()", "scan.next", "scan", "b.add(i, scan.nextInt())", "b.add", "b", "i", "scan.nextInt()", "scan.nextInt", "scan", "if(op.get(i).equals(\"?\")) break;", "op.get(i).equals(\"?\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"?\"", "break;", "for(int i=0;;i++){\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }", "int i=0;", "int i=0;", "i", "0", "i++", "i++", "i", "{\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }", "{\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }", "if(op.get(i).equals(\"?\")) break;", "op.get(i).equals(\"?\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"?\"", "break;", "if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));", "op.get(i).equals(\"+\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"+\"", "System.out.println(a.get(i)+b.get(i))", "System.out.println", "System.out", "System", "System.out", "a.get(i)+b.get(i)", "a.get(i)", "a.get", "a", "i", "b.get(i)", "b.get", "b", "i", "if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));", "op.get(i).equals(\"-\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"-\"", "System.out.println(a.get(i)-b.get(i))", "System.out.println", "System.out", "System", "System.out", "a.get(i)-b.get(i)", "a.get(i)", "a.get", "a", "i", "b.get(i)", "b.get", "b", "i", "if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));", "op.get(i).equals(\"*\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"*\"", "System.out.println(a.get(i)*b.get(i))", "System.out.println", "System.out", "System", "System.out", "a.get(i)*b.get(i)", "a.get(i)", "a.get", "a", "i", "b.get(i)", "b.get", "b", "i", "if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));", "op.get(i).equals(\"/\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"/\"", "System.out.println(a.get(i)/b.get(i))", "System.out.println", "System.out", "System", "System.out", "a.get(i)/b.get(i)", "a.get(i)", "a.get", "a", "i", "b.get(i)", "b.get", "b", "i", "String[] args", "args", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tList<Integer> b = new ArrayList<Integer>();\n\t\tList<String> op = new ArrayList<String>();\n\n\t\t for(int i=0;;i++){\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }\n\n\n\n\t\t for(int i=0;;i++){\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }\n\t\t //System.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}\n\n}", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tList<Integer> b = new ArrayList<Integer>();\n\t\tList<String> op = new ArrayList<String>();\n\n\t\t for(int i=0;;i++){\n\t\t\t a.add(i, scan.nextInt());\n\t\t\t op.add(i, scan.next());\n\t\t\t b.add(i, scan.nextInt());\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t }\n\n\n\n\t\t for(int i=0;;i++){\n\t\t\t if(op.get(i).equals(\"?\")) break;\n\t\t\t if(op.get(i).equals(\"+\")) System.out.println(a.get(i)+b.get(i));\n\t\t\t if(op.get(i).equals(\"-\")) System.out.println(a.get(i)-b.get(i));\n\t\t\t if(op.get(i).equals(\"*\")) System.out.println(a.get(i)*b.get(i));\n\t\t\t if(op.get(i).equals(\"/\")) System.out.println(a.get(i)/b.get(i));\n\t\t }\n\t\t //System.out.println(df.format(s)+\" \"+df.format(a));\n\n\t}\n\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); List<Integer> a = new ArrayList<Integer>(); List<Integer> b = new ArrayList<Integer>(); List<String> op = new ArrayList<String>(); for(int i=0;;i++){ a.add(i, scan.nextInt()); op.add(i, scan.next()); b.add(i, scan.nextInt()); if(op.get(i).equals("?")) break; } for(int i=0;;i++){ if(op.get(i).equals("?")) break; if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i)); if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i)); if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i)); if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i)); } //System.out.println(df.format(s)+" "+df.format(a)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 3, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 104, 5 ], [ 104, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 30, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 44, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 58, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 72, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 104, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 92, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint a =scanner.nextInt();\n\t\t\tString op =scanner.next();\n\t\t\tint b =scanner.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break; \n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint a =scanner.nextInt();\n\t\t\tString op =scanner.next();\n\t\t\tint b =scanner.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break; \n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}", "Main", "private void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint a =scanner.nextInt();\n\t\t\tString op =scanner.next();\n\t\t\tint b =scanner.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break; \n\t\t}\n\t}", "calc", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint a =scanner.nextInt();\n\t\t\tString op =scanner.next();\n\t\t\tint b =scanner.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break; \n\t\t}\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "while(true){\n\t\t\tint a =scanner.nextInt();\n\t\t\tString op =scanner.next();\n\t\t\tint b =scanner.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break; \n\t\t}", "true", "{\n\t\t\tint a =scanner.nextInt();\n\t\t\tString op =scanner.next();\n\t\t\tint b =scanner.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break; \n\t\t}", "int a =scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "String op =scanner.next();", "op", "scanner.next()", "scanner.next", "scanner", "int b =scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break;", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break;", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break;", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break;", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "if(op.equals(\"?\"))break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "public static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}", "main", "{\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}", "Main run =new Main();", "run", "new Main()", "run.calc()", "run.calc", "run", "String[] args", "args", "public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint a =scanner.nextInt();\n\t\t\tString op =scanner.next();\n\t\t\tint b =scanner.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break; \n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}", "public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint a =scanner.nextInt();\n\t\t\tString op =scanner.next();\n\t\t\tint b =scanner.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\"))break; \n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { private void calc(){ Scanner scanner = new Scanner(System.in); while(true){ int a =scanner.nextInt(); String op =scanner.next(); int b =scanner.nextInt(); if(op.equals("+")){ System.out.println(a+b); }else if(op.equals("-")){ System.out.println(a-b); }else if(op.equals("*")){ System.out.println(a*b); }else if(op.equals("/")){ System.out.println(a/b); }else if(op.equals("?"))break; } } public static void main(String[] args) { Main run =new Main(); run.calc(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 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 ], [ 120, 5 ], [ 120, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 27, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 27, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 27, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 27, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 27, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 60, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 67, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 78, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 89, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 89, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 100, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 27, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 6, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint a;\n\t\tString op;\n\t\tint b;\n\t\tint ans = 0;//解答\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\ta = Integer.parseInt(strs[0]);\n\t\t\top = strs[1];\n\t\t\tb = Integer.parseInt(strs[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if\n\t\t\tSystem.out.println(ans);\n\t\t}//while\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint a;\n\t\tString op;\n\t\tint b;\n\t\tint ans = 0;//解答\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\ta = Integer.parseInt(strs[0]);\n\t\t\top = strs[1];\n\t\t\tb = Integer.parseInt(strs[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if\n\t\t\tSystem.out.println(ans);\n\t\t}//while\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint a;\n\t\tString op;\n\t\tint b;\n\t\tint ans = 0;//解答\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\ta = Integer.parseInt(strs[0]);\n\t\t\top = strs[1];\n\t\t\tb = Integer.parseInt(strs[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if\n\t\t\tSystem.out.println(ans);\n\t\t}//while\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint a;\n\t\tString op;\n\t\tint b;\n\t\tint ans = 0;//解答\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\ta = Integer.parseInt(strs[0]);\n\t\t\top = strs[1];\n\t\t\tb = Integer.parseInt(strs[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if\n\t\t\tSystem.out.println(ans);\n\t\t}//while\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str;", "str", "String[] strs;", "strs", "int a;", "a", "String op;", "op", "int b;", "b", "int ans = 0;", "ans", "0", "while(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\ta = Integer.parseInt(strs[0]);\n\t\t\top = strs[1];\n\t\t\tb = Integer.parseInt(strs[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if\n\t\t\tSystem.out.println(ans);\n\t\t}//while", "true", "{\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\ta = Integer.parseInt(strs[0]);\n\t\t\top = strs[1];\n\t\t\tb = Integer.parseInt(strs[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if\n\t\t\tSystem.out.println(ans);\n\t\t}", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "strs = str.split(\" \")", "strs", "str.split(\" \")", "str.split", "str", "\" \"", "a = Integer.parseInt(strs[0])", "a", "Integer.parseInt(strs[0])", "Integer.parseInt", "Integer", "strs[0]", "strs", "0", "op = strs[1]", "op", "strs[1]", "strs", "1", "b = Integer.parseInt(strs[2])", "b", "Integer.parseInt(strs[2])", "Integer.parseInt", "Integer", "strs[2]", "strs", "2", "if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tans = a + b;\n\t\t\t}", "ans = a + b", "ans", "a + b", "a", "b", "if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tans = a - b;\n\t\t\t}", "ans = a - b", "ans", "a - b", "a", "b", "if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tans = a * b;\n\t\t\t}", "ans = a * b", "ans", "a * b", "a", "b", "if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tans = a / b;\n\t\t\t}", "ans = a / b", "ans", "a / b", "a", "b", "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) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint a;\n\t\tString op;\n\t\tint b;\n\t\tint ans = 0;//解答\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\ta = Integer.parseInt(strs[0]);\n\t\t\top = strs[1];\n\t\t\tb = Integer.parseInt(strs[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if\n\t\t\tSystem.out.println(ans);\n\t\t}//while\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint a;\n\t\tString op;\n\t\tint b;\n\t\tint ans = 0;//解答\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\ta = Integer.parseInt(strs[0]);\n\t\t\top = strs[1];\n\t\t\tb = Integer.parseInt(strs[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}else if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t}//if\n\t\t\tSystem.out.println(ans);\n\t\t}//while\n\t}\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; String[] strs; int a; String op; int b; int ans = 0;//解答 while(true){ str = br.readLine(); strs = str.split(" "); a = Integer.parseInt(strs[0]); op = strs[1]; b = Integer.parseInt(strs[2]); if(op.equals("?")){ break; }else if(op.equals("+")){ ans = a + b; }else if(op.equals("-")){ ans = a - b; }else if(op.equals("*")){ ans = a * b; }else if(op.equals("/")){ ans = a / b; }//if System.out.println(ans); }//while } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 11, 1, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 3, 41, 13, 17, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 1, 3, 4, 18, 13, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 120, 5 ], [ 120, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 18, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 18, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 18, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 35, 37 ], [ 18, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 18, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 18, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 18, 58 ], [ 58, 59 ], [ 58, 60 ], [ 18, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 61, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 74, 80 ], [ 61, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 83, 89 ], [ 61, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 92, 98 ], [ 61, 99 ], [ 99, 100 ], [ 100, 101 ], [ 18, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 8, 106 ], [ 106, 107 ], [ 106, 108 ], [ 106, 109 ], [ 110, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 6, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> answers = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}\n\n\t\tfor(int n : answers){\n\t\t\tSystem.out.println(n);\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 scan = new Scanner(System.in);\n\t\tList<Integer> answers = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}\n\n\t\tfor(int n : answers){\n\t\t\tSystem.out.println(n);\n\t\t}\n\t\t\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> answers = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}\n\n\t\tfor(int n : answers){\n\t\t\tSystem.out.println(n);\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> answers = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}\n\n\t\tfor(int n : answers){\n\t\t\tSystem.out.println(n);\n\t\t}\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "List<Integer> answers = new ArrayList<Integer>();", "answers", "new ArrayList<Integer>()", "for(;;){\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}", ";", "{\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}", "{\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}", "String line = scan.nextLine();", "line", "scan.nextLine()", "scan.nextLine", "scan", "String[] div = line.split(\"\\\\s\");", "div", "line.split(\"\\\\s\")", "line.split", "line", "\"\\\\s\"", "int a = Integer.parseInt(div[0]);", "a", "Integer.parseInt(div[0])", "Integer.parseInt", "Integer", "div[0]", "div", "0", "String op = div[1];", "op", "div[1]", "div", "1", "int b = Integer.parseInt(div[2]);", "b", "Integer.parseInt(div[2])", "Integer.parseInt", "Integer", "div[2]", "div", "2", "if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "int ans = 0;", "ans", "0", "switch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}", "op", "case \"+\" :", "\"+\"", "case \"+\" :", "ans = a + b", "ans", "a + b", "a", "b", "break;", "case \"-\" :", "\"-\"", "case \"-\" :", "ans = a - b", "ans", "a - b", "a", "b", "break;", "case \"*\" :", "\"*\"", "case \"*\" :", "ans = a * b", "ans", "a * b", "a", "b", "break;", "case \"/\" :", "\"/\"", "case \"/\" :", "ans = a / b", "ans", "a / b", "a", "b", "break;", "default :", "default :", "break;", "answers.add(ans)", "answers.add", "answers", "ans", "for(int n : answers){\n\t\t\tSystem.out.println(n);\n\t\t}", "int n", "answers", "{\n\t\t\tSystem.out.println(n);\n\t\t}", "{\n\t\t\tSystem.out.println(n);\n\t\t}", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> answers = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}\n\n\t\tfor(int n : answers){\n\t\t\tSystem.out.println(n);\n\t\t}\n\t\t\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tList<Integer> answers = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] div = line.split(\"\\\\s\");\n\t\t\tint a = Integer.parseInt(div[0]);\n\t\t\tString op = div[1];\n\t\t\tint b = Integer.parseInt(div[2]);\n\t\t\tif(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint ans = 0;\n\t\t\tswitch(op){\n\t\t\t\tcase \"+\" :\n\t\t\t\t\tans = a + b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\" :\n\t\t\t\t\tans = a - b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\" :\n\t\t\t\t\tans = a * b;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\" :\n\t\t\t\t\tans = a / b;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tanswers.add(ans);\n\t\t}\n\n\t\tfor(int n : answers){\n\t\t\tSystem.out.println(n);\n\t\t}\n\t\t\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); List<Integer> answers = new ArrayList<Integer>(); for(;;){ String line = scan.nextLine(); String[] div = line.split("\\s"); int a = Integer.parseInt(div[0]); String op = div[1]; int b = Integer.parseInt(div[2]); if(op.equals("?")){ break; } int ans = 0; switch(op){ case "+" : ans = a + b; break; case "-" : ans = a - b; break; case "*" : ans = a * b; break; case "/" : ans = a / b; break; default : break; } answers.add(ans); } for(int n : answers){ System.out.println(n); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 41, 13, 20, 17, 41, 13, 17, 42, 17, 30, 0, 18, 13, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 14, 2, 13, 17, 3, 30, 35, 13, 34, 17, 1, 0, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 17, 1, 0, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 17, 1, 0, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 17, 1, 0, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 3, 40, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 150, 5 ], [ 150, 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 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 31, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 31, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 31, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 31, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 67, 79 ], [ 63, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 91, 93 ], [ 82, 94 ], [ 63, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 106, 108 ], [ 97, 109 ], [ 63, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 121, 123 ], [ 112, 124 ], [ 62, 125 ], [ 125, 126 ], [ 8, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 127, 135 ], [ 135, 136 ], [ 136, 137 ], [ 127, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 6, 147 ], [ 147, 148 ], [ 0, 149 ], [ 149, 150 ], [ 149, 151 ] ]
[ "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\n\t\tint a[]=new int[20000];\n\t\tint b[]=new int[20000];\n\t\tString op1;\n\t\tint val[]=new int[20000];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ta[i]=sc.nextInt();\n\t\t\top1=sc.next();\n\t\t\tb[i]=sc.nextInt();\n\n\t\t\tchar op2=op1.charAt(0);\n\n\t\t\tif(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(val[j]);\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\n\t\tint a[]=new int[20000];\n\t\tint b[]=new int[20000];\n\t\tString op1;\n\t\tint val[]=new int[20000];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ta[i]=sc.nextInt();\n\t\t\top1=sc.next();\n\t\t\tb[i]=sc.nextInt();\n\n\t\t\tchar op2=op1.charAt(0);\n\n\t\t\tif(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(val[j]);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint a[]=new int[20000];\n\t\tint b[]=new int[20000];\n\t\tString op1;\n\t\tint val[]=new int[20000];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ta[i]=sc.nextInt();\n\t\t\top1=sc.next();\n\t\t\tb[i]=sc.nextInt();\n\n\t\t\tchar op2=op1.charAt(0);\n\n\t\t\tif(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(val[j]);\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint a[]=new int[20000];\n\t\tint b[]=new int[20000];\n\t\tString op1;\n\t\tint val[]=new int[20000];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ta[i]=sc.nextInt();\n\t\t\top1=sc.next();\n\t\t\tb[i]=sc.nextInt();\n\n\t\t\tchar op2=op1.charAt(0);\n\n\t\t\tif(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(val[j]);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a[]=new int[20000];", "a", "new int[20000]", "20000", "int b[]=new int[20000];", "b", "new int[20000]", "20000", "String op1;", "op1", "int val[]=new int[20000];", "val", "new int[20000]", "20000", "int i=0;", "i", "0", "while(true){\n\t\t\ta[i]=sc.nextInt();\n\t\t\top1=sc.next();\n\t\t\tb[i]=sc.nextInt();\n\n\t\t\tchar op2=op1.charAt(0);\n\n\t\t\tif(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\ta[i]=sc.nextInt();\n\t\t\top1=sc.next();\n\t\t\tb[i]=sc.nextInt();\n\n\t\t\tchar op2=op1.charAt(0);\n\n\t\t\tif(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}\n\t\t}", "a[i]=sc.nextInt()", "a[i]", "a", "i", "sc.nextInt()", "sc.nextInt", "sc", "op1=sc.next()", "op1", "sc.next()", "sc.next", "sc", "b[i]=sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "char op2=op1.charAt(0);", "op2", "op1.charAt(0)", "op1.charAt", "op1", "0", "if(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}", "op2=='?'", "op2", "'?'", "break;", "{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}", "switch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}", "op2", "case '+':", "'+'", "case '+':", "val[i]=a[i]+b[i]", "val[i]", "val", "i", "a[i]+b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "break;", "case '-':", "'-'", "case '-':", "val[i]=a[i]-b[i]", "val[i]", "val", "i", "a[i]-b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "break;", "case '*':", "'*'", "case '*':", "val[i]=a[i]*b[i]", "val[i]", "val", "i", "a[i]*b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "break;", "case '/':", "'/'", "case '/':", "val[i]=a[i]/b[i]", "val[i]", "val", "i", "a[i]/b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "break;", "i++", "i", "for(int j=0;j<i;j++)\tSystem.out.println(val[j]);", "int j=0;", "int j=0;", "j", "0", "j<i", "j", "i", "j++", "j++", "j", "System.out.println(val[j]);", "System.out.println(val[j])", "System.out.println", "System.out", "System", "System.out", "val[j]", "val", "j", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint a[]=new int[20000];\n\t\tint b[]=new int[20000];\n\t\tString op1;\n\t\tint val[]=new int[20000];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ta[i]=sc.nextInt();\n\t\t\top1=sc.next();\n\t\t\tb[i]=sc.nextInt();\n\n\t\t\tchar op2=op1.charAt(0);\n\n\t\t\tif(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(val[j]);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint a[]=new int[20000];\n\t\tint b[]=new int[20000];\n\t\tString op1;\n\t\tint val[]=new int[20000];\n\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ta[i]=sc.nextInt();\n\t\t\top1=sc.next();\n\t\t\tb[i]=sc.nextInt();\n\n\t\t\tchar op2=op1.charAt(0);\n\n\t\t\tif(op2=='?')\tbreak;\n\t\t\telse{\n\t\t\t\tswitch(op2){\n\t\t\t\tcase '+':\n\t\t\t\t\tval[i]=a[i]+b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tval[i]=a[i]-b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '*':\n\t\t\t\t\tval[i]=a[i]*b[i];\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '/':\n\t\t\t\t\tval[i]=a[i]/b[i];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(val[j]);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int a[]=new int[20000]; int b[]=new int[20000]; String op1; int val[]=new int[20000]; int i=0; while(true){ a[i]=sc.nextInt(); op1=sc.next(); b[i]=sc.nextInt(); char op2=op1.charAt(0); if(op2=='?') break; else{ switch(op2){ case '+': val[i]=a[i]+b[i]; break; case '-': val[i]=a[i]-b[i]; break; case '*': val[i]=a[i]*b[i]; break; case '/': val[i]=a[i]/b[i]; break; } i++; } } for(int j=0;j<i;j++) System.out.println(val[j]); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 38, 5, 13, 30, 4, 18, 13, 30, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 17, 8, 2, 4, 18, 13, 17, 40, 17, 4, 18, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 2, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 17, 8, 2, 4, 18, 13, 17, 40, 17, 4, 18, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 2, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 4, 18, 13, 17, 8, 2, 4, 18, 13, 17, 40, 17, 4, 18, 13, 4, 18, 13, 17, 35, 13, 34, 30, 30, 29, 34, 17, 30, 30, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 30, 30, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 30, 30, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 30, 30, 4, 18, 18, 13, 13, 2, 13, 13, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 186, 8 ], [ 186, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 17, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 49, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 43, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 33, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 33, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 75, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 33, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 33, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 111, 116 ], [ 116, 117 ], [ 110, 118 ], [ 118, 119 ], [ 119, 120 ], [ 110, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 33, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 125, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 140, 141 ], [ 140, 142 ], [ 134, 143 ], [ 125, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 153, 154 ], [ 153, 155 ], [ 147, 156 ], [ 125, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 161, 166 ], [ 166, 167 ], [ 166, 168 ], [ 160, 169 ], [ 125, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 173, 182 ], [ 9, 183 ], [ 183, 184 ], [ 0, 185 ], [ 185, 186 ], [ 185, 187 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String buffer;", "buffer", "try {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}", "catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}", "Exception ex", "{\n\t\t\tex.printStackTrace();\n\t\t}", "ex.printStackTrace()", "ex.printStackTrace", "ex", "{\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "while ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "(buffer = reader.readLine()) != null", "(buffer = reader.readLine())", "buffer", "reader.readLine()", "reader.readLine", "reader", "null", "{\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));", "a", "Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))", "Integer.valueOf", "Integer", "buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))", "buffer.substring", "buffer", "0", "buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")", "buffer.indexOf(\" \") == -1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "-1", "1", "buffer.length()", "buffer.length", "buffer", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "buffer = buffer.substring(buffer.indexOf(\" \") + 1)", "buffer", "buffer.substring(buffer.indexOf(\" \") + 1)", "buffer.substring", "buffer", "buffer.indexOf(\" \") + 1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "1", "String op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));", "op", "buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))", "buffer.substring", "buffer", "0", "buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")", "buffer.indexOf(\" \") == -1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "-1", "1", "buffer.length()", "buffer.length", "buffer", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "buffer = buffer.substring(buffer.indexOf(\" \") + 1)", "buffer", "buffer.substring(buffer.indexOf(\" \") + 1)", "buffer.substring", "buffer", "buffer.indexOf(\" \") + 1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "1", "int b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));", "b", "Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))", "Integer.valueOf", "Integer", "buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))", "buffer.substring", "buffer", "0", "buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")", "buffer.indexOf(\" \") == -1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "-1", "1", "buffer.length()", "buffer.length", "buffer", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "switch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}", "op", "default :", "default :", "{\n\t\t\t\t\treturn;\n\t\t\t\t}", "return;", "case (\"+\") :", "(\"+\")", "case (\"+\") :", "{\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}", "System.out.println((int)(a + b))", "System.out.println", "System.out", "System", "System.out", "(int)(a + b)", "a", "b", "break;", "case (\"-\") :", "(\"-\")", "case (\"-\") :", "{\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}", "System.out.println((int)(a - b))", "System.out.println", "System.out", "System", "System.out", "(int)(a - b)", "a", "b", "break;", "case (\"*\") :", "(\"*\")", "case (\"*\") :", "{\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}", "System.out.println((int)(a * b))", "System.out.println", "System.out", "System", "System.out", "(int)(a * b)", "a", "b", "break;", "case (\"/\") :", "(\"/\")", "case (\"/\") :", "{\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}", "System.out.println((int)(a / b))", "System.out.println", "System.out", "System", "System.out", "(int)(a / b)", "a", "b", "break;", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tint a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tString op = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tint b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\n\t\t\t\tswitch (op) {\n\t\t\t\tdefault : {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tcase (\"+\") : {\n\t\t\t\t\tSystem.out.println((int)(a + b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"-\") : {\n\t\t\t\t\tSystem.out.println((int)(a - b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"*\") : {\n\t\t\t\t\tSystem.out.println((int)(a * b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcase (\"/\") : {\n\t\t\t\t\tSystem.out.println((int)(a / b));\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String buffer; try { while ((buffer = reader.readLine()) != null) { int a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" "))); buffer = buffer.substring(buffer.indexOf(" ") + 1); String op = buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" ")); buffer = buffer.substring(buffer.indexOf(" ") + 1); int b = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" "))); switch (op) { default : { return; } case ("+") : { System.out.println((int)(a + b)); break; } case ("-") : { System.out.println((int)(a - b)); break; } case ("*") : { System.out.println((int)(a * b)); break; } case ("/") : { System.out.println((int)(a / b)); break; } } } } catch (Exception ex) { ex.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 4, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 13, 2, 13, 13, 30, 29, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 92, 5 ], [ 92, 6 ], [ 6, 7 ], [ 92, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 16, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 32, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 43, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 54, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 65, 76 ], [ 76, 77 ], [ 8, 78 ], [ 78, 79 ], [ 92, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 80, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }\n }\n }\n\n private static void sum(int sum) {\n System.out.println(sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }\n }\n }\n\n private static void sum(int sum) {\n System.out.println(sum);\n }\n}", "Main", "private static Scanner scan;", "scan", "public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }\n }\n }", "main", "{\n scan = new Scanner(System.in);\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }\n }\n }", "scan = new Scanner(System.in)", "scan", "new Scanner(System.in)", "while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }\n }", "true", "{\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }\n }", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n sum(a + b);\n }", "sum(a + b)", "sum", "a + b", "a", "b", "if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n sum(a - b);\n }", "sum(a - b)", "sum", "a - b", "a", "b", "if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n sum(a * b);\n }", "sum(a * b)", "sum", "a * b", "a", "b", "if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n sum(a / b);\n }", "sum(a / b)", "sum", "a / b", "a", "b", "{\n return;\n }", "return;", "String[] args", "args", "private static void sum(int sum) {\n System.out.println(sum);\n }", "sum", "{\n System.out.println(sum);\n }", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "int sum", "sum", "public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }\n }\n }\n\n private static void sum(int sum) {\n System.out.println(sum);\n }\n}", "public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n if (op.equals(\"+\")) {\n sum(a + b);\n } else if (op.equals(\"-\")) {\n sum(a - b);\n } else if (op.equals(\"*\")) {\n sum(a * b);\n } else if (op.equals(\"/\")) {\n sum(a / b);\n } else {\n return;\n }\n }\n }\n\n private static void sum(int sum) {\n System.out.println(sum);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { private static Scanner scan; public static void main(String[] args) { scan = new Scanner(System.in); while (true) { int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); if (op.equals("+")) { sum(a + b); } else if (op.equals("-")) { sum(a - b); } else if (op.equals("*")) { sum(a * b); } else if (op.equals("/")) { sum(a / b); } else { return; } } } private static void sum(int sum) { System.out.println(sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 3, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 17, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 17, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 17, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 17, 2, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 20, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 43, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 64, 70 ], [ 70, 71 ], [ 70, 72 ], [ 58, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 79, 85 ], [ 85, 86 ], [ 85, 87 ], [ 73, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 94, 100 ], [ 100, 101 ], [ 100, 102 ], [ 6, 103 ], [ 103, 104 ] ]
[ "import java.util.Scanner;\n\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tdouble a,b;\n\t\tString op;\n\t\t\n\t\twhile( true ) {\n\t\t\ta=kb.nextDouble();\n\t\t\top=kb.next();\n\t\t\tb=kb.nextDouble();\n\t\t\t\n\t\t\tif( \"?\".equals( op) ) { break; }\n\t\t\t\n\t\t\tif( \"+\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a+(int)b );\n\t\t\t} else if( \"-\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t} else if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}\n\t\t}\n\t\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tdouble a,b;\n\t\tString op;\n\t\t\n\t\twhile( true ) {\n\t\t\ta=kb.nextDouble();\n\t\t\top=kb.next();\n\t\t\tb=kb.nextDouble();\n\t\t\t\n\t\t\tif( \"?\".equals( op) ) { break; }\n\t\t\t\n\t\t\tif( \"+\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a+(int)b );\n\t\t\t} else if( \"-\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t} else if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}\n\t\t}\n\t\t\t\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tdouble a,b;\n\t\tString op;\n\t\t\n\t\twhile( true ) {\n\t\t\ta=kb.nextDouble();\n\t\t\top=kb.next();\n\t\t\tb=kb.nextDouble();\n\t\t\t\n\t\t\tif( \"?\".equals( op) ) { break; }\n\t\t\t\n\t\t\tif( \"+\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a+(int)b );\n\t\t\t} else if( \"-\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t} else if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}\n\t\t}\n\t\t\t\n\t}", "main", "{\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tdouble a,b;\n\t\tString op;\n\t\t\n\t\twhile( true ) {\n\t\t\ta=kb.nextDouble();\n\t\t\top=kb.next();\n\t\t\tb=kb.nextDouble();\n\t\t\t\n\t\t\tif( \"?\".equals( op) ) { break; }\n\t\t\t\n\t\t\tif( \"+\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a+(int)b );\n\t\t\t} else if( \"-\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t} else if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}\n\t\t}\n\t\t\t\n\t}", "Scanner kb = new Scanner( System.in);", "kb", "new Scanner( System.in)", "double a", "a", "b;", "b", "String op;", "op", "while( true ) {\n\t\t\ta=kb.nextDouble();\n\t\t\top=kb.next();\n\t\t\tb=kb.nextDouble();\n\t\t\t\n\t\t\tif( \"?\".equals( op) ) { break; }\n\t\t\t\n\t\t\tif( \"+\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a+(int)b );\n\t\t\t} else if( \"-\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t} else if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}\n\t\t}", "true", "{\n\t\t\ta=kb.nextDouble();\n\t\t\top=kb.next();\n\t\t\tb=kb.nextDouble();\n\t\t\t\n\t\t\tif( \"?\".equals( op) ) { break; }\n\t\t\t\n\t\t\tif( \"+\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a+(int)b );\n\t\t\t} else if( \"-\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t} else if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}\n\t\t}", "a=kb.nextDouble()", "a", "kb.nextDouble()", "kb.nextDouble", "kb", "op=kb.next()", "op", "kb.next()", "kb.next", "kb", "b=kb.nextDouble()", "b", "kb.nextDouble()", "kb.nextDouble", "kb", "if( \"?\".equals( op) ) { break; }", "\"?\".equals( op)", "\"?\".equals", "\"?\"", "op", "{ break; }", "break;", "if( \"+\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a+(int)b );\n\t\t\t} else if( \"-\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t} else if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}", "\"+\".equals( op)", "\"+\".equals", "\"+\"", "op", "{\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a+(int)b );\n\t\t\t}", "System.out.printf( \"%d\\n\", (int)a+(int)b )", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "(int)a+(int)b", "(int)a", "(int)b", "if( \"-\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t} else if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}", "\"-\".equals( op)", "\"-\".equals", "\"-\"", "op", "{\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a-(int)b );\n\t\t\t}", "System.out.printf( \"%d\\n\", (int)a-(int)b )", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "(int)a-(int)b", "(int)a", "(int)b", "if( \"*\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t} else if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}", "\"*\".equals( op)", "\"*\".equals", "\"*\"", "op", "{\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a*(int)b );\n\t\t\t}", "System.out.printf( \"%d\\n\", (int)a*(int)b )", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "(int)a*(int)b", "(int)a", "(int)b", "if( \"/\".equals( op) ) {\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}", "\"/\".equals( op)", "\"/\".equals", "\"/\"", "op", "{\n\t\t\t\tSystem.out.printf( \"%d\\n\", (int)a/(int)b );\n\t\t\t}", "System.out.printf( \"%d\\n\", (int)a/(int)b )", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "(int)a/(int)b", "(int)a", "(int)b", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner kb = new Scanner( System.in); double a,b; String op; while( true ) { a=kb.nextDouble(); op=kb.next(); b=kb.nextDouble(); if( "?".equals( op) ) { break; } if( "+".equals( op) ) { System.out.printf( "%d\n", (int)a+(int)b ); } else if( "-".equals( op) ) { System.out.printf( "%d\n", (int)a-(int)b ); } else if( "*".equals( op) ) { System.out.printf( "%d\n", (int)a*(int)b ); } else if( "/".equals( op) ) { System.out.printf( "%d\n", (int)a/(int)b ); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 3, 34, 1, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 113, 5 ], [ 113, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 22, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 22, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 49, 61 ], [ 45, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 64, 76 ], [ 45, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 79, 91 ], [ 45, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 94, 106 ], [ 45, 107 ], [ 107, 108 ], [ 108, 109 ], [ 6, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a, b, c;\n String op;\n while (true) {\n a = scanner.nextInt();\n op = scanner.next();\n b = scanner.nextInt();\n if (op.equals(\"?\")) {\n break;\n }\n switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }\n\n }\n\n }\n}", "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 int a, b, c;\n String op;\n while (true) {\n a = scanner.nextInt();\n op = scanner.next();\n b = scanner.nextInt();\n if (op.equals(\"?\")) {\n break;\n }\n switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a, b, c;\n String op;\n while (true) {\n a = scanner.nextInt();\n op = scanner.next();\n b = scanner.nextInt();\n if (op.equals(\"?\")) {\n break;\n }\n switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }\n\n }\n\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int a, b, c;\n String op;\n while (true) {\n a = scanner.nextInt();\n op = scanner.next();\n b = scanner.nextInt();\n if (op.equals(\"?\")) {\n break;\n }\n switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }\n\n }\n\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a", "a", "b", "b", "c;", "c", "String op;", "op", "while (true) {\n a = scanner.nextInt();\n op = scanner.next();\n b = scanner.nextInt();\n if (op.equals(\"?\")) {\n break;\n }\n switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }\n\n }", "true", "{\n a = scanner.nextInt();\n op = scanner.next();\n b = scanner.nextInt();\n if (op.equals(\"?\")) {\n break;\n }\n switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }\n\n }", "a = scanner.nextInt()", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "op = scanner.next()", "op", "scanner.next()", "scanner.next", "scanner", "b = scanner.nextInt()", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }", "op", "case \"+\":", "\"+\"", "case \"+\":", "c = a + b", "c", "a + b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "break;", "case \"-\":", "\"-\"", "case \"-\":", "c = a - b", "c", "a - b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "break;", "case \"*\":", "\"*\"", "case \"*\":", "c = a * b", "c", "a * b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "break;", "case \"/\":", "\"/\"", "case \"/\":", "c = a / b", "c", "a / b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "break;", "default:", "default:", "break;", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a, b, c;\n String op;\n while (true) {\n a = scanner.nextInt();\n op = scanner.next();\n b = scanner.nextInt();\n if (op.equals(\"?\")) {\n break;\n }\n switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }\n\n }\n\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a, b, c;\n String op;\n while (true) {\n a = scanner.nextInt();\n op = scanner.next();\n b = scanner.nextInt();\n if (op.equals(\"?\")) {\n break;\n }\n switch (op) {\n case \"+\":\n c = a + b;\n System.out.println(c);\n break;\n case \"-\":\n c = a - b;\n System.out.println(c);\n break;\n case \"*\":\n c = a * b;\n System.out.println(c);\n break;\n case \"/\":\n c = a / b;\n System.out.println(c);\n break;\n default:\n break;\n }\n\n }\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a, b, c; String op; while (true) { a = scanner.nextInt(); op = scanner.next(); b = scanner.nextInt(); if (op.equals("?")) { break; } switch (op) { case "+": c = a + b; System.out.println(c); break; case "-": c = a - b; System.out.println(c); break; case "*": c = a * b; System.out.println(c); break; case "/": c = a / b; System.out.println(c); break; default: break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 0, 13, 18, 13, 17, 41, 13, 17, 41, 13, 14, 4, 18, 17, 13, 30, 3, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 0, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 14, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 14, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 14, 49 ], [ 49, 50 ], [ 49, 51 ], [ 14, 52 ], [ 52, 53 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 61, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 83, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 78, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 95, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 112, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 117, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 6, 129 ], [ 129, 130 ] ]
[ "import java.io.*;\n\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\n\t\t\tString str = br.readLine();\n\t\t\tString p;\n\t\t\tString strArr[] = str.split(\" \");\n\t\t\tdouble a = Double.parseDouble(strArr[0]);\n\t\t\tdouble b = Double.parseDouble(strArr[2]);\n\t\t\t\n\n\t\t\tp = strArr[1];\n\t\t\tint i=0;\n\t\t\tdouble ans;\n\t\t\t\n\t\t\tif(\"?\".equals(p)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(\"+\".equals(p)){\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\t\n\t\t\t/*switch(p){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = a+b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = a-b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = a*b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = a/b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"?\":\n\t\t\t\t\ti=4;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(i==4)\n\t\t\t\tbreak;\n\t\t\t\t*/\n\n\t\t\t}\n\n\n\n\t\t}\n\t}", "import java.io.*;", "io.*", "java", "class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\n\t\t\tString str = br.readLine();\n\t\t\tString p;\n\t\t\tString strArr[] = str.split(\" \");\n\t\t\tdouble a = Double.parseDouble(strArr[0]);\n\t\t\tdouble b = Double.parseDouble(strArr[2]);\n\t\t\t\n\n\t\t\tp = strArr[1];\n\t\t\tint i=0;\n\t\t\tdouble ans;\n\t\t\t\n\t\t\tif(\"?\".equals(p)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(\"+\".equals(p)){\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\t\n\t\t\t/*switch(p){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = a+b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = a-b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = a*b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = a/b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"?\":\n\t\t\t\t\ti=4;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(i==4)\n\t\t\t\tbreak;\n\t\t\t\t*/\n\n\t\t\t}\n\n\n\n\t\t}\n\t}", "Main", "public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\n\t\t\tString str = br.readLine();\n\t\t\tString p;\n\t\t\tString strArr[] = str.split(\" \");\n\t\t\tdouble a = Double.parseDouble(strArr[0]);\n\t\t\tdouble b = Double.parseDouble(strArr[2]);\n\t\t\t\n\n\t\t\tp = strArr[1];\n\t\t\tint i=0;\n\t\t\tdouble ans;\n\t\t\t\n\t\t\tif(\"?\".equals(p)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(\"+\".equals(p)){\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\t\n\t\t\t/*switch(p){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = a+b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = a-b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = a*b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = a/b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"?\":\n\t\t\t\t\ti=4;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(i==4)\n\t\t\t\tbreak;\n\t\t\t\t*/\n\n\t\t\t}\n\n\n\n\t\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\n\t\t\tString str = br.readLine();\n\t\t\tString p;\n\t\t\tString strArr[] = str.split(\" \");\n\t\t\tdouble a = Double.parseDouble(strArr[0]);\n\t\t\tdouble b = Double.parseDouble(strArr[2]);\n\t\t\t\n\n\t\t\tp = strArr[1];\n\t\t\tint i=0;\n\t\t\tdouble ans;\n\t\t\t\n\t\t\tif(\"?\".equals(p)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(\"+\".equals(p)){\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\t\n\t\t\t/*switch(p){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = a+b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = a-b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = a*b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = a/b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"?\":\n\t\t\t\t\ti=4;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(i==4)\n\t\t\t\tbreak;\n\t\t\t\t*/\n\n\t\t\t}\n\n\n\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\n\t\t\tString str = br.readLine();\n\t\t\tString p;\n\t\t\tString strArr[] = str.split(\" \");\n\t\t\tdouble a = Double.parseDouble(strArr[0]);\n\t\t\tdouble b = Double.parseDouble(strArr[2]);\n\t\t\t\n\n\t\t\tp = strArr[1];\n\t\t\tint i=0;\n\t\t\tdouble ans;\n\t\t\t\n\t\t\tif(\"?\".equals(p)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(\"+\".equals(p)){\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\t\n\t\t\t/*switch(p){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = a+b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = a-b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = a*b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = a/b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"?\":\n\t\t\t\t\ti=4;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(i==4)\n\t\t\t\tbreak;\n\t\t\t\t*/\n\n\t\t\t}", "true", "{\n\n\t\t\tString str = br.readLine();\n\t\t\tString p;\n\t\t\tString strArr[] = str.split(\" \");\n\t\t\tdouble a = Double.parseDouble(strArr[0]);\n\t\t\tdouble b = Double.parseDouble(strArr[2]);\n\t\t\t\n\n\t\t\tp = strArr[1];\n\t\t\tint i=0;\n\t\t\tdouble ans;\n\t\t\t\n\t\t\tif(\"?\".equals(p)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(\"+\".equals(p)){\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\t\n\t\t\t/*switch(p){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = a+b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = a-b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = a*b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = a/b;\n\t\t\t\t\tSystem.out.println((int)ans);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"?\":\n\t\t\t\t\ti=4;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(i==4)\n\t\t\t\tbreak;\n\t\t\t\t*/\n\n\t\t\t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String p;", "p", "String strArr[] = str.split(\" \");", "strArr", "str.split(\" \")", "str.split", "str", "\" \"", "double a = Double.parseDouble(strArr[0]);", "a", "Double.parseDouble(strArr[0])", "Double.parseDouble", "Double", "strArr[0]", "strArr", "0", "double b = Double.parseDouble(strArr[2]);", "b", "Double.parseDouble(strArr[2])", "Double.parseDouble", "Double", "strArr[2]", "strArr", "2", "p = strArr[1]", "p", "strArr[1]", "strArr", "1", "int i=0;", "i", "0", "double ans;", "ans", "if(\"?\".equals(p)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(\"+\".equals(p)){\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "\"?\".equals(p)", "\"?\".equals", "\"?\"", "p", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(\"+\".equals(p)){\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "\"+\".equals(p)", "\"+\".equals", "\"+\"", "p", "{\n\t\t\t\tans = a+b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "ans = a+b", "ans", "a+b", "a", "b", "System.out.println((int)ans)", "System.out.println", "System.out", "System", "System.out", "(int)ans", "if(\"-\".equals(p)){\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "\"-\".equals(p)", "\"-\".equals", "\"-\"", "p", "{\n\t\t\t\tans = a-b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "ans = a-b", "ans", "a-b", "a", "b", "System.out.println((int)ans)", "System.out.println", "System.out", "System", "System.out", "(int)ans", "if(\"*\".equals(p)){\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}\n\t\t\telse if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "\"*\".equals(p)", "\"*\".equals", "\"*\"", "p", "{\n\t\t\t\tans = a*b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "ans = a*b", "ans", "a*b", "a", "b", "System.out.println((int)ans)", "System.out.println", "System.out", "System", "System.out", "(int)ans", "if(\"/\".equals(p)){\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "\"/\".equals(p)", "\"/\".equals", "\"/\"", "p", "{\n\t\t\t\tans = a/b;\n\t\t\t\tSystem.out.println((int)ans);\n\t\t\t}", "ans = a/b", "ans", "a/b", "a", "b", "System.out.println((int)ans)", "System.out.println", "System.out", "System", "System.out", "(int)ans", "String[] args", "args" ]
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String str = br.readLine(); String p; String strArr[] = str.split(" "); double a = Double.parseDouble(strArr[0]); double b = Double.parseDouble(strArr[2]); p = strArr[1]; int i=0; double ans; if("?".equals(p)){ break; } else if("+".equals(p)){ ans = a+b; System.out.println((int)ans); } else if("-".equals(p)){ ans = a-b; System.out.println((int)ans); } else if("*".equals(p)){ ans = a*b; System.out.println((int)ans); } else if("/".equals(p)){ ans = a/b; System.out.println((int)ans); } /*switch(p){ case "+": ans = a+b; System.out.println((int)ans); break; case "-": ans = a-b; System.out.println((int)ans); break; case "*": ans = a*b; System.out.println((int)ans); break; case "/": ans = a/b; System.out.println((int)ans); break; case "?": i=4; break; default: break; } if(i==4) 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, 42, 40, 4, 18, 13, 17, 30, 41, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 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 ], [ 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 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 27, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 37, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 37, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 54, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 71, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 76, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 71, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 93, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 33, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 33, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 33, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 6, 120 ], [ 120, 121 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint str1 = scan.nextInt();\n\t\tString str = scan.next();\n\t\tint str2 = scan.nextInt();\n\t\t\n\t\twhile(!str.equals(\"?\")){\n\t\t\tint x = 0;\n\t\t\tif((str.equals(\"+\"))){\n\t\t\t\tx = str1 + str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"-\"))){\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\tstr1 = scan.nextInt();\n\t\t\tstr = scan.next();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint str1 = scan.nextInt();\n\t\tString str = scan.next();\n\t\tint str2 = scan.nextInt();\n\t\t\n\t\twhile(!str.equals(\"?\")){\n\t\t\tint x = 0;\n\t\t\tif((str.equals(\"+\"))){\n\t\t\t\tx = str1 + str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"-\"))){\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\tstr1 = scan.nextInt();\n\t\t\tstr = scan.next();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}\n\t\t\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint str1 = scan.nextInt();\n\t\tString str = scan.next();\n\t\tint str2 = scan.nextInt();\n\t\t\n\t\twhile(!str.equals(\"?\")){\n\t\t\tint x = 0;\n\t\t\tif((str.equals(\"+\"))){\n\t\t\t\tx = str1 + str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"-\"))){\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\tstr1 = scan.nextInt();\n\t\t\tstr = scan.next();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint str1 = scan.nextInt();\n\t\tString str = scan.next();\n\t\tint str2 = scan.nextInt();\n\t\t\n\t\twhile(!str.equals(\"?\")){\n\t\t\tint x = 0;\n\t\t\tif((str.equals(\"+\"))){\n\t\t\t\tx = str1 + str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"-\"))){\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\tstr1 = scan.nextInt();\n\t\t\tstr = scan.next();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int str1 = scan.nextInt();", "str1", "scan.nextInt()", "scan.nextInt", "scan", "String str = scan.next();", "str", "scan.next()", "scan.next", "scan", "int str2 = scan.nextInt();", "str2", "scan.nextInt()", "scan.nextInt", "scan", "while(!str.equals(\"?\")){\n\t\t\tint x = 0;\n\t\t\tif((str.equals(\"+\"))){\n\t\t\t\tx = str1 + str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"-\"))){\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\tstr1 = scan.nextInt();\n\t\t\tstr = scan.next();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}", "!str.equals(\"?\")", "str.equals(\"?\")", "str.equals", "str", "\"?\"", "{\n\t\t\tint x = 0;\n\t\t\tif((str.equals(\"+\"))){\n\t\t\t\tx = str1 + str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"-\"))){\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\tstr1 = scan.nextInt();\n\t\t\tstr = scan.next();\n\t\t\tstr2 = scan.nextInt();\n\n\t\t}", "int x = 0;", "x", "0", "if((str.equals(\"+\"))){\n\t\t\t\tx = str1 + str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"-\"))){\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "(str.equals(\"+\"))", "str.equals", "str", "\"+\"", "{\n\t\t\t\tx = str1 + str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "x = str1 + str2", "x", "str1 + str2", "str1", "str2", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if((str.equals(\"-\"))){\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "(str.equals(\"-\"))", "str.equals", "str", "\"-\"", "{\n\t\t\t\tx = str1 - str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "x = str1 - str2", "x", "str1 - str2", "str1", "str2", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if((str.equals(\"*\"))){\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}else if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "(str.equals(\"*\"))", "str.equals", "str", "\"*\"", "{\n\t\t\t\tx = str1 * str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "x = str1 * str2", "x", "str1 * str2", "str1", "str2", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if((str.equals(\"/\"))){\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "(str.equals(\"/\"))", "str.equals", "str", "\"/\"", "{\n\t\t\t\tx = str1 / str2;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "x = str1 / str2", "x", "str1 / str2", "str1", "str2", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "str1 = scan.nextInt()", "str1", "scan.nextInt()", "scan.nextInt", "scan", "str = scan.next()", "str", "scan.next()", "scan.next", "scan", "str2 = scan.nextInt()", "str2", "scan.nextInt()", "scan.nextInt", "scan", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int str1 = scan.nextInt(); String str = scan.next(); int str2 = scan.nextInt(); while(!str.equals("?")){ int x = 0; if((str.equals("+"))){ x = str1 + str2; System.out.println(x); }else if((str.equals("-"))){ x = str1 - str2; System.out.println(x); }else if((str.equals("*"))){ x = str1 * str2; System.out.println(x); }else if((str.equals("/"))){ x = str1 / str2; System.out.println(x); } str1 = scan.nextInt(); str = scan.next(); str2 = scan.nextInt(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 3, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 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 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 16, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 16, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 42, 51 ], [ 38, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 38, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 66, 75 ], [ 38, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 78, 87 ], [ 6, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "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\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString strA = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t }\n\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\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString strA = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\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\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString strA = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t }\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString strA = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t }\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString strA = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t }", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tString strA = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String strA = sc.next();", "strA", "sc.next()", "sc.next", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}", "strA == \"?\"", "strA", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "switch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\t\t}", "strA", "case \"+\":", "\"+\"", "case \"+\":", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "break;", "String[] args", "args", "public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString strA = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\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\twhile(sc.hasNext()) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString strA = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(strA == \"?\") {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tswitch(strA) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t }\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()) { int a = sc.nextInt(); String strA = sc.next(); int b = sc.nextInt(); if(strA == "?") { break; } switch(strA) { case "+": System.out.println(a+b); break; case "-": System.out.println(a-b); break; case "*": System.out.println(a*b); break; case "/": System.out.println(a/b); break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 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, 14, 4, 18, 18, 13, 17, 17, 30, 3, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 121, 5 ], [ 121, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 16, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 16, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 16, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 44, 51 ], [ 51, 52 ], [ 16, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 53, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 69, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 69, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 85, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 85, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 101, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 101, 117 ], [ 6, 118 ], [ 118, 119 ], [ 0, 120 ], [ 120, 121 ], [ 120, 122 ] ]
[ "import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[2]);\n\t\t\tif(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[2]);\n\t\t\tif(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[2]);\n\t\t\tif(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[2]);\n\t\t\tif(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}\n\t\t}\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "while(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[2]);\n\t\t\tif(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}\n\t\t}", "in.hasNext()", "in.hasNext", "in", "{\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[2]);\n\t\t\tif(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}\n\t\t}", "String line = in.nextLine();", "line", "in.nextLine()", "in.nextLine", "in", "String[] Array = line.split(\" \");", "Array", "line.split(\" \")", "line.split", "line", "\" \"", "int a = Integer.parseInt(Array[0]);", "a", "Integer.parseInt(Array[0])", "Integer.parseInt", "Integer", "Array[0]", "Array", "0", "int b = Integer.parseInt(Array[2]);", "b", "Integer.parseInt(Array[2])", "Integer.parseInt", "Integer", "Array[2]", "Array", "2", "if(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}", "Array[1].equals(\"op\")", "Array[1].equals", "Array[1]", "Array", "1", "\"op\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}", "Array[1].equals(\"+\")", "Array[1].equals", "Array[1]", "Array", "1", "\"+\"", "{\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}", "Array[1].equals(\"-\")", "Array[1].equals", "Array[1]", "Array", "1", "\"-\"", "{\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}", "Array[1].equals(\"*\")", "Array[1].equals", "Array[1]", "Array", "1", "\"*\"", "{;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}", "Array[1].equals(\"/\")", "Array[1].equals", "Array[1]", "Array", "1", "\"/\"", "{\n\t\t\tSystem.out.println(a/b);\n\t\t\t}", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "{\n\n\t\t\t}", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[2]);\n\t\t\tif(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[2]);\n\t\t\tif(Array[1].equals(\"op\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(Array[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(Array[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(Array[1].equals(\"*\")){;\n\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(Array[1].equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t\t}else{\n\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(in.hasNext()){ String line = in.nextLine(); String[] Array = line.split(" "); int a = Integer.parseInt(Array[0]); int b = Integer.parseInt(Array[2]); if(Array[1].equals("op")){ break; } if(Array[1].equals("+")){ System.out.println(a+b); }else if(Array[1].equals("-")){ System.out.println(a-b); }else if(Array[1].equals("*")){; System.out.println(a*b); }else if(Array[1].equals("/")){ System.out.println(a/b); }else{ } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 41, 13, 41, 13, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 29, 0, 13, 4, 18, 13, 4, 18, 13, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 2, 17, 13, 13, 3, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 11, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 22, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 22, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 22, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 22, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 50, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 66, 75 ], [ 50, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 78, 87 ], [ 50, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 90, 101 ], [ 9, 102 ], [ 102, 103 ] ]
[ "import java.util.*;\nclass Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tlong a,b;\n\t\tString op;\n\t\twhile(s.hasNext()) {\n\t\t\ta = Integer.parseInt(s.next());\n\t\t\top = s.next() ;\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\treturn;\n\t\t\tb = Integer.parseInt(s.next());\n\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println((int)(1.0*a/b));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tlong a,b;\n\t\tString op;\n\t\twhile(s.hasNext()) {\n\t\t\ta = Integer.parseInt(s.next());\n\t\t\top = s.next() ;\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\treturn;\n\t\t\tb = Integer.parseInt(s.next());\n\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println((int)(1.0*a/b));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "static Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "public static void main(String[] args) {\n\t\tlong a,b;\n\t\tString op;\n\t\twhile(s.hasNext()) {\n\t\t\ta = Integer.parseInt(s.next());\n\t\t\top = s.next() ;\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\treturn;\n\t\t\tb = Integer.parseInt(s.next());\n\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println((int)(1.0*a/b));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tlong a,b;\n\t\tString op;\n\t\twhile(s.hasNext()) {\n\t\t\ta = Integer.parseInt(s.next());\n\t\t\top = s.next() ;\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\treturn;\n\t\t\tb = Integer.parseInt(s.next());\n\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println((int)(1.0*a/b));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "long a", "a", "b;", "b", "String op;", "op", "while(s.hasNext()) {\n\t\t\ta = Integer.parseInt(s.next());\n\t\t\top = s.next() ;\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\treturn;\n\t\t\tb = Integer.parseInt(s.next());\n\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println((int)(1.0*a/b));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "s.hasNext()", "s.hasNext", "s", "{\n\t\t\ta = Integer.parseInt(s.next());\n\t\t\top = s.next() ;\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\treturn;\n\t\t\tb = Integer.parseInt(s.next());\n\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println((int)(1.0*a/b));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "a = Integer.parseInt(s.next())", "a", "Integer.parseInt(s.next())", "Integer.parseInt", "Integer", "s.next()", "s.next", "s", "op = s.next()", "op", "s.next()", "s.next", "s", "if(op.equals(\"?\"))\n\t\t\t\treturn;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "return;", "b = Integer.parseInt(s.next())", "b", "Integer.parseInt(s.next())", "Integer.parseInt", "Integer", "s.next()", "s.next", "s", "switch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println((int)(1.0*a/b));\n\t\t\t\tbreak;\n\t\t\t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "System.out.println((int)(1.0*a/b))", "System.out.println", "System.out", "System", "System.out", "(int)(1.0*a/b)", "1.0*a", "1.0", "a", "b", "break;", "String[] args", "args" ]
import java.util.*; class Main{ static Scanner s = new Scanner(System.in); public static void main(String[] args) { long a,b; String op; while(s.hasNext()) { a = Integer.parseInt(s.next()); op = s.next() ; if(op.equals("?")) return; b = Integer.parseInt(s.next()); switch (op) { case "+": System.out.println(a+b); break; case "-": System.out.println(a-b); break; case "*": System.out.println(a*b); break; case "/": System.out.println((int)(1.0*a/b)); break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 17, 3, 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 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 40, 49 ], [ 36, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 52, 61 ], [ 36, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 64, 73 ], [ 36, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 76, 85 ], [ 36, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 9, 93 ], [ 93, 94 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tboolean judge =true;\n\n\t\twhile (judge) {\n\t\t\tint a = scane.nextInt();\n\t\t\tString str = scane.next();\n\t\t\tint b = scane.nextInt();\n\t\tswitch (str) {\n\t\tcase \"+\":\n\t\t\tSystem.out.println(a+b);\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tSystem.out.println(a-b);\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tSystem.out.println(a*b);\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tSystem.out.println((int)(a/b));\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tjudge = false;\n\t\t\tbreak;\n\n\t\t}\n\t\t}\n\n\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tboolean judge =true;\n\n\t\twhile (judge) {\n\t\t\tint a = scane.nextInt();\n\t\t\tString str = scane.next();\n\t\t\tint b = scane.nextInt();\n\t\tswitch (str) {\n\t\tcase \"+\":\n\t\t\tSystem.out.println(a+b);\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tSystem.out.println(a-b);\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tSystem.out.println(a*b);\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tSystem.out.println((int)(a/b));\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tjudge = false;\n\t\t\tbreak;\n\n\t\t}\n\t\t}\n\n\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tboolean judge =true;\n\n\t\twhile (judge) {\n\t\t\tint a = scane.nextInt();\n\t\t\tString str = scane.next();\n\t\t\tint b = scane.nextInt();\n\t\tswitch (str) {\n\t\tcase \"+\":\n\t\t\tSystem.out.println(a+b);\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tSystem.out.println(a-b);\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tSystem.out.println(a*b);\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tSystem.out.println((int)(a/b));\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tjudge = false;\n\t\t\tbreak;\n\n\t\t}\n\t\t}\n\n\n\t}", "main", "{\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tboolean judge =true;\n\n\t\twhile (judge) {\n\t\t\tint a = scane.nextInt();\n\t\t\tString str = scane.next();\n\t\t\tint b = scane.nextInt();\n\t\tswitch (str) {\n\t\tcase \"+\":\n\t\t\tSystem.out.println(a+b);\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tSystem.out.println(a-b);\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tSystem.out.println(a*b);\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tSystem.out.println((int)(a/b));\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tjudge = false;\n\t\t\tbreak;\n\n\t\t}\n\t\t}\n\n\n\t}", "Scanner scane = new Scanner(System.in);", "scane", "new Scanner(System.in)", "boolean judge =true;", "judge", "true", "while (judge) {\n\t\t\tint a = scane.nextInt();\n\t\t\tString str = scane.next();\n\t\t\tint b = scane.nextInt();\n\t\tswitch (str) {\n\t\tcase \"+\":\n\t\t\tSystem.out.println(a+b);\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tSystem.out.println(a-b);\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tSystem.out.println(a*b);\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tSystem.out.println((int)(a/b));\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tjudge = false;\n\t\t\tbreak;\n\n\t\t}\n\t\t}", "judge", "{\n\t\t\tint a = scane.nextInt();\n\t\t\tString str = scane.next();\n\t\t\tint b = scane.nextInt();\n\t\tswitch (str) {\n\t\tcase \"+\":\n\t\t\tSystem.out.println(a+b);\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tSystem.out.println(a-b);\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tSystem.out.println(a*b);\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tSystem.out.println((int)(a/b));\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tjudge = false;\n\t\t\tbreak;\n\n\t\t}\n\t\t}", "int a = scane.nextInt();", "a", "scane.nextInt()", "scane.nextInt", "scane", "String str = scane.next();", "str", "scane.next()", "scane.next", "scane", "int b = scane.nextInt();", "b", "scane.nextInt()", "scane.nextInt", "scane", "switch (str) {\n\t\tcase \"+\":\n\t\t\tSystem.out.println(a+b);\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tSystem.out.println(a-b);\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tSystem.out.println(a*b);\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tSystem.out.println((int)(a/b));\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tjudge = false;\n\t\t\tbreak;\n\n\t\t}", "str", "case \"+\":", "\"+\"", "case \"+\":", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "System.out.println((int)(a/b))", "System.out.println", "System.out", "System", "System.out", "(int)(a/b)", "a", "b", "break;", "case \"?\":", "\"?\"", "case \"?\":", "judge = false", "judge", "false", "break;", "String[] args", "args" ]
import java.io.IOException; import java.util.Scanner; class Main { public static void main(String[] args) throws IOException { Scanner scane = new Scanner(System.in); boolean judge =true; while (judge) { int a = scane.nextInt(); String str = scane.next(); int b = scane.nextInt(); switch (str) { case "+": System.out.println(a+b); break; case "-": System.out.println(a-b); break; case "*": System.out.println(a*b); break; case "/": System.out.println((int)(a/b)); break; case "?": judge = false; break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 41, 13, 13, 0, 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 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 17, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 17, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 38, 39 ], [ 33, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 40, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 51, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 62, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 17, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 6, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble x = 0;\n\t\t\n\t\twhile(true) {\n\t int a = scan.nextInt();\n\t String op = scan.next();\n\t int b = scan.nextInt();\n\t \n\t\t\tif (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}\n\t\t\tSystem.out.println((int) x);\n\t\t}\n\t\t\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 ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble x = 0;\n\t\t\n\t\twhile(true) {\n\t int a = scan.nextInt();\n\t String op = scan.next();\n\t int b = scan.nextInt();\n\t \n\t\t\tif (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}\n\t\t\tSystem.out.println((int) x);\n\t\t}\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble x = 0;\n\t\t\n\t\twhile(true) {\n\t int a = scan.nextInt();\n\t String op = scan.next();\n\t int b = scan.nextInt();\n\t \n\t\t\tif (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}\n\t\t\tSystem.out.println((int) x);\n\t\t}\n\t\t\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble x = 0;\n\t\t\n\t\twhile(true) {\n\t int a = scan.nextInt();\n\t String op = scan.next();\n\t int b = scan.nextInt();\n\t \n\t\t\tif (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}\n\t\t\tSystem.out.println((int) x);\n\t\t}\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "double x = 0;", "x", "0", "while(true) {\n\t int a = scan.nextInt();\n\t String op = scan.next();\n\t int b = scan.nextInt();\n\t \n\t\t\tif (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}\n\t\t\tSystem.out.println((int) x);\n\t\t}", "true", "{\n\t int a = scan.nextInt();\n\t String op = scan.next();\n\t int b = scan.nextInt();\n\t \n\t\t\tif (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}\n\t\t\tSystem.out.println((int) x);\n\t\t}", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}", "op.equals (\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}", "op.equals (\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tx = a+b;\n\t\t\t}", "x = a+b", "x", "a+b", "a", "b", "if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}", "op.equals (\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tx = a-b;\n\t\t\t}", "x = a-b", "x", "a-b", "a", "b", "if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}", "op.equals (\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tx = a*b;\n\t\t\t}", "x = a*b", "x", "a*b", "a", "b", "if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}", "op.equals (\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}", "double A = a;", "A", "a", "x = A/b", "x", "A/b", "A", "b", "System.out.println((int) x)", "System.out.println", "System.out", "System", "System.out", "(int) x", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble x = 0;\n\t\t\n\t\twhile(true) {\n\t int a = scan.nextInt();\n\t String op = scan.next();\n\t int b = scan.nextInt();\n\t \n\t\t\tif (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}\n\t\t\tSystem.out.println((int) x);\n\t\t}\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble x = 0;\n\t\t\n\t\twhile(true) {\n\t int a = scan.nextInt();\n\t String op = scan.next();\n\t int b = scan.nextInt();\n\t \n\t\t\tif (op.equals (\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tx = A/b;\n\t\t\t}\n\t\t\tSystem.out.println((int) x);\n\t\t}\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner scan = new Scanner(System.in); double x = 0; while(true) { int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); if (op.equals ("?")){ break; } else if(op.equals ("+")) { x = a+b; } else if(op.equals ("-")) { x = a-b; } else if(op.equals ("*")) { x = a*b; } else if(op.equals ("/")) { double A = a; x = A/b; } System.out.println((int) x); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 13, 14, 2, 13, 17, 30, 41, 13, 4, 18, 13, 17, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 18, 13, 17, 14, 40, 4, 18, 13, 17, 30, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 1, 4, 18, 18, 13, 13, 17, 3, 30, 3, 30, 3, 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 ], [ 164, 11 ], [ 164, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 27, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 27, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 65, 69 ], [ 62, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 62, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 62, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 62, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 91, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 102, 111 ], [ 98, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 114, 123 ], [ 98, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 126, 135 ], [ 98, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 138, 147 ], [ 98, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 149, 156 ], [ 91, 157 ], [ 157, 158 ], [ 58, 159 ], [ 159, 160 ], [ 12, 161 ], [ 161, 162 ], [ 0, 163 ], [ 163, 164 ], [ 163, 165 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint NumA = 0;\n\t\tint NumB = 0;\n\n\t\tString line = null;\n\t\tString op = null;\n\n\t\ttry {\n\t\t\t//??\\???????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\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", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint NumA = 0;\n\t\tint NumB = 0;\n\n\t\tString line = null;\n\t\tString op = null;\n\n\t\ttry {\n\t\t\t//??\\???????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint NumA = 0;\n\t\tint NumB = 0;\n\n\t\tString line = null;\n\t\tString op = null;\n\n\t\ttry {\n\t\t\t//??\\???????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}", "main", "{\n\n\t\t//?????£?????????\n\t\tint NumA = 0;\n\t\tint NumB = 0;\n\n\t\tString line = null;\n\t\tString op = null;\n\n\t\ttry {\n\t\t\t//??\\???????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}", "int NumA = 0;", "NumA", "0", "int NumB = 0;", "NumB", "0", "String line = null;", "line", "null", "String op = null;", "op", "null", "try {\n\t\t\t//??\\???????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "NumberFormatException e", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n\t\t\t//??\\???????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}\n\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}", "true", "{\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}", "line = br.readLine()", "line", "br.readLine()", "br.readLine", "br", "if (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}", "line != null", "line", "null", "{\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}", "String[] NumList = line.split(\" \", 0);", "NumList", "line.split(\" \", 0)", "line.split", "line", "\" \"", "0", "NumA = Integer.parseInt(NumList[0])", "NumA", "Integer.parseInt(NumList[0])", "Integer.parseInt", "Integer", "NumList[0]", "NumList", "0", "NumB = Integer.parseInt(NumList[2])", "NumB", "Integer.parseInt(NumList[2])", "Integer.parseInt", "Integer", "NumList[2]", "NumList", "2", "op = NumList[1]", "op", "NumList[1]", "NumList", "1", "if (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "!op.equals(\"?\")", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "switch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "System.out.println(NumA + NumB)", "System.out.println", "System.out", "System", "System.out", "NumA + NumB", "NumA", "NumB", "break;", "case \"-\":", "\"-\"", "case \"-\":", "System.out.println(NumA - NumB)", "System.out.println", "System.out", "System", "System.out", "NumA - NumB", "NumA", "NumB", "break;", "case \"*\":", "\"*\"", "case \"*\":", "System.out.println(NumA * NumB)", "System.out.println", "System.out", "System", "System.out", "NumA * NumB", "NumA", "NumB", "break;", "case \"/\":", "\"/\"", "case \"/\":", "System.out.println(NumA / NumB)", "System.out.println", "System.out", "System", "System.out", "NumA / NumB", "NumA", "NumB", "break;", "default:", "default:", "System.out.println(\"other\")", "System.out.println", "System.out", "System", "System.out", "\"other\"", "break;", "{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "break;", "{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint NumA = 0;\n\t\tint NumB = 0;\n\n\t\tString line = null;\n\t\tString op = null;\n\n\t\ttry {\n\t\t\t//??\\???????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint NumA = 0;\n\t\tint NumB = 0;\n\n\t\tString line = null;\n\t\tString op = null;\n\n\t\ttry {\n\t\t\t//??\\???????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tline = br.readLine();\n\n\t\t\t\tif (line != null) {\n\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] NumList = line.split(\" \", 0);\n\n\t\t\t\t\t//????????°?????£??\\\n\t\t\t\t\tNumA = Integer.parseInt(NumList[0]);\n\t\t\t\t\tNumB = Integer.parseInt(NumList[2]);\n\t\t\t\t\top = NumList[1];\n\n\t\t\t\t\t//???????¢??????¨\n\t\t\t\t\t//System.out.println(NumA + op + NumB);\n\n\t\t\t\t\t//?????????????\n\t\t\t\t\tif (!op.equals(\"?\")) {\n\n\t\t\t\t\t\t//????????????\n\t\t\t\t\t\tswitch (op) {\n\t\t\t\t\t\tcase \"+\":\n\t\t\t\t\t\t\tSystem.out.println(NumA + NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"-\":\n\t\t\t\t\t\t\tSystem.out.println(NumA - NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"*\":\n\t\t\t\t\t\t\tSystem.out.println(NumA * NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase \"/\":\n\t\t\t\t\t\t\tSystem.out.println(NumA / NumB);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tSystem.out.println(\"other\");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\t//System.out.println(\"END\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t//System.out.println(\"???\");\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { //?????£????????? int NumA = 0; int NumB = 0; String line = null; String op = null; try { //??\??????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { line = br.readLine(); if (line != null) { //??????????????????????????? String[] NumList = line.split(" ", 0); //????????°?????£??\ NumA = Integer.parseInt(NumList[0]); NumB = Integer.parseInt(NumList[2]); op = NumList[1]; //???????¢??????¨ //System.out.println(NumA + op + NumB); //????????????? if (!op.equals("?")) { //???????????? switch (op) { case "+": System.out.println(NumA + NumB); break; case "-": System.out.println(NumA - NumB); break; case "*": System.out.println(NumA * NumB); break; case "/": System.out.println(NumA / NumB); break; default: System.out.println("other"); break; } }else{ break; } }else{ //System.out.println("END"); break; } //System.out.println("???"); } }catch (NumberFormatException e) { System.out.println(e); } catch (IOException e) { System.out.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 3, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 79, 84 ], [ 23, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 6, 91 ], [ 91, 92 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b, answer = 0;\n\t\tString operator;\n\n\t\twhile (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\toperator = scanner.next();\n\t\t\tb = scanner.nextInt();\n\n\t\t\tif (operator.equals(\"+\"))\n\t\t\t\tanswer = a + b;\n\t\t\telse if (operator.equals(\"-\"))\n\t\t\t\tanswer = a - b;\n\t\t\telse if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tSystem.out.println((int) answer);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b, answer = 0;\n\t\tString operator;\n\n\t\twhile (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\toperator = scanner.next();\n\t\t\tb = scanner.nextInt();\n\n\t\t\tif (operator.equals(\"+\"))\n\t\t\t\tanswer = a + b;\n\t\t\telse if (operator.equals(\"-\"))\n\t\t\t\tanswer = a - b;\n\t\t\telse if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tSystem.out.println((int) answer);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b, answer = 0;\n\t\tString operator;\n\n\t\twhile (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\toperator = scanner.next();\n\t\t\tb = scanner.nextInt();\n\n\t\t\tif (operator.equals(\"+\"))\n\t\t\t\tanswer = a + b;\n\t\t\telse if (operator.equals(\"-\"))\n\t\t\t\tanswer = a - b;\n\t\t\telse if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tSystem.out.println((int) answer);\n\t\t}\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a, b, answer = 0;\n\t\tString operator;\n\n\t\twhile (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\toperator = scanner.next();\n\t\t\tb = scanner.nextInt();\n\n\t\t\tif (operator.equals(\"+\"))\n\t\t\t\tanswer = a + b;\n\t\t\telse if (operator.equals(\"-\"))\n\t\t\t\tanswer = a - b;\n\t\t\telse if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tSystem.out.println((int) answer);\n\t\t}\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a", "a", "b", "b", "answer = 0;", "answer", "0", "String operator;", "operator", "while (true) {\n\t\t\ta = scanner.nextInt();\n\t\t\toperator = scanner.next();\n\t\t\tb = scanner.nextInt();\n\n\t\t\tif (operator.equals(\"+\"))\n\t\t\t\tanswer = a + b;\n\t\t\telse if (operator.equals(\"-\"))\n\t\t\t\tanswer = a - b;\n\t\t\telse if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tSystem.out.println((int) answer);\n\t\t}", "true", "{\n\t\t\ta = scanner.nextInt();\n\t\t\toperator = scanner.next();\n\t\t\tb = scanner.nextInt();\n\n\t\t\tif (operator.equals(\"+\"))\n\t\t\t\tanswer = a + b;\n\t\t\telse if (operator.equals(\"-\"))\n\t\t\t\tanswer = a - b;\n\t\t\telse if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tSystem.out.println((int) answer);\n\t\t}", "a = scanner.nextInt()", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "operator = scanner.next()", "operator", "scanner.next()", "scanner.next", "scanner", "b = scanner.nextInt()", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "if (operator.equals(\"+\"))\n\t\t\t\tanswer = a + b;\n\t\t\telse if (operator.equals(\"-\"))\n\t\t\t\tanswer = a - b;\n\t\t\telse if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;", "operator.equals(\"+\")", "operator.equals", "operator", "\"+\"", "answer = a + b", "answer", "a + b", "a", "b", "if (operator.equals(\"-\"))\n\t\t\t\tanswer = a - b;\n\t\t\telse if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;", "operator.equals(\"-\")", "operator.equals", "operator", "\"-\"", "answer = a - b", "answer", "a - b", "a", "b", "if (operator.equals(\"*\"))\n\t\t\t\tanswer = a * b;\n\t\t\telse if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;", "operator.equals(\"*\")", "operator.equals", "operator", "\"*\"", "answer = a * b", "answer", "a * b", "a", "b", "if (operator.equals(\"/\"))\n\t\t\t\tanswer = a / b;\n\t\t\telse if (operator.equals(\"?\"))\n\t\t\t\tbreak;", "operator.equals(\"/\")", "operator.equals", "operator", "\"/\"", "answer = a / b", "answer", "a / b", "a", "b", "if (operator.equals(\"?\"))\n\t\t\t\tbreak;", "operator.equals(\"?\")", "operator.equals", "operator", "\"?\"", "break;", "System.out.println((int) answer)", "System.out.println", "System.out", "System", "System.out", "(int) answer", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a, b, answer = 0; String operator; while (true) { a = scanner.nextInt(); operator = scanner.next(); b = scanner.nextInt(); if (operator.equals("+")) answer = a + b; else if (operator.equals("-")) answer = a - b; else if (operator.equals("*")) answer = a * b; else if (operator.equals("/")) answer = a / b; else if (operator.equals("?")) break; System.out.println((int) answer); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 3, 23, 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 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 20, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 45, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 45, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 61, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 61, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 77, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 77, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 93, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 93, 109 ], [ 109, 110 ], [ 12, 111 ], [ 111, 112 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")){\n \tSystem.out.println(a + b);\n }\n else if (line[1].equals(\"-\")) {\n \tSystem.out.println(a - b);\n }\n else if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\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", "class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")){\n \tSystem.out.println(a + b);\n }\n else if (line[1].equals(\"-\")) {\n \tSystem.out.println(a - b);\n }\n else if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")){\n \tSystem.out.println(a + b);\n }\n else if (line[1].equals(\"-\")) {\n \tSystem.out.println(a - b);\n }\n else if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")){\n \tSystem.out.println(a + b);\n }\n else if (line[1].equals(\"-\")) {\n \tSystem.out.println(a - b);\n }\n else if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")){\n \tSystem.out.println(a + b);\n }\n else if (line[1].equals(\"-\")) {\n \tSystem.out.println(a - b);\n }\n else if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }\n }", "true", "{\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")){\n \tSystem.out.println(a + b);\n }\n else if (line[1].equals(\"-\")) {\n \tSystem.out.println(a - b);\n }\n else if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }\n }", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(line[0]);", "a", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int b = Integer.parseInt(line[2]);", "b", "Integer.parseInt(line[2])", "Integer.parseInt", "Integer", "line[2]", "line", "2", "if (line[1].equals(\"+\")){\n \tSystem.out.println(a + b);\n }\n else if (line[1].equals(\"-\")) {\n \tSystem.out.println(a - b);\n }\n else if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }", "line[1].equals(\"+\")", "line[1].equals", "line[1]", "line", "1", "\"+\"", "{\n \tSystem.out.println(a + b);\n }", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if (line[1].equals(\"-\")) {\n \tSystem.out.println(a - b);\n }\n else if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }", "line[1].equals(\"-\")", "line[1].equals", "line[1]", "line", "1", "\"-\"", "{\n \tSystem.out.println(a - b);\n }", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if (line[1].equals(\"*\")){\n \tSystem.out.println(a * b);\n }\n else if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }", "line[1].equals(\"*\")", "line[1].equals", "line[1]", "line", "1", "\"*\"", "{\n \tSystem.out.println(a * b);\n }", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if (line[1].equals(\"/\")){\n \tSystem.out.println(a / b);\n }\n else{\n \tbreak;\n }", "line[1].equals(\"/\")", "line[1].equals", "line[1]", "line", "1", "\"/\"", "{\n \tSystem.out.println(a / b);\n }", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "{\n \tbreak;\n }", "break;", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String[] line = br.readLine().split(" "); int a = Integer.parseInt(line[0]); int b = Integer.parseInt(line[2]); if (line[1].equals("+")){ System.out.println(a + b); } else if (line[1].equals("-")) { System.out.println(a - b); } else if (line[1].equals("*")){ System.out.println(a * b); } else if (line[1].equals("/")){ System.out.println(a / b); } else{ break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 11, 1, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 14, 2, 13, 17, 3, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 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 ], [ 15, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 15, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 15, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 15, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 43, 52 ], [ 39, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 55, 64 ], [ 39, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 67, 76 ], [ 39, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 79, 88 ], [ 6, 89 ], [ 89, 90 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\n\t\t\tint x = scan.nextInt();\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\tif(ch == '?')\n\t\t\t\tbreak;\n\t\t\tint y = scan.nextInt();\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tSystem.out.println(x + y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tSystem.out.println(x * y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\n\t\t\tint x = scan.nextInt();\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\tif(ch == '?')\n\t\t\t\tbreak;\n\t\t\tint y = scan.nextInt();\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tSystem.out.println(x + y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tSystem.out.println(x * y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\n\t\t\tint x = scan.nextInt();\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\tif(ch == '?')\n\t\t\t\tbreak;\n\t\t\tint y = scan.nextInt();\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tSystem.out.println(x + y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tSystem.out.println(x * y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\n\t\t\tint x = scan.nextInt();\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\tif(ch == '?')\n\t\t\t\tbreak;\n\t\t\tint y = scan.nextInt();\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tSystem.out.println(x + y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tSystem.out.println(x * y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "for(;;){\n\n\t\t\tint x = scan.nextInt();\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\tif(ch == '?')\n\t\t\t\tbreak;\n\t\t\tint y = scan.nextInt();\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tSystem.out.println(x + y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tSystem.out.println(x * y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", ";", "{\n\n\t\t\tint x = scan.nextInt();\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\tif(ch == '?')\n\t\t\t\tbreak;\n\t\t\tint y = scan.nextInt();\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tSystem.out.println(x + y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tSystem.out.println(x * y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\n\t\t\tint x = scan.nextInt();\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\tif(ch == '?')\n\t\t\t\tbreak;\n\t\t\tint y = scan.nextInt();\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tSystem.out.println(x + y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tSystem.out.println(x * y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "char ch = scan.next().charAt(0);", "ch", "scan.next().charAt(0)", "scan.next().charAt", "scan.next()", "scan.next", "scan", "0", "if(ch == '?')\n\t\t\t\tbreak;", "ch == '?'", "ch", "'?'", "break;", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "switch(ch){\n\t\t\tcase '+':\n\t\t\t\tSystem.out.println(x + y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tSystem.out.println(x * y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t\tbreak;\n\t\t\t}", "ch", "case '+':", "'+'", "case '+':", "System.out.println(x + y)", "System.out.println", "System.out", "System", "System.out", "x + y", "x", "y", "break;", "case '-':", "'-'", "case '-':", "System.out.println(x - y)", "System.out.println", "System.out", "System", "System.out", "x - y", "x", "y", "break;", "case '*':", "'*'", "case '*':", "System.out.println(x * y)", "System.out.println", "System.out", "System", "System.out", "x * y", "x", "y", "break;", "case '/':", "'/'", "case '/':", "System.out.println(x / y)", "System.out.println", "System.out", "System", "System.out", "x / y", "x", "y", "break;", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); for(;;){ int x = scan.nextInt(); char ch = scan.next().charAt(0); if(ch == '?') break; int y = scan.nextInt(); switch(ch){ case '+': System.out.println(x + y); break; case '-': System.out.println(x - y); break; case '*': System.out.println(x * y); break; case '/': System.out.println(x / y); break; } } } }
[ 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, 17, 42, 17, 30, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 17, 40, 17, 3, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 17, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 146, 14 ], [ 146, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 17, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 29, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 35, 43 ], [ 29, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 17, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 48, 58 ], [ 58, 59 ], [ 59, 60 ], [ 48, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 65, 71 ], [ 62, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 77, 79 ], [ 62, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 62, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 62, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 93, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 104, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 104, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 115, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 123, 125 ], [ 115, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 126, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 134, 136 ], [ 62, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 15, 143 ], [ 143, 144 ], [ 0, 145 ], [ 145, 146 ], [ 145, 147 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tint ans = 0;\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (str.indexOf(\"?\") != -1) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\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.ArrayList;", "ArrayList", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tint ans = 0;\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (str.indexOf(\"?\") != -1) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tint ans = 0;\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (str.indexOf(\"?\") != -1) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tint ans = 0;\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (str.indexOf(\"?\") != -1) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "BufferedReader br =new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "ArrayList<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "int ans = 0;", "ans", "0", "while (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (str.indexOf(\"?\") != -1) break;\n\t\t\tlist.add(str);\n\t\t}", "true", "{\n\t\t\tString str = br.readLine();\n\t\t\tif (str.indexOf(\"?\") != -1) break;\n\t\t\tlist.add(str);\n\t\t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "if (str.indexOf(\"?\") != -1) break;", "str.indexOf(\"?\") != -1", "str.indexOf(\"?\")", "str.indexOf", "str", "\"?\"", "-1", "1", "break;", "list.add(str)", "list.add", "list", "str", "for (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "{\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "String[] stra = list.get(i).split(\" \");", "stra", "list.get(i).split(\" \")", "list.get(i).split", "list.get(i)", "list.get", "list", "i", "\" \"", "int a = Integer.parseInt(stra[0]);", "a", "Integer.parseInt(stra[0])", "Integer.parseInt", "Integer", "stra[0]", "stra", "0", "String op = stra[1];", "op", "stra[1]", "stra", "1", "int b = Integer.parseInt(stra[2]);", "b", "Integer.parseInt(stra[2])", "Integer.parseInt", "Integer", "stra[2]", "stra", "2", "if(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}", "\"+\".equals(op)", "\"+\".equals", "\"+\"", "op", "{\n\t\t\t\tans = a+b;\n\t\t\t}", "ans = a+b", "ans", "a+b", "a", "b", "if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}", "\"-\".equals(op)", "\"-\".equals", "\"-\"", "op", "{\n\t\t\t\tans = a-b;\n\t\t\t}", "ans = a-b", "ans", "a-b", "a", "b", "if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}", "\"*\".equals(op)", "\"*\".equals", "\"*\"", "op", "{\n\t\t\t\tans = a*b;\n\t\t\t}", "ans = a*b", "ans", "a*b", "a", "b", "if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}", "\"/\".equals(op)", "\"/\".equals", "\"/\"", "op", "{\n\t\t\t\tans = a/b;\n\t\t\t}", "ans = a/b", "ans", "a/b", "a", "b", "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\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tint ans = 0;\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (str.indexOf(\"?\") != -1) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tint ans = 0;\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (str.indexOf(\"?\") != -1) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tString op = stra[1];\n\t\t\tint b = Integer.parseInt(stra[2]);\n\t\t\tif(\"+\".equals(op)){\n\t\t\t\tans = a+b;\n\t\t\t}else if(\"-\".equals(op)){\n\t\t\t\tans = a-b;\n\t\t\t}else if(\"*\".equals(op)){\n\t\t\t\tans = a*b;\n\t\t\t}else if (\"/\".equals(op)){\n\t\t\t\tans = a/b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br =new BufferedReader(new InputStreamReader(System.in)); ArrayList<String> list = new ArrayList<String>(); int ans = 0; while (true){ String str = br.readLine(); if (str.indexOf("?") != -1) break; list.add(str); } for (int i = 0 ;i < list.size() ; i++){ String[] stra = list.get(i).split(" "); int a = Integer.parseInt(stra[0]); String op = stra[1]; int b = Integer.parseInt(stra[2]); if("+".equals(op)){ ans = a+b; }else if("-".equals(op)){ ans = a-b; }else if("*".equals(op)){ ans = a*b; }else if ("/".equals(op)){ ans = a/b; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 40, 4, 18, 17, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 0, 13, 13, 14, 4, 18, 17, 13, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 118, 5 ], [ 118, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 15, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 21, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 21, 37 ], [ 37, 38 ], [ 37, 39 ], [ 21, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 21, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 21, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 21, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 21, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 108, 113 ], [ 113, 114 ], [ 6, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n String op = \"+\";\n while (!\"?\".equals(op)) {\n int a = scanner.nextInt();\n String ope = scanner.next();\n int b = scanner.nextInt();\n \n op=ope;\n \n \n if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }\n if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }\n if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }\n if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }\n if (\"?\".equals(op)) {\n break;\n }\n }\n }\n}", "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\n String op = \"+\";\n while (!\"?\".equals(op)) {\n int a = scanner.nextInt();\n String ope = scanner.next();\n int b = scanner.nextInt();\n \n op=ope;\n \n \n if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }\n if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }\n if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }\n if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }\n if (\"?\".equals(op)) {\n break;\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n String op = \"+\";\n while (!\"?\".equals(op)) {\n int a = scanner.nextInt();\n String ope = scanner.next();\n int b = scanner.nextInt();\n \n op=ope;\n \n \n if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }\n if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }\n if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }\n if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }\n if (\"?\".equals(op)) {\n break;\n }\n }\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n\n String op = \"+\";\n while (!\"?\".equals(op)) {\n int a = scanner.nextInt();\n String ope = scanner.next();\n int b = scanner.nextInt();\n \n op=ope;\n \n \n if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }\n if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }\n if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }\n if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }\n if (\"?\".equals(op)) {\n break;\n }\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String op = \"+\";", "op", "\"+\"", "while (!\"?\".equals(op)) {\n int a = scanner.nextInt();\n String ope = scanner.next();\n int b = scanner.nextInt();\n \n op=ope;\n \n \n if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }\n if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }\n if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }\n if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }\n if (\"?\".equals(op)) {\n break;\n }\n }", "!\"?\".equals(op)", "\"?\".equals(op)", "\"?\".equals", "\"?\"", "op", "{\n int a = scanner.nextInt();\n String ope = scanner.next();\n int b = scanner.nextInt();\n \n op=ope;\n \n \n if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }\n if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }\n if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }\n if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }\n if (\"?\".equals(op)) {\n break;\n }\n }", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "String ope = scanner.next();", "ope", "scanner.next()", "scanner.next", "scanner", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "op=ope", "op", "ope", "if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }", "\"+\".equals(op)", "\"+\".equals", "\"+\"", "op", "{\n int c = a + b;\n System.out.println(c);\n }", "int c = a + b;", "c", "a + b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }", "\"-\".equals(op)", "\"-\".equals", "\"-\"", "op", "{\n int c = a - b;\n System.out.println(c);\n }", "int c = a - b;", "c", "a - b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }", "\"*\".equals(op)", "\"*\".equals", "\"*\"", "op", "{\n int c = a * b;\n System.out.println(c);\n }", "int c = a * b;", "c", "a * b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }", "\"/\".equals(op)", "\"/\".equals", "\"/\"", "op", "{\n int c = a / b;\n System.out.println(c);\n }", "int c = a / b;", "c", "a / b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "if (\"?\".equals(op)) {\n break;\n }", "\"?\".equals(op)", "\"?\".equals", "\"?\"", "op", "{\n break;\n }", "break;", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n String op = \"+\";\n while (!\"?\".equals(op)) {\n int a = scanner.nextInt();\n String ope = scanner.next();\n int b = scanner.nextInt();\n \n op=ope;\n \n \n if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }\n if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }\n if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }\n if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }\n if (\"?\".equals(op)) {\n break;\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n String op = \"+\";\n while (!\"?\".equals(op)) {\n int a = scanner.nextInt();\n String ope = scanner.next();\n int b = scanner.nextInt();\n \n op=ope;\n \n \n if (\"+\".equals(op)) {\n int c = a + b;\n System.out.println(c);\n }\n if (\"-\".equals(op)) {\n int c = a - b;\n System.out.println(c);\n }\n if (\"*\".equals(op)) {\n int c = a * b;\n System.out.println(c);\n }\n if (\"/\".equals(op)) {\n int c = a / b;\n System.out.println(c);\n }\n if (\"?\".equals(op)) {\n break;\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String op = "+"; while (!"?".equals(op)) { int a = scanner.nextInt(); String ope = scanner.next(); int b = scanner.nextInt(); op=ope; if ("+".equals(op)) { int c = a + b; System.out.println(c); } if ("-".equals(op)) { int c = a - b; System.out.println(c); } if ("*".equals(op)) { int c = a * b; System.out.println(c); } if ("/".equals(op)) { int c = a / b; System.out.println(c); } if ("?".equals(op)) { break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 14, 4, 18, 17, 13, 30, 3, 30, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 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 ], [ 188, 14 ], [ 188, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 28, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 28, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 28, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 28, 61 ], [ 61, 62 ], [ 61, 63 ], [ 28, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 64, 71 ], [ 71, 72 ], [ 72, 73 ], [ 75, 74 ], [ 82, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 79, 81 ], [ 82, 82 ], [ 82, 83 ], [ 82, 84 ], [ 75, 85 ], [ 85, 86 ], [ 85, 87 ], [ 72, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 89, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 89, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 107, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 107, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 133, 135 ], [ 130, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 125, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 143, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 151, 153 ], [ 148, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 17, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 161, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 161, 171 ], [ 171, 172 ], [ 172, 173 ], [ 161, 174 ], [ 175, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 181, 182 ], [ 182, 183 ], [ 181, 184 ], [ 15, 185 ], [ 185, 186 ], [ 0, 187 ], [ 187, 188 ], [ 187, 189 ] ]
[ "import java.io.BufferedInputStream;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\t\t\n\t\tScanner scanner = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString num = scanner.nextLine();\n\t\t\tString[] input = num.split(\" \");\n\t\t\tint number1 = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint number2 = Integer.parseInt(input[2]);\n\t\t\tint result = 0;\n\t\t\tif(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}", "import java.io.BufferedInputStream;", "BufferedInputStream", "java.io", "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\tpublic static void main(String[] args) {\t\t\n\t\tScanner scanner = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString num = scanner.nextLine();\n\t\t\tString[] input = num.split(\" \");\n\t\t\tint number1 = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint number2 = Integer.parseInt(input[2]);\n\t\t\tint result = 0;\n\t\t\tif(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\t\t\n\t\tScanner scanner = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString num = scanner.nextLine();\n\t\t\tString[] input = num.split(\" \");\n\t\t\tint number1 = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint number2 = Integer.parseInt(input[2]);\n\t\t\tint result = 0;\n\t\t\tif(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}", "main", "{\t\t\n\t\tScanner scanner = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString num = scanner.nextLine();\n\t\t\tString[] input = num.split(\" \");\n\t\t\tint number1 = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint number2 = Integer.parseInt(input[2]);\n\t\t\tint result = 0;\n\t\t\tif(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}", "Scanner scanner = new Scanner(new BufferedInputStream(System.in));", "scanner", "new Scanner(new BufferedInputStream(System.in))", "List<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "while(scanner.hasNext()) {\n\t\t\tString num = scanner.nextLine();\n\t\t\tString[] input = num.split(\" \");\n\t\t\tint number1 = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint number2 = Integer.parseInt(input[2]);\n\t\t\tint result = 0;\n\t\t\tif(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}", "scanner.hasNext()", "scanner.hasNext", "scanner", "{\n\t\t\tString num = scanner.nextLine();\n\t\t\tString[] input = num.split(\" \");\n\t\t\tint number1 = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint number2 = Integer.parseInt(input[2]);\n\t\t\tint result = 0;\n\t\t\tif(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}", "String num = scanner.nextLine();", "num", "scanner.nextLine()", "scanner.nextLine", "scanner", "String[] input = num.split(\" \");", "input", "num.split(\" \")", "num.split", "num", "\" \"", "int number1 = Integer.parseInt(input[0]);", "number1", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "String op = input[1];", "op", "input[1]", "input", "1", "int number2 = Integer.parseInt(input[2]);", "number2", "Integer.parseInt(input[2])", "Integer.parseInt", "Integer", "input[2]", "input", "2", "int result = 0;", "result", "0", "if(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "\"?\" .equals(op)", "\"?\" .equals", "\"?\"", "op", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "{\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "if(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}", "number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000", "number2 >= 0", "number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000", "number1 >= 0", "number1", "0", "number1 <= 20000", "number1", "20000", "number2 >= 0", "number2", "0", "number2 <= 20000", "number2", "20000", "{\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}", "if(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}", "\"+\" .equals(op)", "\"+\" .equals", "\"+\"", "op", "{\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}", "result = number1+number2", "result", "number1+number2", "number1", "number2", "list.add(String.valueOf(result))", "list.add", "list", "String.valueOf(result)", "String.valueOf", "String", "result", "if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}", "\"-\" .equals(op)", "\"-\" .equals", "\"-\"", "op", "{\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}", "result = number1-number2", "result", "number1-number2", "number1", "number2", "list.add(String.valueOf(result))", "list.add", "list", "String.valueOf(result)", "String.valueOf", "String", "result", "if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}", "\"*\" .equals(op)", "\"*\" .equals", "\"*\"", "op", "{\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}", "result = number1*number2", "result", "number1*number2", "number1", "number2", "list.add(String.valueOf(result))", "list.add", "list", "String.valueOf(result)", "String.valueOf", "String", "result", "if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}", "\"/\" .equals(op)", "\"/\" .equals", "\"/\"", "op", "{\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}", "result = number1/number2", "result", "number1/number2", "number1", "number2", "list.add(String.valueOf(result))", "list.add", "list", "String.valueOf(result)", "String.valueOf", "String", "result", "for(int i = 0; i < list.size(); i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "System.out.println(list.get(i))", "System.out.println", "System.out", "System", "System.out", "list.get(i)", "list.get", "list", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\t\t\n\t\tScanner scanner = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString num = scanner.nextLine();\n\t\t\tString[] input = num.split(\" \");\n\t\t\tint number1 = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint number2 = Integer.parseInt(input[2]);\n\t\t\tint result = 0;\n\t\t\tif(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\t\t\n\t\tScanner scanner = new Scanner(new BufferedInputStream(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile(scanner.hasNext()) {\n\t\t\tString num = scanner.nextLine();\n\t\t\tString[] input = num.split(\" \");\n\t\t\tint number1 = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint number2 = Integer.parseInt(input[2]);\n\t\t\tint result = 0;\n\t\t\tif(\"?\" .equals(op)) {\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tif(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) {\n\t\t\t\t\tif(\"+\" .equals(op)) {\n\t\t\t\t\t\tresult = number1+number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}else if(\"-\" .equals(op)) {\n\t\t\t\t\t\tresult = number1-number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"*\" .equals(op)) {\n\t\t\t\t\t\tresult = number1*number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t\telse if(\"/\" .equals(op)) {\n\t\t\t\t\t\tresult = number1/number2;\n\t\t\t\t\t\tlist.add(String.valueOf(result));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedInputStream; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(new BufferedInputStream(System.in)); List<String> list = new ArrayList<String>(); while(scanner.hasNext()) { String num = scanner.nextLine(); String[] input = num.split(" "); int number1 = Integer.parseInt(input[0]); String op = input[1]; int number2 = Integer.parseInt(input[2]); int result = 0; if("?" .equals(op)) { break; }else { if(number1 >= 0 && number1 <= 20000 && number2 >= 0 && number2 <= 20000) { if("+" .equals(op)) { result = number1+number2; list.add(String.valueOf(result)); }else if("-" .equals(op)) { result = number1-number2; list.add(String.valueOf(result)); } else if("*" .equals(op)) { result = number1*number2; list.add(String.valueOf(result)); } else if("/" .equals(op)) { result = number1/number2; list.add(String.valueOf(result)); } } } } for(int i = 0; i < list.size(); i++) { System.out.println(list.get(i)); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 0, 13, 20, 17, 41, 13, 41, 13, 41, 13, 0, 13, 17, 11, 1, 41, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 17, 4, 18, 13, 0, 18, 13, 17, 4, 18, 13, 0, 18, 13, 17, 4, 18, 13, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 3, 30, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 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 ], [ 145, 5 ], [ 145, 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 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 33, 34 ], [ 27, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 36, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 36, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 36, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 36, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 74, 81 ], [ 81, 82 ], [ 74, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 84, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 83, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 97, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 83, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 110, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 83, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 123, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 133, 135 ], [ 83, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 6, 142 ], [ 142, 143 ], [ 0, 144 ], [ 144, 145 ], [ 144, 146 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str[];\n str = new String[3];\n int num1, num2, Ans;\n Ans =0;\n for (int i=1;;i++)\n {\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }\n }\n \n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str[];\n str = new String[3];\n int num1, num2, Ans;\n Ans =0;\n for (int i=1;;i++)\n {\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }\n }\n \n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str[];\n str = new String[3];\n int num1, num2, Ans;\n Ans =0;\n for (int i=1;;i++)\n {\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }\n }", "main", "{\n Scanner in = new Scanner(System.in);\n String str[];\n str = new String[3];\n int num1, num2, Ans;\n Ans =0;\n for (int i=1;;i++)\n {\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "String str[];", "str", "str = new String[3]", "str", "new String[3]", "3", "int num1", "num1", "num2", "num2", "Ans;", "Ans", "Ans =0", "Ans", "0", "for (int i=1;;i++)\n {\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }", "int i=1;", "int i=1;", "i", "1", "i++", "i++", "i", "{\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }", "{\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }", "str[0] = in.next()", "str[0]", "str", "0", "in.next()", "in.next", "in", "str[1] = in.next()", "str[1]", "str", "1", "in.next()", "in.next", "in", "str[2] = in.next()", "str[2]", "str", "2", "in.next()", "in.next", "in", "num1 = Integer.parseInt(str[0])", "num1", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "num2 = Integer.parseInt(str[2])", "num2", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}", "str[1].equals(\"?\")", "str[1].equals", "str[1]", "str", "1", "\"?\"", "{break;}", "break;", "{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}", "if (str[1].equals(\"+\")){Ans = num1+num2;}", "str[1].equals(\"+\")", "str[1].equals", "str[1]", "str", "1", "\"+\"", "{Ans = num1+num2;}", "Ans = num1+num2", "Ans", "num1+num2", "num1", "num2", "if (str[1].equals(\"-\")){Ans = num1-num2;}", "str[1].equals(\"-\")", "str[1].equals", "str[1]", "str", "1", "\"-\"", "{Ans = num1-num2;}", "Ans = num1-num2", "Ans", "num1-num2", "num1", "num2", "if (str[1].equals(\"*\")){Ans = num1*num2;}", "str[1].equals(\"*\")", "str[1].equals", "str[1]", "str", "1", "\"*\"", "{Ans = num1*num2;}", "Ans = num1*num2", "Ans", "num1*num2", "num1", "num2", "if (str[1].equals(\"/\")){Ans = num1/num2;}", "str[1].equals(\"/\")", "str[1].equals", "str[1]", "str", "1", "\"/\"", "{Ans = num1/num2;}", "Ans = num1/num2", "Ans", "num1/num2", "num1", "num2", "System.out.println(Ans)", "System.out.println", "System.out", "System", "System.out", "Ans", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str[];\n str = new String[3];\n int num1, num2, Ans;\n Ans =0;\n for (int i=1;;i++)\n {\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }\n }\n \n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str[];\n str = new String[3];\n int num1, num2, Ans;\n Ans =0;\n for (int i=1;;i++)\n {\n str[0] = in.next();\n str[1] = in.next();\n str[2] = in.next();\n num1 = Integer.parseInt(str[0]);\n num2 = Integer.parseInt(str[2]);\n if (str[1].equals(\"?\")){break;}\n else{\n if (str[1].equals(\"+\")){Ans = num1+num2;}\n if (str[1].equals(\"-\")){Ans = num1-num2;}\n if (str[1].equals(\"*\")){Ans = num1*num2;}\n if (str[1].equals(\"/\")){Ans = num1/num2;}\n System.out.println(Ans);}\n }\n }\n \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String str[]; str = new String[3]; int num1, num2, Ans; Ans =0; for (int i=1;;i++) { str[0] = in.next(); str[1] = in.next(); str[2] = in.next(); num1 = Integer.parseInt(str[0]); num2 = Integer.parseInt(str[2]); if (str[1].equals("?")){break;} else{ if (str[1].equals("+")){Ans = num1+num2;} if (str[1].equals("-")){Ans = num1-num2;} if (str[1].equals("*")){Ans = num1*num2;} if (str[1].equals("/")){Ans = num1/num2;} System.out.println(Ans);} } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 40, 4, 18, 17, 13, 30, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 41, 13, 17, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 4, 18, 13, 13, 30, 4, 18, 13, 3, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 164, 8 ], [ 164, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 11, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 31, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 31, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 70, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 53, 83 ], [ 83, 84 ], [ 83, 85 ], [ 53, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 86, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 97, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 105, 107 ], [ 97, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 108, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 108, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 122, 124 ], [ 53, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 47, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 129, 133 ], [ 11, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 134, 144 ], [ 144, 145 ], [ 145, 146 ], [ 134, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 148, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 155, 160 ], [ 9, 161 ], [ 161, 162 ], [ 0, 163 ], [ 163, 164 ], [ 163, 165 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tString a = null;\n\t\tString b = null;\n\t\tString c = null;\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\ta = scan.next();\n\t\t\tb = scan.next();\n\t\t\tc = scan.next();\n\n\t\t\tif(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}\n\n\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tString a = null;\n\t\tString b = null;\n\t\tString c = null;\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\ta = scan.next();\n\t\t\tb = scan.next();\n\t\t\tc = scan.next();\n\n\t\t\tif(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}\n\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tString a = null;\n\t\tString b = null;\n\t\tString c = null;\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\ta = scan.next();\n\t\t\tb = scan.next();\n\t\t\tc = scan.next();\n\n\t\t\tif(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}\n\n\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tString a = null;\n\t\tString b = null;\n\t\tString c = null;\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\ta = scan.next();\n\t\t\tb = scan.next();\n\t\t\tc = scan.next();\n\n\t\t\tif(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}\n\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "String a = null;", "a", "null", "String b = null;", "b", "null", "String c = null;", "c", "null", "while(scan.hasNext()){\n\n\t\t\ta = scan.next();\n\t\t\tb = scan.next();\n\t\t\tc = scan.next();\n\n\t\t\tif(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}", "scan.hasNext()", "scan.hasNext", "scan", "{\n\n\t\t\ta = scan.next();\n\t\t\tb = scan.next();\n\t\t\tc = scan.next();\n\n\t\t\tif(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}", "a = scan.next()", "a", "scan.next()", "scan.next", "scan", "b = scan.next()", "b", "scan.next()", "scan.next", "scan", "c = scan.next()", "c", "scan.next()", "scan.next", "scan", "if(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}", "!\"?\".equals(b)", "\"?\".equals(b)", "\"?\".equals", "\"?\"", "b", "{\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}", "int intA = 0;", "intA", "0", "int intC = 0;", "intC", "0", "try{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}", "catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}", "NumberFormatException e", "{\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}", "intA = Integer.parseInt(a)", "intA", "Integer.parseInt(a)", "Integer.parseInt", "Integer", "a", "intC = Integer.parseInt(c)", "intC", "Integer.parseInt(c)", "Integer.parseInt", "Integer", "c", "int intAnser = 0;", "intAnser", "0", "if(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}", "\"+\".equals(b)", "\"+\".equals", "\"+\"", "b", "{\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}", "intAnser = intA + intC", "intAnser", "intA + intC", "intA", "intC", "if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}", "\"-\".equals(b)", "\"-\".equals", "\"-\"", "b", "{\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}", "intAnser = intA - intC", "intAnser", "intA - intC", "intA", "intC", "if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}", "\"*\".equals(b)", "\"*\".equals", "\"*\"", "b", "{\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}", "intAnser = intA * intC", "intAnser", "intA * intC", "intA", "intC", "{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}", "intAnser = intA / intC", "intAnser", "intA / intC", "intA", "intC", "list.add(intAnser)", "list.add", "list", "intAnser", "{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}", "scan.close()", "scan.close", "scan", "break;", "for(int i = 0; i < list.size(); i++){\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}", "{\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}", "int intResult =list.get(i);", "intResult", "list.get(i)", "list.get", "list", "i", "System.out.println(intResult)", "System.out.println", "System.out", "System", "System.out", "intResult", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tString a = null;\n\t\tString b = null;\n\t\tString c = null;\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\ta = scan.next();\n\t\t\tb = scan.next();\n\t\t\tc = scan.next();\n\n\t\t\tif(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}\n\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tString a = null;\n\t\tString b = null;\n\t\tString c = null;\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\ta = scan.next();\n\t\t\tb = scan.next();\n\t\t\tc = scan.next();\n\n\t\t\tif(!\"?\".equals(b)){\n\n\t\t\t\tint intA = 0;\n\t\t\t\tint intC = 0;\n\t\t\t\ttry{\n\t\t\t\t\tintA = Integer.parseInt(a);\n\t\t\t\t\tintC = Integer.parseInt(c);\n\t\t\t\t}catch(NumberFormatException e){\n\t\t\t\t\tSystem.out.println(e);\n\t\t\t\t}\n\n\t\t\t\tint intAnser = 0;\n\n\t\t\t\tif(\"+\".equals(b)){\n\n\t\t\t\t\tintAnser = intA + intC;\n\t\t\t\t}else if(\"-\".equals(b)){\n\n\t\t\t\t\tintAnser = intA - intC;\n\t\t\t\t}else if(\"*\".equals(b)){\n\n\t\t\t\t\tintAnser = intA * intC;\n\t\t\t\t}else{\n\n\t\t\t\t\tintAnser = intA / intC;\n\t\t\t\t}\n\n\n\t\t\t\tlist.add(intAnser);\n\n\t\t\t}else{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tint intResult =list.get(i);\n\t\t\tSystem.out.println(intResult);\n\t\t}\n\n\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); String a = null; String b = null; String c = null; while(scan.hasNext()){ a = scan.next(); b = scan.next(); c = scan.next(); if(!"?".equals(b)){ int intA = 0; int intC = 0; try{ intA = Integer.parseInt(a); intC = Integer.parseInt(c); }catch(NumberFormatException e){ System.out.println(e); } int intAnser = 0; if("+".equals(b)){ intAnser = intA + intC; }else if("-".equals(b)){ intAnser = intA - intC; }else if("*".equals(b)){ intAnser = intA * intC; }else{ intAnser = intA / intC; } list.add(intAnser); }else{ scan.close(); break; } } for(int i = 0; i < list.size(); i++){ int intResult =list.get(i); System.out.println(intResult); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 3, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 99, 8 ], [ 99, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 17, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 17, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 38, 39 ], [ 33, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 40, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 54, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 68, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 82, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 9, 96 ], [ 96, 97 ], [ 0, 98 ], [ 98, 99 ], [ 98, 100 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal String ops = sc.next();\n\t\t\tfinal long b = sc.nextLong();\n\n\t\t\tif(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t}\n\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 sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal String ops = sc.next();\n\t\t\tfinal long b = sc.nextLong();\n\n\t\t\tif(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t}\n\n}", "Main", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal String ops = sc.next();\n\t\t\tfinal long b = sc.nextLong();\n\n\t\t\tif(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal String ops = sc.next();\n\t\t\tfinal long b = sc.nextLong();\n\n\t\t\tif(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal String ops = sc.next();\n\t\t\tfinal long b = sc.nextLong();\n\n\t\t\tif(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}", "true", "{\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal String ops = sc.next();\n\t\t\tfinal long b = sc.nextLong();\n\n\t\t\tif(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}", "final long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "final String ops = sc.next();", "ops", "sc.next()", "sc.next", "sc", "final long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "if(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "\"?\".equals(ops)", "\"?\".equals", "\"?\"", "ops", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "\"+\".equals(ops)", "\"+\".equals", "\"+\"", "ops", "{\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "\"-\".equals(ops)", "\"-\".equals", "\"-\"", "ops", "{\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "\"*\".equals(ops)", "\"*\".equals", "\"*\"", "ops", "{\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "\"/\".equals(ops)", "\"/\".equals", "\"/\"", "ops", "{\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "String args[]", "args", "public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal String ops = sc.next();\n\t\t\tfinal long b = sc.nextLong();\n\n\t\t\tif(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal String ops = sc.next();\n\t\t\tfinal long b = sc.nextLong();\n\n\t\t\tif(\"?\".equals(ops)){\n\t\t\t\tbreak;\n\t\t\t}else if(\"+\".equals(ops)){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(\"-\".equals(ops)){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(\"*\".equals(ops)){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(\"/\".equals(ops)){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); while (true) { final long a = sc.nextLong(); final String ops = sc.next(); final long b = sc.nextLong(); if("?".equals(ops)){ break; }else if("+".equals(ops)){ System.out.println(a + b); }else if("-".equals(ops)){ System.out.println(a - b); }else if("*".equals(ops)){ System.out.println(a * b); }else if("/".equals(ops)){ System.out.println(a / b); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 23, 13, 12, 13, 30, 35, 13, 34, 17, 1, 29, 2, 13, 13, 34, 17, 1, 29, 2, 13, 13, 34, 17, 1, 29, 2, 13, 13, 34, 17, 1, 29, 2, 13, 13, 34, 1, 37, 20, 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 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 9, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 16, 24 ], [ 24, 25 ], [ 16, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 28, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 49, 50 ], [ 28, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 56, 59 ], [ 56, 60 ], [ 6, 61 ], [ 61, 62 ], [ 107, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 66, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 66, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 66, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 66, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 63, 100 ], [ 100, 101 ], [ 63, 102 ], [ 102, 103 ], [ 63, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint a, b;\n\t\t\tString op;\n\t\t\twhile (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\tprivate static int calc(int a, String op, int b) {\n\t\tswitch (op) {\n\t\tcase \"+\":\n\t\t\treturn a + b;\n\t\tcase \"-\":\n\t\t\treturn a - b;\n\t\tcase \"*\":\n\t\t\treturn a * b;\n\t\tcase \"/\":\n\t\t\treturn a / b;\n\t\tdefault:\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint a, b;\n\t\t\tString op;\n\t\t\twhile (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\tprivate static int calc(int a, String op, int b) {\n\t\tswitch (op) {\n\t\tcase \"+\":\n\t\t\treturn a + b;\n\t\tcase \"-\":\n\t\t\treturn a - b;\n\t\tcase \"*\":\n\t\t\treturn a * b;\n\t\tcase \"/\":\n\t\t\treturn a / b;\n\t\tdefault:\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint a, b;\n\t\t\tString op;\n\t\t\twhile (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint a, b;\n\t\t\tString op;\n\t\t\twhile (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try (Scanner sc = new Scanner(System.in)) {\n\t\t\tint a, b;\n\t\t\tString op;\n\t\t\twhile (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tint a, b;\n\t\t\tString op;\n\t\t\twhile (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int a", "a", "b;", "b", "String op;", "op", "while (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}", "true", "{\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "if (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "System.out.println(calc(a, op, b))", "System.out.println", "System.out", "System", "System.out", "calc(a, op, b)", "calc", "a", "op", "b", "String[] args", "args", "private static int calc(int a, String op, int b) {\n\t\tswitch (op) {\n\t\tcase \"+\":\n\t\t\treturn a + b;\n\t\tcase \"-\":\n\t\t\treturn a - b;\n\t\tcase \"*\":\n\t\t\treturn a * b;\n\t\tcase \"/\":\n\t\t\treturn a / b;\n\t\tdefault:\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t}", "calc", "{\n\t\tswitch (op) {\n\t\tcase \"+\":\n\t\t\treturn a + b;\n\t\tcase \"-\":\n\t\t\treturn a - b;\n\t\tcase \"*\":\n\t\t\treturn a * b;\n\t\tcase \"/\":\n\t\t\treturn a / b;\n\t\tdefault:\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t}", "switch (op) {\n\t\tcase \"+\":\n\t\t\treturn a + b;\n\t\tcase \"-\":\n\t\t\treturn a - b;\n\t\tcase \"*\":\n\t\t\treturn a * b;\n\t\tcase \"/\":\n\t\t\treturn a / b;\n\t\tdefault:\n\t\t\tthrow new RuntimeException();\n\t\t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "return a + b;", "a + b", "a", "b", "case \"-\":", "\"-\"", "case \"-\":", "return a - b;", "a - b", "a", "b", "case \"*\":", "\"*\"", "case \"*\":", "return a * b;", "a * b", "a", "b", "case \"/\":", "\"/\"", "case \"/\":", "return a / b;", "a / b", "a", "b", "default:", "default:", "throw new RuntimeException();", "new RuntimeException()", "int a", "a", "String op", "op", "int b", "b", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint a, b;\n\t\t\tString op;\n\t\t\twhile (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\tprivate static int calc(int a, String op, int b) {\n\t\tswitch (op) {\n\t\tcase \"+\":\n\t\t\treturn a + b;\n\t\tcase \"-\":\n\t\t\treturn a - b;\n\t\tcase \"*\":\n\t\t\treturn a * b;\n\t\tcase \"/\":\n\t\t\treturn a / b;\n\t\tdefault:\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint a, b;\n\t\t\tString op;\n\t\t\twhile (true) {\n\t\t\t\ta = sc.nextInt();\n\t\t\t\top = sc.next();\n\t\t\t\tb = sc.nextInt();\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(calc(a, op, b));\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n\tprivate static int calc(int a, String op, int b) {\n\t\tswitch (op) {\n\t\tcase \"+\":\n\t\t\treturn a + b;\n\t\tcase \"-\":\n\t\t\treturn a - b;\n\t\tcase \"*\":\n\t\t\treturn a * b;\n\t\tcase \"/\":\n\t\t\treturn a / b;\n\t\tdefault:\n\t\t\tthrow new RuntimeException();\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int a, b; String op; while (true) { a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); if (op.equals("?")) { break; } System.out.println(calc(a, op, b)); } } catch (Exception e) { e.printStackTrace(); } } private static int calc(int a, String op, int b) { switch (op) { case "+": return a + b; case "-": return a - b; case "*": return a * b; case "/": return a / b; default: throw new RuntimeException(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 29, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 36, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 51, 57 ], [ 57, 58 ], [ 57, 59 ], [ 14, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 66, 72 ], [ 72, 73 ], [ 72, 74 ], [ 14, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 81, 87 ], [ 87, 88 ], [ 87, 89 ], [ 14, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 6, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.util.Scanner;\n \npublic class Main{\n public static void main(String[] args){\n \n Scanner scan = new Scanner(System.in);\n \n \n while(true){\n \n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n \n \n if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }\n if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }\n if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }\n if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }\n if(op.equals(\"?\")){\n return;\n }\n }\n } \n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n \n Scanner scan = new Scanner(System.in);\n \n \n while(true){\n \n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n \n \n if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }\n if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }\n if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }\n if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }\n if(op.equals(\"?\")){\n return;\n }\n }\n } \n}", "Main", "public static void main(String[] args){\n \n Scanner scan = new Scanner(System.in);\n \n \n while(true){\n \n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n \n \n if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }\n if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }\n if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }\n if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }\n if(op.equals(\"?\")){\n return;\n }\n }\n }", "main", "{\n \n Scanner scan = new Scanner(System.in);\n \n \n while(true){\n \n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n \n \n if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }\n if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }\n if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }\n if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }\n if(op.equals(\"?\")){\n return;\n }\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true){\n \n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n \n \n if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }\n if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }\n if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }\n if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }\n if(op.equals(\"?\")){\n return;\n }\n }", "true", "{\n \n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n \n \n if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }\n if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }\n if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }\n if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }\n if(op.equals(\"?\")){\n return;\n }\n }", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n System.out.printf(\"%d\\n\",a+b);\n }", "System.out.printf(\"%d\\n\",a+b)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "a+b", "a", "b", "if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n System.out.printf(\"%d\\n\",a-b);\n }", "System.out.printf(\"%d\\n\",a-b)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "a-b", "a", "b", "if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n System.out.printf(\"%d\\n\",a*b);\n }", "System.out.printf(\"%d\\n\",a*b)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "a*b", "a", "b", "if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n System.out.printf(\"%d\\n\",a/b);\n }", "System.out.printf(\"%d\\n\",a/b)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "a/b", "a", "b", "if(op.equals(\"?\")){\n return;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n return;\n }", "return;", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n \n Scanner scan = new Scanner(System.in);\n \n \n while(true){\n \n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n \n \n if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }\n if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }\n if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }\n if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }\n if(op.equals(\"?\")){\n return;\n }\n }\n } \n}", "public class Main{\n public static void main(String[] args){\n \n Scanner scan = new Scanner(System.in);\n \n \n while(true){\n \n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n \n \n if(op.equals(\"+\")){\n System.out.printf(\"%d\\n\",a+b);\n }\n if(op.equals(\"-\")){\n System.out.printf(\"%d\\n\",a-b);\n }\n if(op.equals(\"*\")){\n System.out.printf(\"%d\\n\",a*b);\n }\n if(op.equals(\"/\")){\n System.out.printf(\"%d\\n\",a/b);\n }\n if(op.equals(\"?\")){\n return;\n }\n }\n } \n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(true){ int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); if(op.equals("+")){ System.out.printf("%d\n",a+b); } if(op.equals("-")){ System.out.printf("%d\n",a-b); } if(op.equals("*")){ System.out.printf("%d\n",a*b); } if(op.equals("/")){ System.out.printf("%d\n",a/b); } if(op.equals("?")){ return; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 4, 18, 13, 17, 29, 17, 30, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 29, 17, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 4, 13, 13, 13, 13, 17, 3, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 10, 13 ], [ 9, 14 ], [ 14, 15 ], [ 9, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 18, 21 ], [ 17, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 17, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 30, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 43, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 16, 69 ], [ 69, 70 ], [ 6, 71 ], [ 71, 72 ], [ 6, 73 ], [ 73, 74 ], [ 6, 75 ], [ 75, 76 ], [ 4, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 79, 85 ], [ 85, 86 ], [ 79, 87 ], [ 87, 88 ], [ 79, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 91, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 91, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 109, 112 ], [ 109, 113 ], [ 108, 114 ], [ 107, 115 ], [ 77, 116 ], [ 116, 117 ] ]
[ "import java.util.Scanner;\n\nclass Main\n{\n public static int calc(int a, String op, int b){\n if(op.equals(\"?\")) return 0;\n else{\n if(op.equals(\"+\")) System.out.println(a+b);\n else if(op.equals(\"-\")) System.out.println(a-b);\n else if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);\n return 1;\n }\n }\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a, b;\n String op;\n while(true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if(calc(a, op, b) == 0) break;\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main\n{\n public static int calc(int a, String op, int b){\n if(op.equals(\"?\")) return 0;\n else{\n if(op.equals(\"+\")) System.out.println(a+b);\n else if(op.equals(\"-\")) System.out.println(a-b);\n else if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);\n return 1;\n }\n }\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a, b;\n String op;\n while(true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if(calc(a, op, b) == 0) break;\n }\n }\n}", "Main", "public static int calc(int a, String op, int b){\n if(op.equals(\"?\")) return 0;\n else{\n if(op.equals(\"+\")) System.out.println(a+b);\n else if(op.equals(\"-\")) System.out.println(a-b);\n else if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);\n return 1;\n }\n }", "calc", "{\n if(op.equals(\"?\")) return 0;\n else{\n if(op.equals(\"+\")) System.out.println(a+b);\n else if(op.equals(\"-\")) System.out.println(a-b);\n else if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);\n return 1;\n }\n }", "if(op.equals(\"?\")) return 0;\n else{\n if(op.equals(\"+\")) System.out.println(a+b);\n else if(op.equals(\"-\")) System.out.println(a-b);\n else if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);\n return 1;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "return 0;", "0", "{\n if(op.equals(\"+\")) System.out.println(a+b);\n else if(op.equals(\"-\")) System.out.println(a-b);\n else if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);\n return 1;\n }", "if(op.equals(\"+\")) System.out.println(a+b);\n else if(op.equals(\"-\")) System.out.println(a-b);\n else if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if(op.equals(\"-\")) System.out.println(a-b);\n else if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if(op.equals(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if(op.equals(\"/\")) System.out.println(a/b);", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "return 1;", "1", "int a", "a", "String op", "op", "int b", "b", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a, b;\n String op;\n while(true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if(calc(a, op, b) == 0) break;\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a, b;\n String op;\n while(true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if(calc(a, op, b) == 0) break;\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a", "a", "b;", "b", "String op;", "op", "while(true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if(calc(a, op, b) == 0) break;\n }", "true", "{\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if(calc(a, op, b) == 0) break;\n }", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(calc(a, op, b) == 0) break;", "calc(a, op, b) == 0", "calc(a, op, b)", "calc", "a", "op", "b", "0", "break;", "String[] args", "args" ]
import java.util.Scanner; class Main { public static int calc(int a, String op, int b){ if(op.equals("?")) return 0; else{ if(op.equals("+")) System.out.println(a+b); else if(op.equals("-")) System.out.println(a-b); else if(op.equals("*")) System.out.println(a*b); else if(op.equals("/")) System.out.println(a/b); return 1; } } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a, b; String op; while(true){ a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); if(calc(a, op, b) == 0) break; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 29, 23, 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 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 22, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 22, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 22, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 22, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 59, 68 ], [ 55, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 71, 80 ], [ 55, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 83, 92 ], [ 55, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 95, 104 ], [ 55, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 12, 109 ], [ 109, 110 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String is;\n while(true){\n \tis = br.readLine();\n\t\t\tString[] sp = is.split(\" \");\n\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tString op = sp[1];\n\t\t\tint b = Integer.parseInt(sp[2]);\n\n\t switch(op){\n\t case \"+\":\n\t \tSystem.out.println(a+b);\n\t \tbreak;\n\t case \"-\":\n\t \tSystem.out.println(a-b);\n\t \tbreak;\n\t case \"/\":\n\t \tSystem.out.println(a/b);\n\t \tbreak;\n\t case \"*\":\n\t \tSystem.out.println(a*b);\n\t \tbreak;\n\t case \"?\":\n\t \treturn;\n\t }\n }\n }\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 public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String is;\n while(true){\n \tis = br.readLine();\n\t\t\tString[] sp = is.split(\" \");\n\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tString op = sp[1];\n\t\t\tint b = Integer.parseInt(sp[2]);\n\n\t switch(op){\n\t case \"+\":\n\t \tSystem.out.println(a+b);\n\t \tbreak;\n\t case \"-\":\n\t \tSystem.out.println(a-b);\n\t \tbreak;\n\t case \"/\":\n\t \tSystem.out.println(a/b);\n\t \tbreak;\n\t case \"*\":\n\t \tSystem.out.println(a*b);\n\t \tbreak;\n\t case \"?\":\n\t \treturn;\n\t }\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String is;\n while(true){\n \tis = br.readLine();\n\t\t\tString[] sp = is.split(\" \");\n\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tString op = sp[1];\n\t\t\tint b = Integer.parseInt(sp[2]);\n\n\t switch(op){\n\t case \"+\":\n\t \tSystem.out.println(a+b);\n\t \tbreak;\n\t case \"-\":\n\t \tSystem.out.println(a-b);\n\t \tbreak;\n\t case \"/\":\n\t \tSystem.out.println(a/b);\n\t \tbreak;\n\t case \"*\":\n\t \tSystem.out.println(a*b);\n\t \tbreak;\n\t case \"?\":\n\t \treturn;\n\t }\n }\n }", "main", "{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String is;\n while(true){\n \tis = br.readLine();\n\t\t\tString[] sp = is.split(\" \");\n\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tString op = sp[1];\n\t\t\tint b = Integer.parseInt(sp[2]);\n\n\t switch(op){\n\t case \"+\":\n\t \tSystem.out.println(a+b);\n\t \tbreak;\n\t case \"-\":\n\t \tSystem.out.println(a-b);\n\t \tbreak;\n\t case \"/\":\n\t \tSystem.out.println(a/b);\n\t \tbreak;\n\t case \"*\":\n\t \tSystem.out.println(a*b);\n\t \tbreak;\n\t case \"?\":\n\t \treturn;\n\t }\n }\n }", "BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);", "br", "new BufferedReader(new InputStreamReader(System.in), 1)", "String is;", "is", "while(true){\n \tis = br.readLine();\n\t\t\tString[] sp = is.split(\" \");\n\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tString op = sp[1];\n\t\t\tint b = Integer.parseInt(sp[2]);\n\n\t switch(op){\n\t case \"+\":\n\t \tSystem.out.println(a+b);\n\t \tbreak;\n\t case \"-\":\n\t \tSystem.out.println(a-b);\n\t \tbreak;\n\t case \"/\":\n\t \tSystem.out.println(a/b);\n\t \tbreak;\n\t case \"*\":\n\t \tSystem.out.println(a*b);\n\t \tbreak;\n\t case \"?\":\n\t \treturn;\n\t }\n }", "true", "{\n \tis = br.readLine();\n\t\t\tString[] sp = is.split(\" \");\n\n\t\t\tint a = Integer.parseInt(sp[0]);\n\t\t\tString op = sp[1];\n\t\t\tint b = Integer.parseInt(sp[2]);\n\n\t switch(op){\n\t case \"+\":\n\t \tSystem.out.println(a+b);\n\t \tbreak;\n\t case \"-\":\n\t \tSystem.out.println(a-b);\n\t \tbreak;\n\t case \"/\":\n\t \tSystem.out.println(a/b);\n\t \tbreak;\n\t case \"*\":\n\t \tSystem.out.println(a*b);\n\t \tbreak;\n\t case \"?\":\n\t \treturn;\n\t }\n }", "is = br.readLine()", "is", "br.readLine()", "br.readLine", "br", "String[] sp = is.split(\" \");", "sp", "is.split(\" \")", "is.split", "is", "\" \"", "int a = Integer.parseInt(sp[0]);", "a", "Integer.parseInt(sp[0])", "Integer.parseInt", "Integer", "sp[0]", "sp", "0", "String op = sp[1];", "op", "sp[1]", "sp", "1", "int b = Integer.parseInt(sp[2]);", "b", "Integer.parseInt(sp[2])", "Integer.parseInt", "Integer", "sp[2]", "sp", "2", "switch(op){\n\t case \"+\":\n\t \tSystem.out.println(a+b);\n\t \tbreak;\n\t case \"-\":\n\t \tSystem.out.println(a-b);\n\t \tbreak;\n\t case \"/\":\n\t \tSystem.out.println(a/b);\n\t \tbreak;\n\t case \"*\":\n\t \tSystem.out.println(a*b);\n\t \tbreak;\n\t case \"?\":\n\t \treturn;\n\t }", "op", "case \"+\":", "\"+\"", "case \"+\":", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "break;", "case \"?\":", "\"?\"", "case \"?\":", "return;", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 1); String is; while(true){ is = br.readLine(); String[] sp = is.split(" "); int a = Integer.parseInt(sp[0]); String op = sp[1]; int b = Integer.parseInt(sp[2]); switch(op){ case "+": System.out.println(a+b); break; case "-": System.out.println(a-b); break; case "/": System.out.println(a/b); break; case "*": System.out.println(a*b); break; case "?": return; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 99, 5 ], [ 99, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 26, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 26, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 53, 59 ], [ 49, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 49, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 71, 77 ], [ 49, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 80, 86 ], [ 26, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 6, 96 ], [ 96, 97 ], [ 0, 98 ], [ 98, 99 ], [ 98, 100 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n int a = 0;\n int b = 0;\n int ans = 0;\n String op = \"\";\n\n Scanner sc= new Scanner(System.in);\n\n while( true ) {\n \ta = sc.nextInt();\n \top = sc.next();\n \tb = sc.nextInt();\n\n \tif( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}\n\n \tswitch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}\n System.out.println( ans);\n }\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n\n int a = 0;\n int b = 0;\n int ans = 0;\n String op = \"\";\n\n Scanner sc= new Scanner(System.in);\n\n while( true ) {\n \ta = sc.nextInt();\n \top = sc.next();\n \tb = sc.nextInt();\n\n \tif( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}\n\n \tswitch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}\n System.out.println( ans);\n }\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n\n int a = 0;\n int b = 0;\n int ans = 0;\n String op = \"\";\n\n Scanner sc= new Scanner(System.in);\n\n while( true ) {\n \ta = sc.nextInt();\n \top = sc.next();\n \tb = sc.nextInt();\n\n \tif( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}\n\n \tswitch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}\n System.out.println( ans);\n }\n sc.close();\n }", "main", "{\n\n int a = 0;\n int b = 0;\n int ans = 0;\n String op = \"\";\n\n Scanner sc= new Scanner(System.in);\n\n while( true ) {\n \ta = sc.nextInt();\n \top = sc.next();\n \tb = sc.nextInt();\n\n \tif( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}\n\n \tswitch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}\n System.out.println( ans);\n }\n sc.close();\n }", "int a = 0;", "a", "0", "int b = 0;", "b", "0", "int ans = 0;", "ans", "0", "String op = \"\";", "op", "\"\"", "Scanner sc= new Scanner(System.in);", "sc", "new Scanner(System.in)", "while( true ) {\n \ta = sc.nextInt();\n \top = sc.next();\n \tb = sc.nextInt();\n\n \tif( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}\n\n \tswitch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}\n System.out.println( ans);\n }", "true", "{\n \ta = sc.nextInt();\n \top = sc.next();\n \tb = sc.nextInt();\n\n \tif( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}\n\n \tswitch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}\n System.out.println( ans);\n }", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "if( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}", "op.equals( \"?\" )", "op.equals", "op", "\"?\"", "{\n \t\tbreak;\n \t}", "break;", "switch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "ans = a + b", "ans", "a + b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "ans = a - b", "ans", "a - b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "ans = a * b", "ans", "a * b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "ans = a / b", "ans", "a / b", "a", "b", "break;", "System.out.println( ans)", "System.out.println", "System.out", "System", "System.out", "ans", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n\n int a = 0;\n int b = 0;\n int ans = 0;\n String op = \"\";\n\n Scanner sc= new Scanner(System.in);\n\n while( true ) {\n \ta = sc.nextInt();\n \top = sc.next();\n \tb = sc.nextInt();\n\n \tif( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}\n\n \tswitch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}\n System.out.println( ans);\n }\n sc.close();\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n\n int a = 0;\n int b = 0;\n int ans = 0;\n String op = \"\";\n\n Scanner sc= new Scanner(System.in);\n\n while( true ) {\n \ta = sc.nextInt();\n \top = sc.next();\n \tb = sc.nextInt();\n\n \tif( op.equals( \"?\" ) ) {\n \t\tbreak;\n \t}\n\n \tswitch( op ) {\n \tcase \"+\":\n \t\tans = a + b;\n \t\tbreak;\n \tcase \"-\":\n \t\tans = a - b;\n \t\tbreak;\n \tcase \"*\":\n \t\tans = a * b;\n \t\tbreak;\n \tcase \"/\":\n \t\tans = a / b;\n \t\tbreak;\n \t}\n System.out.println( ans);\n }\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int a = 0; int b = 0; int ans = 0; String op = ""; Scanner sc= new Scanner(System.in); while( true ) { a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); if( op.equals( "?" ) ) { break; } switch( op ) { case "+": ans = a + b; break; case "-": ans = a - b; break; case "*": ans = a * b; break; case "/": ans = a / b; break; } System.out.println( ans); } sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 3, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 30, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 43, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 56, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 69, 82 ], [ 6, 83 ], [ 83, 84 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n if(op.equals(\"+\")) \n System.out.println(a+b);\n else if (op.equals(\"-\"))\n System.out.println(a-b);\n else if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n if(op.equals(\"+\")) \n System.out.println(a+b);\n else if (op.equals(\"-\"))\n System.out.println(a-b);\n else if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n if(op.equals(\"+\")) \n System.out.println(a+b);\n else if (op.equals(\"-\"))\n System.out.println(a-b);\n else if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n if(op.equals(\"+\")) \n System.out.println(a+b);\n else if (op.equals(\"-\"))\n System.out.println(a-b);\n else if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n if(op.equals(\"+\")) \n System.out.println(a+b);\n else if (op.equals(\"-\"))\n System.out.println(a-b);\n else if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;\n }", "true", "{\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n \n if(op.equals(\"+\")) \n System.out.println(a+b);\n else if (op.equals(\"-\"))\n System.out.println(a-b);\n else if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;\n }", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(op.equals(\"+\")) \n System.out.println(a+b);\n else if (op.equals(\"-\"))\n System.out.println(a-b);\n else if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if (op.equals(\"-\"))\n System.out.println(a-b);\n else if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if (op.equals(\"*\"))\n System.out.println(a*b);\n else if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if (op.equals(\"/\"))\n System.out.println(a/b);\n else break;", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "break;", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while(true) { int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); if(op.equals("+")) System.out.println(a+b); else if (op.equals("-")) System.out.println(a-b); else if (op.equals("*")) System.out.println(a*b); else if (op.equals("/")) System.out.println(a/b); else break; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 40, 4, 18, 17, 13, 30, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 17, 13, 30, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 118, 5 ], [ 118, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 15, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 21, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 21, 37 ], [ 37, 38 ], [ 37, 39 ], [ 21, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 40, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 57, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 74, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 91, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 108, 113 ], [ 113, 114 ], [ 6, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\n\t\t//????????????????????????????????????\n\t\t//????????????????¨????????????????\n\n\t\t//???????????§???????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString stOP = \"\";\n\n\t\twhile(!(\"?\".equals(stOP))){\n\t\t\tint A = sc.nextInt();\n\t\t\tstOP = sc.next();\n\t\t\tint B = sc.nextInt();\n\t\t\tint Ans = 0;\n\n\n\t\t\tif(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String args[]){\n\n\t\t//????????????????????????????????????\n\t\t//????????????????¨????????????????\n\n\t\t//???????????§???????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString stOP = \"\";\n\n\t\twhile(!(\"?\".equals(stOP))){\n\t\t\tint A = sc.nextInt();\n\t\t\tstOP = sc.next();\n\t\t\tint B = sc.nextInt();\n\t\t\tint Ans = 0;\n\n\n\t\t\tif(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]){\n\n\t\t//????????????????????????????????????\n\t\t//????????????????¨????????????????\n\n\t\t//???????????§???????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString stOP = \"\";\n\n\t\twhile(!(\"?\".equals(stOP))){\n\t\t\tint A = sc.nextInt();\n\t\t\tstOP = sc.next();\n\t\t\tint B = sc.nextInt();\n\t\t\tint Ans = 0;\n\n\n\t\t\tif(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\t//????????????????????????????????????\n\t\t//????????????????¨????????????????\n\n\t\t//???????????§???????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString stOP = \"\";\n\n\t\twhile(!(\"?\".equals(stOP))){\n\t\t\tint A = sc.nextInt();\n\t\t\tstOP = sc.next();\n\t\t\tint B = sc.nextInt();\n\t\t\tint Ans = 0;\n\n\n\t\t\tif(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String stOP = \"\";", "stOP", "\"\"", "while(!(\"?\".equals(stOP))){\n\t\t\tint A = sc.nextInt();\n\t\t\tstOP = sc.next();\n\t\t\tint B = sc.nextInt();\n\t\t\tint Ans = 0;\n\n\n\t\t\tif(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "!(\"?\".equals(stOP))", "(\"?\".equals(stOP))", "\"?\".equals", "\"?\"", "stOP", "{\n\t\t\tint A = sc.nextInt();\n\t\t\tstOP = sc.next();\n\t\t\tint B = sc.nextInt();\n\t\t\tint Ans = 0;\n\n\n\t\t\tif(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "stOP = sc.next()", "stOP", "sc.next()", "sc.next", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "int Ans = 0;", "Ans", "0", "if(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}", "\"+\".equals(stOP)", "\"+\".equals", "\"+\"", "stOP", "{\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}", "Ans = A + B", "Ans", "A + B", "A", "B", "System.out.println(Ans)", "System.out.println", "System.out", "System", "System.out", "Ans", "if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}", "\"-\".equals(stOP)", "\"-\".equals", "\"-\"", "stOP", "{\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}", "Ans = A - B", "Ans", "A - B", "A", "B", "System.out.println(Ans)", "System.out.println", "System.out", "System", "System.out", "Ans", "if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}", "\"*\".equals(stOP)", "\"*\".equals", "\"*\"", "stOP", "{\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}", "Ans = A * B", "Ans", "A * B", "A", "B", "System.out.println(Ans)", "System.out.println", "System.out", "System", "System.out", "Ans", "if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}", "\"/\".equals(stOP)", "\"/\".equals", "\"/\"", "stOP", "{\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}", "Ans = A / B", "Ans", "A / B", "A", "B", "System.out.println(Ans)", "System.out.println", "System.out", "System", "System.out", "Ans", "if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}", "\"?\".equals(stOP)", "\"?\".equals", "\"?\"", "stOP", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "String args[]", "args", "public class Main{\n\tpublic static void main(String args[]){\n\n\t\t//????????????????????????????????????\n\t\t//????????????????¨????????????????\n\n\t\t//???????????§???????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString stOP = \"\";\n\n\t\twhile(!(\"?\".equals(stOP))){\n\t\t\tint A = sc.nextInt();\n\t\t\tstOP = sc.next();\n\t\t\tint B = sc.nextInt();\n\t\t\tint Ans = 0;\n\n\n\t\t\tif(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String args[]){\n\n\t\t//????????????????????????????????????\n\t\t//????????????????¨????????????????\n\n\t\t//???????????§???????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString stOP = \"\";\n\n\t\twhile(!(\"?\".equals(stOP))){\n\t\t\tint A = sc.nextInt();\n\t\t\tstOP = sc.next();\n\t\t\tint B = sc.nextInt();\n\t\t\tint Ans = 0;\n\n\n\t\t\tif(\"+\".equals(stOP)){\n\t\t\t\tAns = A + B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"-\".equals(stOP)){\n\t\t\t\tAns = A - B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"*\".equals(stOP)){\n\t\t\t\tAns = A * B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"/\".equals(stOP)){\n\t\t\t\tAns = A / B;\n\t\t\t\tSystem.out.println(Ans);\n\t\t\t}else if(\"?\".equals(stOP)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ //???????????????????????????????????? //????????????????¨???????????????? //???????????§??????????????? Scanner sc = new Scanner(System.in); String stOP = ""; while(!("?".equals(stOP))){ int A = sc.nextInt(); stOP = sc.next(); int B = sc.nextInt(); int Ans = 0; if("+".equals(stOP)){ Ans = A + B; System.out.println(Ans); }else if("-".equals(stOP)){ Ans = A - B; System.out.println(Ans); }else if("*".equals(stOP)){ Ans = A * B; System.out.println(Ans); }else if("/".equals(stOP)){ Ans = A / B; System.out.println(Ans); }else if("?".equals(stOP)){ break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 0, 13, 17, 11, 1, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 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 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 20, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 20, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 42, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 20, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 6, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint ans;\n\t\tans = 0;\n\t\tfor(;;){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}\n\t}\n\t}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint ans;\n\t\tans = 0;\n\t\tfor(;;){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}\n\t}\n\t}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint ans;\n\t\tans = 0;\n\t\tfor(;;){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint ans;\n\t\tans = 0;\n\t\tfor(;;){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int ans;", "ans", "ans = 0", "ans", "0", "for(;;){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}", ";", "{\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}", "{\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(op.equals(\"?\"))\n\t\t\t\tbreak;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "if(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "ans = a + b", "ans", "a + b", "a", "b", "if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "ans = a - b", "ans", "a - b", "a", "b", "if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "ans = a * b", "ans", "a * b", "a", "b", "if(op.equals(\"/\"))\n\t\t\t\tans = a / b;", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "ans = a / b", "ans", "a / b", "a", "b", "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 scan = new Scanner(System.in);\n\t\tint ans;\n\t\tans = 0;\n\t\tfor(;;){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}\n\t}\n\t}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint ans;\n\t\tans = 0;\n\t\tfor(;;){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans = a * b;\n\t\t\telse if(op.equals(\"/\"))\n\t\t\t\tans = a / b;\n\t\tSystem.out.println(ans);\n\t}\n\t}\n\t}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int ans; ans = 0; for(;;){ int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); if(op.equals("?")) break; if(op.equals("+")) ans = a + b; else if(op.equals("-")) ans = a - b; else if(op.equals("*")) ans = a * b; else if(op.equals("/")) ans = a / b; System.out.println(ans); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 20, 13, 42, 17, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 13, 17, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 13, 17, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 13, 17, 30, 41, 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 ], [ 147, 11 ], [ 147, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 27, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 27, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 27, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 27, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 27, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 27, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 98, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 27, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 110, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 27, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 127, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 132, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 12, 144 ], [ 144, 145 ], [ 0, 146 ], [ 146, 147 ], [ 146, 148 ] ]
[ "import java.text.*;\nimport java.math.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 3;\n\t\tString[] num= new String[kaisu];\n\t\twhile(true) {\n\n\t\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}\n\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tString op = num[1];\n\t\t\tint b = Integer.parseInt(num[2]);\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t}\n\t}\n}", "import java.text.*;", "text.*", "java", "import java.math.*;", "math.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 3;\n\t\tString[] num= new String[kaisu];\n\t\twhile(true) {\n\n\t\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}\n\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tString op = num[1];\n\t\t\tint b = Integer.parseInt(num[2]);\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 3;\n\t\tString[] num= new String[kaisu];\n\t\twhile(true) {\n\n\t\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}\n\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tString op = num[1];\n\t\t\tint b = Integer.parseInt(num[2]);\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 3;\n\t\tString[] num= new String[kaisu];\n\t\twhile(true) {\n\n\t\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}\n\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tString op = num[1];\n\t\t\tint b = Integer.parseInt(num[2]);\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int kaisu = 3;", "kaisu", "3", "String[] num= new String[kaisu];", "num", "new String[kaisu]", "kaisu", "while(true) {\n\n\t\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}\n\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tString op = num[1];\n\t\t\tint b = Integer.parseInt(num[2]);\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t}", "true", "{\n\n\t\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}\n\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tString op = num[1];\n\t\t\tint b = Integer.parseInt(num[2]);\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t}", "for(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < kaisu", "i", "kaisu", "i++", "i++", "i", "{\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}", "{\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}", "num[i] = scan.next()", "num[i]", "num", "i", "scan.next()", "scan.next", "scan", "int a = Integer.parseInt(num[0]);", "a", "Integer.parseInt(num[0])", "Integer.parseInt", "Integer", "num[0]", "num", "0", "String op = num[1];", "op", "num[1]", "num", "1", "int b = Integer.parseInt(num[2]);", "b", "Integer.parseInt(num[2])", "Integer.parseInt", "Integer", "num[2]", "num", "2", "if(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}", "int c = a / b;", "c", "a / b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "if(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}", "int c = a + b;", "c", "a + b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "if(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}", "int c = a - b;", "c", "a - b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "if(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}", "int c = a * b;", "c", "a * b", "a", "b", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 3;\n\t\tString[] num= new String[kaisu];\n\t\twhile(true) {\n\n\t\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}\n\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tString op = num[1];\n\t\t\tint b = Integer.parseInt(num[2]);\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = 3;\n\t\tString[] num= new String[kaisu];\n\t\twhile(true) {\n\n\t\t\tfor(int i = 0; i < kaisu; i++) {\n\t\t\t\tnum[i] = scan.next();\n\t\t\t}\n\n\t\t\tint a = Integer.parseInt(num[0]);\n\t\t\tString op = num[1];\n\t\t\tint b = Integer.parseInt(num[2]);\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op.equals(\"/\")) {\n\t\t\t\tint c = a / b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tint c = a + b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")) {\n\t\t\t\tint c = a - b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")) {\n\t\t\t\tint c = a * b;\n\t\t\t\tSystem.out.println(c);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.text.*; import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int kaisu = 3; String[] num= new String[kaisu]; while(true) { for(int i = 0; i < kaisu; i++) { num[i] = scan.next(); } int a = Integer.parseInt(num[0]); String op = num[1]; int b = Integer.parseInt(num[2]); if(op.equals("?")) { break; } if(op.equals("/")) { int c = a / b; System.out.println(c); } if(op.equals("+")) { int c = a + b; System.out.println(c); } if(op.equals("-")) { int c = a - b; System.out.println(c); } if(op.equals("*")) { int c = a * b; System.out.println(c); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 14, 2, 13, 17, 30, 3, 30, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 1, 29, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 99, 5 ], [ 99, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 14, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 40, 49 ], [ 36, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 52, 61 ], [ 36, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 64, 73 ], [ 36, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 83, 92 ], [ 36, 93 ], [ 93, 94 ], [ 94, 95 ], [ 6, 96 ], [ 96, 97 ], [ 0, 98 ], [ 98, 99 ], [ 98, 100 ] ]
[ "import java.util.Scanner;\n\n/**\n *\n * @author lenovo\n */\n public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n String op = scanner.next();\n char ch = op.charAt(0);\n int b = scanner.nextInt();\n switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }\n }\n }\n}", "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\n while (true) {\n\n int a = scanner.nextInt();\n String op = scanner.next();\n char ch = op.charAt(0);\n int b = scanner.nextInt();\n switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n String op = scanner.next();\n char ch = op.charAt(0);\n int b = scanner.nextInt();\n switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }\n }\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n String op = scanner.next();\n char ch = op.charAt(0);\n int b = scanner.nextInt();\n switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "while (true) {\n\n int a = scanner.nextInt();\n String op = scanner.next();\n char ch = op.charAt(0);\n int b = scanner.nextInt();\n switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }\n }", "true", "{\n\n int a = scanner.nextInt();\n String op = scanner.next();\n char ch = op.charAt(0);\n int b = scanner.nextInt();\n switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }\n }", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "String op = scanner.next();", "op", "scanner.next()", "scanner.next", "scanner", "char ch = op.charAt(0);", "ch", "op.charAt(0)", "op.charAt", "op", "0", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }", "ch", "case '+':", "'+'", "case '+':", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "break;", "case '-':", "'-'", "case '-':", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "break;", "case '*':", "'*'", "case '*':", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "break;", "case '/':", "'/'", "case '/':", "if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }", "b == 0", "b", "0", "{\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n }", "break;", "{\n System.out.println(a / b);\n break;\n }", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "break;", "default:", "default:", "return;", "String[] args", "args", " public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n String op = scanner.next();\n char ch = op.charAt(0);\n int b = scanner.nextInt();\n switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }\n }\n }\n}", " public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n\n int a = scanner.nextInt();\n String op = scanner.next();\n char ch = op.charAt(0);\n int b = scanner.nextInt();\n switch (ch) {\n case '+':\n System.out.println(a + b);\n break;\n case '-':\n System.out.println(a - b);\n break;\n case '*':\n System.out.println(a * b);\n break;\n case '/':\n if (b == 0) {\n // System.out.println(\"?¢??????°?????¶??????????????????!\");\n break;\n } else {\n System.out.println(a / b);\n break;\n }\n default:\n return;\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; /** * * @author lenovo */ public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (true) { int a = scanner.nextInt(); String op = scanner.next(); char ch = op.charAt(0); int b = scanner.nextInt(); switch (ch) { case '+': System.out.println(a + b); break; case '-': System.out.println(a - b); break; case '*': System.out.println(a * b); break; case '/': if (b == 0) { // System.out.println("?¢??????°?????¶??????????????????!"); break; } else { System.out.println(a / b); break; } default: return; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 30, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 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 ], [ 141, 11 ], [ 141, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 18, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 38, 40 ], [ 30, 41 ], [ 41, 42 ], [ 30, 43 ], [ 43, 44 ], [ 43, 45 ], [ 30, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 48, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 48, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 73, 74 ], [ 73, 75 ], [ 48, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 48, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 81, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 81, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 92, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 92, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 103, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 103, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 114, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 122, 124 ], [ 114, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 130, 131 ], [ 48, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 12, 138 ], [ 138, 139 ], [ 0, 140 ], [ 140, 141 ], [ 140, 142 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a=0;\n\t\t\t int b=0;\n String c;\n int d=0;\n\n while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\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", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a=0;\n\t\t\t int b=0;\n String c;\n int d=0;\n\n while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a=0;\n\t\t\t int b=0;\n String c;\n int d=0;\n\n while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}", "main", "{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a=0;\n\t\t\t int b=0;\n String c;\n int d=0;\n\n while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}", "BufferedReader input = new BufferedReader(new InputStreamReader(System.in));", "input", "new BufferedReader(new InputStreamReader(System.in))", "try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a=0;\n\t\t\t int b=0;\n String c;\n int d=0;\n\n while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }", "catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }", "IOException e", "{ System.out.println(\"Exception : \" + e);\n\t\t }", "System.out.println(\"Exception : \" + e)", "System.out.println", "System.out", "System", "System.out", "\"Exception : \" + e", "\"Exception : \"", "e", "{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a=0;\n\t\t\t int b=0;\n String c;\n int d=0;\n\n while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }\n\n\t\t }", "String ab;", "ab", "String[] strAry;", "strAry", "int a=0;", "a", "0", "int b=0;", "b", "0", "String c;", "c", "int d=0;", "d", "0", "while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }", "true", "{\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }", "ab = input.readLine()", "ab", "input.readLine()", "input.readLine", "input", "strAry = ab.split(\" \")", "strAry", "ab.split(\" \")", "ab.split", "ab", "\" \"", "a=Integer.parseInt(strAry[0])", "a", "Integer.parseInt(strAry[0])", "Integer.parseInt", "Integer", "strAry[0]", "strAry", "0", "b=Integer.parseInt(strAry[2])", "b", "Integer.parseInt(strAry[2])", "Integer.parseInt", "Integer", "strAry[2]", "strAry", "2", "c=strAry[1]", "c", "strAry[1]", "strAry", "1", "if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }", "c.equals(\"+\")", "c.equals", "c", "\"+\"", "{\n \t d=a+b;\n }", "d=a+b", "d", "a+b", "a", "b", "if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }", "c.equals(\"-\")", "c.equals", "c", "\"-\"", "{\n \t d=a-b;\n }", "d=a-b", "d", "a-b", "a", "b", "if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }", "c.equals(\"*\")", "c.equals", "c", "\"*\"", "{\n \t d=a*b;\n }", "d=a*b", "d", "a*b", "a", "b", "if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }", "c.equals(\"/\")", "c.equals", "c", "\"/\"", "{\n \t d=a/b;\n }", "d=a/b", "d", "a/b", "a", "b", "if(c.equals(\"?\")){\n break;\n }", "c.equals(\"?\")", "c.equals", "c", "\"?\"", "{\n break;\n }", "break;", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a=0;\n\t\t\t int b=0;\n String c;\n int d=0;\n\n while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\t try{\n\n\n\t\t\t String ab;\n\t\t\t String[] strAry;\n\t\t\t int a=0;\n\t\t\t int b=0;\n String c;\n int d=0;\n\n while(true){\n \t \n\t\t\t ab = input.readLine();\n\t\t strAry = ab.split(\" \");\n\t\t a=Integer.parseInt(strAry[0]);\n\t b=Integer.parseInt(strAry[2]);\n c=strAry[1];\n \n\n if(c.equals(\"+\")){\n \t d=a+b;\n }\n \n else if(c.equals(\"-\")){\n \t d=a-b;\n }\n else if(c.equals(\"*\")){\n \t d=a*b;\n }\n else if(c.equals(\"/\")){\n \t d=a/b;\n }\n else if(c.equals(\"?\")){\n break;\n }\n System.out.println(d);\n }\n\n\t\t }catch(IOException e) { System.out.println(\"Exception : \" + e);\n\t\t }\n\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); try{ String ab; String[] strAry; int a=0; int b=0; String c; int d=0; while(true){ ab = input.readLine(); strAry = ab.split(" "); a=Integer.parseInt(strAry[0]); b=Integer.parseInt(strAry[2]); c=strAry[1]; if(c.equals("+")){ d=a+b; } else if(c.equals("-")){ d=a-b; } else if(c.equals("*")){ d=a*b; } else if(c.equals("/")){ d=a/b; } else if(c.equals("?")){ break; } System.out.println(d); } }catch(IOException e) { System.out.println("Exception : " + e); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 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 ], [ 15, 17 ], [ 9, 18 ], [ 18, 19 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nclass Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = null;\n hoge:while((line = br.readLine()) != null){\n \tString lines[] = line.split(\" \");\n \tint x = Integer.parseInt(lines[0]);\n \tString op = lines[1];\n \tint y = Integer.parseInt(lines[2]);\n \tswitch(op){\n \tcase \"+\":\n \t\tSystem.out.println(x + y);\n \t\tbreak;\n \tcase \"-\":\n \t\tSystem.out.println(x - y);\n \t\tbreak;\n \tcase \"*\":\n \t\tSystem.out.println(x * y);\n \t\tbreak;\n \tcase \"/\":\n \t\tSystem.out.println(x / y);\n \t\tbreak;\n \tcase \"?\":\n \t\tbreak hoge;\n \t}\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main {\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = null;\n hoge:while((line = br.readLine()) != null){\n \tString lines[] = line.split(\" \");\n \tint x = Integer.parseInt(lines[0]);\n \tString op = lines[1];\n \tint y = Integer.parseInt(lines[2]);\n \tswitch(op){\n \tcase \"+\":\n \t\tSystem.out.println(x + y);\n \t\tbreak;\n \tcase \"-\":\n \t\tSystem.out.println(x - y);\n \t\tbreak;\n \tcase \"*\":\n \t\tSystem.out.println(x * y);\n \t\tbreak;\n \tcase \"/\":\n \t\tSystem.out.println(x / y);\n \t\tbreak;\n \tcase \"?\":\n \t\tbreak hoge;\n \t}\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = null;\n hoge:while((line = br.readLine()) != null){\n \tString lines[] = line.split(\" \");\n \tint x = Integer.parseInt(lines[0]);\n \tString op = lines[1];\n \tint y = Integer.parseInt(lines[2]);\n \tswitch(op){\n \tcase \"+\":\n \t\tSystem.out.println(x + y);\n \t\tbreak;\n \tcase \"-\":\n \t\tSystem.out.println(x - y);\n \t\tbreak;\n \tcase \"*\":\n \t\tSystem.out.println(x * y);\n \t\tbreak;\n \tcase \"/\":\n \t\tSystem.out.println(x / y);\n \t\tbreak;\n \tcase \"?\":\n \t\tbreak hoge;\n \t}\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\????????????????????????\n String line = null;\n hoge:while((line = br.readLine()) != null){\n \tString lines[] = line.split(\" \");\n \tint x = Integer.parseInt(lines[0]);\n \tString op = lines[1];\n \tint y = Integer.parseInt(lines[2]);\n \tswitch(op){\n \tcase \"+\":\n \t\tSystem.out.println(x + y);\n \t\tbreak;\n \tcase \"-\":\n \t\tSystem.out.println(x - y);\n \t\tbreak;\n \tcase \"*\":\n \t\tSystem.out.println(x * y);\n \t\tbreak;\n \tcase \"/\":\n \t\tSystem.out.println(x / y);\n \t\tbreak;\n \tcase \"?\":\n \t\tbreak hoge;\n \t}\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = null;", "line", "null", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\???????????????????????? String line = null; hoge:while((line = br.readLine()) != null){ String lines[] = line.split(" "); int x = Integer.parseInt(lines[0]); String op = lines[1]; int y = Integer.parseInt(lines[2]); switch(op){ case "+": System.out.println(x + y); break; case "-": System.out.println(x - y); break; case "*": System.out.println(x * y); break; case "/": System.out.println(x / y); break; case "?": break hoge; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 17, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 30, 3, 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 ], [ 108, 8 ], [ 108, 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 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 26, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 20, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 20, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 53, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 64, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 75, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 86, 97 ], [ 97, 98 ], [ 20, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 9, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tint ans = 0;\n \tString[] input = br.readLine().split(\" \"); \n int a = Integer.parseInt(input[0]);\n String op = input[1]; \n int b = Integer.parseInt(input[2]);\n if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }\n System.out.println(ans);\n }\n \n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tint ans = 0;\n \tString[] input = br.readLine().split(\" \"); \n int a = Integer.parseInt(input[0]);\n String op = input[1]; \n int b = Integer.parseInt(input[2]);\n if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }\n System.out.println(ans);\n }\n \n }\n}", "Main", "public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tint ans = 0;\n \tString[] input = br.readLine().split(\" \"); \n int a = Integer.parseInt(input[0]);\n String op = input[1]; \n int b = Integer.parseInt(input[2]);\n if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }\n System.out.println(ans);\n }\n \n }", "main", "{\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tint ans = 0;\n \tString[] input = br.readLine().split(\" \"); \n int a = Integer.parseInt(input[0]);\n String op = input[1]; \n int b = Integer.parseInt(input[2]);\n if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }\n System.out.println(ans);\n }\n \n }", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "while(true){\n \tint ans = 0;\n \tString[] input = br.readLine().split(\" \"); \n int a = Integer.parseInt(input[0]);\n String op = input[1]; \n int b = Integer.parseInt(input[2]);\n if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }\n System.out.println(ans);\n }", "true", "{\n \tint ans = 0;\n \tString[] input = br.readLine().split(\" \"); \n int a = Integer.parseInt(input[0]);\n String op = input[1]; \n int b = Integer.parseInt(input[2]);\n if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }\n System.out.println(ans);\n }", "int ans = 0;", "ans", "0", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(input[0]);", "a", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "String op = input[1];", "op", "input[1]", "input", "1", "int b = Integer.parseInt(input[2]);", "b", "Integer.parseInt(input[2])", "Integer.parseInt", "Integer", "input[2]", "input", "2", "if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }", "op.equals (\"+\")", "op.equals", "op", "\"+\"", "{\n \tans = a + b;\n }", "ans = a + b", "ans", "a + b", "a", "b", "if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }", "op.equals (\"-\")", "op.equals", "op", "\"-\"", "{\n \tans = a - b;\n }", "ans = a - b", "ans", "a - b", "a", "b", "if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }", "op.equals (\"*\")", "op.equals", "op", "\"*\"", "{\n \tans = a * b;\n }", "ans = a * b", "ans", "a * b", "a", "b", "if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }", "op.equals (\"/\")", "op.equals", "op", "\"/\"", "{\n \tans = a / b;\n }", "ans = a / b", "ans", "a / b", "a", "b", "{\n \tbreak;\n }", "break;", "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 \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tint ans = 0;\n \tString[] input = br.readLine().split(\" \"); \n int a = Integer.parseInt(input[0]);\n String op = input[1]; \n int b = Integer.parseInt(input[2]);\n if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }\n System.out.println(ans);\n }\n \n }\n}", "public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n while(true){\n \tint ans = 0;\n \tString[] input = br.readLine().split(\" \"); \n int a = Integer.parseInt(input[0]);\n String op = input[1]; \n int b = Integer.parseInt(input[2]);\n if(op.equals (\"+\")){\n \tans = a + b;\n }else if(op.equals (\"-\")){\n \tans = a - b;\n }else if(op.equals (\"*\")){\n \tans = a * b;\n }else if(op.equals (\"/\")){\n \tans = a / b;\n }else{\n \tbreak;\n }\n System.out.println(ans);\n }\n \n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args)throws Exception { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); while(true){ int ans = 0; String[] input = br.readLine().split(" "); int a = Integer.parseInt(input[0]); String op = input[1]; int b = Integer.parseInt(input[2]); if(op.equals ("+")){ ans = a + b; }else if(op.equals ("-")){ ans = a - b; }else if(op.equals ("*")){ ans = a * b; }else if(op.equals ("/")){ ans = a / b; }else{ break; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 11, 1, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 3, 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 ], [ 15, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 15, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 15, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 31, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 31, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 45, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 59, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 73, 87 ], [ 87, 88 ], [ 6, 89 ], [ 89, 90 ] ]
[ "import java.util.Scanner;\nclass Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tString op = scanner.next();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif ( op.equals(\"+\")){\n\t\t\t\t System.out.println(a+b);\n\t\t\t} \n\t\t\telse if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}\t\n\t }\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tString op = scanner.next();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif ( op.equals(\"+\")){\n\t\t\t\t System.out.println(a+b);\n\t\t\t} \n\t\t\telse if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}\t\n\t }\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tString op = scanner.next();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif ( op.equals(\"+\")){\n\t\t\t\t System.out.println(a+b);\n\t\t\t} \n\t\t\telse if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}\t\n\t }\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;){\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tString op = scanner.next();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif ( op.equals(\"+\")){\n\t\t\t\t System.out.println(a+b);\n\t\t\t} \n\t\t\telse if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}\t\n\t }\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "for(;;){\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tString op = scanner.next();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif ( op.equals(\"+\")){\n\t\t\t\t System.out.println(a+b);\n\t\t\t} \n\t\t\telse if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}\t\n\t }", ";", "{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tString op = scanner.next();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif ( op.equals(\"+\")){\n\t\t\t\t System.out.println(a+b);\n\t\t\t} \n\t\t\telse if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}\t\n\t }", "{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tString op = scanner.next();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif ( op.equals(\"+\")){\n\t\t\t\t System.out.println(a+b);\n\t\t\t} \n\t\t\telse if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}\t\n\t }", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "String op = scanner.next();", "op", "scanner.next()", "scanner.next", "scanner", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "if ( op.equals(\"+\")){\n\t\t\t\t System.out.println(a+b);\n\t\t\t} \n\t\t\telse if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\t System.out.println(a+b);\n\t\t\t}", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if ( op.equals(\"-\")){\n\t\t\t\t System.out.println(a-b);\n\t\t } \n\t\t else if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\t System.out.println(a-b);\n\t\t }", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if ( op.equals(\"*\")){\n\t\t\t\t System.out.println(a*b);\n\t\t } \n\t\t\telse if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\t System.out.println(a*b);\n\t\t }", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if ( op.equals(\"/\")){\n\t\t\t\t System.out.println(a/b);\n\t\t } \n \t\t else {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\t System.out.println(a/b);\n\t\t }", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); for(;;){ int a = scanner.nextInt(); String op = scanner.next(); int b = scanner.nextInt(); if ( op.equals("+")){ System.out.println(a+b); } else if ( op.equals("-")){ System.out.println(a-b); } else if ( op.equals("*")){ System.out.println(a*b); } else if ( op.equals("/")){ System.out.println(a/b); } else { break; } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 40, 4, 18, 13, 17, 30, 30, 41, 13, 17, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 14, 2, 13, 17, 30, 3, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 108, 5 ], [ 108, 6 ], [ 6, 7 ], [ 108, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 10, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 10, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 29, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 45, 51 ], [ 41, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 54, 60 ], [ 41, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 63, 69 ], [ 41, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 72, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 37, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 37, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 37, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 37, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 8, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tprivate static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString op = sc.next();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tfor (;!op.equals(\"?\");) {\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tprivate static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString op = sc.next();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tfor (;!op.equals(\"?\");) {\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n}", "Main", "private static Scanner sc;", "sc", "public static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString op = sc.next();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tfor (;!op.equals(\"?\");) {\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}", "main", "{\n\t\tsc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString op = sc.next();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tfor (;!op.equals(\"?\");) {\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String op = sc.next();", "op", "sc.next()", "sc.next", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "for (;!op.equals(\"?\");) {\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}", ";", "!op.equals(\"?\")", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}", "{\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}", "int ans = 0;", "ans", "0", "switch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "ans = a + b", "ans", "a + b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "ans = a - b", "ans", "a - b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "ans = a * b", "ans", "a * b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "if (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}", "a == 0", "a", "0", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "ans = a / b", "ans", "a / b", "a", "b", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "String[] args", "args", "public class Main {\n\tprivate static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString op = sc.next();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tfor (;!op.equals(\"?\");) {\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n}", "public class Main {\n\tprivate static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString op = sc.next();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tfor (;!op.equals(\"?\");) {\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tif (a == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tans = a / b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { private static Scanner sc; public static void main(String[] args) { sc = new Scanner(System.in); int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); for (;!op.equals("?");) { int ans = 0; switch (op) { case "+": ans = a + b; break; case "-": ans = a - b; break; case "*": ans = a * b; break; case "/": if (a == 0) { break; } ans = a / b; } System.out.println(ans); a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 11, 1, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 3, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 20, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 119, 2 ], [ 119, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 5, 13 ], [ 13, 14 ], [ 5, 15 ], [ 15, 16 ], [ 15, 17 ], [ 18, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 18, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 18, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 18, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 34, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 34, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 48, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 62, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 76, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 5, 97 ], [ 97, 98 ], [ 98, 99 ], [ 3, 100 ], [ 100, 101 ], [ 3, 102 ], [ 102, 103 ], [ 119, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 110, 111 ], [ 110, 112 ], [ 107, 113 ], [ 113, 114 ], [ 113, 115 ], [ 104, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ] ]
[ "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b;\n String c;\n\n for(;;){\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b;\n String c;\n\n for(;;){\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "Main", "public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b;\n String c;\n\n for(;;){\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }\n/*fin*/\n sc.close();\n }", "run", "{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b;\n String c;\n\n for(;;){\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }\n/*fin*/\n sc.close();\n }", "java.util.Scanner sc = new java.util.Scanner(in);", "sc", "new java.util.Scanner(in)", "int a", "a", "b;", "b", "String c;", "c", "for(;;){\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }", ";", "{\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }", "{\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "c = sc.next()", "c", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }", "\"+\".equals(c)", "\"+\".equals", "\"+\"", "c", "{\n System.out.println(a + b);\n }", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }", "\"-\".equals(c)", "\"-\".equals", "\"-\"", "c", "{\n System.out.println(a - b);\n }", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }", "\"*\".equals(c)", "\"*\".equals", "\"*\"", "c", "{\n System.out.println(a * b);\n }", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }", "\"/\".equals(c)", "\"/\".equals", "\"/\"", "c", "{\n System.out.println(a / b);\n }", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "if(\"?\".equals(c)){\n break;\n }", "\"?\".equals(c)", "\"?\".equals", "\"?\"", "c", "{\n break;\n }", "break;", "sc.close()", "sc.close", "sc", "java.io.InputStream in", "in", "java.io.PrintStream out", "out", "public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }", "main", "{\n (new Main()).run(System.in, System.out);\n }", "(new Main()).run(System.in, System.out)", "(new Main()).run", "(new Main())", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b;\n String c;\n\n for(;;){\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b;\n String c;\n\n for(;;){\n a = sc.nextInt();\n c = sc.next();\n b = sc.nextInt();\n if(\"+\".equals(c)){\n System.out.println(a + b);\n }else if(\"-\".equals(c)){\n System.out.println(a - b);\n }else if(\"*\".equals(c)){\n System.out.println(a * b);\n }else if(\"/\".equals(c)){\n System.out.println(a / b);\n }else if(\"?\".equals(c)){\n break;\n }\n }\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "Main" ]
public class Main{ public void run(java.io.InputStream in, java.io.PrintStream out){ java.util.Scanner sc = new java.util.Scanner(in); /*answer*/ int a, b; String c; for(;;){ a = sc.nextInt(); c = sc.next(); b = sc.nextInt(); if("+".equals(c)){ System.out.println(a + b); }else if("-".equals(c)){ System.out.println(a - b); }else if("*".equals(c)){ System.out.println(a * b); }else if("/".equals(c)){ System.out.println(a / b); }else if("?".equals(c)){ break; } } /*fin*/ sc.close(); } public static void main(String[] args){ (new Main()).run(System.in, System.out); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 3, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 26, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 38, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 26, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 51, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 63, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 73, 74 ], [ 73, 75 ], [ 51, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 76, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 92, 93 ], [ 92, 94 ], [ 88, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 98, 99 ], [ 98, 100 ], [ 76, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 101, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 117, 119 ], [ 113, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 123, 124 ], [ 123, 125 ], [ 101, 126 ], [ 6, 127 ], [ 127, 128 ] ]
[ "import java.io.*;\nclass Main{\n\tpublic static void main (String[] args) throws IOException{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] in = line.split(\" \");\n\t\t\tif(in[1].equals(\"+\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"-\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main{\n\tpublic static void main (String[] args) throws IOException{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] in = line.split(\" \");\n\t\t\tif(in[1].equals(\"+\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"-\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;\n\t\t}\n\t}\n}", "Main", "public static void main (String[] args) throws IOException{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] in = line.split(\" \");\n\t\t\tif(in[1].equals(\"+\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"-\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;\n\t\t}\n\t}", "main", "{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] in = line.split(\" \");\n\t\t\tif(in[1].equals(\"+\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"-\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] in = line.split(\" \");\n\t\t\tif(in[1].equals(\"+\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"-\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;\n\t\t}", "true", "{\n\t\t\tString line = br.readLine();\n\t\t\tString[] in = line.split(\" \");\n\t\t\tif(in[1].equals(\"+\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"-\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;\n\t\t}", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] in = line.split(\" \");", "in", "line.split(\" \")", "line.split", "line", "\" \"", "if(in[1].equals(\"+\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"-\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;", "in[1].equals(\"+\")", "in[1].equals", "in[1]", "in", "1", "\"+\"", "System.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2]))", "System.out.println", "System.out", "System", "System.out", "Integer.parseInt(in[0]) + Integer.parseInt(in[2])", "Integer.parseInt(in[0])", "Integer.parseInt", "Integer", "in[0]", "in", "0", "Integer.parseInt(in[2])", "Integer.parseInt", "Integer", "in[2]", "in", "2", "if (in[1].equals(\"-\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;", "in[1].equals(\"-\")", "in[1].equals", "in[1]", "in", "1", "\"-\"", "System.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2]))", "System.out.println", "System.out", "System", "System.out", "Integer.parseInt(in[0]) - Integer.parseInt(in[2])", "Integer.parseInt(in[0])", "Integer.parseInt", "Integer", "in[0]", "in", "0", "Integer.parseInt(in[2])", "Integer.parseInt", "Integer", "in[2]", "in", "2", "if (in[1].equals(\"*\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]));\n\t\t\telse if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;", "in[1].equals(\"*\")", "in[1].equals", "in[1]", "in", "1", "\"*\"", "System.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2]))", "System.out.println", "System.out", "System", "System.out", "Integer.parseInt(in[0]) * Integer.parseInt(in[2])", "Integer.parseInt(in[0])", "Integer.parseInt", "Integer", "in[0]", "in", "0", "Integer.parseInt(in[2])", "Integer.parseInt", "Integer", "in[2]", "in", "2", "if (in[1].equals(\"/\"))\n\t\t\t\tSystem.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]));\n\t\t\telse break;", "in[1].equals(\"/\")", "in[1].equals", "in[1]", "in", "1", "\"/\"", "System.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2]))", "System.out.println", "System.out", "System", "System.out", "Integer.parseInt(in[0]) / Integer.parseInt(in[2])", "Integer.parseInt(in[0])", "Integer.parseInt", "Integer", "in[0]", "in", "0", "Integer.parseInt(in[2])", "Integer.parseInt", "Integer", "in[2]", "in", "2", "break;", "String[] args", "args" ]
import java.io.*; class Main{ public static void main (String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String line = br.readLine(); String[] in = line.split(" "); if(in[1].equals("+")) System.out.println(Integer.parseInt(in[0]) + Integer.parseInt(in[2])); else if (in[1].equals("-")) System.out.println(Integer.parseInt(in[0]) - Integer.parseInt(in[2])); else if (in[1].equals("*")) System.out.println(Integer.parseInt(in[0]) * Integer.parseInt(in[2])); else if (in[1].equals("/")) System.out.println(Integer.parseInt(in[0]) / Integer.parseInt(in[2])); else break; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 42, 17, 30, 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, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 30, 29, 23, 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 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 15, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 31, 36 ], [ 28, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 28, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 28, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 28, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 58, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 72, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 86, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 100, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 100, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 114, 119 ], [ 119, 120 ], [ 114, 121 ], [ 121, 122 ], [ 12, 123 ], [ 123, 124 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true) {\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tint b = Integer.parseInt(str[2]);\n\t\t\tString operator = str[1];\n\t\t\tif(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\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\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true) {\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tint b = Integer.parseInt(str[2]);\n\t\t\tString operator = str[1];\n\t\t\tif(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry {\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true) {\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tint b = Integer.parseInt(str[2]);\n\t\t\tString operator = str[1];\n\t\t\tif(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true) {\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tint b = Integer.parseInt(str[2]);\n\t\t\tString operator = str[1];\n\t\t\tif(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true) {\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tint b = Integer.parseInt(str[2]);\n\t\t\tString operator = str[1];\n\t\t\tif(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch(IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true) {\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tint b = Integer.parseInt(str[2]);\n\t\t\tString operator = str[1];\n\t\t\tif(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));", "buf", "new BufferedReader(new InputStreamReader(System.in))", "while(true) {\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tint b = Integer.parseInt(str[2]);\n\t\t\tString operator = str[1];\n\t\t\tif(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}", "true", "{\n\t\t\tString[] str = buf.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tint b = Integer.parseInt(str[2]);\n\t\t\tString operator = str[1];\n\t\t\tif(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}", "String[] str = buf.readLine().split(\" \");", "str", "buf.readLine().split(\" \")", "buf.readLine().split", "buf.readLine()", "buf.readLine", "buf", "\" \"", "int a = Integer.parseInt(str[0]);", "a", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int b = Integer.parseInt(str[2]);", "b", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "String operator = str[1];", "operator", "str[1]", "str", "1", "if(operator.equals(\"+\")) { \n\t\t\t\t System.out.println(a + b);\n\t\t\t }else if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}", "operator.equals(\"+\")", "operator.equals", "operator", "\"+\"", "{ \n\t\t\t\t System.out.println(a + b);\n\t\t\t }", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if(operator.equals(\"-\")) { \n\t\t\t\t System.out.println(a - b);\n\t\t\t }else if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}", "operator.equals(\"-\")", "operator.equals", "operator", "\"-\"", "{ \n\t\t\t\t System.out.println(a - b);\n\t\t\t }", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if(operator.equals(\"*\")) { \n\t\t\t\t System.out.println(a * b);\n\t\t\t }else \tif(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}", "operator.equals(\"*\")", "operator.equals", "operator", "\"*\"", "{ \n\t\t\t\t System.out.println(a * b);\n\t\t\t }", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if(operator.equals(\"/\")) { \n\t\t\t\t System.out.println(a / b);\n\t\t\t }else if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}", "operator.equals(\"/\")", "operator.equals", "operator", "\"/\"", "{ \n\t\t\t\t System.out.println(a / b);\n\t\t\t }", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "if(operator.equals(\"?\")) {\n\t\t\t\tbreak;\t\t\t\n\t\t\t }else {\n\t\t\t\t\treturn;\n\t\t\t\t}", "operator.equals(\"?\")", "operator.equals", "operator", "\"?\"", "{\n\t\t\t\tbreak;\t\t\t\n\t\t\t }", "break;", "{\n\t\t\t\t\treturn;\n\t\t\t\t}", "return;", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) { try { BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); while(true) { String[] str = buf.readLine().split(" "); int a = Integer.parseInt(str[0]); int b = Integer.parseInt(str[2]); String operator = str[1]; if(operator.equals("+")) { System.out.println(a + b); }else if(operator.equals("-")) { System.out.println(a - b); }else if(operator.equals("*")) { System.out.println(a * b); }else if(operator.equals("/")) { System.out.println(a / b); }else if(operator.equals("?")) { break; }else { return; } } }catch(IOException e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 3, 23, 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 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 20, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 45, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 45, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 61, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 61, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 77, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 77, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 93, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 93, 109 ], [ 109, 110 ], [ 12, 111 ], [ 111, 112 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile (true) {\n\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\tint num01 = Integer.parseInt(list[0]);\n\t\t\tint num02 = Integer.parseInt(list[2]);\n\t\t\tif (list[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(num01 + num02);\n\t\t\t} else if (list[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t} else if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\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 br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile (true) {\n\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\tint num01 = Integer.parseInt(list[0]);\n\t\t\tint num02 = Integer.parseInt(list[2]);\n\t\t\tif (list[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(num01 + num02);\n\t\t\t} else if (list[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t} else if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile (true) {\n\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\tint num01 = Integer.parseInt(list[0]);\n\t\t\tint num02 = Integer.parseInt(list[2]);\n\t\t\tif (list[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(num01 + num02);\n\t\t\t} else if (list[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t} else if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile (true) {\n\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\tint num01 = Integer.parseInt(list[0]);\n\t\t\tint num02 = Integer.parseInt(list[2]);\n\t\t\tif (list[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(num01 + num02);\n\t\t\t} else if (list[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t} else if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\tint num01 = Integer.parseInt(list[0]);\n\t\t\tint num02 = Integer.parseInt(list[2]);\n\t\t\tif (list[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(num01 + num02);\n\t\t\t} else if (list[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t} else if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\tint num01 = Integer.parseInt(list[0]);\n\t\t\tint num02 = Integer.parseInt(list[2]);\n\t\t\tif (list[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(num01 + num02);\n\t\t\t} else if (list[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t} else if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "String[] list = br.readLine().split(\" \");", "list", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int num01 = Integer.parseInt(list[0]);", "num01", "Integer.parseInt(list[0])", "Integer.parseInt", "Integer", "list[0]", "list", "0", "int num02 = Integer.parseInt(list[2]);", "num02", "Integer.parseInt(list[2])", "Integer.parseInt", "Integer", "list[2]", "list", "2", "if (list[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(num01 + num02);\n\t\t\t} else if (list[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t} else if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}", "list[1].equals(\"+\")", "list[1].equals", "list[1]", "list", "1", "\"+\"", "{\n\t\t\t\tSystem.out.println(num01 + num02);\n\t\t\t}", "System.out.println(num01 + num02)", "System.out.println", "System.out", "System", "System.out", "num01 + num02", "num01", "num02", "if (list[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t} else if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}", "list[1].equals(\"-\")", "list[1].equals", "list[1]", "list", "1", "\"-\"", "{\n\t\t\t\tSystem.out.println(num01 - num02);\n\t\t\t}", "System.out.println(num01 - num02)", "System.out.println", "System.out", "System", "System.out", "num01 - num02", "num01", "num02", "if (list[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t} else if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}", "list[1].equals(\"*\")", "list[1].equals", "list[1]", "list", "1", "\"*\"", "{\n\t\t\t\tSystem.out.println(num01 * num02);\n\t\t\t}", "System.out.println(num01 * num02)", "System.out.println", "System.out", "System", "System.out", "num01 * num02", "num01", "num02", "if (list[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}", "list[1].equals(\"/\")", "list[1].equals", "list[1]", "list", "1", "\"/\"", "{\n\t\t\t\tSystem.out.println(num01 / num02);\n\t\t\t}", "System.out.println(num01 / num02)", "System.out.println", "System.out", "System", "System.out", "num01 / num02", "num01", "num02", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String[] list = br.readLine().split(" "); int num01 = Integer.parseInt(list[0]); int num02 = Integer.parseInt(list[2]); if (list[1].equals("+")) { System.out.println(num01 + num02); } else if (list[1].equals("-")) { System.out.println(num01 - num02); } else if (list[1].equals("*")) { System.out.println(num01 * num02); } else if (list[1].equals("/")) { System.out.println(num01 / num02); } else { break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 30, 14, 4, 18, 13, 17, 30, 41, 13, 2, 13, 13, 4, 18, 4, 18, 13, 13, 17, 14, 4, 18, 13, 17, 30, 41, 13, 2, 13, 13, 4, 18, 4, 18, 13, 13, 17, 14, 4, 18, 13, 17, 30, 41, 13, 2, 13, 13, 4, 18, 4, 18, 13, 13, 17, 14, 4, 18, 13, 17, 30, 41, 13, 2, 13, 13, 4, 18, 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 ], [ 128, 8 ], [ 128, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 39, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 58, 64 ], [ 46, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 70, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 76, 82 ], [ 46, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 94, 100 ], [ 46, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 112, 118 ], [ 11, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 9, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tStringBuilder sa = new StringBuilder();\n \twhile(true){\n\n \t\tint a = sc.nextInt();\n \t\tString op = sc.next();\n \t\tint b = sc.nextInt();\n \t\tif(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}\n \t}\n \tSystem.out.print(sb);\n }\n\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tStringBuilder sa = new StringBuilder();\n \twhile(true){\n\n \t\tint a = sc.nextInt();\n \t\tString op = sc.next();\n \t\tint b = sc.nextInt();\n \t\tif(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}\n \t}\n \tSystem.out.print(sb);\n }\n\n}", "Main", "public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tStringBuilder sa = new StringBuilder();\n \twhile(true){\n\n \t\tint a = sc.nextInt();\n \t\tString op = sc.next();\n \t\tint b = sc.nextInt();\n \t\tif(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}\n \t}\n \tSystem.out.print(sb);\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tStringBuilder sa = new StringBuilder();\n \twhile(true){\n\n \t\tint a = sc.nextInt();\n \t\tString op = sc.next();\n \t\tint b = sc.nextInt();\n \t\tif(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}\n \t}\n \tSystem.out.print(sb);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "StringBuilder sa = new StringBuilder();", "sa", "new StringBuilder()", "while(true){\n\n \t\tint a = sc.nextInt();\n \t\tString op = sc.next();\n \t\tint b = sc.nextInt();\n \t\tif(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}\n \t}", "true", "{\n\n \t\tint a = sc.nextInt();\n \t\tString op = sc.next();\n \t\tint b = sc.nextInt();\n \t\tif(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}\n \t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String op = sc.next();", "op", "sc.next()", "sc.next", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n \t\t\tbreak;\n \t\t}", "break;", "{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}", "if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }", "int i = a+b;", "i", "a+b", "a", "b", "sb.append(i).append(\"\\n\")", "sb.append(i).append", "sb.append(i)", "sb.append", "sb", "i", "\"\\n\"", "if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }", "int i = a-b;", "i", "a-b", "a", "b", "sb.append(i).append(\"\\n\")", "sb.append(i).append", "sb.append(i)", "sb.append", "sb", "i", "\"\\n\"", "if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }", "int i = a*b;", "i", "a*b", "a", "b", "sb.append(i).append(\"\\n\")", "sb.append(i).append", "sb.append(i)", "sb.append", "sb", "i", "\"\\n\"", "if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }", "int i = a/b;", "i", "a/b", "a", "b", "sb.append(i).append(\"\\n\")", "sb.append(i).append", "sb.append(i)", "sb.append", "sb", "i", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String args[]", "args", "public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tStringBuilder sa = new StringBuilder();\n \twhile(true){\n\n \t\tint a = sc.nextInt();\n \t\tString op = sc.next();\n \t\tint b = sc.nextInt();\n \t\tif(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}\n \t}\n \tSystem.out.print(sb);\n }\n\n}", "public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tStringBuilder sa = new StringBuilder();\n \twhile(true){\n\n \t\tint a = sc.nextInt();\n \t\tString op = sc.next();\n \t\tint b = sc.nextInt();\n \t\tif(op.equals(\"?\")){\n \t\t\tbreak;\n \t\t}else{\n \t if(op.equals(\"+\")){\n \t \tint i = a+b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"-\")){\n \tint i = a-b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"*\")){\n \tint i = a*b;\n\t sb.append(i).append(\"\\n\");\n \t }\n if(op.equals(\"/\")){\n\t int i = a/b;\n\t sb.append(i).append(\"\\n\");\n }\n \t\t}\n \t}\n \tSystem.out.print(sb);\n }\n\n}", "Main" ]
import java.io.IOException; import java.util.Scanner; public class Main { public static void main (String args[]) throws IOException { Scanner sc = new Scanner(System.in); StringBuilder sb = new StringBuilder(); StringBuilder sa = new StringBuilder(); while(true){ int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); if(op.equals("?")){ break; }else{ if(op.equals("+")){ int i = a+b; sb.append(i).append("\n"); } if(op.equals("-")){ int i = a-b; sb.append(i).append("\n"); } if(op.equals("*")){ int i = a*b; sb.append(i).append("\n"); } if(op.equals("/")){ int i = a/b; sb.append(i).append("\n"); } } } System.out.print(sb); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 95, 8 ], [ 95, 9 ], [ 9, 10 ], [ 9, 11 ], [ 95, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 20, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 42, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 55, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 68, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 14, 89 ], [ 89, 90 ], [ 90, 91 ], [ 12, 92 ], [ 92, 93 ], [ 0, 94 ], [ 94, 95 ], [ 94, 96 ] ]
[ "import java.text.DecimalFormat;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\tstatic DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");\n\t\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}", "import java.text.DecimalFormat;", "DecimalFormat", "java.text", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tstatic DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");\n\t\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}", "Main", "static DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");", "df", "new DecimalFormat(\"0.0000000000000000000\")", "public static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\n\t\t}\n\t\t\n\t\tsc.close();\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\n\t\t}\n\t\t\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\n\t\t}", "true", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\n\t\t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String op = sc.next();", "op", "sc.next()", "sc.next", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if (op.equals(\"?\")) break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "if (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\t\n\tstatic DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");\n\t\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}", "public class Main {\n\t\n\tstatic DecimalFormat df = new DecimalFormat(\"0.0000000000000000000\");\n\t\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\t\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tSystem.out.println(a+b);\n\t\t\telse if (op.equals(\"-\"))\n\t\t\t\tSystem.out.println(a-b);\n\t\t\telse if (op.equals(\"*\"))\n\t\t\t\tSystem.out.println(a*b);\n\t\t\telse\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}", "Main" ]
import java.text.DecimalFormat; import java.util.Scanner; public class Main { static DecimalFormat df = new DecimalFormat("0.0000000000000000000"); public static void main (String[] args) { Scanner sc = new Scanner(System.in); while (true) { int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); if (op.equals("?")) break; if (op.equals("+")) System.out.println(a+b); else if (op.equals("-")) System.out.println(a-b); else if (op.equals("*")) System.out.println(a*b); else System.out.println(a/b); } sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 3, 30, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 2, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 139, 5 ], [ 139, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 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 ], [ 17, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 55, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 55, 74 ], [ 50, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 76, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 91, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 106, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 117, 119 ], [ 112, 120 ], [ 106, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 121, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 132, 133 ], [ 132, 134 ], [ 127, 135 ], [ 6, 136 ], [ 136, 137 ], [ 0, 138 ], [ 138, 139 ], [ 138, 140 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] elems = line.split(\" \");\n\t\t\tint a = Integer.parseInt(elems[0]);\n\t\t\tString op = elems[1];\n\t\t\tint b = Integer.parseInt(elems[2]);\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] elems = line.split(\" \");\n\t\t\tint a = Integer.parseInt(elems[0]);\n\t\t\tString op = elems[1];\n\t\t\tint b = Integer.parseInt(elems[2]);\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] elems = line.split(\" \");\n\t\t\tint a = Integer.parseInt(elems[0]);\n\t\t\tString op = elems[1];\n\t\t\tint b = Integer.parseInt(elems[2]);\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] elems = line.split(\" \");\n\t\t\tint a = Integer.parseInt(elems[0]);\n\t\t\tString op = elems[1];\n\t\t\tint b = Integer.parseInt(elems[2]);\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder text = new StringBuilder();", "text", "new StringBuilder()", "while (true) {\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] elems = line.split(\" \");\n\t\t\tint a = Integer.parseInt(elems[0]);\n\t\t\tString op = elems[1];\n\t\t\tint b = Integer.parseInt(elems[2]);\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] elems = line.split(\" \");\n\t\t\tint a = Integer.parseInt(elems[0]);\n\t\t\tString op = elems[1];\n\t\t\tint b = Integer.parseInt(elems[2]);\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "String line = scan.nextLine();", "line", "scan.nextLine()", "scan.nextLine", "scan", "String[] elems = line.split(\" \");", "elems", "line.split(\" \")", "line.split", "line", "\" \"", "int a = Integer.parseInt(elems[0]);", "a", "Integer.parseInt(elems[0])", "Integer.parseInt", "Integer", "elems[0]", "elems", "0", "String op = elems[1];", "op", "elems[1]", "elems", "1", "int b = Integer.parseInt(elems[2]);", "b", "Integer.parseInt(elems[2])", "Integer.parseInt", "Integer", "elems[2]", "elems", "2", "if (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t}", "scan.close()", "scan.close", "scan", "text.deleteCharAt(text.lastIndexOf(\"\\n\"))", "text.deleteCharAt", "text", "text.lastIndexOf(\"\\n\")", "text.lastIndexOf", "text", "\"\\n\"", "System.out.println(text.toString())", "System.out.println", "System.out", "System", "System.out", "text.toString()", "text.toString", "text", "break;", "{\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}", "if(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}", "text.append(a + b).append(\"\\n\")", "text.append(a + b).append", "text.append(a + b)", "text.append", "text", "a + b", "a", "b", "\"\\n\"", "if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}", "text.append(a - b).append(\"\\n\")", "text.append(a - b).append", "text.append(a - b)", "text.append", "text", "a - b", "a", "b", "\"\\n\"", "if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}", "text.append(a * b).append(\"\\n\")", "text.append(a * b).append", "text.append(a * b)", "text.append", "text", "a * b", "a", "b", "\"\\n\"", "if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}", "text.append(a / b).append(\"\\n\")", "text.append(a / b).append", "text.append(a / b)", "text.append", "text", "a / b", "a", "b", "\"\\n\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] elems = line.split(\" \");\n\t\t\tint a = Integer.parseInt(elems[0]);\n\t\t\tString op = elems[1];\n\t\t\tint b = Integer.parseInt(elems[2]);\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\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\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tString line = scan.nextLine();\n\t\t\tString[] elems = line.split(\" \");\n\t\t\tint a = Integer.parseInt(elems[0]);\n\t\t\tString op = elems[1];\n\t\t\tint b = Integer.parseInt(elems[2]);\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\ttext.append(a + b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\ttext.append(a - b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\ttext.append(a * b).append(\"\\n\");\n\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\ttext.append(a / b).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); StringBuilder text = new StringBuilder(); while (true) { String line = scan.nextLine(); String[] elems = line.split(" "); int a = Integer.parseInt(elems[0]); String op = elems[1]; int b = Integer.parseInt(elems[2]); if (op.equals("?")) { scan.close(); text.deleteCharAt(text.lastIndexOf("\n")); System.out.println(text.toString()); break; } else { if(op.equals("+")){ text.append(a + b).append("\n"); }else if(op.equals("-")){ text.append(a - b).append("\n"); }else if(op.equals("*")){ text.append(a * b).append("\n"); }else if(op.equals("/")){ text.append(a / b).append("\n"); } } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 15, 5 ], [ 15, 6 ], [ 6, 7 ], [ 6, 8 ], [ 15, 9 ], [ 9, 10 ], [ 9, 11 ], [ 9, 12 ], [ 12, 13 ], [ 0, 14 ], [ 14, 15 ], [ 14, 16 ] ]
[ "import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n esc:while(true) {\n int a = scn.nextInt();\n String op = scn.next();\n int b = scn.nextInt();\n switch(op) {\n case \"+\":\n System.out.println(a + b);\n break;\n case \"-\":\n System.out.println(a - b);\n break;\n case \"*\":\n System.out.println(a * b);\n break;\n case \"/\":\n System.out.println(a / b);\n break;\n case \"?\":\n break esc;\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n esc:while(true) {\n int a = scn.nextInt();\n String op = scn.next();\n int b = scn.nextInt();\n switch(op) {\n case \"+\":\n System.out.println(a + b);\n break;\n case \"-\":\n System.out.println(a - b);\n break;\n case \"*\":\n System.out.println(a * b);\n break;\n case \"/\":\n System.out.println(a / b);\n break;\n case \"?\":\n break esc;\n }\n }\n }\n}", "Main", "private static final Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "public static void main(String[] args) {\n esc:while(true) {\n int a = scn.nextInt();\n String op = scn.next();\n int b = scn.nextInt();\n switch(op) {\n case \"+\":\n System.out.println(a + b);\n break;\n case \"-\":\n System.out.println(a - b);\n break;\n case \"*\":\n System.out.println(a * b);\n break;\n case \"/\":\n System.out.println(a / b);\n break;\n case \"?\":\n break esc;\n }\n }\n }", "main", "{\n esc:while(true) {\n int a = scn.nextInt();\n String op = scn.next();\n int b = scn.nextInt();\n switch(op) {\n case \"+\":\n System.out.println(a + b);\n break;\n case \"-\":\n System.out.println(a - b);\n break;\n case \"*\":\n System.out.println(a * b);\n break;\n case \"/\":\n System.out.println(a / b);\n break;\n case \"?\":\n break esc;\n }\n }\n }", "String[] args", "args", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n esc:while(true) {\n int a = scn.nextInt();\n String op = scn.next();\n int b = scn.nextInt();\n switch(op) {\n case \"+\":\n System.out.println(a + b);\n break;\n case \"-\":\n System.out.println(a - b);\n break;\n case \"*\":\n System.out.println(a * b);\n break;\n case \"/\":\n System.out.println(a / b);\n break;\n case \"?\":\n break esc;\n }\n }\n }\n}", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n esc:while(true) {\n int a = scn.nextInt();\n String op = scn.next();\n int b = scn.nextInt();\n switch(op) {\n case \"+\":\n System.out.println(a + b);\n break;\n case \"-\":\n System.out.println(a - b);\n break;\n case \"*\":\n System.out.println(a * b);\n break;\n case \"/\":\n System.out.println(a / b);\n break;\n case \"?\":\n break esc;\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main { private static final Scanner scn = new Scanner(System.in); public static void main(String[] args) { esc:while(true) { int a = scn.nextInt(); String op = scn.next(); int b = scn.nextInt(); switch(op) { case "+": System.out.println(a + b); break; case "-": System.out.println(a - b); break; case "*": System.out.println(a * b); break; case "/": System.out.println(a / b); break; case "?": break esc; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 35, 4, 18, 13, 17, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 14, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 43, 52 ], [ 36, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 55, 64 ], [ 36, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 67, 76 ], [ 36, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 79, 88 ], [ 6, 89 ], [ 89, 90 ] ]
[ "import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tString op = stdIn.next();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tswitch (op.charAt(0)) {\n\t\t\t\tcase '+':System.out.println((a+b)); break;\n\t\t\t\tcase '-':System.out.println((a-b)); break;\n\t\t\t\tcase '*':System.out.println(a*b); break;\n\t\t\t\tcase '/':System.out.println(a/b); break;\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tString op = stdIn.next();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tswitch (op.charAt(0)) {\n\t\t\t\tcase '+':System.out.println((a+b)); break;\n\t\t\t\tcase '-':System.out.println((a-b)); break;\n\t\t\t\tcase '*':System.out.println(a*b); break;\n\t\t\t\tcase '/':System.out.println(a/b); break;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tString op = stdIn.next();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tswitch (op.charAt(0)) {\n\t\t\t\tcase '+':System.out.println((a+b)); break;\n\t\t\t\tcase '-':System.out.println((a-b)); break;\n\t\t\t\tcase '*':System.out.println(a*b); break;\n\t\t\t\tcase '/':System.out.println(a/b); break;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tString op = stdIn.next();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tswitch (op.charAt(0)) {\n\t\t\t\tcase '+':System.out.println((a+b)); break;\n\t\t\t\tcase '-':System.out.println((a-b)); break;\n\t\t\t\tcase '*':System.out.println(a*b); break;\n\t\t\t\tcase '/':System.out.println(a/b); break;\n\t\t\t}\n\t\t}\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "while(true){\n\t\t\tint a = stdIn.nextInt();\n\t\t\tString op = stdIn.next();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tswitch (op.charAt(0)) {\n\t\t\t\tcase '+':System.out.println((a+b)); break;\n\t\t\t\tcase '-':System.out.println((a-b)); break;\n\t\t\t\tcase '*':System.out.println(a*b); break;\n\t\t\t\tcase '/':System.out.println(a/b); break;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tint a = stdIn.nextInt();\n\t\t\tString op = stdIn.next();\n\t\t\tint b = stdIn.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tswitch (op.charAt(0)) {\n\t\t\t\tcase '+':System.out.println((a+b)); break;\n\t\t\t\tcase '-':System.out.println((a-b)); break;\n\t\t\t\tcase '*':System.out.println(a*b); break;\n\t\t\t\tcase '/':System.out.println(a/b); break;\n\t\t\t}\n\t\t}", "int a = stdIn.nextInt();", "a", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "String op = stdIn.next();", "op", "stdIn.next()", "stdIn.next", "stdIn", "int b = stdIn.nextInt();", "b", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "if(op.equals(\"?\"))\n\t\t\t\tbreak;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "switch (op.charAt(0)) {\n\t\t\t\tcase '+':System.out.println((a+b)); break;\n\t\t\t\tcase '-':System.out.println((a-b)); break;\n\t\t\t\tcase '*':System.out.println(a*b); break;\n\t\t\t\tcase '/':System.out.println(a/b); break;\n\t\t\t}", "op.charAt(0)", "op.charAt", "op", "0", "case '+':", "'+'", "case '+':", "System.out.println((a+b))", "System.out.println", "System.out", "System", "System.out", "(a+b)", "a", "b", "break;", "case '-':", "'-'", "case '-':", "System.out.println((a-b))", "System.out.println", "System.out", "System", "System.out", "(a-b)", "a", "b", "break;", "case '*':", "'*'", "case '*':", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "break;", "case '/':", "'/'", "case '/':", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "break;", "String[] args", "args" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); while(true){ int a = stdIn.nextInt(); String op = stdIn.next(); int b = stdIn.nextInt(); if(op.equals("?")) break; switch (op.charAt(0)) { case '+':System.out.println((a+b)); break; case '-':System.out.println((a-b)); break; case '*':System.out.println(a*b); break; case '/':System.out.println(a/b); break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 42, 40, 4, 18, 13, 17, 30, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 4, 18, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 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 ], [ 169, 11 ], [ 169, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 29, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 35, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 35, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 35, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 14, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 64, 68 ], [ 57, 69 ], [ 69, 70 ], [ 70, 71 ], [ 57, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 75, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 74, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 98, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 111, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 97, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 121, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 134, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 120, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 144, 150 ], [ 143, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 152, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 157, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 12, 166 ], [ 166, 167 ], [ 0, 168 ], [ 168, 169 ], [ 168, 170 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tList <Integer> arraylistA = new ArrayList <Integer> ();\n\t\tList <String> arraylistOP = new ArrayList <String> ();\n\t\tList <Integer> arraylistB = new ArrayList <Integer> ();\n\t\tString OP;\n\t\t\n\t\tdo {\n\t\t\tarraylistA.add(stdIn.nextInt());\n\t\t\tOP = stdIn.next();\n\t\t\tarraylistOP.add(OP);\n\t\t\tarraylistB.add(stdIn.nextInt());\n\t\t} while(!OP.equals(\"?\"));\n\t\t\n\t\tfor(int i = 0; i < arraylistA.size() - 1; i++) {\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\n\t\t}\n\t}\n}", "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\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tList <Integer> arraylistA = new ArrayList <Integer> ();\n\t\tList <String> arraylistOP = new ArrayList <String> ();\n\t\tList <Integer> arraylistB = new ArrayList <Integer> ();\n\t\tString OP;\n\t\t\n\t\tdo {\n\t\t\tarraylistA.add(stdIn.nextInt());\n\t\t\tOP = stdIn.next();\n\t\t\tarraylistOP.add(OP);\n\t\t\tarraylistB.add(stdIn.nextInt());\n\t\t} while(!OP.equals(\"?\"));\n\t\t\n\t\tfor(int i = 0; i < arraylistA.size() - 1; i++) {\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tList <Integer> arraylistA = new ArrayList <Integer> ();\n\t\tList <String> arraylistOP = new ArrayList <String> ();\n\t\tList <Integer> arraylistB = new ArrayList <Integer> ();\n\t\tString OP;\n\t\t\n\t\tdo {\n\t\t\tarraylistA.add(stdIn.nextInt());\n\t\t\tOP = stdIn.next();\n\t\t\tarraylistOP.add(OP);\n\t\t\tarraylistB.add(stdIn.nextInt());\n\t\t} while(!OP.equals(\"?\"));\n\t\t\n\t\tfor(int i = 0; i < arraylistA.size() - 1; i++) {\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tList <Integer> arraylistA = new ArrayList <Integer> ();\n\t\tList <String> arraylistOP = new ArrayList <String> ();\n\t\tList <Integer> arraylistB = new ArrayList <Integer> ();\n\t\tString OP;\n\t\t\n\t\tdo {\n\t\t\tarraylistA.add(stdIn.nextInt());\n\t\t\tOP = stdIn.next();\n\t\t\tarraylistOP.add(OP);\n\t\t\tarraylistB.add(stdIn.nextInt());\n\t\t} while(!OP.equals(\"?\"));\n\t\t\n\t\tfor(int i = 0; i < arraylistA.size() - 1; i++) {\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\n\t\t}\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "List <Integer> arraylistA = new ArrayList <Integer> ();", "arraylistA", "new ArrayList <Integer> ()", "List <String> arraylistOP = new ArrayList <String> ();", "arraylistOP", "new ArrayList <String> ()", "List <Integer> arraylistB = new ArrayList <Integer> ();", "arraylistB", "new ArrayList <Integer> ()", "String OP;", "OP", "do {\n\t\t\tarraylistA.add(stdIn.nextInt());\n\t\t\tOP = stdIn.next();\n\t\t\tarraylistOP.add(OP);\n\t\t\tarraylistB.add(stdIn.nextInt());\n\t\t} while(!OP.equals(\"?\"));", "!OP.equals(\"?\")", "OP.equals(\"?\")", "OP.equals", "OP", "\"?\"", "{\n\t\t\tarraylistA.add(stdIn.nextInt());\n\t\t\tOP = stdIn.next();\n\t\t\tarraylistOP.add(OP);\n\t\t\tarraylistB.add(stdIn.nextInt());\n\t\t}", "arraylistA.add(stdIn.nextInt())", "arraylistA.add", "arraylistA", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "OP = stdIn.next()", "OP", "stdIn.next()", "stdIn.next", "stdIn", "arraylistOP.add(OP)", "arraylistOP.add", "arraylistOP", "OP", "arraylistB.add(stdIn.nextInt())", "arraylistB.add", "arraylistB", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "for(int i = 0; i < arraylistA.size() - 1; i++) {\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < arraylistA.size() - 1", "i", "arraylistA.size() - 1", "arraylistA.size()", "arraylistA.size", "arraylistA", "1", "i++", "i++", "i", "{\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\n\t\t}", "if(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}", "arraylistOP.get(i).equals(\"+\")", "arraylistOP.get(i).equals", "arraylistOP.get(i)", "arraylistOP.get", "arraylistOP", "i", "\"+\"", "{\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}", "System.out.println(arraylistA.get(i) + arraylistB.get(i))", "System.out.println", "System.out", "System", "System.out", "arraylistA.get(i) + arraylistB.get(i)", "arraylistA.get(i)", "arraylistA.get", "arraylistA", "i", "arraylistB.get(i)", "arraylistB.get", "arraylistB", "i", "if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}", "arraylistOP.get(i).equals(\"-\")", "arraylistOP.get(i).equals", "arraylistOP.get(i)", "arraylistOP.get", "arraylistOP", "i", "\"-\"", "{\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}", "System.out.println(arraylistA.get(i) - arraylistB.get(i))", "System.out.println", "System.out", "System", "System.out", "arraylistA.get(i) - arraylistB.get(i)", "arraylistA.get(i)", "arraylistA.get", "arraylistA", "i", "arraylistB.get(i)", "arraylistB.get", "arraylistB", "i", "if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}", "arraylistOP.get(i).equals(\"*\")", "arraylistOP.get(i).equals", "arraylistOP.get(i)", "arraylistOP.get", "arraylistOP", "i", "\"*\"", "{\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}", "System.out.println(arraylistA.get(i) * arraylistB.get(i))", "System.out.println", "System.out", "System", "System.out", "arraylistA.get(i) * arraylistB.get(i)", "arraylistA.get(i)", "arraylistA.get", "arraylistA", "i", "arraylistB.get(i)", "arraylistB.get", "arraylistB", "i", "if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}", "arraylistOP.get(i).equals(\"/\")", "arraylistOP.get(i).equals", "arraylistOP.get(i)", "arraylistOP.get", "arraylistOP", "i", "\"/\"", "{\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}", "System.out.println(arraylistA.get(i) / arraylistB.get(i))", "System.out.println", "System.out", "System", "System.out", "arraylistA.get(i) / arraylistB.get(i)", "arraylistA.get(i)", "arraylistA.get", "arraylistA", "i", "arraylistB.get(i)", "arraylistB.get", "arraylistB", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tList <Integer> arraylistA = new ArrayList <Integer> ();\n\t\tList <String> arraylistOP = new ArrayList <String> ();\n\t\tList <Integer> arraylistB = new ArrayList <Integer> ();\n\t\tString OP;\n\t\t\n\t\tdo {\n\t\t\tarraylistA.add(stdIn.nextInt());\n\t\t\tOP = stdIn.next();\n\t\t\tarraylistOP.add(OP);\n\t\t\tarraylistB.add(stdIn.nextInt());\n\t\t} while(!OP.equals(\"?\"));\n\t\t\n\t\tfor(int i = 0; i < arraylistA.size() - 1; i++) {\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tList <Integer> arraylistA = new ArrayList <Integer> ();\n\t\tList <String> arraylistOP = new ArrayList <String> ();\n\t\tList <Integer> arraylistB = new ArrayList <Integer> ();\n\t\tString OP;\n\t\t\n\t\tdo {\n\t\t\tarraylistA.add(stdIn.nextInt());\n\t\t\tOP = stdIn.next();\n\t\t\tarraylistOP.add(OP);\n\t\t\tarraylistB.add(stdIn.nextInt());\n\t\t} while(!OP.equals(\"?\"));\n\t\t\n\t\tfor(int i = 0; i < arraylistA.size() - 1; i++) {\n\t\t\tif(arraylistOP.get(i).equals(\"+\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) + arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"-\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) - arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"*\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) * arraylistB.get(i));\n\t\t\t}\n\t\t\telse if(arraylistOP.get(i).equals(\"/\")) {\n\t\t\t\tSystem.out.println(arraylistA.get(i) / arraylistB.get(i));\n\t\t\t}\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) { Scanner stdIn = new Scanner(System.in); List <Integer> arraylistA = new ArrayList <Integer> (); List <String> arraylistOP = new ArrayList <String> (); List <Integer> arraylistB = new ArrayList <Integer> (); String OP; do { arraylistA.add(stdIn.nextInt()); OP = stdIn.next(); arraylistOP.add(OP); arraylistB.add(stdIn.nextInt()); } while(!OP.equals("?")); for(int i = 0; i < arraylistA.size() - 1; i++) { if(arraylistOP.get(i).equals("+")) { System.out.println(arraylistA.get(i) + arraylistB.get(i)); } else if(arraylistOP.get(i).equals("-")) { System.out.println(arraylistA.get(i) - arraylistB.get(i)); } else if(arraylistOP.get(i).equals("*")) { System.out.println(arraylistA.get(i) * arraylistB.get(i)); } else if(arraylistOP.get(i).equals("/")) { System.out.println(arraylistA.get(i) / arraylistB.get(i)); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 42, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 14, 2, 18, 13, 13, 17, 30, 37, 20, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 23, 13, 6, 13, 12, 13, 30, 4, 13, 17, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 144, 8 ], [ 144, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 19, 24 ], [ 15, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 26, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 33, 38 ], [ 30, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 30, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 30, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 30, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 30, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 69, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 83, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 97, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 97, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 111, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 111, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 130, 131 ], [ 9, 132 ], [ 132, 133 ], [ 144, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 134, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.util.NoSuchElementException;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }\n } catch (InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n\n private static class InvalidTestCaseException extends RuntimeException {\n InvalidTestCaseException() {\n super(\"Condition is invalid.\");\n }\n }\n}\n", "import java.util.NoSuchElementException;", "NoSuchElementException", "java.util", "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 try {\n while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }\n } catch (InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n\n private static class InvalidTestCaseException extends RuntimeException {\n InvalidTestCaseException() {\n super(\"Condition is invalid.\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }\n } catch (InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n try {\n while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }\n } catch (InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "try {\n while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }\n } catch (InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }", "catch (InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }", "InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }\n }", "while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }", "sc.hasNext()", "sc.hasNext", "sc", "{\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }", "String[] a_op_b = sc.nextLine().split(\" \");", "a_op_b", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }", "a_op_b.length != 3", "a_op_b.length", "a_op_b", "a_op_b.length", "3", "{\n throw new InvalidTestCaseException();\n }", "throw new InvalidTestCaseException();", "new InvalidTestCaseException()", "String op = a_op_b[1];", "op", "a_op_b[1]", "a_op_b", "1", "int a = Integer.parseInt(a_op_b[0]);", "a", "Integer.parseInt(a_op_b[0])", "Integer.parseInt", "Integer", "a_op_b[0]", "a_op_b", "0", "int b = Integer.parseInt(a_op_b[2]);", "b", "Integer.parseInt(a_op_b[2])", "Integer.parseInt", "Integer", "a_op_b[2]", "a_op_b", "2", "if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n System.out.println(a + b);\n }", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n System.out.println(a - b);\n }", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n System.out.println(a * b);\n }", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n System.out.println(a / b);\n }", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "String[] args", "args", "private static class InvalidTestCaseException extends RuntimeException {\n InvalidTestCaseException() {\n super(\"Condition is invalid.\");\n }\n }", "InvalidTestCaseException", "InvalidTestCaseException() {\n super(\"Condition is invalid.\");\n }", "InvalidTestCaseException", "{\n super(\"Condition is invalid.\");\n }", "super(\"Condition is invalid.\")", "super", "\"Condition is invalid.\"", "RuntimeException", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }\n } catch (InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n\n private static class InvalidTestCaseException extends RuntimeException {\n InvalidTestCaseException() {\n super(\"Condition is invalid.\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n while (sc.hasNext()) {\n String[] a_op_b = sc.nextLine().split(\" \");\n if (a_op_b.length != 3) {\n throw new InvalidTestCaseException();\n }\n String op = a_op_b[1];\n int a = Integer.parseInt(a_op_b[0]);\n int b = Integer.parseInt(a_op_b[2]);\n if (op.equals(\"+\")) {\n System.out.println(a + b);\n } else if (op.equals(\"-\")) {\n System.out.println(a - b);\n } else if (op.equals(\"*\")) {\n System.out.println(a * b);\n } else if (op.equals(\"/\")) {\n System.out.println(a / b);\n } else if (op.equals(\"?\")) {\n break;\n }\n }\n } catch (InvalidTestCaseException\n | NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n\n private static class InvalidTestCaseException extends RuntimeException {\n InvalidTestCaseException() {\n super(\"Condition is invalid.\");\n }\n }\n}", "Main" ]
import java.util.NoSuchElementException; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); try { while (sc.hasNext()) { String[] a_op_b = sc.nextLine().split(" "); if (a_op_b.length != 3) { throw new InvalidTestCaseException(); } String op = a_op_b[1]; int a = Integer.parseInt(a_op_b[0]); int b = Integer.parseInt(a_op_b[2]); if (op.equals("+")) { System.out.println(a + b); } else if (op.equals("-")) { System.out.println(a - b); } else if (op.equals("*")) { System.out.println(a * b); } else if (op.equals("/")) { System.out.println(a / b); } else if (op.equals("?")) { break; } } } catch (InvalidTestCaseException | NoSuchElementException | NumberFormatException e) { System.out.println(e); } } private static class InvalidTestCaseException extends RuntimeException { InvalidTestCaseException() { super("Condition is invalid."); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 17, 13, 30, 29, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 112, 5 ], [ 112, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 19, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 30, 31 ], [ 30, 32 ], [ 16, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 16, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 16, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 46, 51 ], [ 51, 52 ], [ 16, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 53, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 67, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 81, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 81, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 6, 109 ], [ 109, 110 ], [ 0, 111 ], [ 111, 112 ], [ 111, 113 ] ]
[ "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\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString op = s[1];\n\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\tif (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t}\n\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\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString op = s[1];\n\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\tif (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\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\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString op = s[1];\n\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\tif (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString op = s[1];\n\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\tif (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString op = s[1];\n\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\tif (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString op = s[1];\n\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\tif (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t}", "String[] s = sc.nextLine().split(\" \");", "s", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "int a = Integer.parseInt(s[0]);", "a", "Integer.parseInt(s[0])", "Integer.parseInt", "Integer", "s[0]", "s", "0", "String op = s[1];", "op", "s[1]", "s", "1", "int b = Integer.parseInt(s[2]);", "b", "Integer.parseInt(s[2])", "Integer.parseInt", "Integer", "s[2]", "s", "2", "if (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}", "\"?\".equals(op)", "\"?\".equals", "\"?\"", "op", "{\n\t\t\t\treturn;\n\t\t\t}", "return;", "if (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "\"+\".equals(op)", "\"+\".equals", "\"+\"", "op", "{\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "\"*\".equals(op)", "\"*\".equals", "\"*\"", "op", "{\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "\"/\".equals(op)", "\"/\".equals", "\"/\"", "op", "{\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "\"-\".equals(op)", "\"-\".equals", "\"-\"", "op", "{\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString op = s[1];\n\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\tif (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\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\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString op = s[1];\n\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\tif (\"?\".equals(op)) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (\"+\".equals(op)) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t} else if (\"*\".equals(op)) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t} else if (\"/\".equals(op)) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t} else if (\"-\".equals(op)) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String[] s = sc.nextLine().split(" "); int a = Integer.parseInt(s[0]); String op = s[1]; int b = Integer.parseInt(s[2]); if ("?".equals(op)) { return; } if ("+".equals(op)) { System.out.println(a + b); } else if ("*".equals(op)) { System.out.println(a * b); } else if ("/".equals(op)) { System.out.println(a / b); } else if ("-".equals(op)) { System.out.println(a - b); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 42, 40, 4, 18, 13, 17, 30, 35, 13, 34, 17, 1, 4, 18, 13, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 4, 18, 13, 2, 13, 13, 3, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 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 ], [ 11, 17 ], [ 17, 18 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 11, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 50, 60 ], [ 46, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 70, 72 ], [ 63, 73 ], [ 46, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 76, 86 ], [ 46, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 89, 99 ], [ 45, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 45, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 45, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 11, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 115, 125 ], [ 125, 126 ], [ 126, 127 ], [ 115, 128 ], [ 129, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 9, 139 ], [ 139, 140 ], [ 0, 141 ], [ 141, 142 ], [ 141, 143 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\tArrayList<String> buf = new ArrayList<String>();\n\n\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\n\n\t\twhile (!op.equals(\"?\")) {\n\n\t\t\tswitch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t}\n\n//\t\tSystem.out.println(buf);\n\n\t\tfor(int i = 0; i < buf.size(); i++) {\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}\n\n\n\t}\n\n}\n\n\n", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\tArrayList<String> buf = new ArrayList<String>();\n\n\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\n\n\t\twhile (!op.equals(\"?\")) {\n\n\t\t\tswitch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t}\n\n//\t\tSystem.out.println(buf);\n\n\t\tfor(int i = 0; i < buf.size(); i++) {\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}\n\n\n\t}\n\n}", "Main", "public static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\tArrayList<String> buf = new ArrayList<String>();\n\n\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\n\n\t\twhile (!op.equals(\"?\")) {\n\n\t\t\tswitch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t}\n\n//\t\tSystem.out.println(buf);\n\n\t\tfor(int i = 0; i < buf.size(); i++) {\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}\n\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\tArrayList<String> buf = new ArrayList<String>();\n\n\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\n\n\t\twhile (!op.equals(\"?\")) {\n\n\t\t\tswitch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t}\n\n//\t\tSystem.out.println(buf);\n\n\t\tfor(int i = 0; i < buf.size(); i++) {\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}\n\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a", "a", "b;", "b", "String op;", "op", "ArrayList<String> buf = new ArrayList<String>();", "buf", "new ArrayList<String>()", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "while (!op.equals(\"?\")) {\n\n\t\t\tswitch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t}", "!op.equals(\"?\")", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\n\t\t\tswitch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t}", "switch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}", "op", "case (\"+\"):", "(\"+\")", "case (\"+\"):", "buf.add(String.valueOf(a+b))", "buf.add", "buf", "String.valueOf(a+b)", "String.valueOf", "String", "a+b", "a", "b", "break;", "case (\"-\"):", "(\"-\")", "case (\"-\"):", "buf.add(String.valueOf(a-b))", "buf.add", "buf", "String.valueOf(a-b)", "String.valueOf", "String", "a-b", "a", "b", "break;", "case (\"*\"):", "(\"*\")", "case (\"*\"):", "buf.add(String.valueOf(a*b))", "buf.add", "buf", "String.valueOf(a*b)", "String.valueOf", "String", "a*b", "a", "b", "break;", "case (\"/\"):", "(\"/\")", "case (\"/\"):", "buf.add(String.valueOf(a/b))", "buf.add", "buf", "String.valueOf(a/b)", "String.valueOf", "String", "a/b", "a", "b", "break;", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < buf.size(); i++) {\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < buf.size()", "i", "buf.size()", "buf.size", "buf", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}", "System.out.println(buf.get(i))", "System.out.println", "System.out", "System", "System.out", "buf.get(i)", "buf.get", "buf", "i", "String[] args", "args", "public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\tArrayList<String> buf = new ArrayList<String>();\n\n\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\n\n\t\twhile (!op.equals(\"?\")) {\n\n\t\t\tswitch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t}\n\n//\t\tSystem.out.println(buf);\n\n\t\tfor(int i = 0; i < buf.size(); i++) {\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}\n\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\tArrayList<String> buf = new ArrayList<String>();\n\n\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\n\n\t\twhile (!op.equals(\"?\")) {\n\n\t\t\tswitch (op) {\n\n\t\t\tcase (\"+\"):\n\t\t\t\tbuf.add(String.valueOf(a+b));\n\t\t\tbreak;\n\n\t\t\tcase (\"-\"):\n\t\t\t\tbuf.add(String.valueOf(a-b));\n\t\t\tbreak;\n\n\t\t\tcase (\"*\"):\n\t\t\t\tbuf.add(String.valueOf(a*b));\n\t\t\tbreak;\n\n\t\t\tcase (\"/\"):\n\t\t\t\tbuf.add(String.valueOf(a/b));\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t}\n\n//\t\tSystem.out.println(buf);\n\n\t\tfor(int i = 0; i < buf.size(); i++) {\n\t\t\tSystem.out.println(buf.get(i));\n\t\t}\n\n\n\t}\n\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int a, b; String op; ArrayList<String> buf = new ArrayList<String>(); a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); while (!op.equals("?")) { switch (op) { case ("+"): buf.add(String.valueOf(a+b)); break; case ("-"): buf.add(String.valueOf(a-b)); break; case ("*"): buf.add(String.valueOf(a*b)); break; case ("/"): buf.add(String.valueOf(a/b)); break; } a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); } // System.out.println(buf); for(int i = 0; i < buf.size(); i++) { System.out.println(buf.get(i)); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 41, 13, 17, 41, 13, 20, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 42, 5 ], [ 42, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 42, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 30, 39 ], [ 39, 40 ], [ 0, 41 ], [ 41, 42 ], [ 41, 43 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tvoid calc(){\n\t\tint a,b,ans;\n\t\ta = 0;\n\t\tb = 0;\n\t\tans = 0;\n\t\tString op=\"a\";\n\t\tScanner s = new Scanner(System.in);\n\t\tloop1: while(true){\n\t\t\ta = s.nextInt();\n\t\t\top = s.next();\n\t\t\tb = s.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak loop1;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.calc();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid calc(){\n\t\tint a,b,ans;\n\t\ta = 0;\n\t\tb = 0;\n\t\tans = 0;\n\t\tString op=\"a\";\n\t\tScanner s = new Scanner(System.in);\n\t\tloop1: while(true){\n\t\t\ta = s.nextInt();\n\t\t\top = s.next();\n\t\t\tb = s.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak loop1;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.calc();\n\t}\n}", "Main", "void calc(){\n\t\tint a,b,ans;\n\t\ta = 0;\n\t\tb = 0;\n\t\tans = 0;\n\t\tString op=\"a\";\n\t\tScanner s = new Scanner(System.in);\n\t\tloop1: while(true){\n\t\t\ta = s.nextInt();\n\t\t\top = s.next();\n\t\t\tb = s.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak loop1;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "calc", "{\n\t\tint a,b,ans;\n\t\ta = 0;\n\t\tb = 0;\n\t\tans = 0;\n\t\tString op=\"a\";\n\t\tScanner s = new Scanner(System.in);\n\t\tloop1: while(true){\n\t\t\ta = s.nextInt();\n\t\t\top = s.next();\n\t\t\tb = s.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak loop1;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "int a", "a", "b", "b", "ans;", "ans", "a = 0", "a", "0", "b = 0", "b", "0", "ans = 0", "ans", "0", "String op=\"a\";", "op", "\"a\"", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "public static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.calc();\n\t}", "main", "{\n\t\tMain m = new Main();\n\t\tm.calc();\n\t}", "Main m = new Main();", "m", "new Main()", "m.calc()", "m.calc", "m", "String args[]", "args", "public class Main {\n\tvoid calc(){\n\t\tint a,b,ans;\n\t\ta = 0;\n\t\tb = 0;\n\t\tans = 0;\n\t\tString op=\"a\";\n\t\tScanner s = new Scanner(System.in);\n\t\tloop1: while(true){\n\t\t\ta = s.nextInt();\n\t\t\top = s.next();\n\t\t\tb = s.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak loop1;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.calc();\n\t}\n}", "public class Main {\n\tvoid calc(){\n\t\tint a,b,ans;\n\t\ta = 0;\n\t\tb = 0;\n\t\tans = 0;\n\t\tString op=\"a\";\n\t\tScanner s = new Scanner(System.in);\n\t\tloop1: while(true){\n\t\t\ta = s.nextInt();\n\t\t\top = s.next();\n\t\t\tb = s.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b;\n\t\t\t\tbreak;\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b;\n\t\t\t\tbreak;\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak loop1;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.calc();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { void calc(){ int a,b,ans; a = 0; b = 0; ans = 0; String op="a"; Scanner s = new Scanner(System.in); loop1: while(true){ a = s.nextInt(); op = s.next(); b = s.nextInt(); switch(op){ case "+": ans = a + b; break; case "-": ans = a - b; break; case "*": ans = a * b; break; case "/": ans = a / b; break; default: break loop1; } System.out.println(ans); } } public static void main(String args[]){ Main m = new Main(); m.calc(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 13, 3, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 14, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 39, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 39, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 54, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 69, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 69, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 84, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 84, 99 ], [ 6, 100 ], [ 100, 101 ] ]
[ "import java.io.*;\n \nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")) System.out.println(a + b);\n else if (line[1].equals(\"-\")) System.out.println(a - b);\n else if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;\n }\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")) System.out.println(a + b);\n else if (line[1].equals(\"-\")) System.out.println(a - b);\n else if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")) System.out.println(a + b);\n else if (line[1].equals(\"-\")) System.out.println(a - b);\n else if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")) System.out.println(a + b);\n else if (line[1].equals(\"-\")) System.out.println(a - b);\n else if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")) System.out.println(a + b);\n else if (line[1].equals(\"-\")) System.out.println(a - b);\n else if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;\n }", "true", "{\n String[] line = br.readLine().split(\" \");\n int a = Integer.parseInt(line[0]);\n int b = Integer.parseInt(line[2]);\n if (line[1].equals(\"+\")) System.out.println(a + b);\n else if (line[1].equals(\"-\")) System.out.println(a - b);\n else if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;\n }", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(line[0]);", "a", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int b = Integer.parseInt(line[2]);", "b", "Integer.parseInt(line[2])", "Integer.parseInt", "Integer", "line[2]", "line", "2", "if (line[1].equals(\"+\")) System.out.println(a + b);\n else if (line[1].equals(\"-\")) System.out.println(a - b);\n else if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;", "line[1].equals(\"+\")", "line[1].equals", "line[1]", "line", "1", "\"+\"", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if (line[1].equals(\"-\")) System.out.println(a - b);\n else if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;", "line[1].equals(\"-\")", "line[1].equals", "line[1]", "line", "1", "\"-\"", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if (line[1].equals(\"*\")) System.out.println(a * b);\n else if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;", "line[1].equals(\"*\")", "line[1].equals", "line[1]", "line", "1", "\"*\"", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if (line[1].equals(\"/\")) System.out.println(a / b);\n else break;", "line[1].equals(\"/\")", "line[1].equals", "line[1]", "line", "1", "\"/\"", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "break;", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String[] line = br.readLine().split(" "); int a = Integer.parseInt(line[0]); int b = Integer.parseInt(line[2]); if (line[1].equals("+")) System.out.println(a + b); else if (line[1].equals("-")) System.out.println(a - b); else if (line[1].equals("*")) System.out.println(a * b); else if (line[1].equals("/")) System.out.println(a / b); else break; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 14, 2, 13, 17, 3, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 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 ], [ 153, 11 ], [ 153, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 37, 42 ], [ 29, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 29, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 29, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 29, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 29, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 14, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 65, 75 ], [ 75, 76 ], [ 76, 77 ], [ 65, 78 ], [ 79, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 79, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 79, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 79, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 102, 111 ], [ 98, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 114, 123 ], [ 98, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 126, 135 ], [ 98, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 14, 147 ], [ 147, 148 ], [ 148, 149 ], [ 12, 150 ], [ 150, 151 ], [ 0, 152 ], [ 152, 153 ], [ 152, 154 ] ]
[ "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\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> a = new ArrayList<Integer>(); \n\t\tList<Integer> b = new ArrayList<Integer>(); \n\t\tList<Character> op = new ArrayList<Character>();\n\t\t\n\t\twhile (true) {\n\t\t\tint _a = scan.nextInt();\n\t\t\tchar _op = scan.next().charAt(0);\n\t\t\tint _b = scan.nextInt();\n\n\t\t\tif (_op == '?')\n\t\t\t\tbreak;\n\t\t\t\n\t\t\ta.add(_a);\n\t\t\tb.add(_b);\n\t\t\top.add(_op);\n\t\t}\n\n\t\tfor (int i = 0; i < a.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n}", "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\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> a = new ArrayList<Integer>(); \n\t\tList<Integer> b = new ArrayList<Integer>(); \n\t\tList<Character> op = new ArrayList<Character>();\n\t\t\n\t\twhile (true) {\n\t\t\tint _a = scan.nextInt();\n\t\t\tchar _op = scan.next().charAt(0);\n\t\t\tint _b = scan.nextInt();\n\n\t\t\tif (_op == '?')\n\t\t\t\tbreak;\n\t\t\t\n\t\t\ta.add(_a);\n\t\t\tb.add(_b);\n\t\t\top.add(_op);\n\t\t}\n\n\t\tfor (int i = 0; i < a.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> a = new ArrayList<Integer>(); \n\t\tList<Integer> b = new ArrayList<Integer>(); \n\t\tList<Character> op = new ArrayList<Character>();\n\t\t\n\t\twhile (true) {\n\t\t\tint _a = scan.nextInt();\n\t\t\tchar _op = scan.next().charAt(0);\n\t\t\tint _b = scan.nextInt();\n\n\t\t\tif (_op == '?')\n\t\t\t\tbreak;\n\t\t\t\n\t\t\ta.add(_a);\n\t\t\tb.add(_b);\n\t\t\top.add(_op);\n\t\t}\n\n\t\tfor (int i = 0; i < a.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}\n\t\t\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> a = new ArrayList<Integer>(); \n\t\tList<Integer> b = new ArrayList<Integer>(); \n\t\tList<Character> op = new ArrayList<Character>();\n\t\t\n\t\twhile (true) {\n\t\t\tint _a = scan.nextInt();\n\t\t\tchar _op = scan.next().charAt(0);\n\t\t\tint _b = scan.nextInt();\n\n\t\t\tif (_op == '?')\n\t\t\t\tbreak;\n\t\t\t\n\t\t\ta.add(_a);\n\t\t\tb.add(_b);\n\t\t\top.add(_op);\n\t\t}\n\n\t\tfor (int i = 0; i < a.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}\n\t\t\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "List<Integer> a = new ArrayList<Integer>();", "a", "new ArrayList<Integer>()", "List<Integer> b = new ArrayList<Integer>();", "b", "new ArrayList<Integer>()", "List<Character> op = new ArrayList<Character>();", "op", "new ArrayList<Character>()", "while (true) {\n\t\t\tint _a = scan.nextInt();\n\t\t\tchar _op = scan.next().charAt(0);\n\t\t\tint _b = scan.nextInt();\n\n\t\t\tif (_op == '?')\n\t\t\t\tbreak;\n\t\t\t\n\t\t\ta.add(_a);\n\t\t\tb.add(_b);\n\t\t\top.add(_op);\n\t\t}", "true", "{\n\t\t\tint _a = scan.nextInt();\n\t\t\tchar _op = scan.next().charAt(0);\n\t\t\tint _b = scan.nextInt();\n\n\t\t\tif (_op == '?')\n\t\t\t\tbreak;\n\t\t\t\n\t\t\ta.add(_a);\n\t\t\tb.add(_b);\n\t\t\top.add(_op);\n\t\t}", "int _a = scan.nextInt();", "_a", "scan.nextInt()", "scan.nextInt", "scan", "char _op = scan.next().charAt(0);", "_op", "scan.next().charAt(0)", "scan.next().charAt", "scan.next()", "scan.next", "scan", "0", "int _b = scan.nextInt();", "_b", "scan.nextInt()", "scan.nextInt", "scan", "if (_op == '?')\n\t\t\t\tbreak;", "_op == '?'", "_op", "'?'", "break;", "a.add(_a)", "a.add", "a", "_a", "b.add(_b)", "b.add", "b", "_b", "op.add(_op)", "op.add", "op", "_op", "for (int i = 0; i < a.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a.size()", "i", "a.size()", "a.size", "a", "i++", "i++", "i", "{\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}", "{\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}", "int _a = a.get(i);", "_a", "a.get(i)", "a.get", "a", "i", "int _b = b.get(i);", "_b", "b.get(i)", "b.get", "b", "i", "int _op = op.get(i);", "_op", "op.get(i)", "op.get", "op", "i", "switch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}", "_op", "case '+':", "'+'", "case '+':", "System.out.println(_a + _b)", "System.out.println", "System.out", "System", "System.out", "_a + _b", "_a", "_b", "break;", "case '-':", "'-'", "case '-':", "System.out.println(_a - _b)", "System.out.println", "System.out", "System", "System.out", "_a - _b", "_a", "_b", "break;", "case '*':", "'*'", "case '*':", "System.out.println(_a * _b)", "System.out.println", "System.out", "System", "System.out", "_a * _b", "_a", "_b", "break;", "case '/':", "'/'", "case '/':", "System.out.println(_a / _b)", "System.out.println", "System.out", "System", "System.out", "_a / _b", "_a", "_b", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> a = new ArrayList<Integer>(); \n\t\tList<Integer> b = new ArrayList<Integer>(); \n\t\tList<Character> op = new ArrayList<Character>();\n\t\t\n\t\twhile (true) {\n\t\t\tint _a = scan.nextInt();\n\t\t\tchar _op = scan.next().charAt(0);\n\t\t\tint _b = scan.nextInt();\n\n\t\t\tif (_op == '?')\n\t\t\t\tbreak;\n\t\t\t\n\t\t\ta.add(_a);\n\t\t\tb.add(_b);\n\t\t\top.add(_op);\n\t\t}\n\n\t\tfor (int i = 0; i < a.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> a = new ArrayList<Integer>(); \n\t\tList<Integer> b = new ArrayList<Integer>(); \n\t\tList<Character> op = new ArrayList<Character>();\n\t\t\n\t\twhile (true) {\n\t\t\tint _a = scan.nextInt();\n\t\t\tchar _op = scan.next().charAt(0);\n\t\t\tint _b = scan.nextInt();\n\n\t\t\tif (_op == '?')\n\t\t\t\tbreak;\n\t\t\t\n\t\t\ta.add(_a);\n\t\t\tb.add(_b);\n\t\t\top.add(_op);\n\t\t}\n\n\t\tfor (int i = 0; i < a.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tint _op = op.get(i);\n\t\t\t\n\t\t\tswitch(_op) {\n\t\t\t\tcase '+':\n\t\t\t\t\tSystem.out.println(_a + _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '-':\n\t\t\t\t\tSystem.out.println(_a - _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tSystem.out.println(_a * _b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tSystem.out.println(_a / _b);\n\t\t\t}\n\t\t}\n\t\t\n\t\tscan.close();\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) { Scanner scan = new Scanner(System.in); List<Integer> a = new ArrayList<Integer>(); List<Integer> b = new ArrayList<Integer>(); List<Character> op = new ArrayList<Character>(); while (true) { int _a = scan.nextInt(); char _op = scan.next().charAt(0); int _b = scan.nextInt(); if (_op == '?') break; a.add(_a); b.add(_b); op.add(_op); } for (int i = 0; i < a.size(); i++) { int _a = a.get(i); int _b = b.get(i); int _op = op.get(i); switch(_op) { case '+': System.out.println(_a + _b); break; case '-': System.out.println(_a - _b); break; case '*': System.out.println(_a * _b); break; case '/': System.out.println(_a / _b); } } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 11, 1, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 21, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 21, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 21, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 37, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 37, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 51, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 65, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 79, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 79, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 98, 99 ], [ 6, 100 ], [ 100, 101 ], [ 0, 102 ], [ 102, 103 ], [ 102, 104 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint a, b;\n\t\tString op;\n\t\t\n\t\tfor(;;){\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint a, b;\n\t\tString op;\n\t\t\n\t\tfor(;;){\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint a, b;\n\t\tString op;\n\t\t\n\t\tfor(;;){\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint a, b;\n\t\tString op;\n\t\t\n\t\tfor(;;){\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a", "a", "b;", "b", "String op;", "op", "for(;;){\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", ";", "{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "a = scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "op = scan.next()", "op", "scan.next()", "scan.next", "scan", "b = scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint a, b;\n\t\tString op;\n\t\t\n\t\tfor(;;){\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint a, b;\n\t\tString op;\n\t\t\n\t\tfor(;;){\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int a, b; String op; for(;;){ a = scan.nextInt(); op = scan.next(); b = scan.nextInt(); if(op.equals("+")){ System.out.println(a + b); }else if(op.equals("-")){ System.out.println(a - b); }else if(op.equals("/")){ System.out.println(a / b); }else if(op.equals("*")){ System.out.println(a * b); }else if(op.equals("?")){ break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 39, 17, 17, 17, 17, 41, 13, 20, 42, 17, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 3, 30, 41, 13, 20, 41, 13, 20, 35, 4, 13, 13, 18, 13, 17, 34, 17, 1, 0, 13, 4, 18, 13, 13, 3, 34, 17, 1, 0, 13, 4, 18, 13, 13, 3, 34, 17, 1, 0, 13, 4, 18, 13, 13, 3, 34, 17, 1, 0, 13, 4, 18, 13, 13, 3, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 13, 30, 29, 13, 29, 17, 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 ], [ 149, 11 ], [ 149, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 17, 20 ], [ 17, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 27, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 27, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 42, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 50, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 57, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 66, 73 ], [ 57, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 76, 83 ], [ 57, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 86, 93 ], [ 57, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 96, 103 ], [ 50, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 110, 111 ], [ 12, 112 ], [ 112, 113 ], [ 149, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 124, 126 ], [ 117, 127 ], [ 127, 128 ], [ 128, 129 ], [ 117, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 132, 139 ], [ 139, 140 ], [ 140, 141 ], [ 116, 142 ], [ 142, 143 ], [ 114, 144 ], [ 144, 145 ], [ 114, 146 ], [ 146, 147 ], [ 0, 148 ], [ 148, 149 ], [ 148, 150 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \tString[] op = {\"+\",\"-\",\"*\",\"/\"};\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n BigDecimal n = new BigDecimal(0);\n String line = br.readLine();\n String[] ary = line.split(\" \");\n if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }\n\n }\n }\n private static int Matching(String[] str,String target) {\n \tfor(int i=0;i<str.length;i++) {\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}\n\t\treturn 0;\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n public static void main(String[] args) throws Exception {\n \tString[] op = {\"+\",\"-\",\"*\",\"/\"};\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n BigDecimal n = new BigDecimal(0);\n String line = br.readLine();\n String[] ary = line.split(\" \");\n if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }\n\n }\n }\n private static int Matching(String[] str,String target) {\n \tfor(int i=0;i<str.length;i++) {\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}\n\t\treturn 0;\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n \tString[] op = {\"+\",\"-\",\"*\",\"/\"};\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n BigDecimal n = new BigDecimal(0);\n String line = br.readLine();\n String[] ary = line.split(\" \");\n if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }\n\n }\n }", "main", "{\n \tString[] op = {\"+\",\"-\",\"*\",\"/\"};\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n BigDecimal n = new BigDecimal(0);\n String line = br.readLine();\n String[] ary = line.split(\" \");\n if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }\n\n }\n }", "String[] op = {\"+\",\"-\",\"*\",\"/\"};", "op", "{\"+\",\"-\",\"*\",\"/\"}", "\"+\"", "\"-\"", "\"*\"", "\"/\"", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true) {\n BigDecimal n = new BigDecimal(0);\n String line = br.readLine();\n String[] ary = line.split(\" \");\n if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }\n\n }", "true", "{\n BigDecimal n = new BigDecimal(0);\n String line = br.readLine();\n String[] ary = line.split(\" \");\n if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }\n\n }", "BigDecimal n = new BigDecimal(0);", "n", "new BigDecimal(0)", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] ary = line.split(\" \");", "ary", "line.split(\" \")", "line.split", "line", "\" \"", "if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }", "ary[1].equals(\"?\")", "ary[1].equals", "ary[1]", "ary", "1", "\"?\"", "break;", "{\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }", "BigDecimal in1 = new BigDecimal(ary[0]);", "in1", "new BigDecimal(ary[0])", "BigDecimal in2 = new BigDecimal(ary[2]);", "in2", "new BigDecimal(ary[2])", "switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }", "Matching(op,ary[1])", "Matching", "op", "ary[1]", "ary", "1", "case 0:", "0", "case 0:", "n = in1.add(in2)", "n", "in1.add(in2)", "in1.add", "in1", "in2", "break;", "case 1:", "1", "case 1:", "n = in1.subtract(in2)", "n", "in1.subtract(in2)", "in1.subtract", "in1", "in2", "break;", "case 2:", "2", "case 2:", "n = in1.multiply(in2)", "n", "in1.multiply(in2)", "in1.multiply", "in1", "in2", "break;", "case 3:", "3", "case 3:", "n = in1.divideToIntegralValue(in2)", "n", "in1.divideToIntegralValue(in2)", "in1.divideToIntegralValue", "in1", "in2", "break;", "System.out.println(n.toPlainString())", "System.out.println", "System.out", "System", "System.out", "n.toPlainString()", "n.toPlainString", "n", "String[] args", "args", "private static int Matching(String[] str,String target) {\n \tfor(int i=0;i<str.length;i++) {\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}\n\t\treturn 0;\n }", "Matching", "{\n \tfor(int i=0;i<str.length;i++) {\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}\n\t\treturn 0;\n }", "for(int i=0;i<str.length;i++) {\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}", "int i=0;", "int i=0;", "i", "0", "i<str.length", "i", "str.length", "str", "str.length", "i++", "i++", "i", "{\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}", "{\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}", "if(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}", "str[i].equals(target)", "str[i].equals", "str[i]", "str", "i", "target", "{\n \t\t\treturn i;\n \t\t}", "return i;", "i", "return 0;", "0", "String[] str", "str", "String target", "target", "public class Main {\n public static void main(String[] args) throws Exception {\n \tString[] op = {\"+\",\"-\",\"*\",\"/\"};\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n BigDecimal n = new BigDecimal(0);\n String line = br.readLine();\n String[] ary = line.split(\" \");\n if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }\n\n }\n }\n private static int Matching(String[] str,String target) {\n \tfor(int i=0;i<str.length;i++) {\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}\n\t\treturn 0;\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n \tString[] op = {\"+\",\"-\",\"*\",\"/\"};\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n BigDecimal n = new BigDecimal(0);\n String line = br.readLine();\n String[] ary = line.split(\" \");\n if(ary[1].equals(\"?\"))\n break;\n else {\n BigDecimal in1 = new BigDecimal(ary[0]);\n BigDecimal in2 = new BigDecimal(ary[2]);\n switch(Matching(op,ary[1])) {\n case 0:\n n = in1.add(in2);\n break;\n case 1:\n n = in1.subtract(in2);\n break;\n case 2:\n n = in1.multiply(in2);\n break;\n case 3:\n n = in1.divideToIntegralValue(in2);\n break;\n }\n System.out.println(n.toPlainString());\n }\n\n }\n }\n private static int Matching(String[] str,String target) {\n \tfor(int i=0;i<str.length;i++) {\n \t\tif(str[i].equals(target)){\n \t\t\treturn i;\n \t\t}\n \t}\n\t\treturn 0;\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigDecimal; public class Main { public static void main(String[] args) throws Exception { String[] op = {"+","-","*","/"}; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true) { BigDecimal n = new BigDecimal(0); String line = br.readLine(); String[] ary = line.split(" "); if(ary[1].equals("?")) break; else { BigDecimal in1 = new BigDecimal(ary[0]); BigDecimal in2 = new BigDecimal(ary[2]); switch(Matching(op,ary[1])) { case 0: n = in1.add(in2); break; case 1: n = in1.subtract(in2); break; case 2: n = in1.multiply(in2); break; case 3: n = in1.divideToIntegralValue(in2); break; } System.out.println(n.toPlainString()); } } } private static int Matching(String[] str,String target) { for(int i=0;i<str.length;i++) { if(str[i].equals(target)){ return i; } } return 0; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 20, 17, 41, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 17, 3, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 2, 13, 13, 40, 13, 0, 13, 17, 42, 17, 30, 14, 2, 18, 13, 13, 17, 3, 4, 18, 18, 13, 13, 18, 13, 13, 40, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 143, 8 ], [ 143, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 32, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 48, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 60, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 73, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 86, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 32, 112 ], [ 112, 113 ], [ 11, 114 ], [ 114, 115 ], [ 114, 116 ], [ 11, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 119, 135 ], [ 135, 136 ], [ 11, 137 ], [ 137, 138 ], [ 138, 139 ], [ 9, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\npublic static void main(String[] args) throws IOException {\nScanner scan=new Scanner(System.in);\nString mark;\nint c=0;\nint b=0;\nint a[]=new int[100000];\nint x=0;\ndo{c=scan.nextInt();\nmark=scan.next();\nb=scan.nextInt();\t\n\tif(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}\n\tx++;\n}while(true);\nx=0;\ndo{\n\tif(a[x]==2000001)break;\n\tSystem.out.println(a[x]);\n\tx++;\n}while(true);\nscan.close();\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\npublic static void main(String[] args) throws IOException {\nScanner scan=new Scanner(System.in);\nString mark;\nint c=0;\nint b=0;\nint a[]=new int[100000];\nint x=0;\ndo{c=scan.nextInt();\nmark=scan.next();\nb=scan.nextInt();\t\n\tif(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}\n\tx++;\n}while(true);\nx=0;\ndo{\n\tif(a[x]==2000001)break;\n\tSystem.out.println(a[x]);\n\tx++;\n}while(true);\nscan.close();\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\nScanner scan=new Scanner(System.in);\nString mark;\nint c=0;\nint b=0;\nint a[]=new int[100000];\nint x=0;\ndo{c=scan.nextInt();\nmark=scan.next();\nb=scan.nextInt();\t\n\tif(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}\n\tx++;\n}while(true);\nx=0;\ndo{\n\tif(a[x]==2000001)break;\n\tSystem.out.println(a[x]);\n\tx++;\n}while(true);\nscan.close();\n\t}", "main", "{\nScanner scan=new Scanner(System.in);\nString mark;\nint c=0;\nint b=0;\nint a[]=new int[100000];\nint x=0;\ndo{c=scan.nextInt();\nmark=scan.next();\nb=scan.nextInt();\t\n\tif(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}\n\tx++;\n}while(true);\nx=0;\ndo{\n\tif(a[x]==2000001)break;\n\tSystem.out.println(a[x]);\n\tx++;\n}while(true);\nscan.close();\n\t}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "String mark;", "mark", "int c=0;", "c", "0", "int b=0;", "b", "0", "int a[]=new int[100000];", "a", "new int[100000]", "100000", "int x=0;", "x", "0", "do{c=scan.nextInt();\nmark=scan.next();\nb=scan.nextInt();\t\n\tif(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}\n\tx++;\n}while(true);", "true", "{c=scan.nextInt();\nmark=scan.next();\nb=scan.nextInt();\t\n\tif(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}\n\tx++;\n}", "c=scan.nextInt()", "c", "scan.nextInt()", "scan.nextInt", "scan", "mark=scan.next()", "mark", "scan.next()", "scan.next", "scan", "b=scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}", "mark.equals(\"?\")", "mark.equals", "mark", "\"?\"", "{\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}", "a[x]=2000001", "a[x]", "a", "x", "2000001", "break;", "if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}", "mark.equals(\"+\")", "mark.equals", "mark", "\"+\"", "{\n\t\ta[x]=c+b;\n\t}", "a[x]=c+b", "a[x]", "a", "x", "c+b", "c", "b", "if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}", "mark.equals(\"-\")", "mark.equals", "mark", "\"-\"", "{\n\t\ta[x]=c-b;\n\t}", "a[x]=c-b", "a[x]", "a", "x", "c-b", "c", "b", "if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}", "mark.equals(\"*\")", "mark.equals", "mark", "\"*\"", "{\n\t\ta[x]=c*b;\n\t}", "a[x]=c*b", "a[x]", "a", "x", "c*b", "c", "b", "if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}", "mark.equals(\"/\")", "mark.equals", "mark", "\"/\"", "{\n\t\ta[x]=c/b;\n\t}", "a[x]=c/b", "a[x]", "a", "x", "c/b", "c", "b", "x++", "x", "x=0", "x", "0", "do{\n\tif(a[x]==2000001)break;\n\tSystem.out.println(a[x]);\n\tx++;\n}while(true);", "true", "{\n\tif(a[x]==2000001)break;\n\tSystem.out.println(a[x]);\n\tx++;\n}", "if(a[x]==2000001)break;", "a[x]==2000001", "a[x]", "a", "x", "2000001", "break;", "System.out.println(a[x])", "System.out.println", "System.out", "System", "System.out", "a[x]", "a", "x", "x++", "x", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\npublic static void main(String[] args) throws IOException {\nScanner scan=new Scanner(System.in);\nString mark;\nint c=0;\nint b=0;\nint a[]=new int[100000];\nint x=0;\ndo{c=scan.nextInt();\nmark=scan.next();\nb=scan.nextInt();\t\n\tif(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}\n\tx++;\n}while(true);\nx=0;\ndo{\n\tif(a[x]==2000001)break;\n\tSystem.out.println(a[x]);\n\tx++;\n}while(true);\nscan.close();\n\t}\n}", "public class Main {\npublic static void main(String[] args) throws IOException {\nScanner scan=new Scanner(System.in);\nString mark;\nint c=0;\nint b=0;\nint a[]=new int[100000];\nint x=0;\ndo{c=scan.nextInt();\nmark=scan.next();\nb=scan.nextInt();\t\n\tif(mark.equals(\"?\")){\n\t\ta[x]=2000001;\n\t\tbreak;\n\t}\n\telse if(mark.equals(\"+\")){\n\t\ta[x]=c+b;\n\t}\n\telse if(mark.equals(\"-\")){\n\t\ta[x]=c-b;\n\t}\n\telse if(mark.equals(\"*\")){\n\t\ta[x]=c*b;\n\t}\n\telse if(mark.equals(\"/\")){\n\t\ta[x]=c/b;\n\t}\n\tx++;\n}while(true);\nx=0;\ndo{\n\tif(a[x]==2000001)break;\n\tSystem.out.println(a[x]);\n\tx++;\n}while(true);\nscan.close();\n\t}\n}", "Main" ]
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { Scanner scan=new Scanner(System.in); String mark; int c=0; int b=0; int a[]=new int[100000]; int x=0; do{c=scan.nextInt(); mark=scan.next(); b=scan.nextInt(); if(mark.equals("?")){ a[x]=2000001; break; } else if(mark.equals("+")){ a[x]=c+b; } else if(mark.equals("-")){ a[x]=c-b; } else if(mark.equals("*")){ a[x]=c*b; } else if(mark.equals("/")){ a[x]=c/b; } x++; }while(true); x=0; do{ if(a[x]==2000001)break; System.out.println(a[x]); x++; }while(true); scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 14, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 14, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 14, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 14, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 6, 88 ], [ 88, 89 ] ]
[ "import java.util.*;\nclass Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString d = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\tif(d.equals(\"?\")) break;\n\t\t\tif(d.equals(\"+\")) System.out.println(a + b);\n\t\t\tif(d.equals(\"-\")) System.out.println(a - b);\n\t\t\tif(d.equals(\"*\")) System.out.println(a * b);\n\t\t\tif(d.equals(\"/\")) System.out.println(a / b);\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString d = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\tif(d.equals(\"?\")) break;\n\t\t\tif(d.equals(\"+\")) System.out.println(a + b);\n\t\t\tif(d.equals(\"-\")) System.out.println(a - b);\n\t\t\tif(d.equals(\"*\")) System.out.println(a * b);\n\t\t\tif(d.equals(\"/\")) System.out.println(a / b);\n\t\t}\n\t}\n}", "Main", "public static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString d = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\tif(d.equals(\"?\")) break;\n\t\t\tif(d.equals(\"+\")) System.out.println(a + b);\n\t\t\tif(d.equals(\"-\")) System.out.println(a - b);\n\t\t\tif(d.equals(\"*\")) System.out.println(a * b);\n\t\t\tif(d.equals(\"/\")) System.out.println(a / b);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString d = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\tif(d.equals(\"?\")) break;\n\t\t\tif(d.equals(\"+\")) System.out.println(a + b);\n\t\t\tif(d.equals(\"-\")) System.out.println(a - b);\n\t\t\tif(d.equals(\"*\")) System.out.println(a * b);\n\t\t\tif(d.equals(\"/\")) System.out.println(a / b);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tString d = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\tif(d.equals(\"?\")) break;\n\t\t\tif(d.equals(\"+\")) System.out.println(a + b);\n\t\t\tif(d.equals(\"-\")) System.out.println(a - b);\n\t\t\tif(d.equals(\"*\")) System.out.println(a * b);\n\t\t\tif(d.equals(\"/\")) System.out.println(a / b);\n\t\t}", "true", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tString d = sc.next();\n\t\t\tint b = sc.nextInt();\n\t\t\tif(d.equals(\"?\")) break;\n\t\t\tif(d.equals(\"+\")) System.out.println(a + b);\n\t\t\tif(d.equals(\"-\")) System.out.println(a - b);\n\t\t\tif(d.equals(\"*\")) System.out.println(a * b);\n\t\t\tif(d.equals(\"/\")) System.out.println(a / b);\n\t\t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String d = sc.next();", "d", "sc.next()", "sc.next", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(d.equals(\"?\")) break;", "d.equals(\"?\")", "d.equals", "d", "\"?\"", "break;", "if(d.equals(\"+\")) System.out.println(a + b);", "d.equals(\"+\")", "d.equals", "d", "\"+\"", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if(d.equals(\"-\")) System.out.println(a - b);", "d.equals(\"-\")", "d.equals", "d", "\"-\"", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if(d.equals(\"*\")) System.out.println(a * b);", "d.equals(\"*\")", "d.equals", "d", "\"*\"", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if(d.equals(\"/\")) System.out.println(a / b);", "d.equals(\"/\")", "d.equals", "d", "\"/\"", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "String[] args", "args" ]
import java.util.*; class Main { public static void main (String[] args) throws java.lang.Exception { Scanner sc = new Scanner(System.in); while(true) { int a = sc.nextInt(); String d = sc.next(); int b = sc.nextInt(); if(d.equals("?")) break; if(d.equals("+")) System.out.println(a + b); if(d.equals("-")) System.out.println(a - b); if(d.equals("*")) System.out.println(a * b); if(d.equals("/")) System.out.println(a / b); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 5, 13, 30, 4, 18, 13, 30, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 3, 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 ], [ 137, 11 ], [ 137, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 21, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 21, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 36, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 43, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 43, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 43, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 43, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 81, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 43, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 43, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 111, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 43, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 126, 133 ], [ 12, 134 ], [ 134, 135 ], [ 0, 136 ], [ 136, 137 ], [ 136, 138 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "String str = \"\";", "str", "\"\"", "try {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "NumberFormatException e", "{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}\n\t\t}", "while ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}", "(str = in.readLine()) != null", "(str = in.readLine())", "str", "in.readLine()", "in.readLine", "in", "null", "{\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}", "String[] p = str.split(\" \");", "p", "str.split(\" \")", "str.split", "str", "\" \"", "int a = Integer.parseInt(p[0]);", "a", "Integer.parseInt(p[0])", "Integer.parseInt", "Integer", "p[0]", "p", "0", "int b = Integer.parseInt(p[2]);", "b", "Integer.parseInt(p[2])", "Integer.parseInt", "Integer", "p[2]", "p", "2", "if (p[1].equals(\"+\")) System.out.println(a + b);", "p[1].equals(\"+\")", "p[1].equals", "p[1]", "p", "1", "\"+\"", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if (p[1].equals(\"-\")) System.out.println(a - b);", "p[1].equals(\"-\")", "p[1].equals", "p[1]", "p", "1", "\"-\"", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if (p[1].equals(\"*\")) System.out.println(a * b);", "p[1].equals(\"*\")", "p[1].equals", "p[1]", "p", "1", "\"*\"", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if (p[1].equals(\"/\")) System.out.println(a / b);", "p[1].equals(\"/\")", "p[1].equals", "p[1]", "p", "1", "\"/\"", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "if (p[1].equals(\"?\")) break;", "p[1].equals(\"?\")", "p[1].equals", "p[1]", "p", "1", "\"?\"", "break;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tString[] p = str.split(\" \");\n\t\t\t\tint a = Integer.parseInt(p[0]);\n\t\t\t\tint b = Integer.parseInt(p[2]);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"+\")) System.out.println(a + b);\n\t\t\t\tif (p[1].equals(\"-\")) System.out.println(a - b);\n\t\t\t\tif (p[1].equals(\"*\")) System.out.println(a * b);\n\t\t\t\tif (p[1].equals(\"/\")) System.out.println(a / b);\n\t\t\t\t\n\t\t\t\tif (p[1].equals(\"?\")) break;\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String str = ""; try { while ((str = in.readLine()) != null) { String[] p = str.split(" "); int a = Integer.parseInt(p[0]); int b = Integer.parseInt(p[2]); if (p[1].equals("+")) System.out.println(a + b); if (p[1].equals("-")) System.out.println(a - b); if (p[1].equals("*")) System.out.println(a * b); if (p[1].equals("/")) System.out.println(a / b); if (p[1].equals("?")) break; } } catch (NumberFormatException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 4, 18, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 35, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 41, 50 ], [ 37, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 53, 62 ], [ 37, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 65, 74 ], [ 37, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 77, 86 ], [ 8, 87 ], [ 87, 88 ], [ 88, 89 ], [ 6, 90 ], [ 90, 91 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "switch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}", "op", "case \"+\" :", "\"+\"", "case \"+\" :", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "break;", "case \"-\" :", "\"-\"", "case \"-\" :", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "break;", "case \"*\" :", "\"*\"", "case \"*\" :", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "break;", "case \"/\" :", "\"/\"", "case \"/\" :", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "break;", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tswitch(op) {\n\t\t\tcase \"+\" :\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\tcase \"-\" :\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\tcase \"*\" :\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\tcase \"/\" :\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); while(true) { int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); if(op.equals("?")) { break; } switch(op) { case "+" : System.out.println(a + b); break; case "-" : System.out.println(a - b); break; case "*" : System.out.println(a * b); break; case "/" : System.out.println(a / b); break; } } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 2, 13, 17, 30, 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, 18, 13, 17, 41, 13, 17, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 40, 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 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 15, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 19, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 19, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 19, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 19, 52 ], [ 52, 53 ], [ 52, 54 ], [ 19, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 62, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 73, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 84, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 19, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 19, 112 ], [ 112, 113 ], [ 6, 114 ], [ 114, 115 ], [ 0, 116 ], [ 116, 117 ], [ 116, 118 ] ]
[ "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\n\t\tint i=0;\n\t\twhile(i<1000){\n\t\tString line = sc.nextLine();\n\t\tString[] array = line.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[2]);\n\t\tString c = array[1];\n\n\t\tint result = 0;\n\n\t\tif (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\t\tSystem.out.println(result);\n\t\ti++;\n\t\t}\n\t}\n\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\n\t\tint i=0;\n\t\twhile(i<1000){\n\t\tString line = sc.nextLine();\n\t\tString[] array = line.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[2]);\n\t\tString c = array[1];\n\n\t\tint result = 0;\n\n\t\tif (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\t\tSystem.out.println(result);\n\t\ti++;\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i=0;\n\t\twhile(i<1000){\n\t\tString line = sc.nextLine();\n\t\tString[] array = line.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[2]);\n\t\tString c = array[1];\n\n\t\tint result = 0;\n\n\t\tif (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\t\tSystem.out.println(result);\n\t\ti++;\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i=0;\n\t\twhile(i<1000){\n\t\tString line = sc.nextLine();\n\t\tString[] array = line.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[2]);\n\t\tString c = array[1];\n\n\t\tint result = 0;\n\n\t\tif (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\t\tSystem.out.println(result);\n\t\ti++;\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int i=0;", "i", "0", "while(i<1000){\n\t\tString line = sc.nextLine();\n\t\tString[] array = line.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[2]);\n\t\tString c = array[1];\n\n\t\tint result = 0;\n\n\t\tif (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\t\tSystem.out.println(result);\n\t\ti++;\n\t\t}", "i<1000", "i", "1000", "{\n\t\tString line = sc.nextLine();\n\t\tString[] array = line.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[2]);\n\t\tString c = array[1];\n\n\t\tint result = 0;\n\n\t\tif (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\t\tSystem.out.println(result);\n\t\ti++;\n\t\t}", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] array = line.split(\" \");", "array", "line.split(\" \")", "line.split", "line", "\" \"", "int a = Integer.parseInt(array[0]);", "a", "Integer.parseInt(array[0])", "Integer.parseInt", "Integer", "array[0]", "array", "0", "int b = Integer.parseInt(array[2]);", "b", "Integer.parseInt(array[2])", "Integer.parseInt", "Integer", "array[2]", "array", "2", "String c = array[1];", "c", "array[1]", "array", "1", "int result = 0;", "result", "0", "if (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "c.equals(\"?\")", "c.equals", "c", "\"?\"", "{\n\t\t\tbreak;\n\t\t}", "break;", "if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "c.equals(\"+\")", "c.equals", "c", "\"+\"", "{\n\t\t\tresult = a + b;\n\t\t}", "result = a + b", "result", "a + b", "a", "b", "if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "c.equals(\"-\")", "c.equals", "c", "\"-\"", "{\n\t\t\tresult = a - b;\n\t\t}", "result = a - b", "result", "a - b", "a", "b", "if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "c.equals(\"*\")", "c.equals", "c", "\"*\"", "{\n\t\t\tresult = a * b;\n\t\t}", "result = a * b", "result", "a * b", "a", "b", "if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "c.equals(\"/\")", "c.equals", "c", "\"/\"", "{\n\t\t\tresult = a / b;\n\t\t}", "result = a / b", "result", "a / b", "a", "b", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "i++", "i", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i=0;\n\t\twhile(i<1000){\n\t\tString line = sc.nextLine();\n\t\tString[] array = line.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[2]);\n\t\tString c = array[1];\n\n\t\tint result = 0;\n\n\t\tif (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\t\tSystem.out.println(result);\n\t\ti++;\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i=0;\n\t\twhile(i<1000){\n\t\tString line = sc.nextLine();\n\t\tString[] array = line.split(\" \");\n\t\tint a = Integer.parseInt(array[0]);\n\t\tint b = Integer.parseInt(array[2]);\n\t\tString c = array[1];\n\n\t\tint result = 0;\n\n\t\tif (c.equals(\"?\")) {\n\t\t\tbreak;\n\t\t} else if (c.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (c.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (c.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (c.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\t\tSystem.out.println(result);\n\t\ti++;\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int i=0; while(i<1000){ String line = sc.nextLine(); String[] array = line.split(" "); int a = Integer.parseInt(array[0]); int b = Integer.parseInt(array[2]); String c = array[1]; int result = 0; if (c.equals("?")) { break; } else if (c.equals("+")) { result = a + b; } else if (c.equals("-")) { result = a - b; } else if (c.equals("*")) { result = a * b; } else if (c.equals("/")) { result = a / b; } System.out.println(result); i++; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 41, 13, 4, 18, 13, 41, 13, 17, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 4, 18, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 178, 17 ], [ 178, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 37, 42 ], [ 26, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 26, 48 ], [ 48, 49 ], [ 48, 50 ], [ 26, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 51, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 51, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 73, 79 ], [ 51, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 82, 88 ], [ 26, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 18, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 97, 101 ], [ 101, 102 ], [ 97, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 103, 109 ], [ 109, 110 ], [ 97, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 114, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 113, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 97, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 134, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 133, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 151, 152 ], [ 152, 153 ], [ 97, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 157, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 156, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 175, 176 ], [ 0, 177 ], [ 177, 178 ], [ 177, 179 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputReader in = new InputReader(System.in);\n\n\t\twhile (true) {\n\t\t\tint a =in.readInt();\n\t\t\tString op =in.read();\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\tint b =in.readInt();\n\t\t\t\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\t\n}\n\nclass InputReader{\n\tprivate BufferedReader br;\n\tprivate StringTokenizer buffer;\n\t\n\tpublic InputReader(InputStream in) {\n\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t}\n\t\n\tpublic String read() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn buffer.nextToken();\n\t}\n\t\n\tpublic int readInt() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Integer.parseInt(buffer.nextToken());\n\t}\n\t\n\tpublic double readDouble() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Double.parseDouble(buffer.nextToken());\n\t}\t\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputReader in = new InputReader(System.in);\n\n\t\twhile (true) {\n\t\t\tint a =in.readInt();\n\t\t\tString op =in.read();\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\tint b =in.readInt();\n\t\t\t\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\t\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tInputReader in = new InputReader(System.in);\n\n\t\twhile (true) {\n\t\t\tint a =in.readInt();\n\t\t\tString op =in.read();\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\tint b =in.readInt();\n\t\t\t\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\t\tInputReader in = new InputReader(System.in);\n\n\t\twhile (true) {\n\t\t\tint a =in.readInt();\n\t\t\tString op =in.read();\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\tint b =in.readInt();\n\t\t\t\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "InputReader in = new InputReader(System.in);", "in", "new InputReader(System.in)", "while (true) {\n\t\t\tint a =in.readInt();\n\t\t\tString op =in.read();\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\tint b =in.readInt();\n\t\t\t\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "true", "{\n\t\t\tint a =in.readInt();\n\t\t\tString op =in.read();\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\tint b =in.readInt();\n\t\t\t\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "int a =in.readInt();", "a", "in.readInt()", "in.readInt", "in", "String op =in.read();", "op", "in.read()", "in.read", "in", "if (op.equals(\"?\")) break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "int b =in.readInt();", "b", "in.readInt()", "in.readInt", "in", "int ans = 0;", "ans", "0", "switch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "ans = a + b", "ans", "a + b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "ans = a - b", "ans", "a - b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "ans = a * b", "ans", "a * b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "ans = a / b", "ans", "a / b", "a", "b", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "class InputReader{\n\tprivate BufferedReader br;\n\tprivate StringTokenizer buffer;\n\t\n\tpublic InputReader(InputStream in) {\n\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t}\n\t\n\tpublic String read() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn buffer.nextToken();\n\t}\n\t\n\tpublic int readInt() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Integer.parseInt(buffer.nextToken());\n\t}\n\t\n\tpublic double readDouble() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Double.parseDouble(buffer.nextToken());\n\t}\t\n}", "InputReader", "private BufferedReader br;", "br", "private StringTokenizer buffer;", "buffer", "public InputReader(InputStream in) {\n\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t}", "InputReader", "{\n\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t}", "br = new BufferedReader(new InputStreamReader(in))", "br", "new BufferedReader(new InputStreamReader(in))", "InputStream in", "in", "public String read() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn buffer.nextToken();\n\t}", "read", "{\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn buffer.nextToken();\n\t}", "while (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}", "buffer == null || !buffer.hasMoreTokens()", "buffer == null", "buffer", "null", "!buffer.hasMoreTokens()", "buffer.hasMoreTokens()", "buffer.hasMoreTokens", "buffer", "{\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}", "buffer = new StringTokenizer(br.readLine())", "buffer", "new StringTokenizer(br.readLine())", "return buffer.nextToken();", "buffer.nextToken()", "buffer.nextToken", "buffer", "public int readInt() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Integer.parseInt(buffer.nextToken());\n\t}", "readInt", "{\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Integer.parseInt(buffer.nextToken());\n\t}", "while (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}", "buffer == null || !buffer.hasMoreTokens()", "buffer == null", "buffer", "null", "!buffer.hasMoreTokens()", "buffer.hasMoreTokens()", "buffer.hasMoreTokens", "buffer", "{\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}", "buffer = new StringTokenizer(br.readLine())", "buffer", "new StringTokenizer(br.readLine())", "return Integer.parseInt(buffer.nextToken());", "Integer.parseInt(buffer.nextToken())", "Integer.parseInt", "Integer", "buffer.nextToken()", "buffer.nextToken", "buffer", "public double readDouble() throws IOException {\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Double.parseDouble(buffer.nextToken());\n\t}", "readDouble", "{\n\t\twhile (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}\n\t\treturn Double.parseDouble(buffer.nextToken());\n\t}", "while (buffer == null || !buffer.hasMoreTokens()) {\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}", "buffer == null || !buffer.hasMoreTokens()", "buffer == null", "buffer", "null", "!buffer.hasMoreTokens()", "buffer.hasMoreTokens()", "buffer.hasMoreTokens", "buffer", "{\n\t\t\tbuffer = new StringTokenizer(br.readLine());\n\t\t}", "buffer = new StringTokenizer(br.readLine())", "buffer", "new StringTokenizer(br.readLine())", "return Double.parseDouble(buffer.nextToken());", "Double.parseDouble(buffer.nextToken())", "Double.parseDouble", "Double", "buffer.nextToken()", "buffer.nextToken", "buffer", "public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputReader in = new InputReader(System.in);\n\n\t\twhile (true) {\n\t\t\tint a =in.readInt();\n\t\t\tString op =in.read();\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\tint b =in.readInt();\n\t\t\t\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\t\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputReader in = new InputReader(System.in);\n\n\t\twhile (true) {\n\t\t\tint a =in.readInt();\n\t\t\tString op =in.read();\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\tint b =in.readInt();\n\t\t\t\n\t\t\tint ans = 0;\n\t\t\tswitch (op) {\n\t\t\tcase \"+\":\n\t\t\t\tans = a + b ;\n\t\t\t\tbreak;\n\t\t\tcase \"-\":\n\t\t\t\tans = a - b ;\n\t\t\t\tbreak;\t\t\n\t\t\tcase \"*\":\n\t\t\t\tans = a * b ;\n\t\t\t\tbreak;\t\n\t\t\tcase \"/\":\n\t\t\t\tans = a / b ;\n\t\t\t\tbreak;\t\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\t\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { InputReader in = new InputReader(System.in); while (true) { int a =in.readInt(); String op =in.read(); if (op.equals("?")) break; int b =in.readInt(); int ans = 0; switch (op) { case "+": ans = a + b ; break; case "-": ans = a - b ; break; case "*": ans = a * b ; break; case "/": ans = a / b ; break; } System.out.println(ans); } } } class InputReader{ private BufferedReader br; private StringTokenizer buffer; public InputReader(InputStream in) { br = new BufferedReader(new InputStreamReader(in)); } public String read() throws IOException { while (buffer == null || !buffer.hasMoreTokens()) { buffer = new StringTokenizer(br.readLine()); } return buffer.nextToken(); } public int readInt() throws IOException { while (buffer == null || !buffer.hasMoreTokens()) { buffer = new StringTokenizer(br.readLine()); } return Integer.parseInt(buffer.nextToken()); } public double readDouble() throws IOException { while (buffer == null || !buffer.hasMoreTokens()) { buffer = new StringTokenizer(br.readLine()); } return Double.parseDouble(buffer.nextToken()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 41, 13, 17, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 83, 5 ], [ 83, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 14, 36 ], [ 36, 37 ], [ 36, 38 ], [ 14, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 14, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 6, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tString b = scanner.next();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (b.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tint e = 0;\n\t\t\tif (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;\n\t\t\tSystem.out.println(e);\n\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tString b = scanner.next();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (b.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tint e = 0;\n\t\t\tif (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;\n\t\t\tSystem.out.println(e);\n\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tString b = scanner.next();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (b.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tint e = 0;\n\t\t\tif (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;\n\t\t\tSystem.out.println(e);\n\n\t\t}\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tString b = scanner.next();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (b.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tint e = 0;\n\t\t\tif (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;\n\t\t\tSystem.out.println(e);\n\n\t\t}\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "while (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tString b = scanner.next();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (b.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tint e = 0;\n\t\t\tif (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;\n\t\t\tSystem.out.println(e);\n\n\t\t}", "true", "{\n\t\t\tint a = scanner.nextInt();\n\t\t\tString b = scanner.next();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (b.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tint e = 0;\n\t\t\tif (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;\n\t\t\tSystem.out.println(e);\n\n\t\t}", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "String b = scanner.next();", "b", "scanner.next()", "scanner.next", "scanner", "int c = scanner.nextInt();", "c", "scanner.nextInt()", "scanner.nextInt", "scanner", "if (b.equals(\"?\"))\n\t\t\t\tbreak;", "b.equals(\"?\")", "b.equals", "b", "\"?\"", "break;", "int e = 0;", "e", "0", "if (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;", "b.equals(\"+\")", "b.equals", "b", "\"+\"", "e = a + c", "e", "a + c", "a", "c", "if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;", "b.equals(\"-\")", "b.equals", "b", "\"-\"", "e = a - c", "e", "a - c", "a", "c", "if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;", "b.equals(\"*\")", "b.equals", "b", "\"*\"", "e = a * c", "e", "a * c", "a", "c", "e = a / c", "e", "a / c", "a", "c", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tString b = scanner.next();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (b.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tint e = 0;\n\t\t\tif (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;\n\t\t\tSystem.out.println(e);\n\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tString b = scanner.next();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (b.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\tint e = 0;\n\t\t\tif (b.equals(\"+\"))\n\t\t\t\te = a + c;\n\t\t\telse if (b.equals(\"-\"))\n\t\t\t\te = a - c;\n\t\t\telse if (b.equals(\"*\"))\n\t\t\t\te = a * c;\n\t\t\telse\n\t\t\t\te = a / c;\n\t\t\tSystem.out.println(e);\n\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (true) { int a = scanner.nextInt(); String b = scanner.next(); int c = scanner.nextInt(); if (b.equals("?")) break; int e = 0; if (b.equals("+")) e = a + c; else if (b.equals("-")) e = a - c; else if (b.equals("*")) e = a * c; else e = a / c; System.out.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 104, 5 ], [ 104, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 22, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 38, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 52, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 66, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 80, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 94, 99 ], [ 99, 100 ], [ 6, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble a;\n\t\tString op;\n\t\tdouble b;\n\n\t\twhile (sc.hasNext()) {\n\t\t\ta = sc.nextDouble();\n\t\t\top =sc.next();\n\t\t\tb = sc.nextDouble();\n\t\t\t\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\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\tdouble a;\n\t\tString op;\n\t\tdouble b;\n\n\t\twhile (sc.hasNext()) {\n\t\t\ta = sc.nextDouble();\n\t\t\top =sc.next();\n\t\t\tb = sc.nextDouble();\n\t\t\t\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\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\tdouble a;\n\t\tString op;\n\t\tdouble b;\n\n\t\twhile (sc.hasNext()) {\n\t\t\ta = sc.nextDouble();\n\t\t\top =sc.next();\n\t\t\tb = sc.nextDouble();\n\t\t\t\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble a;\n\t\tString op;\n\t\tdouble b;\n\n\t\twhile (sc.hasNext()) {\n\t\t\ta = sc.nextDouble();\n\t\t\top =sc.next();\n\t\t\tb = sc.nextDouble();\n\t\t\t\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double a;", "a", "String op;", "op", "double b;", "b", "while (sc.hasNext()) {\n\t\t\ta = sc.nextDouble();\n\t\t\top =sc.next();\n\t\t\tb = sc.nextDouble();\n\t\t\t\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\ta = sc.nextDouble();\n\t\t\top =sc.next();\n\t\t\tb = sc.nextDouble();\n\t\t\t\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "a = sc.nextDouble()", "a", "sc.nextDouble()", "sc.nextDouble", "sc", "op =sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextDouble()", "b", "sc.nextDouble()", "sc.nextDouble", "sc", "if (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}", "System.out.println((int)(a+b))", "System.out.println", "System.out", "System", "System.out", "(int)(a+b)", "a", "b", "if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}", "System.out.println((int)(a-b))", "System.out.println", "System.out", "System", "System.out", "(int)(a-b)", "a", "b", "if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}", "System.out.println((int)(a*b))", "System.out.println", "System.out", "System", "System.out", "(int)(a*b)", "a", "b", "if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}", "System.out.println((int)(a/b))", "System.out.println", "System.out", "System", "System.out", "(int)(a/b)", "a", "b", "if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble a;\n\t\tString op;\n\t\tdouble b;\n\n\t\twhile (sc.hasNext()) {\n\t\t\ta = sc.nextDouble();\n\t\t\top =sc.next();\n\t\t\tb = sc.nextDouble();\n\t\t\t\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\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\tdouble a;\n\t\tString op;\n\t\tdouble b;\n\n\t\twhile (sc.hasNext()) {\n\t\t\ta = sc.nextDouble();\n\t\t\top =sc.next();\n\t\t\tb = sc.nextDouble();\n\t\t\t\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tSystem.out.println((int)(a+b));\n\t\t\t}\n\t\t\telse if (op.equals(\"-\")) {\n\t\t\t\tSystem.out.println((int)(a-b));\n\t\t\t}\n\t\t\telse if (op.equals(\"*\")) {\n\t\t\t\tSystem.out.println((int)(a*b));\n\t\t\t}\n\t\t\telse if (op.equals(\"/\")) {\n\t\t\t\tSystem.out.println((int)(a/b));\n\t\t\t}\n\t\t\telse if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a; String op; double b; while (sc.hasNext()) { a = sc.nextDouble(); op =sc.next(); b = sc.nextDouble(); if (op.equals("+")) { System.out.println((int)(a+b)); } else if (op.equals("-")) { System.out.println((int)(a-b)); } else if (op.equals("*")) { System.out.println((int)(a*b)); } else if (op.equals("/")) { System.out.println((int)(a/b)); } else if (op.equals("?")) { break; } } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 2, 17, 13, 2, 13, 17, 2, 17, 13, 2, 13, 17, 30, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 4, 18, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 120, 2 ], [ 120, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 5, 13 ], [ 13, 14 ], [ 5, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 17, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 17, 33 ], [ 33, 34 ], [ 36, 35 ], [ 43, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 43, 43 ], [ 43, 44 ], [ 43, 45 ], [ 36, 46 ], [ 46, 47 ], [ 46, 48 ], [ 33, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 50, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 64, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 78, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 92, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 92, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 110, 115 ], [ 115, 116 ], [ 3, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\t\n\t\t\n\t\tdo{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\tif(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t}while(true);\n\t\t\n\t\t}\n\t\t\n\n\n\n\t\t}", "public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\t\n\t\t\n\t\tdo{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\tif(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t}while(true);\n\t\t\n\t\t}\n\t\t\n\n\n\n\t\t}", "Main", "public static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\t\n\t\t\n\t\tdo{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\tif(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t}while(true);\n\t\t\n\t\t}", "main", "{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\t\n\t\t\n\t\tdo{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\tif(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t}while(true);\n\t\t\n\t\t}", "java.util.Scanner scan = new java.util.Scanner(System.in);", "scan", "new java.util.Scanner(System.in)", "int a", "a", "b;", "b", "String op;", "op", "do{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\tif(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t}while(true);", "true", "{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\tif(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t}", "a = scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "op = scan.next()", "op", "scan.next()", "scan.next", "scan", "b = scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "0<=a && a <= 20000 && 0<=b && b <= 20000", "0<=b", "0<=a && a <= 20000 && 0<=b && b <= 20000", "0<=a", "0", "a", "a <= 20000", "a", "20000", "0<=b", "0", "b", "b <= 20000", "b", "20000", "{\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "if( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"/\") && b != 0", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "b != 0", "b", "0", "{\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "String[] args", "args", "public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\t\n\t\t\n\t\tdo{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\tif(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t}while(true);\n\t\t\n\t\t}\n\t\t\n\n\n\n\t\t}", "public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\t\n\t\t\n\t\tdo{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\tif(0<=a && a <= 20000 && 0<=b && b <= 20000){\n\t\t\tif( op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if( op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}else if(op.equals(\"/\") && b != 0){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t}while(true);\n\t\t\n\t\t}\n\t\t\n\n\n\n\t\t}", "Main" ]
public class Main { public static void main(String[] args) { java.util.Scanner scan = new java.util.Scanner(System.in); int a, b; String op; do{ a = scan.nextInt(); op = scan.next(); b = scan.nextInt(); if(0<=a && a <= 20000 && 0<=b && b <= 20000){ if( op.equals("+")){ System.out.println(a+b); }else if( op.equals("-")){ System.out.println(a-b); }else if(op.equals("*")){ System.out.println(a*b); }else if(op.equals("/") && b != 0){ System.out.println(a/b); }else if(op.equals("?")){ break; } } }while(true); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 42, 17, 30, 14, 4, 18, 13, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 13, 30, 0, 13, 2, 13, 13, 30, 3, 4, 18, 18, 13, 13, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 115, 5 ], [ 115, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 45, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 56, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 67, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 78, 89 ], [ 89, 90 ], [ 44, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 44, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 44, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 44, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 6, 112 ], [ 112, 113 ], [ 0, 114 ], [ 114, 115 ], [ 114, 116 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\npublic static void main(String[] args) {\n\tString add = \"+\";\n\tString subtract = \"-\";\n\tString multiply = \"*\";\n\tString division = \"/\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tint q = scan.nextInt();\n\t\tString value = scan.next();\n\t\tint w = scan.nextInt();\n\tint answer = 20;\n\twhile (true) {\n\tif (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}\n\n\tSystem.out.println(answer);\n\t\tq = scan.nextInt();\n\t\tvalue = scan.next();\n\t\tw = scan.nextInt();\n}\n} \n}\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\npublic static void main(String[] args) {\n\tString add = \"+\";\n\tString subtract = \"-\";\n\tString multiply = \"*\";\n\tString division = \"/\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tint q = scan.nextInt();\n\t\tString value = scan.next();\n\t\tint w = scan.nextInt();\n\tint answer = 20;\n\twhile (true) {\n\tif (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}\n\n\tSystem.out.println(answer);\n\t\tq = scan.nextInt();\n\t\tvalue = scan.next();\n\t\tw = scan.nextInt();\n}\n} \n}", "Main", "public static void main(String[] args) {\n\tString add = \"+\";\n\tString subtract = \"-\";\n\tString multiply = \"*\";\n\tString division = \"/\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tint q = scan.nextInt();\n\t\tString value = scan.next();\n\t\tint w = scan.nextInt();\n\tint answer = 20;\n\twhile (true) {\n\tif (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}\n\n\tSystem.out.println(answer);\n\t\tq = scan.nextInt();\n\t\tvalue = scan.next();\n\t\tw = scan.nextInt();\n}\n}", "main", "{\n\tString add = \"+\";\n\tString subtract = \"-\";\n\tString multiply = \"*\";\n\tString division = \"/\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tint q = scan.nextInt();\n\t\tString value = scan.next();\n\t\tint w = scan.nextInt();\n\tint answer = 20;\n\twhile (true) {\n\tif (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}\n\n\tSystem.out.println(answer);\n\t\tq = scan.nextInt();\n\t\tvalue = scan.next();\n\t\tw = scan.nextInt();\n}\n}", "String add = \"+\";", "add", "\"+\"", "String subtract = \"-\";", "subtract", "\"-\"", "String multiply = \"*\";", "multiply", "\"*\"", "String division = \"/\";", "division", "\"/\"", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int q = scan.nextInt();", "q", "scan.nextInt()", "scan.nextInt", "scan", "String value = scan.next();", "value", "scan.next()", "scan.next", "scan", "int w = scan.nextInt();", "w", "scan.nextInt()", "scan.nextInt", "scan", "int answer = 20;", "answer", "20", "while (true) {\n\tif (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}\n\n\tSystem.out.println(answer);\n\t\tq = scan.nextInt();\n\t\tvalue = scan.next();\n\t\tw = scan.nextInt();\n}", "true", "{\n\tif (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}\n\n\tSystem.out.println(answer);\n\t\tq = scan.nextInt();\n\t\tvalue = scan.next();\n\t\tw = scan.nextInt();\n}", "if (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}", "value.equals(add)", "value.equals", "value", "add", "{\n\t\tanswer = q + w;\n\t}", "answer = q + w", "answer", "q + w", "q", "w", "if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}", "value.equals(subtract)", "value.equals", "value", "subtract", "{\n\t\tanswer = q - w;\n\t}", "answer = q - w", "answer", "q - w", "q", "w", "if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}", "value.equals(multiply)", "value.equals", "value", "multiply", "{\n\t\tanswer = q * w;\n\t}", "answer = q * w", "answer", "q * w", "q", "w", "if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}", "value.equals(division)", "value.equals", "value", "division", "{\n\t\tanswer = q / w;\n\t}", "answer = q / w", "answer", "q / w", "q", "w", "{\n\t\tbreak;\n\t}", "break;", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "q = scan.nextInt()", "q", "scan.nextInt()", "scan.nextInt", "scan", "value = scan.next()", "value", "scan.next()", "scan.next", "scan", "w = scan.nextInt()", "w", "scan.nextInt()", "scan.nextInt", "scan", "String[] args", "args", "public class Main {\npublic static void main(String[] args) {\n\tString add = \"+\";\n\tString subtract = \"-\";\n\tString multiply = \"*\";\n\tString division = \"/\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tint q = scan.nextInt();\n\t\tString value = scan.next();\n\t\tint w = scan.nextInt();\n\tint answer = 20;\n\twhile (true) {\n\tif (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}\n\n\tSystem.out.println(answer);\n\t\tq = scan.nextInt();\n\t\tvalue = scan.next();\n\t\tw = scan.nextInt();\n}\n} \n}", "public class Main {\npublic static void main(String[] args) {\n\tString add = \"+\";\n\tString subtract = \"-\";\n\tString multiply = \"*\";\n\tString division = \"/\";\n\t\tScanner scan = new Scanner(System.in);\n\t\tint q = scan.nextInt();\n\t\tString value = scan.next();\n\t\tint w = scan.nextInt();\n\tint answer = 20;\n\twhile (true) {\n\tif (value.equals(add)) {\n\t\tanswer = q + w;\n\t} else if (value.equals(subtract)) {\n\t\tanswer = q - w;\n\t}else if (value.equals(multiply)) {\n\t\tanswer = q * w;\n\t} else if (value.equals(division)){\n\t\tanswer = q / w;\n\t} else {\n\t\tbreak;\n\t}\n\n\tSystem.out.println(answer);\n\t\tq = scan.nextInt();\n\t\tvalue = scan.next();\n\t\tw = scan.nextInt();\n}\n} \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { String add = "+"; String subtract = "-"; String multiply = "*"; String division = "/"; Scanner scan = new Scanner(System.in); int q = scan.nextInt(); String value = scan.next(); int w = scan.nextInt(); int answer = 20; while (true) { if (value.equals(add)) { answer = q + w; } else if (value.equals(subtract)) { answer = q - w; }else if (value.equals(multiply)) { answer = q * w; } else if (value.equals(division)){ answer = q / w; } else { break; } System.out.println(answer); q = scan.nextInt(); value = scan.next(); w = scan.nextInt(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 5, 13, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 3, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 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 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 17, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 27, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 27, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 46, 53 ], [ 53, 54 ], [ 53, 55 ], [ 46, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 58, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 58, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 58, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 86, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 86, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 99, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 99, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 112, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 122, 124 ], [ 112, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 125, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 125, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 138, 145 ], [ 145, 146 ], [ 138, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 58, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 46, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 158, 168 ], [ 168, 169 ], [ 169, 170 ], [ 158, 171 ], [ 172, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 15, 182 ], [ 182, 183 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\n\n/**\n * Lesson4C 2つの整数 a, b と1つの演算子 op を読み込んで、a op b を計算するプログラム\n * ただし、演算子 op は、\"+\"(和)、\"-\"(差)、\"*\"(積)、\"/\"(商)、のみとし、\n * 割り算で割り切れない場合は、小数点以下を切り捨てたものを計算結果とします。\n * @author 前島佑介\n * @version 2014/12/1\n */\nclass Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\t//入力値1つ目\n\t\tint intNum1 = 0;\n\n\t\t//入力値3つ目\n\t\tint intNum3 = 0;\n\n\t\t//答えを初期化\n\t\tint intAnswer = 0;\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を保存する場所\n\t\t\tArrayList<Integer> strArray = new ArrayList<Integer>();\n\n\t\t\t//キーボードからの入力をString型で受け取る初期化\n\t\t\tString strLine = \"\";\n\n\t\t\twhile(true) {\n\t\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\t\tstrLine = br.readLine();\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる\n\t\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t\t\t//入力値の1つ目の値\n\t\t\t\tintNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//2つ目の値\n\t\t\t\tintNum3 = Integer.parseInt(strLineAry[2]);\n\n\t\t\t\t//足し算\n\t\t\t\tif(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}\n\n\t\t\t\t//結果を格納\n\t\t\t\tstrArray.add(intAnswer);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\n\t\t}catch(NumberFormatException e) {\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\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", "class Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\t//入力値1つ目\n\t\tint intNum1 = 0;\n\n\t\t//入力値3つ目\n\t\tint intNum3 = 0;\n\n\t\t//答えを初期化\n\t\tint intAnswer = 0;\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を保存する場所\n\t\t\tArrayList<Integer> strArray = new ArrayList<Integer>();\n\n\t\t\t//キーボードからの入力をString型で受け取る初期化\n\t\t\tString strLine = \"\";\n\n\t\t\twhile(true) {\n\t\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\t\tstrLine = br.readLine();\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる\n\t\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t\t\t//入力値の1つ目の値\n\t\t\t\tintNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//2つ目の値\n\t\t\t\tintNum3 = Integer.parseInt(strLineAry[2]);\n\n\t\t\t\t//足し算\n\t\t\t\tif(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}\n\n\t\t\t\t//結果を格納\n\t\t\t\tstrArray.add(intAnswer);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\n\t\t}catch(NumberFormatException e) {\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}\n}", "Main", "// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\t//入力値1つ目\n\t\tint intNum1 = 0;\n\n\t\t//入力値3つ目\n\t\tint intNum3 = 0;\n\n\t\t//答えを初期化\n\t\tint intAnswer = 0;\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を保存する場所\n\t\t\tArrayList<Integer> strArray = new ArrayList<Integer>();\n\n\t\t\t//キーボードからの入力をString型で受け取る初期化\n\t\t\tString strLine = \"\";\n\n\t\t\twhile(true) {\n\t\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\t\tstrLine = br.readLine();\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる\n\t\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t\t\t//入力値の1つ目の値\n\t\t\t\tintNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//2つ目の値\n\t\t\t\tintNum3 = Integer.parseInt(strLineAry[2]);\n\n\t\t\t\t//足し算\n\t\t\t\tif(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}\n\n\t\t\t\t//結果を格納\n\t\t\t\tstrArray.add(intAnswer);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\n\t\t}catch(NumberFormatException e) {\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}", "main", "{\n\n\t\t//入力値1つ目\n\t\tint intNum1 = 0;\n\n\t\t//入力値3つ目\n\t\tint intNum3 = 0;\n\n\t\t//答えを初期化\n\t\tint intAnswer = 0;\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を保存する場所\n\t\t\tArrayList<Integer> strArray = new ArrayList<Integer>();\n\n\t\t\t//キーボードからの入力をString型で受け取る初期化\n\t\t\tString strLine = \"\";\n\n\t\t\twhile(true) {\n\t\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\t\tstrLine = br.readLine();\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる\n\t\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t\t\t//入力値の1つ目の値\n\t\t\t\tintNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//2つ目の値\n\t\t\t\tintNum3 = Integer.parseInt(strLineAry[2]);\n\n\t\t\t\t//足し算\n\t\t\t\tif(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}\n\n\t\t\t\t//結果を格納\n\t\t\t\tstrArray.add(intAnswer);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\n\t\t}catch(NumberFormatException e) {\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}", "int intNum1 = 0;", "intNum1", "0", "int intNum3 = 0;", "intNum3", "0", "int intAnswer = 0;", "intAnswer", "0", "try{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を保存する場所\n\t\t\tArrayList<Integer> strArray = new ArrayList<Integer>();\n\n\t\t\t//キーボードからの入力をString型で受け取る初期化\n\t\t\tString strLine = \"\";\n\n\t\t\twhile(true) {\n\t\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\t\tstrLine = br.readLine();\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる\n\t\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t\t\t//入力値の1つ目の値\n\t\t\t\tintNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//2つ目の値\n\t\t\t\tintNum3 = Integer.parseInt(strLineAry[2]);\n\n\t\t\t\t//足し算\n\t\t\t\tif(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}\n\n\t\t\t\t//結果を格納\n\t\t\t\tstrArray.add(intAnswer);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\n\t\t}catch(NumberFormatException e) {\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}", "catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\n\t\t}", "IOException e", "{\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "catch(NumberFormatException e) {\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}", "NumberFormatException e", "{\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}", "System.out.println(\"数値で入力して下さい\")", "System.out.println", "System.out", "System", "System.out", "\"数値で入力して下さい\"", "{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を保存する場所\n\t\t\tArrayList<Integer> strArray = new ArrayList<Integer>();\n\n\t\t\t//キーボードからの入力をString型で受け取る初期化\n\t\t\tString strLine = \"\";\n\n\t\t\twhile(true) {\n\t\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\t\tstrLine = br.readLine();\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる\n\t\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t\t\t//入力値の1つ目の値\n\t\t\t\tintNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//2つ目の値\n\t\t\t\tintNum3 = Integer.parseInt(strLineAry[2]);\n\n\t\t\t\t//足し算\n\t\t\t\tif(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}\n\n\t\t\t\t//結果を格納\n\t\t\t\tstrArray.add(intAnswer);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t\t//例外処理\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "ArrayList<Integer> strArray = new ArrayList<Integer>();", "strArray", "new ArrayList<Integer>()", "String strLine = \"\";", "strLine", "\"\"", "while(true) {\n\t\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\t\tstrLine = br.readLine();\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる\n\t\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t\t\t//入力値の1つ目の値\n\t\t\t\tintNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//2つ目の値\n\t\t\t\tintNum3 = Integer.parseInt(strLineAry[2]);\n\n\t\t\t\t//足し算\n\t\t\t\tif(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}\n\n\t\t\t\t//結果を格納\n\t\t\t\tstrArray.add(intAnswer);\n\t\t\t}", "true", "{\n\t\t\t\t//キーボードからの入力をString型で受け取る\n\t\t\t\tstrLine = br.readLine();\n\n\t\t\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる\n\t\t\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t\t\t//入力値の1つ目の値\n\t\t\t\tintNum1 = Integer.parseInt(strLineAry[0]);\n\n\t\t\t\t//2つ目の値\n\t\t\t\tintNum3 = Integer.parseInt(strLineAry[2]);\n\n\t\t\t\t//足し算\n\t\t\t\tif(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}\n\n\t\t\t\t//結果を格納\n\t\t\t\tstrArray.add(intAnswer);\n\t\t\t}", "strLine = br.readLine()", "strLine", "br.readLine()", "br.readLine", "br", "String[] strLineAry = strLine.split(\" \");", "strLineAry", "strLine.split(\" \")", "strLine.split", "strLine", "\" \"", "intNum1 = Integer.parseInt(strLineAry[0])", "intNum1", "Integer.parseInt(strLineAry[0])", "Integer.parseInt", "Integer", "strLineAry[0]", "strLineAry", "0", "intNum3 = Integer.parseInt(strLineAry[2])", "intNum3", "Integer.parseInt(strLineAry[2])", "Integer.parseInt", "Integer", "strLineAry[2]", "strLineAry", "2", "if(strLineAry[1].equals(\"+\")) {\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}else if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}", "strLineAry[1].equals(\"+\")", "strLineAry[1].equals", "strLineAry[1]", "strLineAry", "1", "\"+\"", "{\n\t\t\t\t\tintAnswer = intNum1 + intNum3;\n\n\t\t\t\t//引き算\n\t\t\t\t}", "intAnswer = intNum1 + intNum3", "intAnswer", "intNum1 + intNum3", "intNum1", "intNum3", "if(strLineAry[1].equals(\"-\")) {\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}else if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}", "strLineAry[1].equals(\"-\")", "strLineAry[1].equals", "strLineAry[1]", "strLineAry", "1", "\"-\"", "{\n\t\t\t\t\tintAnswer = intNum1 - intNum3;\n\n\t\t\t\t//掛け算\n\t\t\t\t}", "intAnswer = intNum1 - intNum3", "intAnswer", "intNum1 - intNum3", "intNum1", "intNum3", "if(strLineAry[1].equals(\"*\")) {\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}else if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}", "strLineAry[1].equals(\"*\")", "strLineAry[1].equals", "strLineAry[1]", "strLineAry", "1", "\"*\"", "{\n\t\t\t\t\tintAnswer = intNum1 * intNum3;\n\n\t\t\t\t//割り算\n\t\t\t\t}", "intAnswer = intNum1 * intNum3", "intAnswer", "intNum1 * intNum3", "intNum1", "intNum3", "if(strLineAry[1].equals(\"/\")) {\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}else if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}", "strLineAry[1].equals(\"/\")", "strLineAry[1].equals", "strLineAry[1]", "strLineAry", "1", "\"/\"", "{\n\t\t\t\t\tintAnswer = intNum1 / intNum3;\n\n\t\t\t\t//終了条件\n\t\t\t\t}", "intAnswer = intNum1 / intNum3", "intAnswer", "intNum1 / intNum3", "intNum1", "intNum3", "if(strLineAry[1].equals(\"?\")) {\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}", "strLineAry[1].equals(\"?\")", "strLineAry[1].equals", "strLineAry[1]", "strLineAry", "1", "\"?\"", "{\n\t\t\t\t\tbreak;\n\n\t\t\t\t//想定外文字のエラー\n\t\t\t\t}", "break;", "{\n\t\t\t\t\tSystem.out.println(\"err\");\n\t\t\t\t}", "System.out.println(\"err\")", "System.out.println", "System.out", "System", "System.out", "\"err\"", "strArray.add(intAnswer)", "strArray.add", "strArray", "intAnswer", "for(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < strArray.size()", "i", "strArray.size()", "strArray.size", "strArray", "i++", "i++", "i", "{\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}", "{\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}", "System.out.println(strArray.get(i))", "System.out.println", "System.out", "System", "System.out", "strArray.get(i)", "strArray.get", "strArray", "i", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; /** * Lesson4C 2つの整数 a, b と1つの演算子 op を読み込んで、a op b を計算するプログラム * ただし、演算子 op は、"+"(和)、"-"(差)、"*"(積)、"/"(商)、のみとし、 * 割り算で割り切れない場合は、小数点以下を切り捨てたものを計算結果とします。 * @author 前島佑介 * @version 2014/12/1 */ class Main { // プログラムのエントリポイント public static void main(String[] args) { //入力値1つ目 int intNum1 = 0; //入力値3つ目 int intNum3 = 0; //答えを初期化 int intAnswer = 0; try{ //キーボードからの入力準備 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //入力値を保存する場所 ArrayList<Integer> strArray = new ArrayList<Integer>(); //キーボードからの入力をString型で受け取る初期化 String strLine = ""; while(true) { //キーボードからの入力をString型で受け取る strLine = br.readLine(); //文字列の分割:入力値を" "で分ける //分けた文字列はstrLineAry[0]とstrLineAry[1]とstrLineAry[2]に分けられる String[] strLineAry = strLine.split(" "); //入力値の1つ目の値 intNum1 = Integer.parseInt(strLineAry[0]); //2つ目の値 intNum3 = Integer.parseInt(strLineAry[2]); //足し算 if(strLineAry[1].equals("+")) { intAnswer = intNum1 + intNum3; //引き算 }else if(strLineAry[1].equals("-")) { intAnswer = intNum1 - intNum3; //掛け算 }else if(strLineAry[1].equals("*")) { intAnswer = intNum1 * intNum3; //割り算 }else if(strLineAry[1].equals("/")) { intAnswer = intNum1 / intNum3; //終了条件 }else if(strLineAry[1].equals("?")) { break; //想定外文字のエラー }else { System.out.println("err"); } //結果を格納 strArray.add(intAnswer); } //ループさせる for(int i = 0; i < strArray.size(); i++) { //出力 System.out.println(strArray.get(i)); } //例外処理 }catch(IOException e) { //例外時の出力 System.out.println(e); }catch(NumberFormatException e) { //数値以外の入力値で出力 System.out.println("数値で入力して下さい"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 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, 18, 13, 17, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 3, 34, 17, 1, 40, 13, 3, 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 ], [ 132, 11 ], [ 132, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 28, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 28, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 28, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 28, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 65, 77 ], [ 61, 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 ], [ 80, 92 ], [ 61, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 95, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 95, 107 ], [ 61, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 113, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 110, 122 ], [ 61, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 12, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[]args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint answer = 0;\n\t\tint flag = 0;\n\n\n\t\twhile(flag != 1){\n\t\t\tString inputData = br.readLine();\n\t\t\tString[] inputValue = inputData.split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputValue[0]);\n\t\t\tint b = Integer.parseInt(inputValue[2]);\n\n\t\t\tString operator = inputValue[1];\n\t\t\tswitch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\n\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", "public class Main {\n\tpublic static void main(String[]args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint answer = 0;\n\t\tint flag = 0;\n\n\n\t\twhile(flag != 1){\n\t\t\tString inputData = br.readLine();\n\t\t\tString[] inputValue = inputData.split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputValue[0]);\n\t\t\tint b = Integer.parseInt(inputValue[2]);\n\n\t\t\tString operator = inputValue[1];\n\t\t\tswitch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[]args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint answer = 0;\n\t\tint flag = 0;\n\n\n\t\twhile(flag != 1){\n\t\t\tString inputData = br.readLine();\n\t\t\tString[] inputValue = inputData.split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputValue[0]);\n\t\t\tint b = Integer.parseInt(inputValue[2]);\n\n\t\t\tString operator = inputValue[1];\n\t\t\tswitch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint answer = 0;\n\t\tint flag = 0;\n\n\n\t\twhile(flag != 1){\n\t\t\tString inputData = br.readLine();\n\t\t\tString[] inputValue = inputData.split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputValue[0]);\n\t\t\tint b = Integer.parseInt(inputValue[2]);\n\n\t\t\tString operator = inputValue[1];\n\t\t\tswitch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int answer = 0;", "answer", "0", "int flag = 0;", "flag", "0", "while(flag != 1){\n\t\t\tString inputData = br.readLine();\n\t\t\tString[] inputValue = inputData.split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputValue[0]);\n\t\t\tint b = Integer.parseInt(inputValue[2]);\n\n\t\t\tString operator = inputValue[1];\n\t\t\tswitch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}", "flag != 1", "flag", "1", "{\n\t\t\tString inputData = br.readLine();\n\t\t\tString[] inputValue = inputData.split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputValue[0]);\n\t\t\tint b = Integer.parseInt(inputValue[2]);\n\n\t\t\tString operator = inputValue[1];\n\t\t\tswitch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}", "String inputData = br.readLine();", "inputData", "br.readLine()", "br.readLine", "br", "String[] inputValue = inputData.split(\" \");", "inputValue", "inputData.split(\" \")", "inputData.split", "inputData", "\" \"", "int a = Integer.parseInt(inputValue[0]);", "a", "Integer.parseInt(inputValue[0])", "Integer.parseInt", "Integer", "inputValue[0]", "inputValue", "0", "int b = Integer.parseInt(inputValue[2]);", "b", "Integer.parseInt(inputValue[2])", "Integer.parseInt", "Integer", "inputValue[2]", "inputValue", "2", "String operator = inputValue[1];", "operator", "inputValue[1]", "inputValue", "1", "switch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}", "operator", "case \"+\":", "\"+\"", "case \"+\":", "answer = a + b", "answer", "a + b", "a", "b", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "break;", "case \"-\":", "\"-\"", "case \"-\":", "answer = a - b", "answer", "a - b", "a", "b", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "break;", "case \"*\":", "\"*\"", "case \"*\":", "answer = a * b", "answer", "a * b", "a", "b", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "break;", "case \"/\":", "\"/\"", "case \"/\":", "answer = a / b", "answer", "a / b", "a", "b", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "break;", "case \"?\":", "\"?\"", "case \"?\":", "flag ++", "flag", "break;", "String[]args", "args", "public class Main {\n\tpublic static void main(String[]args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint answer = 0;\n\t\tint flag = 0;\n\n\n\t\twhile(flag != 1){\n\t\t\tString inputData = br.readLine();\n\t\t\tString[] inputValue = inputData.split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputValue[0]);\n\t\t\tint b = Integer.parseInt(inputValue[2]);\n\n\t\t\tString operator = inputValue[1];\n\t\t\tswitch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[]args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint answer = 0;\n\t\tint flag = 0;\n\n\n\t\twhile(flag != 1){\n\t\t\tString inputData = br.readLine();\n\t\t\tString[] inputValue = inputData.split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputValue[0]);\n\t\t\tint b = Integer.parseInt(inputValue[2]);\n\n\t\t\tString operator = inputValue[1];\n\t\t\tswitch(operator){\n\t\t\t\tcase \"+\":\n\t\t\t\t\tanswer = a + b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"-\":\n\t\t\t\t\tanswer = a - b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"*\":\n\t\t\t\t\tanswer = a * b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"/\":\n\t\t\t\t\tanswer = a / b;\n\t\t\t\t\tSystem.out.println(answer);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"?\":\n\t\t\t\t\tflag ++;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\n\n\t\t}\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[]args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int answer = 0; int flag = 0; while(flag != 1){ String inputData = br.readLine(); String[] inputValue = inputData.split(" "); int a = Integer.parseInt(inputValue[0]); int b = Integer.parseInt(inputValue[2]); String operator = inputValue[1]; switch(operator){ case "+": answer = a + b; System.out.println(answer); break; case "-": answer = a - b; System.out.println(answer); break; case "*": answer = a * b; System.out.println(answer); break; case "/": answer = a / b; System.out.println(answer); break; case "?": flag ++; break; } } } }
[ 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, 42, 40, 4, 18, 13, 17, 30, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 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 ], [ 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 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 30, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 41, 50 ], [ 37, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 53, 62 ], [ 37, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 65, 74 ], [ 37, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 77, 86 ], [ 36, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 36, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 36, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 9, 102 ], [ 102, 103 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n \n while (!(op.equals(\"?\"))) {\n switch (op) {\n case \"+\" :\n System.out.println(a+b);\n break;\n case \"-\" :\n System.out.println(a-b);\n break;\n case \"*\" :\n System.out.println(a*b);\n break;\n case \"/\" :\n System.out.println(a/b);\n break;\n }\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n }\n }\n}", "import java.io.*;", "io.*", "java", "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 int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n \n while (!(op.equals(\"?\"))) {\n switch (op) {\n case \"+\" :\n System.out.println(a+b);\n break;\n case \"-\" :\n System.out.println(a-b);\n break;\n case \"*\" :\n System.out.println(a*b);\n break;\n case \"/\" :\n System.out.println(a/b);\n break;\n }\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n }\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n \n while (!(op.equals(\"?\"))) {\n switch (op) {\n case \"+\" :\n System.out.println(a+b);\n break;\n case \"-\" :\n System.out.println(a-b);\n break;\n case \"*\" :\n System.out.println(a*b);\n break;\n case \"/\" :\n System.out.println(a/b);\n break;\n }\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n \n while (!(op.equals(\"?\"))) {\n switch (op) {\n case \"+\" :\n System.out.println(a+b);\n break;\n case \"-\" :\n System.out.println(a-b);\n break;\n case \"*\" :\n System.out.println(a*b);\n break;\n case \"/\" :\n System.out.println(a/b);\n break;\n }\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String op = sc.next();", "op", "sc.next()", "sc.next", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "while (!(op.equals(\"?\"))) {\n switch (op) {\n case \"+\" :\n System.out.println(a+b);\n break;\n case \"-\" :\n System.out.println(a-b);\n break;\n case \"*\" :\n System.out.println(a*b);\n break;\n case \"/\" :\n System.out.println(a/b);\n break;\n }\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n }", "!(op.equals(\"?\"))", "(op.equals(\"?\"))", "op.equals", "op", "\"?\"", "{\n switch (op) {\n case \"+\" :\n System.out.println(a+b);\n break;\n case \"-\" :\n System.out.println(a-b);\n break;\n case \"*\" :\n System.out.println(a*b);\n break;\n case \"/\" :\n System.out.println(a/b);\n break;\n }\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n }", "switch (op) {\n case \"+\" :\n System.out.println(a+b);\n break;\n case \"-\" :\n System.out.println(a-b);\n break;\n case \"*\" :\n System.out.println(a*b);\n break;\n case \"/\" :\n System.out.println(a/b);\n break;\n }", "op", "case \"+\" :", "\"+\"", "case \"+\" :", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "break;", "case \"-\" :", "\"-\"", "case \"-\" :", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "break;", "case \"*\" :", "\"*\"", "case \"*\" :", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "break;", "case \"/\" :", "\"/\"", "case \"/\" :", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "break;", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); while (!(op.equals("?"))) { switch (op) { case "+" : System.out.println(a+b); break; case "-" : System.out.println(a-b); break; case "*" : System.out.println(a*b); break; case "/" : System.out.println(a/b); break; } a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 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 ], [ 30, 11 ], [ 30, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 12, 27 ], [ 27, 28 ], [ 0, 29 ], [ 29, 30 ], [ 29, 31 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tloop: for(;;) {\n\t\tString num = br.readLine();\n\t\tString[] set = num.split(\" \");\n\n\t\tint a = Integer.parseInt(set[0]);\n\t\tint b = Integer.parseInt(set[2]);\n\n\t\tswitch(set[1]){\n\t\tcase \"+\":\n\t\t\tsb.append(a + b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tsb.append(a - b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tsb.append(a * b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tsb.append(a / b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tbreak loop;\n }\n\t}\n\n\t\tSystem.out.print(sb);\n\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", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tloop: for(;;) {\n\t\tString num = br.readLine();\n\t\tString[] set = num.split(\" \");\n\n\t\tint a = Integer.parseInt(set[0]);\n\t\tint b = Integer.parseInt(set[2]);\n\n\t\tswitch(set[1]){\n\t\tcase \"+\":\n\t\t\tsb.append(a + b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tsb.append(a - b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tsb.append(a * b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tsb.append(a / b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tbreak loop;\n }\n\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tloop: for(;;) {\n\t\tString num = br.readLine();\n\t\tString[] set = num.split(\" \");\n\n\t\tint a = Integer.parseInt(set[0]);\n\t\tint b = Integer.parseInt(set[2]);\n\n\t\tswitch(set[1]){\n\t\tcase \"+\":\n\t\t\tsb.append(a + b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tsb.append(a - b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tsb.append(a * b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tsb.append(a / b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tbreak loop;\n }\n\t}\n\n\t\tSystem.out.print(sb);\n\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tloop: for(;;) {\n\t\tString num = br.readLine();\n\t\tString[] set = num.split(\" \");\n\n\t\tint a = Integer.parseInt(set[0]);\n\t\tint b = Integer.parseInt(set[2]);\n\n\t\tswitch(set[1]){\n\t\tcase \"+\":\n\t\t\tsb.append(a + b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tsb.append(a - b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tsb.append(a * b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tsb.append(a / b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tbreak loop;\n }\n\t}\n\n\t\tSystem.out.print(sb);\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tloop: for(;;) {\n\t\tString num = br.readLine();\n\t\tString[] set = num.split(\" \");\n\n\t\tint a = Integer.parseInt(set[0]);\n\t\tint b = Integer.parseInt(set[2]);\n\n\t\tswitch(set[1]){\n\t\tcase \"+\":\n\t\t\tsb.append(a + b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tsb.append(a - b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tsb.append(a * b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tsb.append(a / b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tbreak loop;\n }\n\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tloop: for(;;) {\n\t\tString num = br.readLine();\n\t\tString[] set = num.split(\" \");\n\n\t\tint a = Integer.parseInt(set[0]);\n\t\tint b = Integer.parseInt(set[2]);\n\n\t\tswitch(set[1]){\n\t\tcase \"+\":\n\t\t\tsb.append(a + b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tsb.append(a - b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tsb.append(a * b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tsb.append(a / b).append(\"\\n\");\n\t\t\tbreak;\n\t\tcase \"?\":\n\t\t\tbreak loop;\n }\n\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); loop: for(;;) { String num = br.readLine(); String[] set = num.split(" "); int a = Integer.parseInt(set[0]); int b = Integer.parseInt(set[2]); switch(set[1]){ case "+": sb.append(a + b).append("\n"); break; case "-": sb.append(a - b).append("\n"); break; case "*": sb.append(a * b).append("\n"); break; case "/": sb.append(a / b).append("\n"); break; case "?": break loop; } } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 0, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 113, 5 ], [ 113, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 14, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 47, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 61, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 75, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 89, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 89, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 103, 108 ], [ 108, 109 ], [ 6, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true){\n\t\t\tString s = sc.nextLine();\n\t\t\tString[] st = s.split(\" \");\n\t\t\tint x = Integer.parseInt(st[0]);\n\t\t\ts = st[1];\n\t\t\tint y = Integer.parseInt(st[2]);\n\t\t\tif(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true){\n\t\t\tString s = sc.nextLine();\n\t\t\tString[] st = s.split(\" \");\n\t\t\tint x = Integer.parseInt(st[0]);\n\t\t\ts = st[1];\n\t\t\tint y = Integer.parseInt(st[2]);\n\t\t\tif(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true){\n\t\t\tString s = sc.nextLine();\n\t\t\tString[] st = s.split(\" \");\n\t\t\tint x = Integer.parseInt(st[0]);\n\t\t\ts = st[1];\n\t\t\tint y = Integer.parseInt(st[2]);\n\t\t\tif(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true){\n\t\t\tString s = sc.nextLine();\n\t\t\tString[] st = s.split(\" \");\n\t\t\tint x = Integer.parseInt(st[0]);\n\t\t\ts = st[1];\n\t\t\tint y = Integer.parseInt(st[2]);\n\t\t\tif(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true){\n\t\t\tString s = sc.nextLine();\n\t\t\tString[] st = s.split(\" \");\n\t\t\tint x = Integer.parseInt(st[0]);\n\t\t\ts = st[1];\n\t\t\tint y = Integer.parseInt(st[2]);\n\t\t\tif(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString s = sc.nextLine();\n\t\t\tString[] st = s.split(\" \");\n\t\t\tint x = Integer.parseInt(st[0]);\n\t\t\ts = st[1];\n\t\t\tint y = Integer.parseInt(st[2]);\n\t\t\tif(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "String[] st = s.split(\" \");", "st", "s.split(\" \")", "s.split", "s", "\" \"", "int x = Integer.parseInt(st[0]);", "x", "Integer.parseInt(st[0])", "Integer.parseInt", "Integer", "st[0]", "st", "0", "s = st[1]", "s", "st[1]", "st", "1", "int y = Integer.parseInt(st[2]);", "y", "Integer.parseInt(st[2])", "Integer.parseInt", "Integer", "st[2]", "st", "2", "if(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "s.equals(\"+\")", "s.equals", "s", "\"+\"", "{\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}", "System.out.println(x+y)", "System.out.println", "System.out", "System", "System.out", "x+y", "x", "y", "if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "s.equals(\"-\")", "s.equals", "s", "\"-\"", "{\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}", "System.out.println(x-y)", "System.out.println", "System.out", "System", "System.out", "x-y", "x", "y", "if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "s.equals(\"*\")", "s.equals", "s", "\"*\"", "{\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}", "System.out.println(x*y)", "System.out.println", "System.out", "System", "System.out", "x*y", "x", "y", "if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "s.equals(\"/\")", "s.equals", "s", "\"/\"", "{\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}", "System.out.println(x/y)", "System.out.println", "System.out", "System", "System.out", "x/y", "x", "y", "if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "s.equals(\"?\")", "s.equals", "s", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true){\n\t\t\tString s = sc.nextLine();\n\t\t\tString[] st = s.split(\" \");\n\t\t\tint x = Integer.parseInt(st[0]);\n\t\t\ts = st[1];\n\t\t\tint y = Integer.parseInt(st[2]);\n\t\t\tif(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true){\n\t\t\tString s = sc.nextLine();\n\t\t\tString[] st = s.split(\" \");\n\t\t\tint x = Integer.parseInt(st[0]);\n\t\t\ts = st[1];\n\t\t\tint y = Integer.parseInt(st[2]);\n\t\t\tif(s.equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(s.equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(s.equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(s.equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else if(s.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); while (true){ String s = sc.nextLine(); String[] st = s.split(" "); int x = Integer.parseInt(st[0]); s = st[1]; int y = Integer.parseInt(st[2]); if(s.equals("+")){ System.out.println(x+y); }else if(s.equals("-")){ System.out.println(x-y); }else if(s.equals("*")){ System.out.println(x*y); }else if(s.equals("/")){ System.out.println(x/y); }else if(s.equals("?")){ break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 42, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 35, 4, 18, 18, 13, 17, 17, 34, 17, 1, 4, 18, 13, 2, 2, 13, 13, 17, 3, 34, 17, 1, 4, 18, 13, 2, 2, 13, 13, 17, 3, 34, 17, 1, 4, 18, 13, 2, 2, 13, 13, 17, 3, 34, 17, 1, 4, 18, 13, 2, 2, 13, 13, 17, 3, 34, 1, 4, 18, 18, 13, 13, 13, 0, 13, 17, 3, 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, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 20, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 45, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 59, 59 ], [ 59, 60 ], [ 59, 61 ], [ 59, 62 ], [ 54, 63 ], [ 45, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 66, 75 ], [ 45, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 78, 87 ], [ 45, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 90, 99 ], [ 45, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 101, 108 ], [ 108, 109 ], [ 108, 110 ], [ 101, 111 ], [ 6, 112 ], [ 112, 113 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean cont=true;\n\t\twhile(cont){\n\t\t\tString[] ary = br.readLine().split(\" \");\n\t int a = Integer.parseInt(ary[0]);\n\t int b = Integer.parseInt(ary[2]);\n\t switch(ary[1].charAt(0)){\n\t case '+':\n\t \tsb.append(a+b+\"\\n\");\n\t \tbreak;\n\t case '-':\n\t \tsb.append(a-b+\"\\n\");\n\t \tbreak;\n\t case '*':\n\t \tsb.append(a*b+\"\\n\");\n\t \tbreak;\n\t case '/':\n\t \tsb.append(a/b+\"\\n\");\n\t \tbreak;\n\t default:\n\t \tSystem.out.print(sb);\n\t \tcont=false;\n\t \tbreak;\n\t }\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean cont=true;\n\t\twhile(cont){\n\t\t\tString[] ary = br.readLine().split(\" \");\n\t int a = Integer.parseInt(ary[0]);\n\t int b = Integer.parseInt(ary[2]);\n\t switch(ary[1].charAt(0)){\n\t case '+':\n\t \tsb.append(a+b+\"\\n\");\n\t \tbreak;\n\t case '-':\n\t \tsb.append(a-b+\"\\n\");\n\t \tbreak;\n\t case '*':\n\t \tsb.append(a*b+\"\\n\");\n\t \tbreak;\n\t case '/':\n\t \tsb.append(a/b+\"\\n\");\n\t \tbreak;\n\t default:\n\t \tSystem.out.print(sb);\n\t \tcont=false;\n\t \tbreak;\n\t }\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean cont=true;\n\t\twhile(cont){\n\t\t\tString[] ary = br.readLine().split(\" \");\n\t int a = Integer.parseInt(ary[0]);\n\t int b = Integer.parseInt(ary[2]);\n\t switch(ary[1].charAt(0)){\n\t case '+':\n\t \tsb.append(a+b+\"\\n\");\n\t \tbreak;\n\t case '-':\n\t \tsb.append(a-b+\"\\n\");\n\t \tbreak;\n\t case '*':\n\t \tsb.append(a*b+\"\\n\");\n\t \tbreak;\n\t case '/':\n\t \tsb.append(a/b+\"\\n\");\n\t \tbreak;\n\t default:\n\t \tSystem.out.print(sb);\n\t \tcont=false;\n\t \tbreak;\n\t }\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean cont=true;\n\t\twhile(cont){\n\t\t\tString[] ary = br.readLine().split(\" \");\n\t int a = Integer.parseInt(ary[0]);\n\t int b = Integer.parseInt(ary[2]);\n\t switch(ary[1].charAt(0)){\n\t case '+':\n\t \tsb.append(a+b+\"\\n\");\n\t \tbreak;\n\t case '-':\n\t \tsb.append(a-b+\"\\n\");\n\t \tbreak;\n\t case '*':\n\t \tsb.append(a*b+\"\\n\");\n\t \tbreak;\n\t case '/':\n\t \tsb.append(a/b+\"\\n\");\n\t \tbreak;\n\t default:\n\t \tSystem.out.print(sb);\n\t \tcont=false;\n\t \tbreak;\n\t }\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "boolean cont=true;", "cont", "true", "while(cont){\n\t\t\tString[] ary = br.readLine().split(\" \");\n\t int a = Integer.parseInt(ary[0]);\n\t int b = Integer.parseInt(ary[2]);\n\t switch(ary[1].charAt(0)){\n\t case '+':\n\t \tsb.append(a+b+\"\\n\");\n\t \tbreak;\n\t case '-':\n\t \tsb.append(a-b+\"\\n\");\n\t \tbreak;\n\t case '*':\n\t \tsb.append(a*b+\"\\n\");\n\t \tbreak;\n\t case '/':\n\t \tsb.append(a/b+\"\\n\");\n\t \tbreak;\n\t default:\n\t \tSystem.out.print(sb);\n\t \tcont=false;\n\t \tbreak;\n\t }\n\t\t}", "cont", "{\n\t\t\tString[] ary = br.readLine().split(\" \");\n\t int a = Integer.parseInt(ary[0]);\n\t int b = Integer.parseInt(ary[2]);\n\t switch(ary[1].charAt(0)){\n\t case '+':\n\t \tsb.append(a+b+\"\\n\");\n\t \tbreak;\n\t case '-':\n\t \tsb.append(a-b+\"\\n\");\n\t \tbreak;\n\t case '*':\n\t \tsb.append(a*b+\"\\n\");\n\t \tbreak;\n\t case '/':\n\t \tsb.append(a/b+\"\\n\");\n\t \tbreak;\n\t default:\n\t \tSystem.out.print(sb);\n\t \tcont=false;\n\t \tbreak;\n\t }\n\t\t}", "String[] ary = br.readLine().split(\" \");", "ary", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(ary[0]);", "a", "Integer.parseInt(ary[0])", "Integer.parseInt", "Integer", "ary[0]", "ary", "0", "int b = Integer.parseInt(ary[2]);", "b", "Integer.parseInt(ary[2])", "Integer.parseInt", "Integer", "ary[2]", "ary", "2", "switch(ary[1].charAt(0)){\n\t case '+':\n\t \tsb.append(a+b+\"\\n\");\n\t \tbreak;\n\t case '-':\n\t \tsb.append(a-b+\"\\n\");\n\t \tbreak;\n\t case '*':\n\t \tsb.append(a*b+\"\\n\");\n\t \tbreak;\n\t case '/':\n\t \tsb.append(a/b+\"\\n\");\n\t \tbreak;\n\t default:\n\t \tSystem.out.print(sb);\n\t \tcont=false;\n\t \tbreak;\n\t }", "ary[1].charAt(0)", "ary[1].charAt", "ary[1]", "ary", "1", "0", "case '+':", "'+'", "case '+':", "sb.append(a+b+\"\\n\")", "sb.append", "sb", "a+b+\"\\n\"", "a+b+\"\\n\"", "a", "b", "\"\\n\"", "break;", "case '-':", "'-'", "case '-':", "sb.append(a-b+\"\\n\")", "sb.append", "sb", "a-b+\"\\n\"", "a-b", "a", "b", "\"\\n\"", "break;", "case '*':", "'*'", "case '*':", "sb.append(a*b+\"\\n\")", "sb.append", "sb", "a*b+\"\\n\"", "a*b", "a", "b", "\"\\n\"", "break;", "case '/':", "'/'", "case '/':", "sb.append(a/b+\"\\n\")", "sb.append", "sb", "a/b+\"\\n\"", "a/b", "a", "b", "\"\\n\"", "break;", "default:", "default:", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "cont=false", "cont", "false", "break;", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); boolean cont=true; while(cont){ String[] ary = br.readLine().split(" "); int a = Integer.parseInt(ary[0]); int b = Integer.parseInt(ary[2]); switch(ary[1].charAt(0)){ case '+': sb.append(a+b+"\n"); break; case '-': sb.append(a-b+"\n"); break; case '*': sb.append(a*b+"\n"); break; case '/': sb.append(a/b+"\n"); break; default: System.out.print(sb); cont=false; break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 1, 3, 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 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 24, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 24, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 24, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 50, 56 ], [ 46, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 59, 65 ], [ 46, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 46, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 77, 83 ], [ 46, 84 ], [ 84, 85 ], [ 85, 86 ], [ 24, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 6, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,s=0;\n\t\tString op=\"+\";\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\ta=scan.nextInt();\n\n\t\t\top=scan.next();\n\t\t\tb=scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tswitch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t\t}\n\t\t\n\t}\n\t}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,s=0;\n\t\tString op=\"+\";\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\ta=scan.nextInt();\n\n\t\t\top=scan.next();\n\t\t\tb=scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tswitch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t\t}\n\t\t\n\t}\n\t}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,s=0;\n\t\tString op=\"+\";\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\ta=scan.nextInt();\n\n\t\t\top=scan.next();\n\t\t\tb=scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tswitch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t\t}\n\t\t\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,s=0;\n\t\tString op=\"+\";\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\ta=scan.nextInt();\n\n\t\t\top=scan.next();\n\t\t\tb=scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tswitch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t\t}\n\t\t\n\t}", "int a", "a", "b", "b", "s=0;", "s", "0", "String op=\"+\";", "op", "\"+\"", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true)\n\t\t{\n\t\t\ta=scan.nextInt();\n\n\t\t\top=scan.next();\n\t\t\tb=scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tswitch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t\t}", "true", "{\n\t\t\ta=scan.nextInt();\n\n\t\t\top=scan.next();\n\t\t\tb=scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tswitch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t\t}", "a=scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "op=scan.next()", "op", "scan.next()", "scan.next", "scan", "b=scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(op.equals(\"?\"))\n\t\t\t\tbreak;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "switch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "s=a+b", "s", "a+b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "s=a-b", "s", "a-b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "s=a*b", "s", "a*b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "s=a/b", "s", "a/b", "a", "b", "break;", "default :", "default :", "break;", "System.out.println(s)", "System.out.println", "System.out", "System", "System.out", "s", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,s=0;\n\t\tString op=\"+\";\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\ta=scan.nextInt();\n\n\t\t\top=scan.next();\n\t\t\tb=scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tswitch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t\t}\n\t\t\n\t}\n\t}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,s=0;\n\t\tString op=\"+\";\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\ta=scan.nextInt();\n\n\t\t\top=scan.next();\n\t\t\tb=scan.nextInt();\n\t\t\tif(op.equals(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tswitch (op){\n\t\t\t case \"+\":\n\t\t\t\t s=a+b;\n\t\t\t\t break;\n\t\t\t case \"-\":\n\t\t\t\t s=a-b;\n\t\t\t\t break;\n\t\t\t case \"*\":\n\t\t\t\t s=a*b;\n\t\t\t\t break;\n\t\t\t case \"/\":\n\t\t\t\t s=a/b;\n\t\t\t\t break;\n\t\t\t\t default :\n\t\t\t\t break;\n\t\t\t}\n\t\tSystem.out.println(s);\n\t\t\n\t\t}\n\t\t\n\t}\n\t}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? int a,b,s=0; String op="+"; Scanner scan = new Scanner(System.in); while(true) { a=scan.nextInt(); op=scan.next(); b=scan.nextInt(); if(op.equals("?")) break; switch (op){ case "+": s=a+b; break; case "-": s=a-b; break; case "*": s=a*b; break; case "/": s=a/b; break; default : break; } System.out.println(s); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 3, 41, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 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 ], [ 121, 14 ], [ 121, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 26, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 23, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 23, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 48, 55 ], [ 55, 56 ], [ 23, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 23, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 23, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 23, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 23, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 104, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 15, 118 ], [ 118, 119 ], [ 0, 120 ], [ 120, 121 ], [ 120, 122 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tdouble r = Double.parseDouble(tmpArray[0]);\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[2]);\n\t\t\tif(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString op = tmpArray[1];\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\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", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tdouble r = Double.parseDouble(tmpArray[0]);\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[2]);\n\t\t\tif(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString op = tmpArray[1];\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "Main", "/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tdouble r = Double.parseDouble(tmpArray[0]);\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[2]);\n\t\t\tif(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString op = tmpArray[1];\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tdouble r = Double.parseDouble(tmpArray[0]);\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[2]);\n\t\t\tif(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString op = tmpArray[1];\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[2]);\n\t\t\tif(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString op = tmpArray[1];\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\t\n\t\t}", "true", "{\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[2]);\n\t\t\tif(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString op = tmpArray[1];\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\t\n\t\t}", "String[] tmpArray = br.readLine().split(\" \");", "tmpArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(tmpArray[0]);", "a", "Integer.parseInt(tmpArray[0])", "Integer.parseInt", "Integer", "tmpArray[0]", "tmpArray", "0", "int b = Integer.parseInt(tmpArray[2]);", "b", "Integer.parseInt(tmpArray[2])", "Integer.parseInt", "Integer", "tmpArray[2]", "tmpArray", "2", "if(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "tmpArray[1].equals(\"?\")", "tmpArray[1].equals", "tmpArray[1]", "tmpArray", "1", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "String op = tmpArray[1];", "op", "tmpArray[1]", "tmpArray", "1", "if(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "String[] args", "args", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tdouble r = Double.parseDouble(tmpArray[0]);\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[2]);\n\t\t\tif(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString op = tmpArray[1];\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\tdouble r = Double.parseDouble(tmpArray[0]);\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\t\n\t\twhile(true){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(tmpArray[0]);\n\t\t\tint b = Integer.parseInt(tmpArray[2]);\n\t\t\tif(tmpArray[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString op = tmpArray[1];\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { /** * @param args * @throws IOException * @throws NumberFormatException */ public static void main(String[] args) throws NumberFormatException, IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // String[] tmpArray = br.readLine().split(" "); // double r = Double.parseDouble(tmpArray[0]); // int b = Integer.parseInt(tmpArray[1]); // int c = Integer.parseInt(tmpArray[2]); // int y = Integer.parseInt(tmpArray[3]); // int r = Integer.parseInt(tmpArray[4]); while(true){ String[] tmpArray = br.readLine().split(" "); int a = Integer.parseInt(tmpArray[0]); int b = Integer.parseInt(tmpArray[2]); if(tmpArray[1].equals("?")){ break; } String op = tmpArray[1]; if(op.equals("+")){ System.out.println(a+b); } if(op.equals("-")){ System.out.println(a-b); } if(op.equals("*")){ System.out.println(a*b); } if(op.equals("/")){ System.out.println(a/b); } } // int[] array = new int[3]; // array[0] = a; array[1] = b; array[2] = c; // // Arrays.sort(array); // System.out.printf("%d %d %d\n", array[0], array[1], array[2]); /* if(a < b && b < c){ System.out.println("Yes"); } else{ System.out.println("No"); }*/ } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 38, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 173, 8 ], [ 173, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 28, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 49, 50 ], [ 28, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 28, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 28, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 22, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 63, 73 ], [ 73, 74 ], [ 74, 75 ], [ 63, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 79, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 92, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 78, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 102, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 115, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 101, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 125, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 138, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 124, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 148, 154 ], [ 147, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 161, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 9, 170 ], [ 170, 171 ], [ 0, 172 ], [ 172, 173 ], [ 172, 174 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> listA = new ArrayList<Integer>();\n\t\tArrayList<Integer> listB = new ArrayList<Integer>();\n\t\tArrayList<String> listSY = new ArrayList<String>();\n\n\t\ttry(Scanner scan = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}\n\t\t\tfor(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> listA = new ArrayList<Integer>();\n\t\tArrayList<Integer> listB = new ArrayList<Integer>();\n\t\tArrayList<String> listSY = new ArrayList<String>();\n\n\t\ttry(Scanner scan = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}\n\t\t\tfor(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tArrayList<Integer> listA = new ArrayList<Integer>();\n\t\tArrayList<Integer> listB = new ArrayList<Integer>();\n\t\tArrayList<String> listSY = new ArrayList<String>();\n\n\t\ttry(Scanner scan = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}\n\t\t\tfor(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tArrayList<Integer> listA = new ArrayList<Integer>();\n\t\tArrayList<Integer> listB = new ArrayList<Integer>();\n\t\tArrayList<String> listSY = new ArrayList<String>();\n\n\t\ttry(Scanner scan = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}\n\t\t\tfor(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "ArrayList<Integer> listA = new ArrayList<Integer>();", "listA", "new ArrayList<Integer>()", "ArrayList<Integer> listB = new ArrayList<Integer>();", "listB", "new ArrayList<Integer>()", "ArrayList<String> listSY = new ArrayList<String>();", "listSY", "new ArrayList<String>()", "try(Scanner scan = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}\n\t\t\tfor(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\twhile(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}\n\t\t\tfor(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "Scanner scan = new Scanner(System.in)", "Scanner scan = new Scanner(System.in)", "new Scanner(System.in)", "while(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}", "true", "{\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}", "int numA = scan.nextInt();", "numA", "scan.nextInt()", "scan.nextInt", "scan", "String sym = scan.next();", "sym", "scan.next()", "scan.next", "scan", "int numB = scan.nextInt();", "numB", "scan.nextInt()", "scan.nextInt", "scan", "if(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}", "sym.equals(\"?\")", "sym.equals", "sym", "\"?\"", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "listA.add(numA)", "listA.add", "listA", "numA", "listB.add(numB)", "listB.add", "listB", "numB", "listSY.add(sym)", "listSY.add", "listSY", "sym", "for(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < listSY.size()", "i", "listSY.size()", "listSY.size", "listSY", "i++", "i++", "i", "{\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}", "if(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}", "listSY.get(i).equals(\"+\")", "listSY.get(i).equals", "listSY.get(i)", "listSY.get", "listSY", "i", "\"+\"", "{\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t}", "System.out.println(listA.get(i) + listB.get(i))", "System.out.println", "System.out", "System", "System.out", "listA.get(i) + listB.get(i)", "listA.get(i)", "listA.get", "listA", "i", "listB.get(i)", "listB.get", "listB", "i", "if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}", "listSY.get(i).equals(\"-\")", "listSY.get(i).equals", "listSY.get(i)", "listSY.get", "listSY", "i", "\"-\"", "{\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t}", "System.out.println(listA.get(i) - listB.get(i))", "System.out.println", "System.out", "System", "System.out", "listA.get(i) - listB.get(i)", "listA.get(i)", "listA.get", "listA", "i", "listB.get(i)", "listB.get", "listB", "i", "if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}", "listSY.get(i).equals(\"*\")", "listSY.get(i).equals", "listSY.get(i)", "listSY.get", "listSY", "i", "\"*\"", "{\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t}", "System.out.println(listA.get(i) * listB.get(i))", "System.out.println", "System.out", "System", "System.out", "listA.get(i) * listB.get(i)", "listA.get(i)", "listA.get", "listA", "i", "listB.get(i)", "listB.get", "listB", "i", "if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}", "listSY.get(i).equals(\"/\")", "listSY.get(i).equals", "listSY.get(i)", "listSY.get", "listSY", "i", "\"/\"", "{\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}", "System.out.println(listA.get(i) / listB.get(i))", "System.out.println", "System.out", "System", "System.out", "listA.get(i) / listB.get(i)", "listA.get(i)", "listA.get", "listA", "i", "listB.get(i)", "listB.get", "listB", "i", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> listA = new ArrayList<Integer>();\n\t\tArrayList<Integer> listB = new ArrayList<Integer>();\n\t\tArrayList<String> listSY = new ArrayList<String>();\n\n\t\ttry(Scanner scan = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}\n\t\t\tfor(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> listA = new ArrayList<Integer>();\n\t\tArrayList<Integer> listB = new ArrayList<Integer>();\n\t\tArrayList<String> listSY = new ArrayList<String>();\n\n\t\ttry(Scanner scan = new Scanner(System.in)) {\n\t\t\twhile(true) {\n\t\t\t\tint numA = scan.nextInt();\n\t\t\t\tString sym = scan.next();\n\t\t\t\tint numB = scan.nextInt();\n\n\t\t\t\tif(sym.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tlistA.add(numA);\n\t\t\t\tlistB.add(numB);\n\t\t\t\tlistSY.add(sym);\n\t\t\t}\n\t\t\tfor(int i = 0; i < listSY.size(); i++) {\n\t\t\t\tif(listSY.get(i).equals(\"+\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) + listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"-\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) - listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"*\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) * listB.get(i));\n\t\t\t\t} else if(listSY.get(i).equals(\"/\")) {\n\t\t\t\t\tSystem.out.println(listA.get(i) / listB.get(i));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { ArrayList<Integer> listA = new ArrayList<Integer>(); ArrayList<Integer> listB = new ArrayList<Integer>(); ArrayList<String> listSY = new ArrayList<String>(); try(Scanner scan = new Scanner(System.in)) { while(true) { int numA = scan.nextInt(); String sym = scan.next(); int numB = scan.nextInt(); if(sym.equals("?")) { break; } listA.add(numA); listB.add(numB); listSY.add(sym); } for(int i = 0; i < listSY.size(); i++) { if(listSY.get(i).equals("+")) { System.out.println(listA.get(i) + listB.get(i)); } else if(listSY.get(i).equals("-")) { System.out.println(listA.get(i) - listB.get(i)); } else if(listSY.get(i).equals("*")) { System.out.println(listA.get(i) * listB.get(i)); } else if(listSY.get(i).equals("/")) { System.out.println(listA.get(i) / listB.get(i)); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 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 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 20, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 43, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 54, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 65, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 20, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 6, 93 ], [ 93, 94 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n \n int answer = 0;\n\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n\n if (op.equals(\"?\")) {\n break;\n }\n\n if (op.equals(\"+\")) {\n answer = a + b;\n } else if (op.equals(\"-\")) {\n answer = a - b;;\n } else if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }\n System.out.println(answer);\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n \n int answer = 0;\n\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n\n if (op.equals(\"?\")) {\n break;\n }\n\n if (op.equals(\"+\")) {\n answer = a + b;\n } else if (op.equals(\"-\")) {\n answer = a - b;;\n } else if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }\n System.out.println(answer);\n }\n }\n}", "Main", "public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n \n int answer = 0;\n\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n\n if (op.equals(\"?\")) {\n break;\n }\n\n if (op.equals(\"+\")) {\n answer = a + b;\n } else if (op.equals(\"-\")) {\n answer = a - b;;\n } else if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }\n System.out.println(answer);\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n \n int answer = 0;\n\n while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n\n if (op.equals(\"?\")) {\n break;\n }\n\n if (op.equals(\"+\")) {\n answer = a + b;\n } else if (op.equals(\"-\")) {\n answer = a - b;;\n } else if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }\n System.out.println(answer);\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int answer = 0;", "answer", "0", "while (true) {\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n\n if (op.equals(\"?\")) {\n break;\n }\n\n if (op.equals(\"+\")) {\n answer = a + b;\n } else if (op.equals(\"-\")) {\n answer = a - b;;\n } else if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }\n System.out.println(answer);\n }", "true", "{\n int a = scan.nextInt();\n String op = scan.next();\n int b = scan.nextInt();\n\n if (op.equals(\"?\")) {\n break;\n }\n\n if (op.equals(\"+\")) {\n answer = a + b;\n } else if (op.equals(\"-\")) {\n answer = a - b;;\n } else if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }\n System.out.println(answer);\n }", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "if (op.equals(\"+\")) {\n answer = a + b;\n } else if (op.equals(\"-\")) {\n answer = a - b;;\n } else if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n answer = a + b;\n }", "answer = a + b", "answer", "a + b", "a", "b", "if (op.equals(\"-\")) {\n answer = a - b;;\n } else if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n answer = a - b;;\n }", "answer = a - b", "answer", "a - b", "a", "b", "if (op.equals(\"*\")) {\n answer = a * b;\n } else if (op.equals(\"/\")) {\n answer = a / b;\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n answer = a * b;\n }", "answer = a * b", "answer", "a * b", "a", "b", "if (op.equals(\"/\")) {\n answer = a / b;\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n answer = a / b;\n }", "answer = a / b", "answer", "a / b", "a", "b", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); StringBuilder sb = new StringBuilder(); int answer = 0; while (true) { int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); if (op.equals("?")) { break; } if (op.equals("+")) { answer = a + b; } else if (op.equals("-")) { answer = a - b;; } else if (op.equals("*")) { answer = a * b; } else if (op.equals("/")) { answer = a / b; } System.out.println(answer); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 2, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 102, 5 ], [ 102, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 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 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 20, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 20, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 48, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 62, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 76, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 6, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int numA, numB;\n String op;\n\n while(true) {\n numA = Integer.parseInt(scan.next());\n op = scan.next();\n numB = Integer.parseInt(scan.next());\n\n if (op.equals(\"?\")) break;\n\n if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int numA, numB;\n String op;\n\n while(true) {\n numA = Integer.parseInt(scan.next());\n op = scan.next();\n numB = Integer.parseInt(scan.next());\n\n if (op.equals(\"?\")) break;\n\n if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int numA, numB;\n String op;\n\n while(true) {\n numA = Integer.parseInt(scan.next());\n op = scan.next();\n numB = Integer.parseInt(scan.next());\n\n if (op.equals(\"?\")) break;\n\n if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int numA, numB;\n String op;\n\n while(true) {\n numA = Integer.parseInt(scan.next());\n op = scan.next();\n numB = Integer.parseInt(scan.next());\n\n if (op.equals(\"?\")) break;\n\n if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int numA", "numA", "numB;", "numB", "String op;", "op", "while(true) {\n numA = Integer.parseInt(scan.next());\n op = scan.next();\n numB = Integer.parseInt(scan.next());\n\n if (op.equals(\"?\")) break;\n\n if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }\n }", "true", "{\n numA = Integer.parseInt(scan.next());\n op = scan.next();\n numB = Integer.parseInt(scan.next());\n\n if (op.equals(\"?\")) break;\n\n if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }\n }", "numA = Integer.parseInt(scan.next())", "numA", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "op = scan.next()", "op", "scan.next()", "scan.next", "scan", "numB = Integer.parseInt(scan.next())", "numB", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "if (op.equals(\"?\")) break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n System.out.println(numA + numB);\n }", "System.out.println(numA + numB)", "System.out.println", "System.out", "System", "System.out", "numA + numB", "numA", "numB", "if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n System.out.println(numA - numB);\n }", "System.out.println(numA - numB)", "System.out.println", "System.out", "System", "System.out", "numA - numB", "numA", "numB", "if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n System.out.println(numA * numB);\n }", "System.out.println(numA * numB)", "System.out.println", "System.out", "System", "System.out", "numA * numB", "numA", "numB", "{\n System.out.println(numA / numB);\n }", "System.out.println(numA / numB)", "System.out.println", "System.out", "System", "System.out", "numA / numB", "numA", "numB", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int numA, numB;\n String op;\n\n while(true) {\n numA = Integer.parseInt(scan.next());\n op = scan.next();\n numB = Integer.parseInt(scan.next());\n\n if (op.equals(\"?\")) break;\n\n if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int numA, numB;\n String op;\n\n while(true) {\n numA = Integer.parseInt(scan.next());\n op = scan.next();\n numB = Integer.parseInt(scan.next());\n\n if (op.equals(\"?\")) break;\n\n if (op.equals(\"+\")) {\n System.out.println(numA + numB);\n } else if (op.equals(\"-\")) {\n System.out.println(numA - numB);\n } else if (op.equals(\"*\")) {\n System.out.println(numA * numB);\n } else {\n System.out.println(numA / numB);\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int numA, numB; String op; while(true) { numA = Integer.parseInt(scan.next()); op = scan.next(); numB = Integer.parseInt(scan.next()); if (op.equals("?")) break; if (op.equals("+")) { System.out.println(numA + numB); } else if (op.equals("-")) { System.out.println(numA - numB); } else if (op.equals("*")) { System.out.println(numA * numB); } else { System.out.println(numA / numB); } } } }
[ 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, 17, 14, 4, 18, 13, 17, 0, 13, 17, 42, 2, 13, 17, 30, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 29, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 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 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 42, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 42, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 71, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 42, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 42, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 42, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 42, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 42, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 42, 121 ], [ 121, 122 ], [ 121, 123 ], [ 42, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 6, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint v = a.nextInt();\n\t\tString c = a.next();\n\t\tint w = a.nextInt();\n\t\tint flg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\twhile(flg > 0){\n\t\tif(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}\n\t\tif(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}\n\t\tif(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}\n\t\tif(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}\n\t\tif(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}\n\t\tv = a.nextInt();\n\t\tc = a.next();\n\t\tw = a.nextInt();\n\t\tflg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint v = a.nextInt();\n\t\tString c = a.next();\n\t\tint w = a.nextInt();\n\t\tint flg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\twhile(flg > 0){\n\t\tif(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}\n\t\tif(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}\n\t\tif(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}\n\t\tif(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}\n\t\tif(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}\n\t\tv = a.nextInt();\n\t\tc = a.next();\n\t\tw = a.nextInt();\n\t\tflg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint v = a.nextInt();\n\t\tString c = a.next();\n\t\tint w = a.nextInt();\n\t\tint flg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\twhile(flg > 0){\n\t\tif(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}\n\t\tif(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}\n\t\tif(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}\n\t\tif(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}\n\t\tif(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}\n\t\tv = a.nextInt();\n\t\tc = a.next();\n\t\tw = a.nextInt();\n\t\tflg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\t}\n\t}", "main", "{\n\t\tScanner a = new Scanner(System.in);\n\t\tint v = a.nextInt();\n\t\tString c = a.next();\n\t\tint w = a.nextInt();\n\t\tint flg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\twhile(flg > 0){\n\t\tif(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}\n\t\tif(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}\n\t\tif(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}\n\t\tif(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}\n\t\tif(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}\n\t\tv = a.nextInt();\n\t\tc = a.next();\n\t\tw = a.nextInt();\n\t\tflg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\t}\n\t}", "Scanner a = new Scanner(System.in);", "a", "new Scanner(System.in)", "int v = a.nextInt();", "v", "a.nextInt()", "a.nextInt", "a", "String c = a.next();", "c", "a.next()", "a.next", "a", "int w = a.nextInt();", "w", "a.nextInt()", "a.nextInt", "a", "int flg = 1;", "flg", "1", "if(c.equals(\"?\"))\n\t\t\tflg = 0;", "c.equals(\"?\")", "c.equals", "c", "\"?\"", "flg = 0", "flg", "0", "while(flg > 0){\n\t\tif(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}\n\t\tif(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}\n\t\tif(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}\n\t\tif(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}\n\t\tif(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}\n\t\tv = a.nextInt();\n\t\tc = a.next();\n\t\tw = a.nextInt();\n\t\tflg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\t}", "flg > 0", "flg", "0", "{\n\t\tif(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}\n\t\tif(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}\n\t\tif(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}\n\t\tif(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}\n\t\tif(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}\n\t\tv = a.nextInt();\n\t\tc = a.next();\n\t\tw = a.nextInt();\n\t\tflg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\t}", "if(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}", "c.equals(\"+\")", "c.equals", "c", "\"+\"", "{\n\t\t\tSystem.out.println(v+w);\n\t\t}", "System.out.println(v+w)", "System.out.println", "System.out", "System", "System.out", "v+w", "v", "w", "if(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}", "c.equals(\"-\")", "c.equals", "c", "\"-\"", "{\n\t\t\tSystem.out.println(v-w);\n\t\t}", "System.out.println(v-w)", "System.out.println", "System.out", "System", "System.out", "v-w", "v", "w", "if(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}", "c.equals(\"*\")", "c.equals", "c", "\"*\"", "{\n\t\t\tSystem.out.println(v*w);\n\t\t}", "System.out.println(v*w)", "System.out.println", "System.out", "System", "System.out", "v*w", "v", "w", "if(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}", "c.equals(\"/\")", "c.equals", "c", "\"/\"", "{\n\t\t\tSystem.out.println(v/w);\n\t\t}", "System.out.println(v/w)", "System.out.println", "System.out", "System", "System.out", "v/w", "v", "w", "if(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}", "c.equals(\"?\")", "c.equals", "c", "\"?\"", "{\n\t\t\treturn;\n\t\t}", "return;", "v = a.nextInt()", "v", "a.nextInt()", "a.nextInt", "a", "c = a.next()", "c", "a.next()", "a.next", "a", "w = a.nextInt()", "w", "a.nextInt()", "a.nextInt", "a", "flg = 1", "flg", "1", "if(c.equals(\"?\"))\n\t\t\tflg = 0;", "c.equals(\"?\")", "c.equals", "c", "\"?\"", "flg = 0", "flg", "0", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint v = a.nextInt();\n\t\tString c = a.next();\n\t\tint w = a.nextInt();\n\t\tint flg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\twhile(flg > 0){\n\t\tif(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}\n\t\tif(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}\n\t\tif(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}\n\t\tif(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}\n\t\tif(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}\n\t\tv = a.nextInt();\n\t\tc = a.next();\n\t\tw = a.nextInt();\n\t\tflg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner a = new Scanner(System.in);\n\t\tint v = a.nextInt();\n\t\tString c = a.next();\n\t\tint w = a.nextInt();\n\t\tint flg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\twhile(flg > 0){\n\t\tif(c.equals(\"+\")){\n\t\t\tSystem.out.println(v+w);\n\t\t}\n\t\tif(c.equals(\"-\")){\n\t\t\tSystem.out.println(v-w);\n\t\t}\n\t\tif(c.equals(\"*\")){\n\t\t\tSystem.out.println(v*w);\n\t\t}\n\t\tif(c.equals(\"/\")){\n\t\t\tSystem.out.println(v/w);\n\t\t}\n\t\tif(c.equals(\"?\")){\n\t\t\treturn;\n\t\t}\n\t\tv = a.nextInt();\n\t\tc = a.next();\n\t\tw = a.nextInt();\n\t\tflg = 1;\n\t\tif(c.equals(\"?\"))\n\t\t\tflg = 0;\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner a = new Scanner(System.in); int v = a.nextInt(); String c = a.next(); int w = a.nextInt(); int flg = 1; if(c.equals("?")) flg = 0; while(flg > 0){ if(c.equals("+")){ System.out.println(v+w); } if(c.equals("-")){ System.out.println(v-w); } if(c.equals("*")){ System.out.println(v*w); } if(c.equals("/")){ System.out.println(v/w); } if(c.equals("?")){ return; } v = a.nextInt(); c = a.next(); w = a.nextInt(); flg = 1; if(c.equals("?")) flg = 0; } } }
[ 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, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 42, 17, 30, 0, 13, 4, 18, 13, 14, 2, 4, 18, 13, 17, 17, 30, 3, 30, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 13, 4, 13, 13, 13, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 0, 13, 2, 13, 13, 29, 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 ], [ 162, 17 ], [ 162, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 20, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 29, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 46, 51 ], [ 45, 52 ], [ 52, 53 ], [ 45, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 54, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 54, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 54, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 79, 80 ], [ 79, 81 ], [ 54, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 85, 88 ], [ 85, 89 ], [ 36, 90 ], [ 90, 91 ], [ 90, 92 ], [ 90, 93 ], [ 94, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 18, 101 ], [ 101, 102 ], [ 162, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 109, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 117, 119 ], [ 109, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 120, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 128, 130 ], [ 120, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 131, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 131, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 142, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 105, 153 ], [ 153, 154 ], [ 103, 155 ], [ 155, 156 ], [ 103, 157 ], [ 157, 158 ], [ 103, 159 ], [ 159, 160 ], [ 0, 161 ], [ 161, 162 ], [ 161, 163 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Integer> resultList = new ArrayList<Integer>();\n try {\n\n\t while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }\n\t for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\t/**\n\t * ?????????????????????\n\t * @param a\n\t * @param b\n\t * @param op\n\t * @return result\n\t */\n\tprivate static Integer outputCalc(int a , int b , String op){\n\n\t\tint result = 0;\n\t\tif(\"+\".equals(op)){\n\t\t\tresult = a + b;\n\t\t}else if(\"-\".equals(op)){\n\t\t\tresult = a - b;\n\t\t}else if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}\n\t\treturn result;\n\t}\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.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Integer> resultList = new ArrayList<Integer>();\n try {\n\n\t while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }\n\t for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\t/**\n\t * ?????????????????????\n\t * @param a\n\t * @param b\n\t * @param op\n\t * @return result\n\t */\n\tprivate static Integer outputCalc(int a , int b , String op){\n\n\t\tint result = 0;\n\t\tif(\"+\".equals(op)){\n\t\t\tresult = a + b;\n\t\t}else if(\"-\".equals(op)){\n\t\t\tresult = a - b;\n\t\t}else if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}\n\t\treturn result;\n\t}\n\n\n}", "Main", "public static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Integer> resultList = new ArrayList<Integer>();\n try {\n\n\t while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }\n\t for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "main", "{\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Integer> resultList = new ArrayList<Integer>();\n try {\n\n\t while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }\n\t for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String inputData;", "inputData", "List<Integer> resultList = new ArrayList<Integer>();", "resultList", "new ArrayList<Integer>()", "try {\n\n\t while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }\n\t for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\n\t while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }\n\t for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }\n\n\t\t}", "while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }", "true", "{\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }", "inputData = reader.readLine()", "inputData", "reader.readLine()", "reader.readLine", "reader", "if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }", "inputData.indexOf(\" ? \") > 0", "inputData.indexOf(\" ? \")", "inputData.indexOf", "inputData", "\" ? \"", "0", "{\n\t \tbreak;\n\t }", "break;", "{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }", "String[] strNumber = inputData.split(\" \");", "strNumber", "inputData.split(\" \")", "inputData.split", "inputData", "\" \"", "int a = Integer.parseInt(strNumber[0]);", "a", "Integer.parseInt(strNumber[0])", "Integer.parseInt", "Integer", "strNumber[0]", "strNumber", "0", "String op = strNumber[1];", "op", "strNumber[1]", "strNumber", "1", "int b = Integer.parseInt(strNumber[2]);", "b", "Integer.parseInt(strNumber[2])", "Integer.parseInt", "Integer", "strNumber[2]", "strNumber", "2", "resultList.add(outputCalc(a , b, op))", "resultList.add", "resultList", "outputCalc(a , b, op)", "outputCalc", "a", "b", "op", "for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }", "Integer val", "resultList", "{\n\t \tSystem.out.println(val);\n\t }", "{\n\t \tSystem.out.println(val);\n\t }", "System.out.println(val)", "System.out.println", "System.out", "System", "System.out", "val", "String[] args", "args", "/**\n\t * ?????????????????????\n\t * @param a\n\t * @param b\n\t * @param op\n\t * @return result\n\t */\n\tprivate static Integer outputCalc(int a , int b , String op){\n\n\t\tint result = 0;\n\t\tif(\"+\".equals(op)){\n\t\t\tresult = a + b;\n\t\t}else if(\"-\".equals(op)){\n\t\t\tresult = a - b;\n\t\t}else if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}\n\t\treturn result;\n\t}", "outputCalc", "{\n\n\t\tint result = 0;\n\t\tif(\"+\".equals(op)){\n\t\t\tresult = a + b;\n\t\t}else if(\"-\".equals(op)){\n\t\t\tresult = a - b;\n\t\t}else if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}\n\t\treturn result;\n\t}", "int result = 0;", "result", "0", "if(\"+\".equals(op)){\n\t\t\tresult = a + b;\n\t\t}else if(\"-\".equals(op)){\n\t\t\tresult = a - b;\n\t\t}else if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}", "\"+\".equals(op)", "\"+\".equals", "\"+\"", "op", "{\n\t\t\tresult = a + b;\n\t\t}", "result = a + b", "result", "a + b", "a", "b", "if(\"-\".equals(op)){\n\t\t\tresult = a - b;\n\t\t}else if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}", "\"-\".equals(op)", "\"-\".equals", "\"-\"", "op", "{\n\t\t\tresult = a - b;\n\t\t}", "result = a - b", "result", "a - b", "a", "b", "if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}", "\"*\".equals(op)", "\"*\".equals", "\"*\"", "op", "{\n\t\t\tresult = a * b;\n\t\t}", "result = a * b", "result", "a * b", "a", "b", "if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}", "\"/\".equals(op)", "\"/\".equals", "\"/\"", "op", "{\n\t\t\tresult = a / b;\n\t\t}", "result = a / b", "result", "a / b", "a", "b", "return result;", "result", "int a", "a", "int b", "b", "String op", "op", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Integer> resultList = new ArrayList<Integer>();\n try {\n\n\t while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }\n\t for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\t/**\n\t * ?????????????????????\n\t * @param a\n\t * @param b\n\t * @param op\n\t * @return result\n\t */\n\tprivate static Integer outputCalc(int a , int b , String op){\n\n\t\tint result = 0;\n\t\tif(\"+\".equals(op)){\n\t\t\tresult = a + b;\n\t\t}else if(\"-\".equals(op)){\n\t\t\tresult = a - b;\n\t\t}else if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}\n\t\treturn result;\n\t}\n\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n List<Integer> resultList = new ArrayList<Integer>();\n try {\n\n\t while(true){\n\t\t\t\t\tinputData = reader.readLine();\n\t if(inputData.indexOf(\" ? \") > 0){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tString op = strNumber[1];\n\t\t\t\t\tint b = Integer.parseInt(strNumber[2]);\n\n\t\t\t\t\tresultList.add(outputCalc(a , b, op));\n\n\t }\n\t }\n\t for(Integer val: resultList){\n\t \tSystem.out.println(val);\n\t }\n\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\t/**\n\t * ?????????????????????\n\t * @param a\n\t * @param b\n\t * @param op\n\t * @return result\n\t */\n\tprivate static Integer outputCalc(int a , int b , String op){\n\n\t\tint result = 0;\n\t\tif(\"+\".equals(op)){\n\t\t\tresult = a + b;\n\t\t}else if(\"-\".equals(op)){\n\t\t\tresult = a - b;\n\t\t}else if(\"*\".equals(op)){\n\t\t\tresult = a * b;\n\t\t}else if(\"/\".equals(op)){\n\t\t\tresult = a / b;\n\t\t}\n\t\treturn result;\n\t}\n\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String inputData; List<Integer> resultList = new ArrayList<Integer>(); try { while(true){ inputData = reader.readLine(); if(inputData.indexOf(" ? ") > 0){ break; }else{ String[] strNumber = inputData.split(" "); int a = Integer.parseInt(strNumber[0]); String op = strNumber[1]; int b = Integer.parseInt(strNumber[2]); resultList.add(outputCalc(a , b, op)); } } for(Integer val: resultList){ System.out.println(val); } } catch (IOException e) { // TODO ????????????????????? catch ???????????? e.printStackTrace(); } } /** * ????????????????????? * @param a * @param b * @param op * @return result */ private static Integer outputCalc(int a , int b , String op){ int result = 0; if("+".equals(op)){ result = a + b; }else if("-".equals(op)){ result = a - b; }else if("*".equals(op)){ result = a * b; }else if("/".equals(op)){ result = a / b; } return result; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 0, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 122, 11 ], [ 122, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 29, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 29, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 29, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 29, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 29, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 69, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 80, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 91, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 110, 112 ], [ 29, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 12, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "/*AOJ-ITP-4-3*/\n\n/* \n * ???????????´??° a, b ??¨?????????????????? op ?????????????????§???a op b ????¨??????????????????°?????????????????????????????????\n * ????????????????????? op ??????\"+\"(???)???\"-\"(???)???\"*\"(???)???\"/\"(???)???????????¨??????\n * ???????????§????????????????????´??????????°???°?????\\??????????????¨????????????????¨????????????¨???????????? \n */\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n \npublic class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n \n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[];\n String str;\n String op;\n int ans = 0;\n \n while(true){\n \tstr = br.readLine();\n st = str.split(\" \");\n \tint a = Integer.parseInt(st[0]);\n \top = st[1];\n \tint b = Integer.parseInt(st[2]);\n \t\n \tif(op.equals(\"?\")){break;}\n \t\n \tif(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}\n \tSystem.out.println(ans);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n \n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[];\n String str;\n String op;\n int ans = 0;\n \n while(true){\n \tstr = br.readLine();\n st = str.split(\" \");\n \tint a = Integer.parseInt(st[0]);\n \top = st[1];\n \tint b = Integer.parseInt(st[2]);\n \t\n \tif(op.equals(\"?\")){break;}\n \t\n \tif(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}\n \tSystem.out.println(ans);\n }\n }\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n \n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[];\n String str;\n String op;\n int ans = 0;\n \n while(true){\n \tstr = br.readLine();\n st = str.split(\" \");\n \tint a = Integer.parseInt(st[0]);\n \top = st[1];\n \tint b = Integer.parseInt(st[2]);\n \t\n \tif(op.equals(\"?\")){break;}\n \t\n \tif(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}\n \tSystem.out.println(ans);\n }\n }", "main", "{\n \n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[];\n String str;\n String op;\n int ans = 0;\n \n while(true){\n \tstr = br.readLine();\n st = str.split(\" \");\n \tint a = Integer.parseInt(st[0]);\n \top = st[1];\n \tint b = Integer.parseInt(st[2]);\n \t\n \tif(op.equals(\"?\")){break;}\n \t\n \tif(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}\n \tSystem.out.println(ans);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String st[];", "st", "String str;", "str", "String op;", "op", "int ans = 0;", "ans", "0", "while(true){\n \tstr = br.readLine();\n st = str.split(\" \");\n \tint a = Integer.parseInt(st[0]);\n \top = st[1];\n \tint b = Integer.parseInt(st[2]);\n \t\n \tif(op.equals(\"?\")){break;}\n \t\n \tif(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}\n \tSystem.out.println(ans);\n }", "true", "{\n \tstr = br.readLine();\n st = str.split(\" \");\n \tint a = Integer.parseInt(st[0]);\n \top = st[1];\n \tint b = Integer.parseInt(st[2]);\n \t\n \tif(op.equals(\"?\")){break;}\n \t\n \tif(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}\n \tSystem.out.println(ans);\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "st = str.split(\" \")", "st", "str.split(\" \")", "str.split", "str", "\" \"", "int a = Integer.parseInt(st[0]);", "a", "Integer.parseInt(st[0])", "Integer.parseInt", "Integer", "st[0]", "st", "0", "op = st[1]", "op", "st[1]", "st", "1", "int b = Integer.parseInt(st[2]);", "b", "Integer.parseInt(st[2])", "Integer.parseInt", "Integer", "st[2]", "st", "2", "if(op.equals(\"?\")){break;}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{break;}", "break;", "if(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n \t\tans = a + b;\n \t}", "ans = a + b", "ans", "a + b", "a", "b", "if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n \t\tans = a - b;\n \t}", "ans = a - b", "ans", "a - b", "a", "b", "if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n \t\tans = a * b;\n \t}", "ans = a * b", "ans", "a * b", "a", "b", "if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n \t\tans = a / b;\n \t}", "ans = a / b", "ans", "a / b", "a", "b", "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 NumberFormatException, IOException {\n \n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[];\n String str;\n String op;\n int ans = 0;\n \n while(true){\n \tstr = br.readLine();\n st = str.split(\" \");\n \tint a = Integer.parseInt(st[0]);\n \top = st[1];\n \tint b = Integer.parseInt(st[2]);\n \t\n \tif(op.equals(\"?\")){break;}\n \t\n \tif(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}\n \tSystem.out.println(ans);\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n \n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String st[];\n String str;\n String op;\n int ans = 0;\n \n while(true){\n \tstr = br.readLine();\n st = str.split(\" \");\n \tint a = Integer.parseInt(st[0]);\n \top = st[1];\n \tint b = Integer.parseInt(st[2]);\n \t\n \tif(op.equals(\"?\")){break;}\n \t\n \tif(op.equals(\"+\")){\n \t\tans = a + b;\n \t}else if(op.equals(\"-\")){\n \t\tans = a - b;\n \t}else if(op.equals(\"*\")){\n \t\tans = a * b;\n \t}else if(op.equals(\"/\")){\n \t\tans = a / b;\n \t}\n \tSystem.out.println(ans);\n }\n }\n}", "Main" ]
/*AOJ-ITP-4-3*/ /* * ???????????´??° a, b ??¨?????????????????? op ?????????????????§???a op b ????¨??????????????????°????????????????????????????????? * ????????????????????? op ??????"+"(???)???"-"(???)???"*"(???)???"/"(???)???????????¨?????? * ???????????§????????????????????´??????????°???°?????\??????????????¨????????????????¨????????????¨???????????? */ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String st[]; String str; String op; int ans = 0; while(true){ str = br.readLine(); st = str.split(" "); int a = Integer.parseInt(st[0]); op = st[1]; int b = Integer.parseInt(st[2]); if(op.equals("?")){break;} if(op.equals("+")){ ans = a + b; }else if(op.equals("-")){ ans = a - b; }else if(op.equals("*")){ ans = a * b; }else if(op.equals("/")){ ans = a / b; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 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, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 30, 4, 18, 13, 17, 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 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 12, 17 ], [ 17, 18 ], [ 17, 19 ], [ 12, 20 ], [ 20, 21 ], [ 21, 22 ], [ 12, 23 ], [ 24, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 24, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 24, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 24, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 24, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 53, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 69, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 69, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 85, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 85, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 101, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 101, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 6, 122 ], [ 122, 123 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int i=1;i<10001;i++){\n\t\t\tString val=scan.nextLine();\n\t\t\tString [] num=val.split(\" \",0);\n\t\t\tint x=Integer.parseInt(num[0]);\n\t\t\tint y=Integer.parseInt(num[2]);\n\t\t\tif(num[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int i=1;i<10001;i++){\n\t\t\tString val=scan.nextLine();\n\t\t\tString [] num=val.split(\" \",0);\n\t\t\tint x=Integer.parseInt(num[0]);\n\t\t\tint y=Integer.parseInt(num[2]);\n\t\t\tif(num[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int i=1;i<10001;i++){\n\t\t\tString val=scan.nextLine();\n\t\t\tString [] num=val.split(\" \",0);\n\t\t\tint x=Integer.parseInt(num[0]);\n\t\t\tint y=Integer.parseInt(num[2]);\n\t\t\tif(num[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(int i=1;i<10001;i++){\n\t\t\tString val=scan.nextLine();\n\t\t\tString [] num=val.split(\" \",0);\n\t\t\tint x=Integer.parseInt(num[0]);\n\t\t\tint y=Integer.parseInt(num[2]);\n\t\t\tif(num[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "for(int i=1;i<10001;i++){\n\t\t\tString val=scan.nextLine();\n\t\t\tString [] num=val.split(\" \",0);\n\t\t\tint x=Integer.parseInt(num[0]);\n\t\t\tint y=Integer.parseInt(num[2]);\n\t\t\tif(num[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<10001", "i", "10001", "i++", "i++", "i", "{\n\t\t\tString val=scan.nextLine();\n\t\t\tString [] num=val.split(\" \",0);\n\t\t\tint x=Integer.parseInt(num[0]);\n\t\t\tint y=Integer.parseInt(num[2]);\n\t\t\tif(num[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "{\n\t\t\tString val=scan.nextLine();\n\t\t\tString [] num=val.split(\" \",0);\n\t\t\tint x=Integer.parseInt(num[0]);\n\t\t\tint y=Integer.parseInt(num[2]);\n\t\t\tif(num[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "String val=scan.nextLine();", "val", "scan.nextLine()", "scan.nextLine", "scan", "String [] num=val.split(\" \",0);", "num", "val.split(\" \",0)", "val.split", "val", "\" \"", "0", "int x=Integer.parseInt(num[0]);", "x", "Integer.parseInt(num[0])", "Integer.parseInt", "Integer", "num[0]", "num", "0", "int y=Integer.parseInt(num[2]);", "y", "Integer.parseInt(num[2])", "Integer.parseInt", "Integer", "num[2]", "num", "2", "if(num[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}else if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "num[1].equals(\"+\")", "num[1].equals", "num[1]", "num", "1", "\"+\"", "{\n\t\t\t\tSystem.out.println(x+y);\n\t\t\t}", "System.out.println(x+y)", "System.out.println", "System.out", "System", "System.out", "x+y", "x", "y", "if(num[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}else if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "num[1].equals(\"-\")", "num[1].equals", "num[1]", "num", "1", "\"-\"", "{\n\t\t\t\tSystem.out.println(x-y);\n\t\t\t}", "System.out.println(x-y)", "System.out.println", "System.out", "System", "System.out", "x-y", "x", "y", "if(num[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}else if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "num[1].equals(\"*\")", "num[1].equals", "num[1]", "num", "1", "\"*\"", "{\n\t\t\t\tSystem.out.println(x*y);\n\t\t\t}", "System.out.println(x*y)", "System.out.println", "System.out", "System", "System.out", "x*y", "x", "y", "if(num[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}else{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "num[1].equals(\"/\")", "num[1].equals", "num[1]", "num", "1", "\"/\"", "{\n\t\t\t\tSystem.out.println(x/y);\n\t\t\t}", "System.out.println(x/y)", "System.out.println", "System.out", "System", "System.out", "x/y", "x", "y", "{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.exit(0)", "System.exit", "System", "0", "String args[]", "args" ]
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); for(int i=1;i<10001;i++){ String val=scan.nextLine(); String [] num=val.split(" ",0); int x=Integer.parseInt(num[0]); int y=Integer.parseInt(num[2]); if(num[1].equals("+")){ System.out.println(x+y); }else if(num[1].equals("-")){ System.out.println(x-y); }else if(num[1].equals("*")){ System.out.println(x*y); }else if(num[1].equals("/")){ System.out.println(x/y); }else{ System.exit(0); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 40, 17, 30, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 3, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 13, 13, 3, 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 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 16, 19 ], [ 19, 20 ], [ 12, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 24, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 24, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 24, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 24, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 24, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 24, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 67, 76 ], [ 63, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 79, 88 ], [ 63, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 91, 100 ], [ 63, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 103, 112 ], [ 21, 113 ], [ 113, 114 ], [ 114, 115 ], [ 6, 116 ], [ 116, 117 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString input = br.readLine();\n\t\t\t\tString[] cut = input.split(\" \");\n\t\t\t\tint a = Integer.parseInt(cut[0]);\n\t\t\t\tString op = cut[1];\n\t\t\t\tint b = Integer.parseInt(cut[2]);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.exit(-1);\n\t\t}\n\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString input = br.readLine();\n\t\t\t\tString[] cut = input.split(\" \");\n\t\t\t\tint a = Integer.parseInt(cut[0]);\n\t\t\t\tString op = cut[1];\n\t\t\t\tint b = Integer.parseInt(cut[2]);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.exit(-1);\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString input = br.readLine();\n\t\t\t\tString[] cut = input.split(\" \");\n\t\t\t\tint a = Integer.parseInt(cut[0]);\n\t\t\t\tString op = cut[1];\n\t\t\t\tint b = Integer.parseInt(cut[2]);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.exit(-1);\n\t\t}\n\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString input = br.readLine();\n\t\t\t\tString[] cut = input.split(\" \");\n\t\t\t\tint a = Integer.parseInt(cut[0]);\n\t\t\t\tString op = cut[1];\n\t\t\t\tint b = Integer.parseInt(cut[2]);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.exit(-1);\n\t\t}\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try {\n\t\t\twhile (true) {\n\t\t\t\tString input = br.readLine();\n\t\t\t\tString[] cut = input.split(\" \");\n\t\t\t\tint a = Integer.parseInt(cut[0]);\n\t\t\t\tString op = cut[1];\n\t\t\t\tint b = Integer.parseInt(cut[2]);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (Exception e) {\n\t\t\tSystem.exit(-1);\n\t\t}", "catch (Exception e) {\n\t\t\tSystem.exit(-1);\n\t\t}", "Exception e", "{\n\t\t\tSystem.exit(-1);\n\t\t}", "System.exit(-1)", "System.exit", "System", "-1", "1", "{\n\t\t\twhile (true) {\n\t\t\t\tString input = br.readLine();\n\t\t\t\tString[] cut = input.split(\" \");\n\t\t\t\tint a = Integer.parseInt(cut[0]);\n\t\t\t\tString op = cut[1];\n\t\t\t\tint b = Integer.parseInt(cut[2]);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tbr.close();\n\t\t}", "while (true) {\n\t\t\t\tString input = br.readLine();\n\t\t\t\tString[] cut = input.split(\" \");\n\t\t\t\tint a = Integer.parseInt(cut[0]);\n\t\t\t\tString op = cut[1];\n\t\t\t\tint b = Integer.parseInt(cut[2]);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}", "true", "{\n\t\t\t\tString input = br.readLine();\n\t\t\t\tString[] cut = input.split(\" \");\n\t\t\t\tint a = Integer.parseInt(cut[0]);\n\t\t\t\tString op = cut[1];\n\t\t\t\tint b = Integer.parseInt(cut[2]);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t}", "String input = br.readLine();", "input", "br.readLine()", "br.readLine", "br", "String[] cut = input.split(\" \");", "cut", "input.split(\" \")", "input.split", "input", "\" \"", "int a = Integer.parseInt(cut[0]);", "a", "Integer.parseInt(cut[0])", "Integer.parseInt", "Integer", "cut[0]", "cut", "0", "String op = cut[1];", "op", "cut[1]", "cut", "1", "int b = Integer.parseInt(cut[2]);", "b", "Integer.parseInt(cut[2])", "Integer.parseInt", "Integer", "cut[2]", "cut", "2", "if (op.equals(\"?\"))\n\t\t\t\t\tbreak;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "switch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "break;", "br.close()", "br.close", "br", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { while (true) { String input = br.readLine(); String[] cut = input.split(" "); int a = Integer.parseInt(cut[0]); String op = cut[1]; int b = Integer.parseInt(cut[2]); if (op.equals("?")) break; switch (op) { case "+": System.out.println(a + b); break; case "-": System.out.println(a - b); break; case "*": System.out.println(a * b); break; case "/": System.out.println(a / b); break; } } br.close(); } catch (Exception e) { System.exit(-1); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 127, 11 ], [ 127, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 18, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 31, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 31, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 31, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 31, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 31, 64 ], [ 64, 65 ], [ 64, 66 ], [ 31, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 31, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 31, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 31, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 96, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 31, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 107, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 31, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 12, 124 ], [ 124, 125 ], [ 0, 126 ], [ 126, 127 ], [ 126, 128 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try{\n// ?????°????????????????????????????§????????????????????????????????????????1???????????????????????????????????????\n while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }\n\n }catch(ArithmeticException ex){\n System.err.println(ex);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try{\n// ?????°????????????????????????????§????????????????????????????????????????1???????????????????????????????????????\n while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }\n\n }catch(ArithmeticException ex){\n System.err.println(ex);\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try{\n// ?????°????????????????????????????§????????????????????????????????????????1???????????????????????????????????????\n while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }\n\n }catch(ArithmeticException ex){\n System.err.println(ex);\n }\n }", "main", "{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try{\n// ?????°????????????????????????????§????????????????????????????????????????1???????????????????????????????????????\n while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }\n\n }catch(ArithmeticException ex){\n System.err.println(ex);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try{\n// ?????°????????????????????????????§????????????????????????????????????????1???????????????????????????????????????\n while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }\n\n }catch(ArithmeticException ex){\n System.err.println(ex);\n }", "catch(ArithmeticException ex){\n System.err.println(ex);\n }", "ArithmeticException ex", "{\n System.err.println(ex);\n }", "System.err.println(ex)", "System.err.println", "System.err", "System", "System.err", "ex", "{\n// ?????°????????????????????????????§????????????????????????????????????????1???????????????????????????????????????\n while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }\n\n }", "while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }", "true", "{\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }", "String input = br.readLine();", "input", "br.readLine()", "br.readLine", "br", "String[] strArray = input.split(\" \");", "strArray", "input.split(\" \")", "input.split", "input", "\" \"", "int a = Integer.parseInt(strArray[0]);", "a", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "String op = strArray[1];", "op", "strArray[1]", "strArray", "1", "int b = Integer.parseInt(strArray[2]);", "b", "Integer.parseInt(strArray[2])", "Integer.parseInt", "Integer", "strArray[2]", "strArray", "2", "int ans = 0;", "ans", "0", "if(op.equals(\"?\")){\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "if(op.equals(\"+\")){\n ans = a + b;\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n ans = a + b;\n }", "ans = a + b", "ans", "a + b", "a", "b", "if(op.equals(\"-\")){\n ans = a - b;\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n ans = a - b;\n }", "ans = a - b", "ans", "a - b", "a", "b", "if(op.equals(\"*\")){\n ans = a * b;\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n ans = a * b;\n }", "ans = a * b", "ans", "a * b", "a", "b", "if(op.equals(\"/\")){\n ans = a / b;\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n ans = a / b;\n }", "ans = a / b", "ans", "a / b", "a", "b", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try{\n// ?????°????????????????????????????§????????????????????????????????????????1???????????????????????????????????????\n while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }\n\n }catch(ArithmeticException ex){\n System.err.println(ex);\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try{\n// ?????°????????????????????????????§????????????????????????????????????????1???????????????????????????????????????\n while(true){\n\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int a = Integer.parseInt(strArray[0]);\n String op = strArray[1];\n int b = Integer.parseInt(strArray[2]);\n\n int ans = 0;\n\n// op???\"?\"?????¨??????????????????\n if(op.equals(\"?\")){\n break;\n }\n\n if(op.equals(\"+\")){\n ans = a + b;\n }\n if(op.equals(\"-\")){\n ans = a - b;\n }\n if(op.equals(\"*\")){\n ans = a * b;\n }\n if(op.equals(\"/\")){\n ans = a / b;\n }\n System.out.println(ans);\n }\n\n }catch(ArithmeticException ex){\n System.err.println(ex);\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ // ?????°????????????????????????????§????????????????????????????????????????1??????????????????????????????????????? while(true){ String input = br.readLine(); String[] strArray = input.split(" "); int a = Integer.parseInt(strArray[0]); String op = strArray[1]; int b = Integer.parseInt(strArray[2]); int ans = 0; // op???"?"?????¨?????????????????? if(op.equals("?")){ break; } if(op.equals("+")){ ans = a + b; } if(op.equals("-")){ ans = a - b; } if(op.equals("*")){ ans = a * b; } if(op.equals("/")){ ans = a / b; } System.out.println(ans); } }catch(ArithmeticException ex){ System.err.println(ex); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 11, 1, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 14, 4, 18, 17, 13, 3, 35, 18, 13, 17, 34, 17, 1, 0, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 3, 34, 17, 1, 0, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 3, 34, 17, 1, 0, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 3, 34, 17, 1, 0, 18, 13, 17, 2, 18, 13, 17, 18, 13, 17, 3, 4, 18, 18, 13, 13, 18, 13, 17, 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, 16 ], [ 16, 17 ], [ 16, 18 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 26, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 29, 34 ], [ 26, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 26, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 26, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 26, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 26, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 72, 84 ], [ 66, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 87, 99 ], [ 66, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 111, 113 ], [ 102, 114 ], [ 66, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 126, 128 ], [ 117, 129 ], [ 26, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 135, 136 ], [ 135, 137 ], [ 9, 138 ], [ 138, 139 ] ]
[ "import java.io.*;\nimport java.util.Arrays;\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint[] n = new int[5];\n\t\tString[] str = new String[5];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tn[0] = Integer.parseInt(str[0]); \n\t\t\tString op = str[1];\n\t\t\tn[2] = Integer.parseInt(str[2]);\n\t\t\tif(\"?\".equals(op)) break;\n\t\t\tswitch(str[1]){\n\t\t\t\tcase \"+\": n[3]=n[0]+n[2]; break;\n\t\t\t\tcase \"-\": n[3]=n[0]-n[2]; break;\n\t\t\t\tcase \"*\": n[3]=n[0]*n[2]; break;\n\t\t\t\tcase \"/\": n[3]=n[0]/n[2]; break;\n\t\t\t}\n\t\t\tSystem.out.println(n[3]);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.Arrays;", "Arrays", "java.util", "class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint[] n = new int[5];\n\t\tString[] str = new String[5];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tn[0] = Integer.parseInt(str[0]); \n\t\t\tString op = str[1];\n\t\t\tn[2] = Integer.parseInt(str[2]);\n\t\t\tif(\"?\".equals(op)) break;\n\t\t\tswitch(str[1]){\n\t\t\t\tcase \"+\": n[3]=n[0]+n[2]; break;\n\t\t\t\tcase \"-\": n[3]=n[0]-n[2]; break;\n\t\t\t\tcase \"*\": n[3]=n[0]*n[2]; break;\n\t\t\t\tcase \"/\": n[3]=n[0]/n[2]; break;\n\t\t\t}\n\t\t\tSystem.out.println(n[3]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tint[] n = new int[5];\n\t\tString[] str = new String[5];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tn[0] = Integer.parseInt(str[0]); \n\t\t\tString op = str[1];\n\t\t\tn[2] = Integer.parseInt(str[2]);\n\t\t\tif(\"?\".equals(op)) break;\n\t\t\tswitch(str[1]){\n\t\t\t\tcase \"+\": n[3]=n[0]+n[2]; break;\n\t\t\t\tcase \"-\": n[3]=n[0]-n[2]; break;\n\t\t\t\tcase \"*\": n[3]=n[0]*n[2]; break;\n\t\t\t\tcase \"/\": n[3]=n[0]/n[2]; break;\n\t\t\t}\n\t\t\tSystem.out.println(n[3]);\n\t\t}\n\t}", "main", "{\n\t\tint[] n = new int[5];\n\t\tString[] str = new String[5];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tn[0] = Integer.parseInt(str[0]); \n\t\t\tString op = str[1];\n\t\t\tn[2] = Integer.parseInt(str[2]);\n\t\t\tif(\"?\".equals(op)) break;\n\t\t\tswitch(str[1]){\n\t\t\t\tcase \"+\": n[3]=n[0]+n[2]; break;\n\t\t\t\tcase \"-\": n[3]=n[0]-n[2]; break;\n\t\t\t\tcase \"*\": n[3]=n[0]*n[2]; break;\n\t\t\t\tcase \"/\": n[3]=n[0]/n[2]; break;\n\t\t\t}\n\t\t\tSystem.out.println(n[3]);\n\t\t}\n\t}", "int[] n = new int[5];", "n", "new int[5]", "5", "String[] str = new String[5];", "str", "new String[5]", "5", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "for(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tn[0] = Integer.parseInt(str[0]); \n\t\t\tString op = str[1];\n\t\t\tn[2] = Integer.parseInt(str[2]);\n\t\t\tif(\"?\".equals(op)) break;\n\t\t\tswitch(str[1]){\n\t\t\t\tcase \"+\": n[3]=n[0]+n[2]; break;\n\t\t\t\tcase \"-\": n[3]=n[0]-n[2]; break;\n\t\t\t\tcase \"*\": n[3]=n[0]*n[2]; break;\n\t\t\t\tcase \"/\": n[3]=n[0]/n[2]; break;\n\t\t\t}\n\t\t\tSystem.out.println(n[3]);\n\t\t}", ";", "{\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tn[0] = Integer.parseInt(str[0]); \n\t\t\tString op = str[1];\n\t\t\tn[2] = Integer.parseInt(str[2]);\n\t\t\tif(\"?\".equals(op)) break;\n\t\t\tswitch(str[1]){\n\t\t\t\tcase \"+\": n[3]=n[0]+n[2]; break;\n\t\t\t\tcase \"-\": n[3]=n[0]-n[2]; break;\n\t\t\t\tcase \"*\": n[3]=n[0]*n[2]; break;\n\t\t\t\tcase \"/\": n[3]=n[0]/n[2]; break;\n\t\t\t}\n\t\t\tSystem.out.println(n[3]);\n\t\t}", "{\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tn[0] = Integer.parseInt(str[0]); \n\t\t\tString op = str[1];\n\t\t\tn[2] = Integer.parseInt(str[2]);\n\t\t\tif(\"?\".equals(op)) break;\n\t\t\tswitch(str[1]){\n\t\t\t\tcase \"+\": n[3]=n[0]+n[2]; break;\n\t\t\t\tcase \"-\": n[3]=n[0]-n[2]; break;\n\t\t\t\tcase \"*\": n[3]=n[0]*n[2]; break;\n\t\t\t\tcase \"/\": n[3]=n[0]/n[2]; break;\n\t\t\t}\n\t\t\tSystem.out.println(n[3]);\n\t\t}", "str = in.readLine().split(\" \")", "str", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "n[0] = Integer.parseInt(str[0])", "n[0]", "n", "0", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "String op = str[1];", "op", "str[1]", "str", "1", "n[2] = Integer.parseInt(str[2])", "n[2]", "n", "2", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "if(\"?\".equals(op)) break;", "\"?\".equals(op)", "\"?\".equals", "\"?\"", "op", "break;", "switch(str[1]){\n\t\t\t\tcase \"+\": n[3]=n[0]+n[2]; break;\n\t\t\t\tcase \"-\": n[3]=n[0]-n[2]; break;\n\t\t\t\tcase \"*\": n[3]=n[0]*n[2]; break;\n\t\t\t\tcase \"/\": n[3]=n[0]/n[2]; break;\n\t\t\t}", "str[1]", "str", "1", "case \"+\":", "\"+\"", "case \"+\":", "n[3]=n[0]+n[2]", "n[3]", "n", "3", "n[0]+n[2]", "n[0]", "n", "0", "n[2]", "n", "2", "break;", "case \"-\":", "\"-\"", "case \"-\":", "n[3]=n[0]-n[2]", "n[3]", "n", "3", "n[0]-n[2]", "n[0]", "n", "0", "n[2]", "n", "2", "break;", "case \"*\":", "\"*\"", "case \"*\":", "n[3]=n[0]*n[2]", "n[3]", "n", "3", "n[0]*n[2]", "n[0]", "n", "0", "n[2]", "n", "2", "break;", "case \"/\":", "\"/\"", "case \"/\":", "n[3]=n[0]/n[2]", "n[3]", "n", "3", "n[0]/n[2]", "n[0]", "n", "0", "n[2]", "n", "2", "break;", "System.out.println(n[3])", "System.out.println", "System.out", "System", "System.out", "n[3]", "n", "3", "String[] args", "args" ]
import java.io.*; import java.util.Arrays; class Main{ public static void main(String[] args) throws IOException { int[] n = new int[5]; String[] str = new String[5]; BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); for(;;){ str = in.readLine().split(" "); n[0] = Integer.parseInt(str[0]); String op = str[1]; n[2] = Integer.parseInt(str[2]); if("?".equals(op)) break; switch(str[1]){ case "+": n[3]=n[0]+n[2]; break; case "-": n[3]=n[0]-n[2]; break; case "*": n[3]=n[0]*n[2]; break; case "/": n[3]=n[0]/n[2]; break; } System.out.println(n[3]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 29, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 102, 5 ], [ 102, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 35, 36 ], [ 14, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 42, 45 ], [ 42, 46 ], [ 6, 47 ], [ 47, 48 ], [ 102, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 59, 65 ], [ 55, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 55, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 77, 83 ], [ 55, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 86, 92 ], [ 51, 93 ], [ 93, 94 ], [ 49, 95 ], [ 95, 96 ], [ 49, 97 ], [ 97, 98 ], [ 49, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")){break;}\n\n\t\t\tSystem.out.println(calc(a,op,b));\n\t\t}\n\t}\n\n\t/**\n\t * ?¨?????????????????????????????????????\n\t * @param a int ???\n\t * @param op String ?????????\n\t * @param b int ???\n\t * @return int?????§?¨???????????????????\n\t */\n\tprivate static int calc(int a,String op,int b){\n\t\tint result = 0;\n\n\t\t//op????????£?????????????????????\n\t\tswitch(op){\n\t\tcase \"+\":\n\t\t\tresult = a + b;\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tresult = a - b;\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tresult = a * b;\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tresult = a / b;\n\t\t\tbreak;\n\t\t}\n\t\treturn result;\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")){break;}\n\n\t\t\tSystem.out.println(calc(a,op,b));\n\t\t}\n\t}\n\n\t/**\n\t * ?¨?????????????????????????????????????\n\t * @param a int ???\n\t * @param op String ?????????\n\t * @param b int ???\n\t * @return int?????§?¨???????????????????\n\t */\n\tprivate static int calc(int a,String op,int b){\n\t\tint result = 0;\n\n\t\t//op????????£?????????????????????\n\t\tswitch(op){\n\t\tcase \"+\":\n\t\t\tresult = a + b;\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tresult = a - b;\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tresult = a * b;\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tresult = a / b;\n\t\t\tbreak;\n\t\t}\n\t\treturn result;\n\t}\n\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")){break;}\n\n\t\t\tSystem.out.println(calc(a,op,b));\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")){break;}\n\n\t\t\tSystem.out.println(calc(a,op,b));\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")){break;}\n\n\t\t\tSystem.out.println(calc(a,op,b));\n\t\t}", "true", "{\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")){break;}\n\n\t\t\tSystem.out.println(calc(a,op,b));\n\t\t}", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if(op.equals(\"?\")){break;}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{break;}", "break;", "System.out.println(calc(a,op,b))", "System.out.println", "System.out", "System", "System.out", "calc(a,op,b)", "calc", "a", "op", "b", "String args[]", "args", "/**\n\t * ?¨?????????????????????????????????????\n\t * @param a int ???\n\t * @param op String ?????????\n\t * @param b int ???\n\t * @return int?????§?¨???????????????????\n\t */\n\tprivate static int calc(int a,String op,int b){\n\t\tint result = 0;\n\n\t\t//op????????£?????????????????????\n\t\tswitch(op){\n\t\tcase \"+\":\n\t\t\tresult = a + b;\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tresult = a - b;\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tresult = a * b;\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tresult = a / b;\n\t\t\tbreak;\n\t\t}\n\t\treturn result;\n\t}", "calc", "{\n\t\tint result = 0;\n\n\t\t//op????????£?????????????????????\n\t\tswitch(op){\n\t\tcase \"+\":\n\t\t\tresult = a + b;\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tresult = a - b;\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tresult = a * b;\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tresult = a / b;\n\t\t\tbreak;\n\t\t}\n\t\treturn result;\n\t}", "int result = 0;", "result", "0", "switch(op){\n\t\tcase \"+\":\n\t\t\tresult = a + b;\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tresult = a - b;\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tresult = a * b;\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tresult = a / b;\n\t\t\tbreak;\n\t\t}", "op", "case \"+\":", "\"+\"", "case \"+\":", "result = a + b", "result", "a + b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "result = a - b", "result", "a - b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "result = a * b", "result", "a * b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "result = a / b", "result", "a / b", "a", "b", "break;", "return result;", "result", "int a", "a", "String op", "op", "int b", "b", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")){break;}\n\n\t\t\tSystem.out.println(calc(a,op,b));\n\t\t}\n\t}\n\n\t/**\n\t * ?¨?????????????????????????????????????\n\t * @param a int ???\n\t * @param op String ?????????\n\t * @param b int ???\n\t * @return int?????§?¨???????????????????\n\t */\n\tprivate static int calc(int a,String op,int b){\n\t\tint result = 0;\n\n\t\t//op????????£?????????????????????\n\t\tswitch(op){\n\t\tcase \"+\":\n\t\t\tresult = a + b;\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tresult = a - b;\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tresult = a * b;\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tresult = a / b;\n\t\t\tbreak;\n\t\t}\n\t\treturn result;\n\t}\n\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\n\t\t\tif(op.equals(\"?\")){break;}\n\n\t\t\tSystem.out.println(calc(a,op,b));\n\t\t}\n\t}\n\n\t/**\n\t * ?¨?????????????????????????????????????\n\t * @param a int ???\n\t * @param op String ?????????\n\t * @param b int ???\n\t * @return int?????§?¨???????????????????\n\t */\n\tprivate static int calc(int a,String op,int b){\n\t\tint result = 0;\n\n\t\t//op????????£?????????????????????\n\t\tswitch(op){\n\t\tcase \"+\":\n\t\t\tresult = a + b;\n\t\t\tbreak;\n\t\tcase \"-\":\n\t\t\tresult = a - b;\n\t\t\tbreak;\n\t\tcase \"*\":\n\t\t\tresult = a * b;\n\t\t\tbreak;\n\t\tcase \"/\":\n\t\t\tresult = a / b;\n\t\t\tbreak;\n\t\t}\n\t\treturn result;\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); while(true){ int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); if(op.equals("?")){break;} System.out.println(calc(a,op,b)); } } /** * ?¨????????????????????????????????????? * @param a int ??? * @param op String ????????? * @param b int ??? * @return int?????§?¨??????????????????? */ private static int calc(int a,String op,int b){ int result = 0; //op????????£????????????????????? switch(op){ case "+": result = a + b; break; case "-": result = a - b; break; case "*": result = a * b; break; case "/": result = a / b; break; } return result; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 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 ], [ 23, 11 ], [ 23, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 12, 20 ], [ 20, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ] ]
[ "import java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.io.IOException;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n \n loop:\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \" , 3);\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[2]);\n\n switch(input[1]){\n case \"?\":\n break loop;\n case \"+\":\n System.out.println(a+b);\n break;\n case \"-\":\n System.out.println(a-b);\n break;\n case \"*\":\n System.out.println(a*b);\n break;\n case \"/\":\n System.out.println(a/b);\n break;\n }\n\n }\n\n }\n}", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n \n loop:\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \" , 3);\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[2]);\n\n switch(input[1]){\n case \"?\":\n break loop;\n case \"+\":\n System.out.println(a+b);\n break;\n case \"-\":\n System.out.println(a-b);\n break;\n case \"*\":\n System.out.println(a*b);\n break;\n case \"/\":\n System.out.println(a/b);\n break;\n }\n\n }\n\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n \n loop:\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \" , 3);\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[2]);\n\n switch(input[1]){\n case \"?\":\n break loop;\n case \"+\":\n System.out.println(a+b);\n break;\n case \"-\":\n System.out.println(a-b);\n break;\n case \"*\":\n System.out.println(a*b);\n break;\n case \"/\":\n System.out.println(a/b);\n break;\n }\n\n }\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n \n loop:\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \" , 3);\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[2]);\n\n switch(input[1]){\n case \"?\":\n break loop;\n case \"+\":\n System.out.println(a+b);\n break;\n case \"-\":\n System.out.println(a-b);\n break;\n case \"*\":\n System.out.println(a*b);\n break;\n case \"/\":\n System.out.println(a/b);\n break;\n }\n\n }\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "String[] args", "args", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n \n loop:\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \" , 3);\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[2]);\n\n switch(input[1]){\n case \"?\":\n break loop;\n case \"+\":\n System.out.println(a+b);\n break;\n case \"-\":\n System.out.println(a-b);\n break;\n case \"*\":\n System.out.println(a*b);\n break;\n case \"/\":\n System.out.println(a/b);\n break;\n }\n\n }\n\n }\n}", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n \n loop:\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \" , 3);\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[2]);\n\n switch(input[1]){\n case \"?\":\n break loop;\n case \"+\":\n System.out.println(a+b);\n break;\n case \"-\":\n System.out.println(a-b);\n break;\n case \"*\":\n System.out.println(a*b);\n break;\n case \"/\":\n System.out.println(a/b);\n break;\n }\n\n }\n\n }\n}", "Main" ]
import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.IOException; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; loop: while((line = br.readLine()) != null){ String[] input = line.split(" " , 3); int a = Integer.parseInt(input[0]); int b = Integer.parseInt(input[2]); switch(input[1]){ case "?": break loop; case "+": System.out.println(a+b); break; case "-": System.out.println(a-b); break; case "*": System.out.println(a*b); break; case "/": System.out.println(a/b); break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 20, 17, 42, 17, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 18, 13, 17, 17, 14, 2, 13, 17, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 35, 13, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 3, 29, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 127, 5 ], [ 127, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 27, 32 ], [ 24, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 24, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 24, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 24, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 24, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 67, 70 ], [ 67, 71 ], [ 6, 72 ], [ 72, 73 ], [ 127, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 84, 90 ], [ 80, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 93, 99 ], [ 80, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 105, 107 ], [ 102, 108 ], [ 80, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 111, 117 ], [ 76, 118 ], [ 118, 119 ], [ 74, 120 ], [ 120, 121 ], [ 74, 122 ], [ 122, 123 ], [ 74, 124 ], [ 124, 125 ], [ 0, 126 ], [ 126, 127 ], [ 126, 128 ] ]
[ "import java.io.*;\npublic class Main{\n\tpublic static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tchar ope;\n\t\tint a,b;\n\t\tString[] st=new String[3];\n\t\twhile(true){\n\t\tst=br.readLine().split(\" \");\n\t\ta=Integer.parseInt(st[0]);\n\t\tb=Integer.parseInt(st[2]);\n\t\tope=st[1].charAt(0);\n\t\tif(ope=='?')break;\n\t\tSystem.out.println(keisan(a,b,ope));}\n\t\t}\n\n\t\tstatic int keisan(int a,int b,char operator){\n\t\tint result=0;\n\t\tswitch(operator){\n\t\tcase '+':result=a+b;break;\n\t\tcase '-':result=a-b;break;\n\t\tcase '*':result=a*b;break;\n\t\tcase '/':result=a/b;break;\n\t\t}\n\t\treturn (int)result;\n\t\t}\n\t\t}\n\t\t", "import java.io.*;", "io.*", "java", "public class Main{\n\tpublic static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tchar ope;\n\t\tint a,b;\n\t\tString[] st=new String[3];\n\t\twhile(true){\n\t\tst=br.readLine().split(\" \");\n\t\ta=Integer.parseInt(st[0]);\n\t\tb=Integer.parseInt(st[2]);\n\t\tope=st[1].charAt(0);\n\t\tif(ope=='?')break;\n\t\tSystem.out.println(keisan(a,b,ope));}\n\t\t}\n\n\t\tstatic int keisan(int a,int b,char operator){\n\t\tint result=0;\n\t\tswitch(operator){\n\t\tcase '+':result=a+b;break;\n\t\tcase '-':result=a-b;break;\n\t\tcase '*':result=a*b;break;\n\t\tcase '/':result=a/b;break;\n\t\t}\n\t\treturn (int)result;\n\t\t}\n\t\t}", "Main", "public static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tchar ope;\n\t\tint a,b;\n\t\tString[] st=new String[3];\n\t\twhile(true){\n\t\tst=br.readLine().split(\" \");\n\t\ta=Integer.parseInt(st[0]);\n\t\tb=Integer.parseInt(st[2]);\n\t\tope=st[1].charAt(0);\n\t\tif(ope=='?')break;\n\t\tSystem.out.println(keisan(a,b,ope));}\n\t\t}", "main", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tchar ope;\n\t\tint a,b;\n\t\tString[] st=new String[3];\n\t\twhile(true){\n\t\tst=br.readLine().split(\" \");\n\t\ta=Integer.parseInt(st[0]);\n\t\tb=Integer.parseInt(st[2]);\n\t\tope=st[1].charAt(0);\n\t\tif(ope=='?')break;\n\t\tSystem.out.println(keisan(a,b,ope));}\n\t\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "char ope;", "ope", "int a", "a", "b;", "b", "String[] st=new String[3];", "st", "new String[3]", "3", "while(true){\n\t\tst=br.readLine().split(\" \");\n\t\ta=Integer.parseInt(st[0]);\n\t\tb=Integer.parseInt(st[2]);\n\t\tope=st[1].charAt(0);\n\t\tif(ope=='?')break;\n\t\tSystem.out.println(keisan(a,b,ope));}", "true", "{\n\t\tst=br.readLine().split(\" \");\n\t\ta=Integer.parseInt(st[0]);\n\t\tb=Integer.parseInt(st[2]);\n\t\tope=st[1].charAt(0);\n\t\tif(ope=='?')break;\n\t\tSystem.out.println(keisan(a,b,ope));}", "st=br.readLine().split(\" \")", "st", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "a=Integer.parseInt(st[0])", "a", "Integer.parseInt(st[0])", "Integer.parseInt", "Integer", "st[0]", "st", "0", "b=Integer.parseInt(st[2])", "b", "Integer.parseInt(st[2])", "Integer.parseInt", "Integer", "st[2]", "st", "2", "ope=st[1].charAt(0)", "ope", "st[1].charAt(0)", "st[1].charAt", "st[1]", "st", "1", "0", "if(ope=='?')break;", "ope=='?'", "ope", "'?'", "break;", "System.out.println(keisan(a,b,ope))", "System.out.println", "System.out", "System", "System.out", "keisan(a,b,ope)", "keisan", "a", "b", "ope", "String [] args", "args", "static int keisan(int a,int b,char operator){\n\t\tint result=0;\n\t\tswitch(operator){\n\t\tcase '+':result=a+b;break;\n\t\tcase '-':result=a-b;break;\n\t\tcase '*':result=a*b;break;\n\t\tcase '/':result=a/b;break;\n\t\t}\n\t\treturn (int)result;\n\t\t}", "keisan", "{\n\t\tint result=0;\n\t\tswitch(operator){\n\t\tcase '+':result=a+b;break;\n\t\tcase '-':result=a-b;break;\n\t\tcase '*':result=a*b;break;\n\t\tcase '/':result=a/b;break;\n\t\t}\n\t\treturn (int)result;\n\t\t}", "int result=0;", "result", "0", "switch(operator){\n\t\tcase '+':result=a+b;break;\n\t\tcase '-':result=a-b;break;\n\t\tcase '*':result=a*b;break;\n\t\tcase '/':result=a/b;break;\n\t\t}", "operator", "case '+':", "'+'", "case '+':", "result=a+b", "result", "a+b", "a", "b", "break;", "case '-':", "'-'", "case '-':", "result=a-b", "result", "a-b", "a", "b", "break;", "case '*':", "'*'", "case '*':", "result=a*b", "result", "a*b", "a", "b", "break;", "case '/':", "'/'", "case '/':", "result=a/b", "result", "a/b", "a", "b", "break;", "return (int)result;", "(int)result", "int a", "a", "int b", "b", "char operator", "operator", "public class Main{\n\tpublic static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tchar ope;\n\t\tint a,b;\n\t\tString[] st=new String[3];\n\t\twhile(true){\n\t\tst=br.readLine().split(\" \");\n\t\ta=Integer.parseInt(st[0]);\n\t\tb=Integer.parseInt(st[2]);\n\t\tope=st[1].charAt(0);\n\t\tif(ope=='?')break;\n\t\tSystem.out.println(keisan(a,b,ope));}\n\t\t}\n\n\t\tstatic int keisan(int a,int b,char operator){\n\t\tint result=0;\n\t\tswitch(operator){\n\t\tcase '+':result=a+b;break;\n\t\tcase '-':result=a-b;break;\n\t\tcase '*':result=a*b;break;\n\t\tcase '/':result=a/b;break;\n\t\t}\n\t\treturn (int)result;\n\t\t}\n\t\t}", "public class Main{\n\tpublic static void main(String [] args) throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tchar ope;\n\t\tint a,b;\n\t\tString[] st=new String[3];\n\t\twhile(true){\n\t\tst=br.readLine().split(\" \");\n\t\ta=Integer.parseInt(st[0]);\n\t\tb=Integer.parseInt(st[2]);\n\t\tope=st[1].charAt(0);\n\t\tif(ope=='?')break;\n\t\tSystem.out.println(keisan(a,b,ope));}\n\t\t}\n\n\t\tstatic int keisan(int a,int b,char operator){\n\t\tint result=0;\n\t\tswitch(operator){\n\t\tcase '+':result=a+b;break;\n\t\tcase '-':result=a-b;break;\n\t\tcase '*':result=a*b;break;\n\t\tcase '/':result=a/b;break;\n\t\t}\n\t\treturn (int)result;\n\t\t}\n\t\t}", "Main" ]
import java.io.*; public class Main{ public static void main(String [] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); char ope; int a,b; String[] st=new String[3]; while(true){ st=br.readLine().split(" "); a=Integer.parseInt(st[0]); b=Integer.parseInt(st[2]); ope=st[1].charAt(0); if(ope=='?')break; System.out.println(keisan(a,b,ope));} } static int keisan(int a,int b,char operator){ int result=0; switch(operator){ case '+':result=a+b;break; case '-':result=a-b;break; case '*':result=a*b;break; case '/':result=a/b;break; } return (int)result; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 4, 18, 18, 13, 13, 17, 8, 4, 18, 13, 17, 2, 13, 13, 8, 4, 18, 13, 17, 2, 13, 13, 8, 4, 18, 13, 17, 2, 13, 13, 2, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 81, 8 ], [ 81, 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 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 23, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 75, 77 ], [ 9, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "import java.util.Scanner;\nimport java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\twhile (true) {\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tSystem.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b );\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\twhile (true) {\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tSystem.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b );\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\twhile (true) {\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tSystem.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b );\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\twhile (true) {\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tSystem.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b );\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a", "a", "b;", "b", "String op;", "op", "while (true) {\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tSystem.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b );\n\t\t}", "true", "{\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tSystem.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b );\n\t\t}", "a = scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "op = scan.next()", "op", "scan.next()", "scan.next", "scan", "b = scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "if (op.equals(\"?\")) break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "System.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b )", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "a+b", "a", "b", "op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "a-b", "a", "b", "op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "a*b", "a", "b", "a/b", "a", "b", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\twhile (true) {\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tSystem.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b );\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a, b;\n\t\tString op;\n\n\t\twhile (true) {\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\n\t\t\tif (op.equals(\"?\")) break;\n\t\t\t\n\t\t\tSystem.out.printf(\"%d\\n\",\n\t\t\t\t op.equals(\"+\") ? a+b\n\t\t\t\t: op.equals(\"-\") ? a-b\n\t\t\t\t: op.equals(\"*\") ? a*b\n\t\t\t\t\t\t\t\t: a/b );\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; import java.io.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a, b; String op; while (true) { a = scan.nextInt(); op = scan.next(); b = scan.nextInt(); if (op.equals("?")) break; System.out.printf("%d\n", op.equals("+") ? a+b : op.equals("-") ? a-b : op.equals("*") ? a*b : a/b ); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 4, 18, 18, 13, 13, 17, 13, 23, 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 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 22, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 22, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 22, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 22, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 52, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 63, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 74, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 85, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 96, 101 ], [ 101, 102 ], [ 22, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 103, 109 ], [ 14, 110 ], [ 110, 111 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n\tprivate static int res;\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tString op = str[1];\n\t\t\tint b = Integer.parseInt(str[2]);\n\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tres = a + b;\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tres = a - b;\n\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d%n\", res);\n\t\t}\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\tprivate static int res;\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tString op = str[1];\n\t\t\tint b = Integer.parseInt(str[2]);\n\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tres = a + b;\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tres = a - b;\n\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d%n\", res);\n\t\t}\n\t}\n}", "Main", "private static int res;", "res", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tString op = str[1];\n\t\t\tint b = Integer.parseInt(str[2]);\n\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tres = a + b;\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tres = a - b;\n\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d%n\", res);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tString op = str[1];\n\t\t\tint b = Integer.parseInt(str[2]);\n\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tres = a + b;\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tres = a - b;\n\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d%n\", res);\n\t\t}\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tString op = str[1];\n\t\t\tint b = Integer.parseInt(str[2]);\n\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tres = a + b;\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tres = a - b;\n\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d%n\", res);\n\t\t}", "true", "{\n\t\t\tString[] str = in.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(str[0]);\n\t\t\tString op = str[1];\n\t\t\tint b = Integer.parseInt(str[2]);\n\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tres = a + b;\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tres = a - b;\n\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d%n\", res);\n\t\t}", "String[] str = in.readLine().split(\" \");", "str", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "int a = Integer.parseInt(str[0]);", "a", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "String op = str[1];", "op", "str[1]", "str", "1", "int b = Integer.parseInt(str[2]);", "b", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "if (op.equals(\"+\")) {\n\t\t\t\tres = a + b;\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tres = a - b;\n\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tres = a + b;\n\t\t\t}", "res = a + b", "res", "a + b", "a", "b", "if (op.equals(\"-\")) {\n\t\t\t\tres = a - b;\n\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tres = a - b;\n\t\t\t}", "res = a - b", "res", "a - b", "a", "b", "if (op.equals(\"*\")) {\n\t\t\t\tres = a * b;\n\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tres = a * b;\n\t\t\t}", "res = a * b", "res", "a * b", "a", "b", "if (op.equals(\"/\")) {\n\t\t\t\tres = a / b;\n\t\t\t} else if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tres = a / b;\n\t\t\t}", "res = a / b", "res", "a / b", "a", "b", "if (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "System.out.printf(\"%d%n\", res)", "System.out.printf", "System.out", "System", "System.out", "\"%d%n\"", "res", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ private static int res; public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); while (true) { String[] str = in.readLine().split(" "); int a = Integer.parseInt(str[0]); String op = str[1]; int b = Integer.parseInt(str[2]); if (op.equals("+")) { res = a + b; } else if (op.equals("-")) { res = a - b; } else if (op.equals("*")) { res = a * b; } else if (op.equals("/")) { res = a / b; } else if (op.equals("?")) { break; } System.out.printf("%d%n", res); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 14, 4, 18, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 124, 8 ], [ 124, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 28, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 28, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 28, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 28, 61 ], [ 61, 62 ], [ 61, 63 ], [ 28, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 64, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 71, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 71, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 82, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 82, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 93, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 104, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 28, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 9, 121 ], [ 121, 122 ], [ 0, 123 ], [ 123, 124 ], [ 123, 125 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }", "Main", "public static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }", "main", "{\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }", "try {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}", "catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}", "Exception e", "{\n\n\tSystem.out.println(\"????????????\");\n\t\n}", "System.out.println(\"????????????\")", "System.out.println", "System.out", "System", "System.out", "\"????????????\"", "{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}\n}", "BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));", "buf", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}", "true", "{\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}", "String input = buf.readLine();", "input", "buf.readLine()", "buf.readLine", "buf", "String[] strAry = input.split(\" \");", "strAry", "input.split(\" \")", "input.split", "input", "\" \"", "int a = Integer.parseInt(strAry[0]);", "a", "Integer.parseInt(strAry[0])", "Integer.parseInt", "Integer", "strAry[0]", "strAry", "0", "String b = strAry[1];", "b", "strAry[1]", "strAry", "1", "int c = Integer.parseInt(strAry[2]);", "c", "Integer.parseInt(strAry[2])", "Integer.parseInt", "Integer", "strAry[2]", "strAry", "2", "int opt =0;", "opt", "0", "if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }", "b.equals(\"?\")", "b.equals", "b", "\"?\"", "{\n \tbreak;\n }", "break;", "if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }", "b.equals(\"+\")", "b.equals", "b", "\"+\"", "{\n \topt =a + c;\n }", "opt =a + c", "opt", "a + c", "a", "c", "if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }", "b.equals(\"-\")", "b.equals", "b", "\"-\"", "{\n \topt = a - c;\n }", "opt = a - c", "opt", "a - c", "a", "c", "if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }", "b.equals(\"*\")", "b.equals", "b", "\"*\"", "{\n \topt = a * c;\n }", "opt = a * c", "opt", "a * c", "a", "c", "if(b.equals(\"/\")){\n \topt = a / c;\n }", "b.equals(\"/\")", "b.equals", "b", "\"/\"", "{\n \topt = a / c;\n }", "opt = a / c", "opt", "a / c", "a", "c", "System.out.println(opt)", "System.out.println", "System.out", "System", "System.out", "opt", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\n\twhile(true){\n\tString input = buf.readLine();\t\n\tString[] strAry = input.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n String b = strAry[1];\n int c = Integer.parseInt(strAry[2]);\n\t\n int opt =0;\n \n if(b.equals(\"?\")){\n \tbreak;\n }else if(b.equals(\"+\")){\n \topt =a + c;\n }else if(b.equals(\"-\")){\n \topt = a - c;\n }else if(b.equals(\"*\")){\n \topt = a * c;\n }else if(b.equals(\"/\")){\n \topt = a / c;\n }\n \t\n\tSystem.out.println(opt);\n \n\t}\n} catch (Exception e) {\n\n\tSystem.out.println(\"????????????\");\n\t\n}\n\t\t }\n }", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { try { BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); while(true){ String input = buf.readLine(); String[] strAry = input.split(" "); int a = Integer.parseInt(strAry[0]); String b = strAry[1]; int c = Integer.parseInt(strAry[2]); int opt =0; if(b.equals("?")){ break; }else if(b.equals("+")){ opt =a + c; }else if(b.equals("-")){ opt = a - c; }else if(b.equals("*")){ opt = a * c; }else if(b.equals("/")){ opt = a / c; } System.out.println(opt); } } catch (Exception e) { System.out.println("????????????"); } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 2, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 112, 2 ], [ 112, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 9, 11 ], [ 5, 12 ], [ 12, 13 ], [ 5, 14 ], [ 14, 15 ], [ 5, 16 ], [ 16, 17 ], [ 5, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 41, 42 ], [ 20, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 20, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 20, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 20, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 5, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 3, 109 ], [ 109, 110 ], [ 0, 111 ], [ 111, 112 ], [ 111, 113 ] ]
[ "public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint a;// = sc.nextInt();\n\t\tString op;// = sc.next();\n\t\tint b;// = sc.nextInt();\n\n\t\tdo {\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tif (op.equals(\"?\")) {break;}\n\t\t\tif (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}\n\t\t\tif (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}\n\t\t\tif (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}\n\t\t\tif (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}\n\t\t} while(true);\n\t\tSystem.out.print(sb);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint a;// = sc.nextInt();\n\t\tString op;// = sc.next();\n\t\tint b;// = sc.nextInt();\n\n\t\tdo {\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tif (op.equals(\"?\")) {break;}\n\t\t\tif (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}\n\t\t\tif (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}\n\t\t\tif (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}\n\t\t\tif (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}\n\t\t} while(true);\n\t\tSystem.out.print(sb);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint a;// = sc.nextInt();\n\t\tString op;// = sc.next();\n\t\tint b;// = sc.nextInt();\n\n\t\tdo {\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tif (op.equals(\"?\")) {break;}\n\t\t\tif (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}\n\t\t\tif (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}\n\t\t\tif (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}\n\t\t\tif (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}\n\t\t} while(true);\n\t\tSystem.out.print(sb);\n\t}", "main", "{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint a;// = sc.nextInt();\n\t\tString op;// = sc.next();\n\t\tint b;// = sc.nextInt();\n\n\t\tdo {\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tif (op.equals(\"?\")) {break;}\n\t\t\tif (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}\n\t\t\tif (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}\n\t\t\tif (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}\n\t\t\tif (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}\n\t\t} while(true);\n\t\tSystem.out.print(sb);\n\t}", "java.util.Scanner sc = new java.util.Scanner(System.in);", "sc", "new java.util.Scanner(System.in)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int a;", "a", "String op;", "op", "int b;", "b", "do {\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tif (op.equals(\"?\")) {break;}\n\t\t\tif (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}\n\t\t\tif (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}\n\t\t\tif (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}\n\t\t\tif (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}\n\t\t} while(true);", "true", "{\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tif (op.equals(\"?\")) {break;}\n\t\t\tif (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}\n\t\t\tif (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}\n\t\t\tif (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}\n\t\t\tif (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}\n\t\t}", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "if (op.equals(\"?\")) {break;}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{break;}", "break;", "if (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{sb.append(a+b).append(\"\\n\");}", "sb.append(a+b).append(\"\\n\")", "sb.append(a+b).append", "sb.append(a+b)", "sb.append", "sb", "a+b", "a", "b", "\"\\n\"", "if (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{sb.append(a-b).append(\"\\n\");}", "sb.append(a-b).append(\"\\n\")", "sb.append(a-b).append", "sb.append(a-b)", "sb.append", "sb", "a-b", "a", "b", "\"\\n\"", "if (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{sb.append(a*b).append(\"\\n\");}", "sb.append(a*b).append(\"\\n\")", "sb.append(a*b).append", "sb.append(a*b)", "sb.append", "sb", "a*b", "a", "b", "\"\\n\"", "if (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{sb.append(a/b).append(\"\\n\");}", "sb.append(a/b).append(\"\\n\")", "sb.append(a/b).append", "sb.append(a/b)", "sb.append", "sb", "a/b", "a", "b", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint a;// = sc.nextInt();\n\t\tString op;// = sc.next();\n\t\tint b;// = sc.nextInt();\n\n\t\tdo {\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tif (op.equals(\"?\")) {break;}\n\t\t\tif (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}\n\t\t\tif (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}\n\t\t\tif (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}\n\t\t\tif (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}\n\t\t} while(true);\n\t\tSystem.out.print(sb);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint a;// = sc.nextInt();\n\t\tString op;// = sc.next();\n\t\tint b;// = sc.nextInt();\n\n\t\tdo {\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tif (op.equals(\"?\")) {break;}\n\t\t\tif (op.equals(\"+\")) {sb.append(a+b).append(\"\\n\");}\n\t\t\tif (op.equals(\"-\")) {sb.append(a-b).append(\"\\n\");}\n\t\t\tif (op.equals(\"*\")) {sb.append(a*b).append(\"\\n\");}\n\t\t\tif (op.equals(\"/\")) {sb.append(a/b).append(\"\\n\");}\n\t\t} while(true);\n\t\tSystem.out.print(sb);\n\t}\n}", "Main" ]
public class Main { public static void main(String[] args) { java.util.Scanner sc = new java.util.Scanner(System.in); StringBuilder sb = new StringBuilder(); int a;// = sc.nextInt(); String op;// = sc.next(); int b;// = sc.nextInt(); do { a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); if (op.equals("?")) {break;} if (op.equals("+")) {sb.append(a+b).append("\n");} if (op.equals("-")) {sb.append(a-b).append("\n");} if (op.equals("*")) {sb.append(a*b).append("\n");} if (op.equals("/")) {sb.append(a/b).append("\n");} } while(true); System.out.print(sb); } }
[ 7, 15, 13, 17, 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, 20, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 0, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 4, 18, 13, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 3, 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 ], [ 154, 11 ], [ 154, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 14, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 33, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 33, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 33, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 33, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 80, 82 ], [ 72, 83 ], [ 66, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 98, 99 ], [ 98, 100 ], [ 90, 101 ], [ 84, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 116, 118 ], [ 108, 119 ], [ 102, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 120, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 134, 136 ], [ 126, 137 ], [ 120, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 138, 143 ], [ 143, 144 ], [ 14, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 12, 151 ], [ 151, 152 ], [ 0, 153 ], [ 153, 154 ], [ 153, 155 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray;\n int a , b;\n String op;\n String line;\n StringBuilder output = new StringBuilder();\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n op = strArray[1];\n a = Integer.parseInt(strArray[0]);\n b = Integer.parseInt(strArray[2]);\n if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }\n }\n System.out.print(output);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray;\n int a , b;\n String op;\n String line;\n StringBuilder output = new StringBuilder();\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n op = strArray[1];\n a = Integer.parseInt(strArray[0]);\n b = Integer.parseInt(strArray[2]);\n if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }\n }\n System.out.print(output);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray;\n int a , b;\n String op;\n String line;\n StringBuilder output = new StringBuilder();\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n op = strArray[1];\n a = Integer.parseInt(strArray[0]);\n b = Integer.parseInt(strArray[2]);\n if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }\n }\n System.out.print(output);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray;\n int a , b;\n String op;\n String line;\n StringBuilder output = new StringBuilder();\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n op = strArray[1];\n a = Integer.parseInt(strArray[0]);\n b = Integer.parseInt(strArray[2]);\n if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }\n }\n System.out.print(output);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] strArray;", "strArray", "int a", "a", "b;", "b", "String op;", "op", "String line;", "line", "StringBuilder output = new StringBuilder();", "output", "new StringBuilder()", "while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n op = strArray[1];\n a = Integer.parseInt(strArray[0]);\n b = Integer.parseInt(strArray[2]);\n if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }\n }", "true", "{\n line = br.readLine();\n strArray = line.split(\" \");\n op = strArray[1];\n a = Integer.parseInt(strArray[0]);\n b = Integer.parseInt(strArray[2]);\n if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }\n }", "line = br.readLine()", "line", "br.readLine()", "br.readLine", "br", "strArray = line.split(\" \")", "strArray", "line.split(\" \")", "line.split", "line", "\" \"", "op = strArray[1]", "op", "strArray[1]", "strArray", "1", "a = Integer.parseInt(strArray[0])", "a", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "b = Integer.parseInt(strArray[2])", "b", "Integer.parseInt(strArray[2])", "Integer.parseInt", "Integer", "strArray[2]", "strArray", "2", "if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }", "output.append(Integer.toString(a + b)).append(\"\\n\")", "output.append(Integer.toString(a + b)).append", "output.append(Integer.toString(a + b))", "output.append", "output", "Integer.toString(a + b)", "Integer.toString", "Integer", "a + b", "a", "b", "\"\\n\"", "if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }", "output.append(Integer.toString(a - b)).append(\"\\n\")", "output.append(Integer.toString(a - b)).append", "output.append(Integer.toString(a - b))", "output.append", "output", "Integer.toString(a - b)", "Integer.toString", "Integer", "a - b", "a", "b", "\"\\n\"", "if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }", "output.append(Integer.toString(a * b)).append(\"\\n\")", "output.append(Integer.toString(a * b)).append", "output.append(Integer.toString(a * b))", "output.append", "output", "Integer.toString(a * b)", "Integer.toString", "Integer", "a * b", "a", "b", "\"\\n\"", "if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }", "output.append(Integer.toString(a / b)).append(\"\\n\")", "output.append(Integer.toString(a / b)).append", "output.append(Integer.toString(a / b))", "output.append", "output", "Integer.toString(a / b)", "Integer.toString", "Integer", "a / b", "a", "b", "\"\\n\"", "if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "System.out.print(output)", "System.out.print", "System.out", "System", "System.out", "output", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray;\n int a , b;\n String op;\n String line;\n StringBuilder output = new StringBuilder();\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n op = strArray[1];\n a = Integer.parseInt(strArray[0]);\n b = Integer.parseInt(strArray[2]);\n if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }\n }\n System.out.print(output);\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strArray;\n int a , b;\n String op;\n String line;\n StringBuilder output = new StringBuilder();\n while (true) {\n line = br.readLine();\n strArray = line.split(\" \");\n op = strArray[1];\n a = Integer.parseInt(strArray[0]);\n b = Integer.parseInt(strArray[2]);\n if (op.equals(\"+\")) {\n output.append(Integer.toString(a + b)).append(\"\\n\");\n }\n else if (op.equals(\"-\")) {\n output.append(Integer.toString(a - b)).append(\"\\n\");\n }\n else if (op.equals(\"*\")) {\n output.append(Integer.toString(a * b)).append(\"\\n\");\n }\n else if (op.equals(\"/\")) {\n output.append(Integer.toString(a / b)).append(\"\\n\");\n }\n else if (op.equals(\"?\")) {\n break;\n }\n }\n System.out.print(output);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] strArray; int a , b; String op; String line; StringBuilder output = new StringBuilder(); while (true) { line = br.readLine(); strArray = line.split(" "); op = strArray[1]; a = Integer.parseInt(strArray[0]); b = Integer.parseInt(strArray[2]); if (op.equals("+")) { output.append(Integer.toString(a + b)).append("\n"); } else if (op.equals("-")) { output.append(Integer.toString(a - b)).append("\n"); } else if (op.equals("*")) { output.append(Integer.toString(a * b)).append("\n"); } else if (op.equals("/")) { output.append(Integer.toString(a / b)).append("\n"); } else if (op.equals("?")) { break; } } System.out.print(output); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 17, 13, 30, 3, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 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 ], [ 128, 8 ], [ 128, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 27, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 27, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 43, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 55, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 76, 78 ], [ 67, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 79, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 88, 90 ], [ 79, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 11, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 98, 108 ], [ 108, 109 ], [ 109, 110 ], [ 98, 111 ], [ 112, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 11, 122 ], [ 122, 123 ], [ 123, 124 ], [ 9, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intA;\n\t\tString strCulc = \"\";\n\t\tint intB;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(true){\n\t\t\tintA = scan.nextInt();\n\t\t\tstrCulc = scan.next();\n\t\t\tintB = scan.nextInt();\n\t\t\tif(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t\tscan.close();\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intA;\n\t\tString strCulc = \"\";\n\t\tint intB;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(true){\n\t\t\tintA = scan.nextInt();\n\t\t\tstrCulc = scan.next();\n\t\t\tintB = scan.nextInt();\n\t\t\tif(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intA;\n\t\tString strCulc = \"\";\n\t\tint intB;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(true){\n\t\t\tintA = scan.nextInt();\n\t\t\tstrCulc = scan.next();\n\t\t\tintB = scan.nextInt();\n\t\t\tif(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intA;\n\t\tString strCulc = \"\";\n\t\tint intB;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(true){\n\t\t\tintA = scan.nextInt();\n\t\t\tstrCulc = scan.next();\n\t\t\tintB = scan.nextInt();\n\t\t\tif(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int intA;", "intA", "String strCulc = \"\";", "strCulc", "\"\"", "int intB;", "intB", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "while(true){\n\t\t\tintA = scan.nextInt();\n\t\t\tstrCulc = scan.next();\n\t\t\tintB = scan.nextInt();\n\t\t\tif(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tintA = scan.nextInt();\n\t\t\tstrCulc = scan.next();\n\t\t\tintB = scan.nextInt();\n\t\t\tif(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "intA = scan.nextInt()", "intA", "scan.nextInt()", "scan.nextInt", "scan", "strCulc = scan.next()", "strCulc", "scan.next()", "scan.next", "scan", "intB = scan.nextInt()", "intB", "scan.nextInt()", "scan.nextInt", "scan", "if(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}", "\"+\".equals(strCulc)", "\"+\".equals", "\"+\"", "strCulc", "{\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}", "list.add(intA + intB)", "list.add", "list", "intA + intB", "intA", "intB", "if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}", "\"-\".equals(strCulc)", "\"-\".equals", "\"-\"", "strCulc", "{\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}", "list.add(intA - intB)", "list.add", "list", "intA - intB", "intA", "intB", "if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}", "\"*\".equals(strCulc)", "\"*\".equals", "\"*\"", "strCulc", "{\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}", "list.add(intA * intB)", "list.add", "list", "intA * intB", "intA", "intB", "if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}", "\"/\".equals(strCulc)", "\"/\".equals", "\"/\"", "strCulc", "{\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}", "list.add(intA / intB)", "list.add", "list", "intA / intB", "intA", "intB", "if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}", "\"?\".equals(strCulc)", "\"?\".equals", "\"?\"", "strCulc", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "for(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "System.out.println(list.get(i))", "System.out.println", "System.out", "System", "System.out", "list.get(i)", "list.get", "list", "i", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intA;\n\t\tString strCulc = \"\";\n\t\tint intB;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(true){\n\t\t\tintA = scan.nextInt();\n\t\t\tstrCulc = scan.next();\n\t\t\tintB = scan.nextInt();\n\t\t\tif(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t\tscan.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intA;\n\t\tString strCulc = \"\";\n\t\tint intB;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(true){\n\t\t\tintA = scan.nextInt();\n\t\t\tstrCulc = scan.next();\n\t\t\tintB = scan.nextInt();\n\t\t\tif(\"+\".equals(strCulc)){\n\t\t\t\tlist.add(intA + intB);\n\t\t\t}else if(\"-\".equals(strCulc)){\n\t\t\t\tlist.add(intA - intB);\n\t\t\t}else if(\"*\".equals(strCulc)){\n\t\t\t\tlist.add(intA * intB);\n\t\t\t}else if(\"/\".equals(strCulc)){\n\t\t\t\tlist.add(intA / intB);\n\t\t\t}else if(\"?\".equals(strCulc)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int intA; String strCulc = ""; int intB; ArrayList<Integer> list = new ArrayList<Integer>(); while(true){ intA = scan.nextInt(); strCulc = scan.next(); intB = scan.nextInt(); if("+".equals(strCulc)){ list.add(intA + intB); }else if("-".equals(strCulc)){ list.add(intA - intB); }else if("*".equals(strCulc)){ list.add(intA * intB); }else if("/".equals(strCulc)){ list.add(intA / intB); }else if("?".equals(strCulc)){ break; } } for(int i = 0; i < list.size(); i++){ System.out.println(list.get(i)); } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 3, 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 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 30, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 30, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 44, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 58, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 72, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 6, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n\n\n \twhile(true){\n \tint\ta=sc.nextInt();\n String op=sc.next();\n int b=sc.nextInt();\n \tif(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}\n \t}\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n\n\n \twhile(true){\n \tint\ta=sc.nextInt();\n String op=sc.next();\n int b=sc.nextInt();\n \tif(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}\n \t}\n }\n}", "Main", "public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n\n\n \twhile(true){\n \tint\ta=sc.nextInt();\n String op=sc.next();\n int b=sc.nextInt();\n \tif(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}\n \t}\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n\n\n \twhile(true){\n \tint\ta=sc.nextInt();\n String op=sc.next();\n int b=sc.nextInt();\n \tif(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}\n \t}\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n \tint\ta=sc.nextInt();\n String op=sc.next();\n int b=sc.nextInt();\n \tif(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}\n \t}", "true", "{\n \tint\ta=sc.nextInt();\n String op=sc.next();\n int b=sc.nextInt();\n \tif(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}\n \t}", "int\ta=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String op=sc.next();", "op", "sc.next()", "sc.next", "sc", "int b=sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n \tSystem.out.println(a+b);\n \t}", "System.out.println(a+b)", "System.out.println", "System.out", "System", "System.out", "a+b", "a", "b", "if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n \tSystem.out.println(a-b);\n \t}", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n System.out.println(a*b);\n \t}", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n System.out.println(a/b);\n \t}", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "if(op.equals(\"?\")){\n break;\n \t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n \t}", "break;", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n\n\n \twhile(true){\n \tint\ta=sc.nextInt();\n String op=sc.next();\n int b=sc.nextInt();\n \tif(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}\n \t}\n }\n}", "public class Main{\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n\n\n \twhile(true){\n \tint\ta=sc.nextInt();\n String op=sc.next();\n int b=sc.nextInt();\n \tif(op.equals(\"+\")){\n \tSystem.out.println(a+b);\n \t}else if(op.equals(\"-\")){\n \tSystem.out.println(a-b);\n \t}else if(op.equals(\"*\")){\n System.out.println(a*b);\n \t}else if(op.equals(\"/\")){\n System.out.println(a/b);\n \t}else if(op.equals(\"?\")){\n break;\n \t}\n \t}\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ int a=sc.nextInt(); String op=sc.next(); int b=sc.nextInt(); if(op.equals("+")){ System.out.println(a+b); }else if(op.equals("-")){ System.out.println(a-b); }else if(op.equals("*")){ System.out.println(a*b); }else if(op.equals("/")){ System.out.println(a/b); }else if(op.equals("?")){ break; } } } }