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, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 42, 17, 30, 41, 13, 41, 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, 18, 13, 17, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 120, 11 ], [ 120, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 32, 37 ], [ 27, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 27, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 27, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 27, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 65, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 78, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 91, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 104, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 12, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "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\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n int y , x;\n while (true)\n {\n String z;\n \tString[] list = br.readLine().split(\" \");\n \tx = Integer.parseInt(list[0]);\n \ty = Integer.parseInt(list[2]);\n \tz = list[1];\n \t\n \tif (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);\n \t\t\n }\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\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n int y , x;\n while (true)\n {\n String z;\n \tString[] list = br.readLine().split(\" \");\n \tx = Integer.parseInt(list[0]);\n \ty = Integer.parseInt(list[2]);\n \tz = list[1];\n \t\n \tif (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);\n \t\t\n }\t\n\t}\n\n}", "Main", "public static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n int y , x;\n while (true)\n {\n String z;\n \tString[] list = br.readLine().split(\" \");\n \tx = Integer.parseInt(list[0]);\n \ty = Integer.parseInt(list[2]);\n \tz = list[1];\n \t\n \tif (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);\n \t\t\n }\t\n\t}", "main", "{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n int y , x;\n while (true)\n {\n String z;\n \tString[] list = br.readLine().split(\" \");\n \tx = Integer.parseInt(list[0]);\n \ty = Integer.parseInt(list[2]);\n \tz = list[1];\n \t\n \tif (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);\n \t\t\n }\t\n\t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "int y", "y", "x;", "x", "while (true)\n {\n String z;\n \tString[] list = br.readLine().split(\" \");\n \tx = Integer.parseInt(list[0]);\n \ty = Integer.parseInt(list[2]);\n \tz = list[1];\n \t\n \tif (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);\n \t\t\n }", "true", "{\n String z;\n \tString[] list = br.readLine().split(\" \");\n \tx = Integer.parseInt(list[0]);\n \ty = Integer.parseInt(list[2]);\n \tz = list[1];\n \t\n \tif (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);\n \t\t\n }", "String z;", "z", "String[] list = br.readLine().split(\" \");", "list", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "x = Integer.parseInt(list[0])", "x", "Integer.parseInt(list[0])", "Integer.parseInt", "Integer", "list[0]", "list", "0", "y = Integer.parseInt(list[2])", "y", "Integer.parseInt(list[2])", "Integer.parseInt", "Integer", "list[2]", "list", "2", "z = list[1]", "z", "list[1]", "list", "1", "if (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);", "z.equals(\"?\")", "z.equals", "z", "\"?\"", "break;", "if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);", "z.equals(\"+\")", "z.equals", "z", "\"+\"", "System.out.println(x + y)", "System.out.println", "System.out", "System", "System.out", "x + y", "x", "y", "if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);", "z.equals(\"-\")", "z.equals", "z", "\"-\"", "System.out.println(x - y)", "System.out.println", "System.out", "System", "System.out", "x - y", "x", "y", "if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);", "z.equals(\"*\")", "z.equals", "z", "\"*\"", "System.out.println(x * y)", "System.out.println", "System.out", "System", "System.out", "x * y", "x", "y", "if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);", "z.equals(\"/\")", "z.equals", "z", "\"/\"", "System.out.println(x / y)", "System.out.println", "System.out", "System", "System.out", "x / y", "x", "y", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n int y , x;\n while (true)\n {\n String z;\n \tString[] list = br.readLine().split(\" \");\n \tx = Integer.parseInt(list[0]);\n \ty = Integer.parseInt(list[2]);\n \tz = list[1];\n \t\n \tif (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);\n \t\t\n }\t\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n int y , x;\n while (true)\n {\n String z;\n \tString[] list = br.readLine().split(\" \");\n \tx = Integer.parseInt(list[0]);\n \ty = Integer.parseInt(list[2]);\n \tz = list[1];\n \t\n \tif (z.equals(\"?\"))\n \t\tbreak;\n \telse if (z.equals(\"+\"))\n \t\tSystem.out.println(x + y);\n \telse if (z.equals(\"-\"))\n \t\tSystem.out.println(x - y);\n \telse if (z.equals(\"*\"))\n \t\tSystem.out.println(x * y);\n \telse if (z.equals(\"/\"))\n \t\tSystem.out.println(x / y);\n \t\t\n }\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{ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); int y , x; while (true) { String z; String[] list = br.readLine().split(" "); x = Integer.parseInt(list[0]); y = Integer.parseInt(list[2]); z = list[1]; if (z.equals("?")) break; else if (z.equals("+")) System.out.println(x + y); else if (z.equals("-")) System.out.println(x - y); else if (z.equals("*")) System.out.println(x * y); else if (z.equals("/")) System.out.println(x / y); } } }
[ 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, 13, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 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, 14, 4, 18, 13, 17, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 134, 14 ], [ 134, 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 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 23, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 23, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 51, 52 ], [ 23, 53 ], [ 53, 54 ], [ 53, 55 ], [ 23, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 56, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 78, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 73, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 95, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 90, 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 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 107, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 124, 129 ], [ 129, 130 ], [ 15, 131 ], [ 131, 132 ], [ 0, 133 ], [ 133, 134 ], [ 133, 135 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tString op = st.nextToken();\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\tint ans =0;\n\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\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.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tString op = st.nextToken();\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\tint ans =0;\n\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else 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) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tString op = st.nextToken();\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\tint ans =0;\n\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tString op = st.nextToken();\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\tint ans =0;\n\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"?\")){\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 str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tString op = st.nextToken();\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\tint ans =0;\n\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tString op = st.nextToken();\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\tint ans =0;\n\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "StringTokenizer st = new StringTokenizer(str, \" \");", "st", "new StringTokenizer(str, \" \")", "int a = Integer.parseInt(st.nextToken());", "a", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "String op = st.nextToken();", "op", "st.nextToken()", "st.nextToken", "st", "int b = Integer.parseInt(st.nextToken());", "b", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "int ans =0;", "ans", "0", "if(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\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\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(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\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\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(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\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\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(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\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\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(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\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tString op = st.nextToken();\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\tint ans =0;\n\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\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\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tStringTokenizer st = new StringTokenizer(str, \" \");\n\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\tString op = st.nextToken();\n\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\tint ans =0;\n\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tans = a / b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String str = br.readLine(); StringTokenizer st = new StringTokenizer(str, " "); int a = Integer.parseInt(st.nextToken()); String op = st.nextToken(); int b = Integer.parseInt(st.nextToken()); int ans =0; if(op.equals("+")){ ans = a + b; System.out.println(ans); }else if(op.equals("-")){ ans = a - b; System.out.println(ans); }else if(op.equals("*")){ ans = a * b; System.out.println(ans); }else if(op.equals("/")){ ans = a / b; System.out.println(ans); }else if(op.equals("?")){ break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 4, 18, 13, 17, 14, 2, 18, 13, 13, 17, 3, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 3, 14, 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, 34, 17, 1, 3, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 173, 5 ], [ 173, 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 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 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 ], [ 50, 51 ], [ 51, 52 ], [ 48, 53 ], [ 36, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 54, 60 ], [ 36, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 68, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 81, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 111, 113 ], [ 101, 114 ], [ 95, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 127, 129 ], [ 117, 130 ], [ 95, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 143, 145 ], [ 133, 146 ], [ 95, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 159, 161 ], [ 149, 162 ], [ 95, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 8, 167 ], [ 167, 168 ], [ 168, 169 ], [ 6, 170 ], [ 170, 171 ], [ 0, 172 ], [ 172, 173 ], [ 172, 174 ] ]
[ "import java.util.Scanner;\n\t\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[20000];\n\t\tint[] b = new int[20000];\n\t\tchar[] op = new char[20000];\n\t\t\n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }\n\t\t \n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }\n\t\tsc.close();\n\t\t\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[20000];\n\t\tint[] b = new int[20000];\n\t\tchar[] op = new char[20000];\n\t\t\n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }\n\t\t \n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }\n\t\tsc.close();\n\t\t\n }\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[20000];\n\t\tint[] b = new int[20000];\n\t\tchar[] op = new char[20000];\n\t\t\n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }\n\t\t \n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }\n\t\tsc.close();\n\t\t\n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[20000];\n\t\tint[] b = new int[20000];\n\t\tchar[] op = new char[20000];\n\t\t\n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }\n\t\t \n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }\n\t\tsc.close();\n\t\t\n }", "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", "char[] op = new char[20000];", "op", "new char[20000]", "20000", "for(int i = 0; i <20000; i++) {\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }", "int i = 0;", "int i = 0;", "i", "0", "i <20000", "i", "20000", "i++", "i++", "i", "{\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }", "{\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }", "a[i] = sc.nextInt()", "a[i]", "a", "i", "sc.nextInt()", "sc.nextInt", "sc", "op[i] = sc.next().charAt(0)", "op[i]", "op", "i", "sc.next().charAt(0)", "sc.next().charAt", "sc.next()", "sc.next", "sc", "0", "if(op[i] == '?') break;", "op[i] == '?'", "op[i]", "op", "i", "'?'", "break;", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i <20000; i++) {\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }", "int i = 0;", "int i = 0;", "i", "0", "i <20000", "i", "20000", "i++", "i++", "i", "{\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }", "{\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }", "if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }", "op[i] == '?'", "op[i]", "op", "i", "'?'", "break;", "if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }", "op[i] != '?'", "op[i]", "op", "i", "'?'", "{ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }", "switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }", "op[i]", "op", "i", "case '+' :", "'+'", "case '+' :", "System.out.println( a[i]+b[i])", "System.out.println", "System.out", "System", "System.out", "a[i]+b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "break;", "case '-' :", "'-'", "case '-' :", "System.out.println( a[i]-b[i])", "System.out.println", "System.out", "System", "System.out", "a[i]-b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "break;", "case '*' :", "'*'", "case '*' :", "System.out.println( a[i]*b[i])", "System.out.println", "System.out", "System", "System.out", "a[i]*b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "break;", "case '/' :", "'/'", "case '/' :", "System.out.println( a[i]/b[i])", "System.out.println", "System.out", "System", "System.out", "a[i]/b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "break;", "case '?' :", "'?'", "case '?' :", "break;", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[20000];\n\t\tint[] b = new int[20000];\n\t\tchar[] op = new char[20000];\n\t\t\n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }\n\t\t \n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }\n\t\tsc.close();\n\t\t\n }\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[20000];\n\t\tint[] b = new int[20000];\n\t\tchar[] op = new char[20000];\n\t\t\n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t\n\t\t\t a[i] = sc.nextInt();\n\t\t\t op[i] = sc.next().charAt(0);\n\t\t\t if(op[i] == '?') break;\n\t\t\t b[i] = sc.nextInt();\n\t\t\t\n\t\t\t\n\t\t }\n\t\t \n\t\t for(int i = 0; i <20000; i++) {\n\t\t\t if(op[i] == '?') break; \n\t\t\t \n\t\t\t else if(op[i] != '?'){ \n\t\t\t\t switch(op[i]) {\n\t\t\t\t case '+' : System.out.println( a[i]+b[i]);\n\t\t\t\t break;\n\t\t\t\t case '-' : System.out.println( a[i]-b[i]);\n\t\t\t\t break;\n\t\t\t\t case '*' : System.out.println( a[i]*b[i]);\n\t\t\t\t break;\n\t\t\t\t case '/' : System.out.println( a[i]/b[i]);\n\t\t\t\t break;\n\t\t\t\t case '?' : break;\n\t\t\t\t }\n\t\t\t }\n\t\t\t \n\t\t }\n\t\tsc.close();\n\t\t\n }\n\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]; char[] op = new char[20000]; for(int i = 0; i <20000; i++) { a[i] = sc.nextInt(); op[i] = sc.next().charAt(0); if(op[i] == '?') break; b[i] = sc.nextInt(); } for(int i = 0; i <20000; i++) { if(op[i] == '?') break; else if(op[i] != '?'){ switch(op[i]) { case '+' : System.out.println( a[i]+b[i]); break; case '-' : System.out.println( a[i]-b[i]); break; case '*' : System.out.println( a[i]*b[i]); break; case '/' : System.out.println( a[i]/b[i]); break; case '?' : break; } } } sc.close(); } }
[ 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, 13, 17, 30, 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, 14, 4, 18, 13, 17, 30, 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 ], [ 102, 8 ], [ 102, 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 ], [ 11, 96 ], [ 96, 97 ], [ 97, 98 ], [ 9, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.text.DecimalFormat;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true) {\n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n if(op.equals(\"?\")){\n break;\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 System.out.println(a / b);\n }\n }\n sc.close();\n }\n}", "import java.text.DecimalFormat;", "DecimalFormat", "java.text", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true) {\n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n if(op.equals(\"?\")){\n break;\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 System.out.println(a / b);\n }\n }\n sc.close();\n }\n}", "Main", "public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true) {\n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n if(op.equals(\"?\")){\n break;\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 System.out.println(a / b);\n }\n }\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n while(true) {\n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n if(op.equals(\"?\")){\n break;\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 System.out.println(a / b);\n }\n }\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true) {\n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n if(op.equals(\"?\")){\n break;\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 System.out.println(a / b);\n }\n }", "true", "{\n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n if(op.equals(\"?\")){\n break;\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 System.out.println(a / b);\n }\n }", "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 break;\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 System.out.println(a / b);\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "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 }", "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 }", "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 }", "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 }", "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", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true) {\n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n if(op.equals(\"?\")){\n break;\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 System.out.println(a / b);\n }\n }\n sc.close();\n }\n}", "public class Main {\n public static void main(String[] args) throws java.io.IOException{\n Scanner sc = new Scanner(System.in);\n while(true) {\n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n if(op.equals(\"?\")){\n break;\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 System.out.println(a / b);\n }\n }\n sc.close();\n }\n}", "Main" ]
import java.text.DecimalFormat; import java.util.*; public class Main { public static void main(String[] args) throws java.io.IOException{ Scanner sc = new Scanner(System.in); while(true) { int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); if(op.equals("?")){ break; }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); } } sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 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 ], [ 48, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 57, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 57, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 73, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 73, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 89, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 89, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 105, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 105, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 121, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 14, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 12, 143 ], [ 143, 144 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nclass Main{\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\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[2]);\n\t\t\tif( line[1].equals(\"?\") ){\n\t\t\t\tbreak;\n\t\t\t}else if( line[1].equals(\"+\") ){\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "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\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[2]);\n\t\t\tif( line[1].equals(\"?\") ){\n\t\t\t\tbreak;\n\t\t\t}else if( line[1].equals(\"+\") ){\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\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\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[2]);\n\t\t\tif( line[1].equals(\"?\") ){\n\t\t\t\tbreak;\n\t\t\t}else if( line[1].equals(\"+\") ){\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[2]);\n\t\t\tif( line[1].equals(\"?\") ){\n\t\t\t\tbreak;\n\t\t\t}else if( line[1].equals(\"+\") ){\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "while(true){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[2]);\n\t\t\tif( line[1].equals(\"?\") ){\n\t\t\t\tbreak;\n\t\t\t}else if( line[1].equals(\"+\") ){\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[2]);\n\t\t\tif( line[1].equals(\"?\") ){\n\t\t\t\tbreak;\n\t\t\t}else if( line[1].equals(\"+\") ){\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}\n\t\t}", "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\t\t\t\tbreak;\n\t\t\t}else if( line[1].equals(\"+\") ){\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}", "line[1].equals(\"?\")", "line[1].equals", "line[1]", "line", "1", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if( line[1].equals(\"+\") ){\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}", "line[1].equals(\"+\")", "line[1].equals", "line[1]", "line", "1", "\"+\"", "{\n\t\t\t\tsb.append((a + b)+\"\\n\");\n\t\t\t}", "sb.append((a + b)+\"\\n\")", "sb.append", "sb", "(a + b)+\"\\n\"", "(a + b)", "a", "b", "\"\\n\"", "if( line[1].equals(\"-\") ){\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}", "line[1].equals(\"-\")", "line[1].equals", "line[1]", "line", "1", "\"-\"", "{\n\t\t\t\tsb.append((a - b)+\"\\n\");\n\t\t\t}", "sb.append((a - b)+\"\\n\")", "sb.append", "sb", "(a - b)+\"\\n\"", "(a - b)", "a", "b", "\"\\n\"", "if( line[1].equals(\"*\") ){\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}", "line[1].equals(\"*\")", "line[1].equals", "line[1]", "line", "1", "\"*\"", "{\n\t\t\t\tsb.append((a * b)+\"\\n\");\n\t\t\t}", "sb.append((a * b)+\"\\n\")", "sb.append", "sb", "(a * b)+\"\\n\"", "(a * b)", "a", "b", "\"\\n\"", "if( line[1].equals(\"/\") ){\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}else if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}", "line[1].equals(\"/\")", "line[1].equals", "line[1]", "line", "1", "\"/\"", "{\n\t\t\t\tsb.append((a / b)+\"\\n\");\n\t\t\t}", "sb.append((a / b)+\"\\n\")", "sb.append", "sb", "(a / b)+\"\\n\"", "(a / b)", "a", "b", "\"\\n\"", "if( line[1].equals(\"%\") ){\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}", "line[1].equals(\"%\")", "line[1].equals", "line[1]", "line", "1", "\"%\"", "{\n\t\t\t\tsb.append((a % b)+\"\\n\");\n\t\t\t}", "sb.append((a % b)+\"\\n\")", "sb.append", "sb", "(a % b)+\"\\n\"", "(a % b)", "a", "b", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); while(true){ String[] line = br.readLine().split(" "); int a = Integer.parseInt(line[0]); int b = Integer.parseInt(line[2]); if( line[1].equals("?") ){ break; }else if( line[1].equals("+") ){ sb.append((a + b)+"\n"); }else if( line[1].equals("-") ){ sb.append((a - b)+"\n"); }else if( line[1].equals("*") ){ sb.append((a * b)+"\n"); }else if( line[1].equals("/") ){ sb.append((a / b)+"\n"); }else if( line[1].equals("%") ){ sb.append((a % b)+"\n"); } } System.out.print(sb); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 41, 13, 17, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 18, 13, 17, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 2, 13, 17, 30, 3, 35, 13, 34, 17, 1, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 2, 13, 13, 3, 0, 13, 13, 40, 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 ], [ 152, 11 ], [ 152, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 15, 19 ], [ 19, 20 ], [ 19, 21 ], [ 15, 22 ], [ 22, 23 ], [ 22, 24 ], [ 15, 25 ], [ 25, 26 ], [ 25, 27 ], [ 15, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 33, 38 ], [ 30, 39 ], [ 39, 40 ], [ 39, 41 ], [ 30, 42 ], [ 42, 43 ], [ 42, 44 ], [ 30, 45 ], [ 45, 46 ], [ 45, 47 ], [ 30, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 30, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 30, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 30, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 30, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 86, 87 ], [ 86, 88 ], [ 82, 89 ], [ 78, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 92, 99 ], [ 78, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 102, 109 ], [ 78, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 116, 118 ], [ 112, 119 ], [ 30, 120 ], [ 120, 121 ], [ 120, 122 ], [ 30, 123 ], [ 123, 124 ], [ 15, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 125, 135 ], [ 135, 136 ], [ 136, 137 ], [ 125, 138 ], [ 139, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 12, 149 ], [ 149, 150 ], [ 0, 151 ], [ 151, 152 ], [ 151, 153 ] ]
[ "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\t{\n\t\t\tScanner stdin = new Scanner(System.in);\n\t\t\tList<Integer> result = new ArrayList<>();\n\t\t\tint i = 0, count = 0;\n\t\t\twhile (true) {\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tfor (int j = 0; j < result.size(); j++) {\n\t\t\t\tSystem.out.println(result.get(j));\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\n\tpublic static void main(String[] args) {\n\t\t{\n\t\t\tScanner stdin = new Scanner(System.in);\n\t\t\tList<Integer> result = new ArrayList<>();\n\t\t\tint i = 0, count = 0;\n\t\t\twhile (true) {\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tfor (int j = 0; j < result.size(); j++) {\n\t\t\t\tSystem.out.println(result.get(j));\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t{\n\t\t\tScanner stdin = new Scanner(System.in);\n\t\t\tList<Integer> result = new ArrayList<>();\n\t\t\tint i = 0, count = 0;\n\t\t\twhile (true) {\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tfor (int j = 0; j < result.size(); j++) {\n\t\t\t\tSystem.out.println(result.get(j));\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t{\n\t\t\tScanner stdin = new Scanner(System.in);\n\t\t\tList<Integer> result = new ArrayList<>();\n\t\t\tint i = 0, count = 0;\n\t\t\twhile (true) {\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tfor (int j = 0; j < result.size(); j++) {\n\t\t\t\tSystem.out.println(result.get(j));\n\t\t\t}\n\t\t}\n\t}", "{\n\t\t\tScanner stdin = new Scanner(System.in);\n\t\t\tList<Integer> result = new ArrayList<>();\n\t\t\tint i = 0, count = 0;\n\t\t\twhile (true) {\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tfor (int j = 0; j < result.size(); j++) {\n\t\t\t\tSystem.out.println(result.get(j));\n\t\t\t}\n\t\t}", "Scanner stdin = new Scanner(System.in);", "stdin", "new Scanner(System.in)", "List<Integer> result = new ArrayList<>();", "result", "new ArrayList<>()", "int i = 0", "i", "0", "count = 0;", "count", "0", "while (true) {\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}", "true", "{\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}", "String[] input = stdin.nextLine().split(\" \");", "input", "stdin.nextLine().split(\" \")", "stdin.nextLine().split", "stdin.nextLine()", "stdin.nextLine", "stdin", "\" \"", "int a = 0;", "a", "0", "int b = 0;", "b", "0", "char operation = 0;", "operation", "0", "a = Integer.parseInt(input[0])", "a", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "operation = input[1].charAt(0)", "operation", "input[1].charAt(0)", "input[1].charAt", "input[1]", "input", "1", "0", "b = Integer.parseInt(input[2])", "b", "Integer.parseInt(input[2])", "Integer.parseInt", "Integer", "input[2]", "input", "2", "if (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}", "operation == '?'", "operation", "'?'", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "switch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}", "operation", "case '+':", "'+'", "case '+':", "result.add(a + b)", "result.add", "result", "a + b", "a", "b", "break;", "case '-':", "'-'", "case '-':", "result.add(a - b)", "result.add", "result", "a - b", "a", "b", "break;", "case '*':", "'*'", "case '*':", "result.add(a * b)", "result.add", "result", "a * b", "a", "b", "break;", "case '/':", "'/'", "case '/':", "result.add(a / b)", "result.add", "result", "a / b", "a", "b", "break;", "count = i", "count", "i", "i++", "i", "for (int j = 0; j < result.size(); j++) {\n\t\t\t\tSystem.out.println(result.get(j));\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < result.size()", "j", "result.size()", "result.size", "result", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.println(result.get(j));\n\t\t\t}", "{\n\t\t\t\tSystem.out.println(result.get(j));\n\t\t\t}", "System.out.println(result.get(j))", "System.out.println", "System.out", "System", "System.out", "result.get(j)", "result.get", "result", "j", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t{\n\t\t\tScanner stdin = new Scanner(System.in);\n\t\t\tList<Integer> result = new ArrayList<>();\n\t\t\tint i = 0, count = 0;\n\t\t\twhile (true) {\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tfor (int j = 0; j < result.size(); j++) {\n\t\t\t\tSystem.out.println(result.get(j));\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t{\n\t\t\tScanner stdin = new Scanner(System.in);\n\t\t\tList<Integer> result = new ArrayList<>();\n\t\t\tint i = 0, count = 0;\n\t\t\twhile (true) {\n\t\t\t\tString[] input = stdin.nextLine().split(\" \");\n\t\t\t\tint a = 0;\n\t\t\t\tint b = 0;\n\t\t\t\tchar operation = 0;\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t operation = input[1].charAt(0);\n\t\t\t b = Integer.parseInt(input[2]);\n\t\t\t\tif (operation == '?') {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tswitch (operation) {\n\t\t\t\tcase '+':\n\t\t\t\t\tresult.add(a + b);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase '-':\n\t\t\t\t\tresult.add(a - b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '*':\n\t\t\t\t\tresult.add(a * b);\n\t\t\t\t\tbreak;\n\t\t\t\tcase '/':\n\t\t\t\t\tresult.add(a / b);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcount = i;\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tfor (int j = 0; j < result.size(); j++) {\n\t\t\t\tSystem.out.println(result.get(j));\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> result = new ArrayList<>(); int i = 0, count = 0; while (true) { String[] input = stdin.nextLine().split(" "); int a = 0; int b = 0; char operation = 0; a = Integer.parseInt(input[0]); operation = input[1].charAt(0); b = Integer.parseInt(input[2]); if (operation == '?') { break; } switch (operation) { case '+': result.add(a + b); break; case '-': result.add(a - b); break; case '*': result.add(a * b); break; case '/': result.add(a / b); break; } count = i; i++; } for (int j = 0; j < result.size(); j++) { System.out.println(result.get(j)); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 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, 3, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 2, 13, 13, 2, 13, 13, 30, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 2, 13, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 2, 13, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 2, 13, 13, 17, 14, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 2, 13, 13, 17, 23, 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 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 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 ], [ 23, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 69, 71 ], [ 56, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 73, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 86, 86 ], [ 86, 87 ], [ 86, 88 ], [ 86, 89 ], [ 73, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 90, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 90, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 107, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 107, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 124, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 9, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int MAX=20000;\n int MIN=0;\n \n while(true){\n String[] data=reader.readLine().split(\" \");\n final int a=Integer.parseInt(data[0]);\n final int b=Integer.parseInt(data[2]);\n \n if(data[1].equals(\"?\")) break;\n \n if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\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 BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int MAX=20000;\n int MIN=0;\n \n while(true){\n String[] data=reader.readLine().split(\" \");\n final int a=Integer.parseInt(data[0]);\n final int b=Integer.parseInt(data[2]);\n \n if(data[1].equals(\"?\")) break;\n \n if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int MAX=20000;\n int MIN=0;\n \n while(true){\n String[] data=reader.readLine().split(\" \");\n final int a=Integer.parseInt(data[0]);\n final int b=Integer.parseInt(data[2]);\n \n if(data[1].equals(\"?\")) break;\n \n if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }\n }\n }", "main", "{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int MAX=20000;\n int MIN=0;\n \n while(true){\n String[] data=reader.readLine().split(\" \");\n final int a=Integer.parseInt(data[0]);\n final int b=Integer.parseInt(data[2]);\n \n if(data[1].equals(\"?\")) break;\n \n if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }\n }\n }", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "int MAX=20000;", "MAX", "20000", "int MIN=0;", "MIN", "0", "while(true){\n String[] data=reader.readLine().split(\" \");\n final int a=Integer.parseInt(data[0]);\n final int b=Integer.parseInt(data[2]);\n \n if(data[1].equals(\"?\")) break;\n \n if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }\n }", "true", "{\n String[] data=reader.readLine().split(\" \");\n final int a=Integer.parseInt(data[0]);\n final int b=Integer.parseInt(data[2]);\n \n if(data[1].equals(\"?\")) break;\n \n if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }\n }", "String[] data=reader.readLine().split(\" \");", "data", "reader.readLine().split(\" \")", "reader.readLine().split", "reader.readLine()", "reader.readLine", "reader", "\" \"", "final int a=Integer.parseInt(data[0]);", "a", "Integer.parseInt(data[0])", "Integer.parseInt", "Integer", "data[0]", "data", "0", "final int b=Integer.parseInt(data[2]);", "b", "Integer.parseInt(data[2])", "Integer.parseInt", "Integer", "data[2]", "data", "2", "if(data[1].equals(\"?\")) break;", "data[1].equals(\"?\")", "data[1].equals", "data[1]", "data", "1", "\"?\"", "break;", "if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }", "(MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)", "(MIN<=a && a<=MAX)", "MIN<=a", "MIN", "a", "a<=MAX", "a", "MAX", "(MIN<=b && b<=MAX)", "MIN<=b", "MIN", "b", "b<=MAX", "b", "MAX", "{\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }", "if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");", "data[1].equals(\"+\")", "data[1].equals", "data[1]", "data", "1", "\"+\"", "System.out.print(a+b+\"\\n\")", "System.out.print", "System.out", "System", "System.out", "a+b+\"\\n\"", "a+b+\"\\n\"", "a", "b", "\"\\n\"", "if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");", "data[1].equals(\"-\")", "data[1].equals", "data[1]", "data", "1", "\"-\"", "System.out.print(a-b+\"\\n\")", "System.out.print", "System.out", "System", "System.out", "a-b+\"\\n\"", "a-b", "a", "b", "\"\\n\"", "if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");", "data[1].equals(\"*\")", "data[1].equals", "data[1]", "data", "1", "\"*\"", "System.out.print(a*b+\"\\n\")", "System.out.print", "System.out", "System", "System.out", "a*b+\"\\n\"", "a*b", "a", "b", "\"\\n\"", "if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");", "data[1].equals(\"/\")", "data[1].equals", "data[1]", "data", "1", "\"/\"", "System.out.print(a/b+\"\\n\")", "System.out.print", "System.out", "System", "System.out", "a/b+\"\\n\"", "a/b", "a", "b", "\"\\n\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int MAX=20000;\n int MIN=0;\n \n while(true){\n String[] data=reader.readLine().split(\" \");\n final int a=Integer.parseInt(data[0]);\n final int b=Integer.parseInt(data[2]);\n \n if(data[1].equals(\"?\")) break;\n \n if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int MAX=20000;\n int MIN=0;\n \n while(true){\n String[] data=reader.readLine().split(\" \");\n final int a=Integer.parseInt(data[0]);\n final int b=Integer.parseInt(data[2]);\n \n if(data[1].equals(\"?\")) break;\n \n if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){\n if(data[1].equals(\"+\")) System.out.print(a+b+\"\\n\");\n else if(data[1].equals(\"-\")) System.out.print(a-b+\"\\n\");\n else if(data[1].equals(\"*\")) System.out.print(a*b+\"\\n\");\n else if(data[1].equals(\"/\")) System.out.print(a/b+\"\\n\");\n }\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int MAX=20000; int MIN=0; while(true){ String[] data=reader.readLine().split(" "); final int a=Integer.parseInt(data[0]); final int b=Integer.parseInt(data[2]); if(data[1].equals("?")) break; if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){ if(data[1].equals("+")) System.out.print(a+b+"\n"); else if(data[1].equals("-")) System.out.print(a-b+"\n"); else if(data[1].equals("*")) System.out.print(a*b+"\n"); else if(data[1].equals("/")) System.out.print(a/b+"\n"); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 42, 17, 30, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 2, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 3, 11, 1, 41, 13, 17, 2, 13, 2, 4, 18, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 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, 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, 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 ], [ 171, 11 ], [ 171, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 32, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 39, 43 ], [ 27, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 27, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 50, 57 ], [ 57, 58 ], [ 14, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 66, 70 ], [ 59, 71 ], [ 71, 72 ], [ 72, 73 ], [ 59, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 75, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 75, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 93, 95 ], [ 75, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 75, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 104, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 117, 118 ], [ 117, 119 ], [ 75, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 120, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 75, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 136, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 149, 150 ], [ 149, 151 ], [ 75, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 152, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 12, 168 ], [ 168, 169 ], [ 0, 170 ], [ 170, 171 ], [ 170, 172 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<String> array = new ArrayList<String>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\twhile(true) {\n\t\t\tarray.add(br.readLine());\n\t\t\tString s = array.get(array.size() - 1);\n\t\t\tString[] ary = s.split(\" \");\n\t\t if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size() - 1; i++) {\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<String> array = new ArrayList<String>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\twhile(true) {\n\t\t\tarray.add(br.readLine());\n\t\t\tString s = array.get(array.size() - 1);\n\t\t\tString[] ary = s.split(\" \");\n\t\t if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size() - 1; i++) {\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}\n\n\t}\n}", "Main", "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<String> array = new ArrayList<String>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\twhile(true) {\n\t\t\tarray.add(br.readLine());\n\t\t\tString s = array.get(array.size() - 1);\n\t\t\tString[] ary = s.split(\" \");\n\t\t if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size() - 1; i++) {\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}\n\n\t}", "main", "{\n\t\tArrayList<String> array = new ArrayList<String>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\twhile(true) {\n\t\t\tarray.add(br.readLine());\n\t\t\tString s = array.get(array.size() - 1);\n\t\t\tString[] ary = s.split(\" \");\n\t\t if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size() - 1; i++) {\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}\n\n\t}", "ArrayList<String> array = new ArrayList<String>();", "array", "new ArrayList<String>()", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int a", "a", "b;", "b", "while(true) {\n\t\t\tarray.add(br.readLine());\n\t\t\tString s = array.get(array.size() - 1);\n\t\t\tString[] ary = s.split(\" \");\n\t\t if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }\n\t\t}", "true", "{\n\t\t\tarray.add(br.readLine());\n\t\t\tString s = array.get(array.size() - 1);\n\t\t\tString[] ary = s.split(\" \");\n\t\t if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }\n\t\t}", "array.add(br.readLine())", "array.add", "array", "br.readLine()", "br.readLine", "br", "String s = array.get(array.size() - 1);", "s", "array.get(array.size() - 1)", "array.get", "array", "array.size() - 1", "array.size()", "array.size", "array", "1", "String[] ary = s.split(\" \");", "ary", "s.split(\" \")", "s.split", "s", "\" \"", "if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }", "ary[1].equals(\"?\")", "ary[1].equals", "ary[1]", "ary", "1", "\"?\"", "{\n\t\t \tbreak;\n\t\t }", "break;", "for(int i = 0; i < array.size() - 1; i++) {\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < array.size() - 1", "i", "array.size() - 1", "array.size()", "array.size", "array", "1", "i++", "i++", "i", "{\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}", "{\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}", "String s = array.get(i);", "s", "array.get(i)", "array.get", "array", "i", "String[] ary = s.split(\" \");", "ary", "s.split(\" \")", "s.split", "s", "\" \"", "a = Integer.parseInt(ary[0])", "a", "Integer.parseInt(ary[0])", "Integer.parseInt", "Integer", "ary[0]", "ary", "0", "b = Integer.parseInt(ary[2])", "b", "Integer.parseInt(ary[2])", "Integer.parseInt", "Integer", "ary[2]", "ary", "2", "if(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}", "ary[1].equals(\"+\")", "ary[1].equals", "ary[1]", "ary", "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(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}", "ary[1].equals(\"-\")", "ary[1].equals", "ary[1]", "ary", "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(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}", "ary[1].equals(\"*\")", "ary[1].equals", "ary[1]", "ary", "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(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}", "ary[1].equals(\"/\")", "ary[1].equals", "ary[1]", "ary", "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", "String[] args", "args", "public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<String> array = new ArrayList<String>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\twhile(true) {\n\t\t\tarray.add(br.readLine());\n\t\t\tString s = array.get(array.size() - 1);\n\t\t\tString[] ary = s.split(\" \");\n\t\t if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size() - 1; i++) {\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}\n\n\t}\n}", "public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tArrayList<String> array = new ArrayList<String>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a, b;\n\t\twhile(true) {\n\t\t\tarray.add(br.readLine());\n\t\t\tString s = array.get(array.size() - 1);\n\t\t\tString[] ary = s.split(\" \");\n\t\t if(ary[1].equals(\"?\")) {\n\t\t \tbreak;\n\t\t }\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < array.size() - 1; i++) {\n\t\t\tString s = array.get(i);\n\t\t\tString[] ary = s.split(\" \");\n\t\t\ta = Integer.parseInt(ary[0]);\n\t\t\tb = Integer.parseInt(ary[2]);\n\t\t\tif(ary[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}\n\t\t\tif(ary[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}\n\t\t}\n\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main (String[] args) throws java.lang.Exception { ArrayList<String> array = new ArrayList<String>(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int a, b; while(true) { array.add(br.readLine()); String s = array.get(array.size() - 1); String[] ary = s.split(" "); if(ary[1].equals("?")) { break; } } for(int i = 0; i < array.size() - 1; i++) { String s = array.get(i); String[] ary = s.split(" "); a = Integer.parseInt(ary[0]); b = Integer.parseInt(ary[2]); if(ary[1].equals("+")) { System.out.println(a + b); } if(ary[1].equals("-")) { System.out.println(a - b); } if(ary[1].equals("*")) { System.out.println(a * b); } if(ary[1].equals("/")) { System.out.println(a / b); } } } }
[ 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, 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, 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 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//???????????°???\n\t\t\tint intA = sc.nextInt();\n\t\t\t//??????\n\t\t\tString strOp = sc.next();\n\t\t\t//???????????°???\n\t\t\tint intB = sc.nextInt();\n\t\t\t//?????¶strOp????????????????¨????\n\t\t\tif(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\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\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//???????????°???\n\t\t\tint intA = sc.nextInt();\n\t\t\t//??????\n\t\t\tString strOp = sc.next();\n\t\t\t//???????????°???\n\t\t\tint intB = sc.nextInt();\n\t\t\t//?????¶strOp????????????????¨????\n\t\t\tif(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//???????????°???\n\t\t\tint intA = sc.nextInt();\n\t\t\t//??????\n\t\t\tString strOp = sc.next();\n\t\t\t//???????????°???\n\t\t\tint intB = sc.nextInt();\n\t\t\t//?????¶strOp????????????????¨????\n\t\t\tif(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//???????????°???\n\t\t\tint intA = sc.nextInt();\n\t\t\t//??????\n\t\t\tString strOp = sc.next();\n\t\t\t//???????????°???\n\t\t\tint intB = sc.nextInt();\n\t\t\t//?????¶strOp????????????????¨????\n\t\t\tif(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\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\t//???????????°???\n\t\t\tint intA = sc.nextInt();\n\t\t\t//??????\n\t\t\tString strOp = sc.next();\n\t\t\t//???????????°???\n\t\t\tint intB = sc.nextInt();\n\t\t\t//?????¶strOp????????????????¨????\n\t\t\tif(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\t//???????????°???\n\t\t\tint intA = sc.nextInt();\n\t\t\t//??????\n\t\t\tString strOp = sc.next();\n\t\t\t//???????????°???\n\t\t\tint intB = sc.nextInt();\n\t\t\t//?????¶strOp????????????????¨????\n\t\t\tif(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int intA = sc.nextInt();", "intA", "sc.nextInt()", "sc.nextInt", "sc", "String strOp = sc.next();", "strOp", "sc.next()", "sc.next", "sc", "int intB = sc.nextInt();", "intB", "sc.nextInt()", "sc.nextInt", "sc", "if(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}", "\"+\".equals (strOp)", "\"+\".equals", "\"+\"", "strOp", "{\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}", "System.out.println(intA + intB)", "System.out.println", "System.out", "System", "System.out", "intA + intB", "intA", "intB", "if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}", "\"-\".equals (strOp)", "\"-\".equals", "\"-\"", "strOp", "{\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}", "System.out.println(intA - intB)", "System.out.println", "System.out", "System", "System.out", "intA - intB", "intA", "intB", "if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}", "\"*\".equals (strOp)", "\"*\".equals", "\"*\"", "strOp", "{\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}", "System.out.println(intA * intB)", "System.out.println", "System.out", "System", "System.out", "intA * intB", "intA", "intB", "if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}", "\"/\".equals (strOp)", "\"/\".equals", "\"/\"", "strOp", "{\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}", "System.out.println(intA / intB)", "System.out.println", "System.out", "System", "System.out", "intA / intB", "intA", "intB", "if(\"?\".equals(strOp)){\n\t\t\t\tbreak;\n\t\t\t}", "\"?\".equals(strOp)", "\"?\".equals", "\"?\"", "strOp", "{\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\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//???????????°???\n\t\t\tint intA = sc.nextInt();\n\t\t\t//??????\n\t\t\tString strOp = sc.next();\n\t\t\t//???????????°???\n\t\t\tint intB = sc.nextInt();\n\t\t\t//?????¶strOp????????????????¨????\n\t\t\tif(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\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\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//???????????°???\n\t\t\tint intA = sc.nextInt();\n\t\t\t//??????\n\t\t\tString strOp = sc.next();\n\t\t\t//???????????°???\n\t\t\tint intB = sc.nextInt();\n\t\t\t//?????¶strOp????????????????¨????\n\t\t\tif(\"+\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA + intB);\n\t\t\t}else if(\"-\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA - intB);\n\t\t\t}else if(\"*\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA * intB);\n\t\t\t}else if(\"/\".equals (strOp)){\n\t\t\t\tSystem.out.println(intA / intB);\n\t\t\t}else if(\"?\".equals(strOp)){\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(true){ //???????????°??? int intA = sc.nextInt(); //?????? String strOp = sc.next(); //???????????°??? int intB = sc.nextInt(); //?????¶strOp????????????????¨???? if("+".equals (strOp)){ System.out.println(intA + intB); }else if("-".equals (strOp)){ System.out.println(intA - intB); }else if("*".equals (strOp)){ System.out.println(intA * intB); }else if("/".equals (strOp)){ System.out.println(intA / intB); }else if("?".equals(strOp)){ break; } } } }
[ 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, 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 ], [ 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 ], [ 14, 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 ], [ 14, 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 ], [ 14, 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 ], [ 14, 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 ], [ 6, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] srgs) {\n\n Scanner sc = new Scanner(System.in); // ??????????????????????????????.\n\n // ?????????????????? int ?????¨??????????????\\???????????????.\n // ??????????????????????????? 0 ????????????.\n while (true) {\n int x = sc.nextInt();\n String op = sc.next();\n int y = sc.nextInt();\n if (op.equals(\"?\")) { break; }\n if (op.equals(\"+\")) { System.out.println(x + y); }\n if (op.equals(\"-\")) { System.out.println(x - y); }\n if (op.equals(\"*\")) { System.out.println(x * y); }\n if (op.equals(\"/\")) { System.out.println(x / y); }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] srgs) {\n\n Scanner sc = new Scanner(System.in); // ??????????????????????????????.\n\n // ?????????????????? int ?????¨??????????????\\???????????????.\n // ??????????????????????????? 0 ????????????.\n while (true) {\n int x = sc.nextInt();\n String op = sc.next();\n int y = sc.nextInt();\n if (op.equals(\"?\")) { break; }\n if (op.equals(\"+\")) { System.out.println(x + y); }\n if (op.equals(\"-\")) { System.out.println(x - y); }\n if (op.equals(\"*\")) { System.out.println(x * y); }\n if (op.equals(\"/\")) { System.out.println(x / y); }\n }\n }\n}", "Main", "public static void main(String[] srgs) {\n\n Scanner sc = new Scanner(System.in); // ??????????????????????????????.\n\n // ?????????????????? int ?????¨??????????????\\???????????????.\n // ??????????????????????????? 0 ????????????.\n while (true) {\n int x = sc.nextInt();\n String op = sc.next();\n int y = sc.nextInt();\n if (op.equals(\"?\")) { break; }\n if (op.equals(\"+\")) { System.out.println(x + y); }\n if (op.equals(\"-\")) { System.out.println(x - y); }\n if (op.equals(\"*\")) { System.out.println(x * y); }\n if (op.equals(\"/\")) { System.out.println(x / y); }\n }\n }", "main", "{\n\n Scanner sc = new Scanner(System.in); // ??????????????????????????????.\n\n // ?????????????????? int ?????¨??????????????\\???????????????.\n // ??????????????????????????? 0 ????????????.\n while (true) {\n int x = sc.nextInt();\n String op = sc.next();\n int y = sc.nextInt();\n if (op.equals(\"?\")) { break; }\n if (op.equals(\"+\")) { System.out.println(x + y); }\n if (op.equals(\"-\")) { System.out.println(x - y); }\n if (op.equals(\"*\")) { System.out.println(x * y); }\n if (op.equals(\"/\")) { System.out.println(x / y); }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n int x = sc.nextInt();\n String op = sc.next();\n int y = sc.nextInt();\n if (op.equals(\"?\")) { break; }\n if (op.equals(\"+\")) { System.out.println(x + y); }\n if (op.equals(\"-\")) { System.out.println(x - y); }\n if (op.equals(\"*\")) { System.out.println(x * y); }\n if (op.equals(\"/\")) { System.out.println(x / y); }\n }", "true", "{\n int x = sc.nextInt();\n String op = sc.next();\n int y = sc.nextInt();\n if (op.equals(\"?\")) { break; }\n if (op.equals(\"+\")) { System.out.println(x + y); }\n if (op.equals(\"-\")) { System.out.println(x - y); }\n if (op.equals(\"*\")) { System.out.println(x * y); }\n if (op.equals(\"/\")) { System.out.println(x / y); }\n }", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "String op = sc.next();", "op", "sc.next()", "sc.next", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if (op.equals(\"?\")) { break; }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{ break; }", "break;", "if (op.equals(\"+\")) { System.out.println(x + y); }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{ System.out.println(x + y); }", "System.out.println(x + y)", "System.out.println", "System.out", "System", "System.out", "x + y", "x", "y", "if (op.equals(\"-\")) { System.out.println(x - y); }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{ System.out.println(x - y); }", "System.out.println(x - y)", "System.out.println", "System.out", "System", "System.out", "x - y", "x", "y", "if (op.equals(\"*\")) { System.out.println(x * y); }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{ System.out.println(x * y); }", "System.out.println(x * y)", "System.out.println", "System.out", "System", "System.out", "x * y", "x", "y", "if (op.equals(\"/\")) { System.out.println(x / y); }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{ System.out.println(x / y); }", "System.out.println(x / y)", "System.out.println", "System.out", "System", "System.out", "x / y", "x", "y", "String[] srgs", "srgs", "public class Main {\n public static void main(String[] srgs) {\n\n Scanner sc = new Scanner(System.in); // ??????????????????????????????.\n\n // ?????????????????? int ?????¨??????????????\\???????????????.\n // ??????????????????????????? 0 ????????????.\n while (true) {\n int x = sc.nextInt();\n String op = sc.next();\n int y = sc.nextInt();\n if (op.equals(\"?\")) { break; }\n if (op.equals(\"+\")) { System.out.println(x + y); }\n if (op.equals(\"-\")) { System.out.println(x - y); }\n if (op.equals(\"*\")) { System.out.println(x * y); }\n if (op.equals(\"/\")) { System.out.println(x / y); }\n }\n }\n}", "public class Main {\n public static void main(String[] srgs) {\n\n Scanner sc = new Scanner(System.in); // ??????????????????????????????.\n\n // ?????????????????? int ?????¨??????????????\\???????????????.\n // ??????????????????????????? 0 ????????????.\n while (true) {\n int x = sc.nextInt();\n String op = sc.next();\n int y = sc.nextInt();\n if (op.equals(\"?\")) { break; }\n if (op.equals(\"+\")) { System.out.println(x + y); }\n if (op.equals(\"-\")) { System.out.println(x - y); }\n if (op.equals(\"*\")) { System.out.println(x * y); }\n if (op.equals(\"/\")) { System.out.println(x / y); }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] srgs) { Scanner sc = new Scanner(System.in); // ??????????????????????????????. // ?????????????????? int ?????¨??????????????\???????????????. // ??????????????????????????? 0 ????????????. while (true) { int x = sc.nextInt(); String op = sc.next(); int y = sc.nextInt(); if (op.equals("?")) { break; } if (op.equals("+")) { System.out.println(x + y); } if (op.equals("-")) { System.out.println(x - y); } if (op.equals("*")) { System.out.println(x * y); } if (op.equals("/")) { System.out.println(x / y); } } } }
[ 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, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 3, 14, 2, 2, 17, 13, 2, 13, 17, 30, 14, 2, 2, 17, 13, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 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 ], [ 22, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 72, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 85, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 98, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 6, 124 ], [ 124, 125 ] ]
[ "\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n //スキャナーでa(整数) op(文字) b(整数) の式を読み取る\n\t\twhile(true){\n\t\t String s1 = sc.next();\n\t\t int a = Integer.parseInt(s1);\n\t\t String sop = sc.next();\n\t\t char op = sop.charAt(0);\n\t\t String s2 = sc.next(); \n\t\t int b = Integer.parseInt(s2);\n\t\t \n //文字に?が入ったらプログラムが終了する\n\t\t if(op == '?'){\n\t\t \tbreak;\n\t\t }\n\t\t if(0 <= a && a <= 20000){\n\t\t \tif(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}\n\t\t }\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String args[]){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n //スキャナーでa(整数) op(文字) b(整数) の式を読み取る\n\t\twhile(true){\n\t\t String s1 = sc.next();\n\t\t int a = Integer.parseInt(s1);\n\t\t String sop = sc.next();\n\t\t char op = sop.charAt(0);\n\t\t String s2 = sc.next(); \n\t\t int b = Integer.parseInt(s2);\n\t\t \n //文字に?が入ったらプログラムが終了する\n\t\t if(op == '?'){\n\t\t \tbreak;\n\t\t }\n\t\t if(0 <= a && a <= 20000){\n\t\t \tif(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}\n\t\t }\n\t\t}\n\t}\n\n}", "Main", "public static void main(String args[]){\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n //スキャナーでa(整数) op(文字) b(整数) の式を読み取る\n\t\twhile(true){\n\t\t String s1 = sc.next();\n\t\t int a = Integer.parseInt(s1);\n\t\t String sop = sc.next();\n\t\t char op = sop.charAt(0);\n\t\t String s2 = sc.next(); \n\t\t int b = Integer.parseInt(s2);\n\t\t \n //文字に?が入ったらプログラムが終了する\n\t\t if(op == '?'){\n\t\t \tbreak;\n\t\t }\n\t\t if(0 <= a && a <= 20000){\n\t\t \tif(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}\n\t\t }\n\t\t}\n\t}", "main", "{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n //スキャナーでa(整数) op(文字) b(整数) の式を読み取る\n\t\twhile(true){\n\t\t String s1 = sc.next();\n\t\t int a = Integer.parseInt(s1);\n\t\t String sop = sc.next();\n\t\t char op = sop.charAt(0);\n\t\t String s2 = sc.next(); \n\t\t int b = Integer.parseInt(s2);\n\t\t \n //文字に?が入ったらプログラムが終了する\n\t\t if(op == '?'){\n\t\t \tbreak;\n\t\t }\n\t\t if(0 <= a && a <= 20000){\n\t\t \tif(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}\n\t\t }\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n\t\t String s1 = sc.next();\n\t\t int a = Integer.parseInt(s1);\n\t\t String sop = sc.next();\n\t\t char op = sop.charAt(0);\n\t\t String s2 = sc.next(); \n\t\t int b = Integer.parseInt(s2);\n\t\t \n //文字に?が入ったらプログラムが終了する\n\t\t if(op == '?'){\n\t\t \tbreak;\n\t\t }\n\t\t if(0 <= a && a <= 20000){\n\t\t \tif(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}\n\t\t }\n\t\t}", "true", "{\n\t\t String s1 = sc.next();\n\t\t int a = Integer.parseInt(s1);\n\t\t String sop = sc.next();\n\t\t char op = sop.charAt(0);\n\t\t String s2 = sc.next(); \n\t\t int b = Integer.parseInt(s2);\n\t\t \n //文字に?が入ったらプログラムが終了する\n\t\t if(op == '?'){\n\t\t \tbreak;\n\t\t }\n\t\t if(0 <= a && a <= 20000){\n\t\t \tif(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}\n\t\t }\n\t\t}", "String s1 = sc.next();", "s1", "sc.next()", "sc.next", "sc", "int a = Integer.parseInt(s1);", "a", "Integer.parseInt(s1)", "Integer.parseInt", "Integer", "s1", "String sop = sc.next();", "sop", "sc.next()", "sc.next", "sc", "char op = sop.charAt(0);", "op", "sop.charAt(0)", "sop.charAt", "sop", "0", "String s2 = sc.next();", "s2", "sc.next()", "sc.next", "sc", "int b = Integer.parseInt(s2);", "b", "Integer.parseInt(s2)", "Integer.parseInt", "Integer", "s2", "if(op == '?'){\n\t\t \tbreak;\n\t\t }", "op == '?'", "op", "'?'", "{\n\t\t \tbreak;\n\t\t }", "break;", "if(0 <= a && a <= 20000){\n\t\t \tif(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}\n\t\t }", "0 <= a && a <= 20000", "0 <= a", "0", "a", "a <= 20000", "a", "20000", "{\n\t\t \tif(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}\n\t\t }", "if(0 <= b && b <= 20000){\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}", "0 <= b && b <= 20000", "0 <= b", "0", "b", "b <= 20000", "b", "20000", "{\n\t\t \t\t\n //文字により処理を変え、計算結果を表示する\n\t\t \t\tif(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}\n\t\t \t}", "if(op == '+'){\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}\n\t\t \t\telse if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}", "op == '+'", "op", "'+'", "{\n\t\t \t\t\tSystem.out.println(a + b);\n\t\t \t\t}", "System.out.println(a + b)", "System.out.println", "System.out", "System", "System.out", "a + b", "a", "b", "if(op == '-'){\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}\n\t\t \t\telse if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}", "op == '-'", "op", "'-'", "{\n\t\t \t\t\tSystem.out.println(a - b);\n\t\t \t\t}", "System.out.println(a - b)", "System.out.println", "System.out", "System", "System.out", "a - b", "a", "b", "if(op == '*'){\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}\n\t\t \t\telse if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}", "op == '*'", "op", "'*'", "{\n\t\t \t\t\tSystem.out.println(a * b);\n\t\t \t\t}", "System.out.println(a * b)", "System.out.println", "System.out", "System", "System.out", "a * b", "a", "b", "if(op == '/'){\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}", "op == '/'", "op", "'/'", "{\n\t\t \t\t\tSystem.out.println(a / b);\n\t\t \t\t}", "System.out.println(a / b)", "System.out.println", "System.out", "System", "System.out", "a / b", "a", "b", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner sc = new Scanner(System.in); //スキャナーでa(整数) op(文字) b(整数) の式を読み取る while(true){ String s1 = sc.next(); int a = Integer.parseInt(s1); String sop = sc.next(); char op = sop.charAt(0); String s2 = sc.next(); int b = Integer.parseInt(s2); //文字に?が入ったらプログラムが終了する if(op == '?'){ break; } if(0 <= a && a <= 20000){ if(0 <= b && b <= 20000){ //文字により処理を変え、計算結果を表示する if(op == '+'){ System.out.println(a + b); } else if(op == '-'){ System.out.println(a - b); } else if(op == '*'){ System.out.println(a * b); } else if(op == '/'){ System.out.println(a / b); } } } } } }
[ 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, 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 ], [ 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 ], [ 14, 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 ], [ 14, 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 ], [ 14, 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 ], [ 14, 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 ], [ 6, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main (String[] args)throws java.lang.Exception{\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n String d = scanner.next();\n int b = scanner.nextInt();\n if(d.equals(\"?\")){\n break;\n }\n if(d.equals(\"+\")){\n System.out.println(a+b);\n }\n if(d.equals(\"-\")){\n System.out.println(a-b);\n }\n if(d.equals(\"*\")){\n System.out.println(a*b);\n }\n if(d.equals (\"/\")){\n System.out.println(a/b);\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main (String[] args)throws java.lang.Exception{\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n String d = scanner.next();\n int b = scanner.nextInt();\n if(d.equals(\"?\")){\n break;\n }\n if(d.equals(\"+\")){\n System.out.println(a+b);\n }\n if(d.equals(\"-\")){\n System.out.println(a-b);\n }\n if(d.equals(\"*\")){\n System.out.println(a*b);\n }\n if(d.equals (\"/\")){\n System.out.println(a/b);\n }\n }\n }\n}", "Main", "public static void main (String[] args)throws java.lang.Exception{\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n String d = scanner.next();\n int b = scanner.nextInt();\n if(d.equals(\"?\")){\n break;\n }\n if(d.equals(\"+\")){\n System.out.println(a+b);\n }\n if(d.equals(\"-\")){\n System.out.println(a-b);\n }\n if(d.equals(\"*\")){\n System.out.println(a*b);\n }\n if(d.equals (\"/\")){\n System.out.println(a/b);\n }\n }\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n String d = scanner.next();\n int b = scanner.nextInt();\n if(d.equals(\"?\")){\n break;\n }\n if(d.equals(\"+\")){\n System.out.println(a+b);\n }\n if(d.equals(\"-\")){\n System.out.println(a-b);\n }\n if(d.equals(\"*\")){\n System.out.println(a*b);\n }\n if(d.equals (\"/\")){\n System.out.println(a/b);\n }\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "while(true){\n int a = scanner.nextInt();\n String d = scanner.next();\n int b = scanner.nextInt();\n if(d.equals(\"?\")){\n break;\n }\n if(d.equals(\"+\")){\n System.out.println(a+b);\n }\n if(d.equals(\"-\")){\n System.out.println(a-b);\n }\n if(d.equals(\"*\")){\n System.out.println(a*b);\n }\n if(d.equals (\"/\")){\n System.out.println(a/b);\n }\n }", "true", "{\n int a = scanner.nextInt();\n String d = scanner.next();\n int b = scanner.nextInt();\n if(d.equals(\"?\")){\n break;\n }\n if(d.equals(\"+\")){\n System.out.println(a+b);\n }\n if(d.equals(\"-\")){\n System.out.println(a-b);\n }\n if(d.equals(\"*\")){\n System.out.println(a*b);\n }\n if(d.equals (\"/\")){\n System.out.println(a/b);\n }\n }", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "String d = scanner.next();", "d", "scanner.next()", "scanner.next", "scanner", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(d.equals(\"?\")){\n break;\n }", "d.equals(\"?\")", "d.equals", "d", "\"?\"", "{\n break;\n }", "break;", "if(d.equals(\"+\")){\n System.out.println(a+b);\n }", "d.equals(\"+\")", "d.equals", "d", "\"+\"", "{\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(d.equals(\"-\")){\n System.out.println(a-b);\n }", "d.equals(\"-\")", "d.equals", "d", "\"-\"", "{\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(d.equals(\"*\")){\n System.out.println(a*b);\n }", "d.equals(\"*\")", "d.equals", "d", "\"*\"", "{\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(d.equals (\"/\")){\n System.out.println(a/b);\n }", "d.equals (\"/\")", "d.equals", "d", "\"/\"", "{\n System.out.println(a/b);\n }", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "String[] args", "args", "public class Main{\n public static void main (String[] args)throws java.lang.Exception{\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n String d = scanner.next();\n int b = scanner.nextInt();\n if(d.equals(\"?\")){\n break;\n }\n if(d.equals(\"+\")){\n System.out.println(a+b);\n }\n if(d.equals(\"-\")){\n System.out.println(a-b);\n }\n if(d.equals(\"*\")){\n System.out.println(a*b);\n }\n if(d.equals (\"/\")){\n System.out.println(a/b);\n }\n }\n }\n}", "public class Main{\n public static void main (String[] args)throws java.lang.Exception{\n Scanner scanner = new Scanner(System.in);\n while(true){\n int a = scanner.nextInt();\n String d = scanner.next();\n int b = scanner.nextInt();\n if(d.equals(\"?\")){\n break;\n }\n if(d.equals(\"+\")){\n System.out.println(a+b);\n }\n if(d.equals(\"-\")){\n System.out.println(a-b);\n }\n if(d.equals(\"*\")){\n System.out.println(a*b);\n }\n if(d.equals (\"/\")){\n System.out.println(a/b);\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main (String[] args)throws java.lang.Exception{ Scanner scanner = new Scanner(System.in); while(true){ int a = scanner.nextInt(); String d = scanner.next(); int b = scanner.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, 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, 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 ]
[ [ 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 ], [ 30, 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 ], [ 6, 93 ], [ 93, 94 ] ]
[ "/** 2つの整数 a, b と1つの演算子 op を読み込んで、a op b を計算するプログラムを作成して下さい。\n * ただし、演算子 op は、\"+\"(和)、\"-\"(差)、\"*\"(積)、\"/\"(商)、のみとし、\n * 割り算で割り切れない場合は、小数点以下を切り捨てたものを計算結果とします。\n */\n\n/*sucannerクラス使うためにインポート*/\nimport java.util.Scanner;\nclass Main{\n\t//プログラムのエントリポイント\n\tpublic static void main(String[] args){\n\t\t//入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t//breakされるまでなんども処理を繰り返す\n\t\twhile(true){\n\t\t\t//二つの数字と演算子を一つ受け取る\n\t\t\tint inta = sc.nextInt();\n\t\t\tString strop = sc.next();\n\t\t\tint intb = sc.nextInt();\n\n\n\t\t\t//演算子に ? が入力されると処理を終了する\n\t\t\tif (strop.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t//演算子に+が入った際、受け取った数字を+して表示する\n\t\t\t}else if (strop.equals(\"+\")) {\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}else if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}\n\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\t//プログラムのエントリポイント\n\tpublic static void main(String[] args){\n\t\t//入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t//breakされるまでなんども処理を繰り返す\n\t\twhile(true){\n\t\t\t//二つの数字と演算子を一つ受け取る\n\t\t\tint inta = sc.nextInt();\n\t\t\tString strop = sc.next();\n\t\t\tint intb = sc.nextInt();\n\n\n\t\t\t//演算子に ? が入力されると処理を終了する\n\t\t\tif (strop.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t//演算子に+が入った際、受け取った数字を+して表示する\n\t\t\t}else if (strop.equals(\"+\")) {\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}else if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}\n\n\t\t}\n\t}\n}", "Main", "//プログラムのエントリポイント\n\tpublic static void main(String[] args){\n\t\t//入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t//breakされるまでなんども処理を繰り返す\n\t\twhile(true){\n\t\t\t//二つの数字と演算子を一つ受け取る\n\t\t\tint inta = sc.nextInt();\n\t\t\tString strop = sc.next();\n\t\t\tint intb = sc.nextInt();\n\n\n\t\t\t//演算子に ? が入力されると処理を終了する\n\t\t\tif (strop.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t//演算子に+が入った際、受け取った数字を+して表示する\n\t\t\t}else if (strop.equals(\"+\")) {\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}else if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}\n\n\t\t}\n\t}", "main", "{\n\t\t//入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\n\n\t\t//breakされるまでなんども処理を繰り返す\n\t\twhile(true){\n\t\t\t//二つの数字と演算子を一つ受け取る\n\t\t\tint inta = sc.nextInt();\n\t\t\tString strop = sc.next();\n\t\t\tint intb = sc.nextInt();\n\n\n\t\t\t//演算子に ? が入力されると処理を終了する\n\t\t\tif (strop.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t//演算子に+が入った際、受け取った数字を+して表示する\n\t\t\t}else if (strop.equals(\"+\")) {\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}else if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}\n\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n\t\t\t//二つの数字と演算子を一つ受け取る\n\t\t\tint inta = sc.nextInt();\n\t\t\tString strop = sc.next();\n\t\t\tint intb = sc.nextInt();\n\n\n\t\t\t//演算子に ? が入力されると処理を終了する\n\t\t\tif (strop.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t//演算子に+が入った際、受け取った数字を+して表示する\n\t\t\t}else if (strop.equals(\"+\")) {\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}else if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}\n\n\t\t}", "true", "{\n\t\t\t//二つの数字と演算子を一つ受け取る\n\t\t\tint inta = sc.nextInt();\n\t\t\tString strop = sc.next();\n\t\t\tint intb = sc.nextInt();\n\n\n\t\t\t//演算子に ? が入力されると処理を終了する\n\t\t\tif (strop.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t//演算子に+が入った際、受け取った数字を+して表示する\n\t\t\t}else if (strop.equals(\"+\")) {\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}else if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}\n\n\t\t}", "int inta = sc.nextInt();", "inta", "sc.nextInt()", "sc.nextInt", "sc", "String strop = sc.next();", "strop", "sc.next()", "sc.next", "sc", "int intb = sc.nextInt();", "intb", "sc.nextInt()", "sc.nextInt", "sc", "if (strop.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t//演算子に+が入った際、受け取った数字を+して表示する\n\t\t\t}else if (strop.equals(\"+\")) {\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}else if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}", "strop.equals(\"?\")", "strop.equals", "strop", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t//演算子に+が入った際、受け取った数字を+して表示する\n\t\t\t}", "break;", "if (strop.equals(\"+\")) {\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}else if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}", "strop.equals(\"+\")", "strop.equals", "strop", "\"+\"", "{\n\t\t\t\tSystem.out.println(inta + intb);\n\t\t\t\t//演算子に-が入った際、受け取った数字を-して表示する\n\t\t\t}", "System.out.println(inta + intb)", "System.out.println", "System.out", "System", "System.out", "inta + intb", "inta", "intb", "if (strop.equals(\"-\")) {\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}else if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}", "strop.equals(\"-\")", "strop.equals", "strop", "\"-\"", "{\n\t\t\t\tSystem.out.println(inta - intb);\n\t\t\t\t//演算子に*が入った際、受け取った数字を*して表示する\n\t\t\t}", "System.out.println(inta - intb)", "System.out.println", "System.out", "System", "System.out", "inta - intb", "inta", "intb", "if (strop.equals(\"*\")) {\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}else if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}", "strop.equals(\"*\")", "strop.equals", "strop", "\"*\"", "{\n\t\t\t\tSystem.out.println(inta * intb);\n\t\t\t\t//演算子に/が入った際、受け取った数字を/して表示する\n\t\t\t}", "System.out.println(inta * intb)", "System.out.println", "System.out", "System", "System.out", "inta * intb", "inta", "intb", "if (strop.equals(\"/\")) {\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}", "strop.equals(\"/\")", "strop.equals", "strop", "\"/\"", "{\n\t\t\t\tSystem.out.println(inta / intb);\n\t\t\t}", "System.out.println(inta / intb)", "System.out.println", "System.out", "System", "System.out", "inta / intb", "inta", "intb", "String[] args", "args" ]
/** 2つの整数 a, b と1つの演算子 op を読み込んで、a op b を計算するプログラムを作成して下さい。 * ただし、演算子 op は、"+"(和)、"-"(差)、"*"(積)、"/"(商)、のみとし、 * 割り算で割り切れない場合は、小数点以下を切り捨てたものを計算結果とします。 */ /*sucannerクラス使うためにインポート*/ import java.util.Scanner; class Main{ //プログラムのエントリポイント public static void main(String[] args){ //入力ストリームの生成 Scanner sc = new Scanner(System.in); //breakされるまでなんども処理を繰り返す while(true){ //二つの数字と演算子を一つ受け取る int inta = sc.nextInt(); String strop = sc.next(); int intb = sc.nextInt(); //演算子に ? が入力されると処理を終了する if (strop.equals("?")){ break; //演算子に+が入った際、受け取った数字を+して表示する }else if (strop.equals("+")) { System.out.println(inta + intb); //演算子に-が入った際、受け取った数字を-して表示する }else if (strop.equals("-")) { System.out.println(inta - intb); //演算子に*が入った際、受け取った数字を*して表示する }else if (strop.equals("*")) { System.out.println(inta * intb); //演算子に/が入った際、受け取った数字を/して表示する }else if (strop.equals("/")) { System.out.println(inta / intb); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 42, 17, 30, 0, 13, 4, 18, 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, 30, 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 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 21, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 28, 33 ], [ 33, 34 ], [ 28, 35 ], [ 35, 36 ], [ 35, 37 ], [ 28, 38 ], [ 38, 39 ], [ 28, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 45, 50 ], [ 42, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 42, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 42, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 42, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 72, 79 ], [ 79, 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 ], [ 102, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 113, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 121, 123 ], [ 79, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 12, 130 ], [ 130, 131 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString[] input;\n\t\t\tint a, b, ret = 0;\n\t\t\tString op;\n\t\t\tdo {\n\t\t\t\tinput = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t\top = input[1];\n\t\t\t\tb = Integer.parseInt(input[2]);\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}\n\t\t\t} while (true);\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\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString[] input;\n\t\t\tint a, b, ret = 0;\n\t\t\tString op;\n\t\t\tdo {\n\t\t\t\tinput = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t\top = input[1];\n\t\t\t\tb = Integer.parseInt(input[2]);\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}\n\t\t\t} while (true);\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\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString[] input;\n\t\t\tint a, b, ret = 0;\n\t\t\tString op;\n\t\t\tdo {\n\t\t\t\tinput = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t\top = input[1];\n\t\t\t\tb = Integer.parseInt(input[2]);\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString[] input;\n\t\t\tint a, b, ret = 0;\n\t\t\tString op;\n\t\t\tdo {\n\t\t\t\tinput = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t\top = input[1];\n\t\t\t\tb = Integer.parseInt(input[2]);\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "try {\n\t\t\tString[] input;\n\t\t\tint a, b, ret = 0;\n\t\t\tString op;\n\t\t\tdo {\n\t\t\t\tinput = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t\top = input[1];\n\t\t\t\tb = Integer.parseInt(input[2]);\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}\n\t\t\t} while (true);\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\t\tString[] input;\n\t\t\tint a, b, ret = 0;\n\t\t\tString op;\n\t\t\tdo {\n\t\t\t\tinput = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t\top = input[1];\n\t\t\t\tb = Integer.parseInt(input[2]);\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t}", "String[] input;", "input", "int a", "a", "b", "b", "ret = 0;", "ret", "0", "String op;", "op", "do {\n\t\t\t\tinput = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t\top = input[1];\n\t\t\t\tb = Integer.parseInt(input[2]);\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}\n\t\t\t} while (true);", "true", "{\n\t\t\t\tinput = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(input[0]);\n\t\t\t\top = input[1];\n\t\t\t\tb = Integer.parseInt(input[2]);\n\t\t\t\tif (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}\n\t\t\t}", "input = br.readLine().split(\" \")", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "a = Integer.parseInt(input[0])", "a", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "op = input[1]", "op", "input[1]", "input", "1", "b = Integer.parseInt(input[2])", "b", "Integer.parseInt(input[2])", "Integer.parseInt", "Integer", "input[2]", "input", "2", "if (op.equals(\"?\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "{\n\t\t\t\t\tif (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(ret);\n\t\t\t\t}", "if (op.equals(\"+\")) {\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\t\t\tret = a + b;\n\t\t\t\t\t}", "ret = a + b", "ret", "a + b", "a", "b", "if (op.equals(\"-\")) {\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t} else if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\t\t\tret = a - b;\n\t\t\t\t\t}", "ret = a - b", "ret", "a - b", "a", "b", "if (op.equals(\"*\")) {\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t} else if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\t\t\tret = a * b;\n\t\t\t\t\t}", "ret = a * b", "ret", "a * b", "a", "b", "if (op.equals(\"/\")) {\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\t\t\tret = a / b;\n\t\t\t\t\t}", "ret = a / b", "ret", "a / b", "a", "b", "System.out.println(ret)", "System.out.println", "System.out", "System", "System.out", "ret", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); try { String[] input; int a, b, ret = 0; String op; do { input = br.readLine().split(" "); a = Integer.parseInt(input[0]); op = input[1]; b = Integer.parseInt(input[2]); if (op.equals("?")) { break; } else { if (op.equals("+")) { ret = a + b; } else if (op.equals("-")) { ret = a - b; } else if (op.equals("*")) { ret = a * b; } else if (op.equals("/")) { ret = a / b; } System.out.println(ret); } } while (true); } catch (IOException e) { e.printStackTrace(); } } }
[ 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, 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, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 97, 5 ], [ 97, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 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 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 33, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 44, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 55, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 66, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 77, 82 ], [ 82, 83 ], [ 17, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 84, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 6, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "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\tint c=0;\n\t\t\twhile(true) {\n\t\t\t\tint a=scan.nextInt();\n\t\t\t\tString op=scan.next();\n\t\t\t\tint b=scan.nextInt();\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tSystem.out.printf(\"%d\\n\",c);\n\t\t\t}\n\t\tscan.close();\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\tint c=0;\n\t\t\twhile(true) {\n\t\t\t\tint a=scan.nextInt();\n\t\t\t\tString op=scan.next();\n\t\t\t\tint b=scan.nextInt();\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tSystem.out.printf(\"%d\\n\",c);\n\t\t\t}\n\t\tscan.close();\n}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\t\tint c=0;\n\t\t\twhile(true) {\n\t\t\t\tint a=scan.nextInt();\n\t\t\t\tString op=scan.next();\n\t\t\t\tint b=scan.nextInt();\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tSystem.out.printf(\"%d\\n\",c);\n\t\t\t}\n\t\tscan.close();\n}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\tint c=0;\n\t\t\twhile(true) {\n\t\t\t\tint a=scan.nextInt();\n\t\t\t\tString op=scan.next();\n\t\t\t\tint b=scan.nextInt();\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tSystem.out.printf(\"%d\\n\",c);\n\t\t\t}\n\t\tscan.close();\n}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int c=0;", "c", "0", "while(true) {\n\t\t\t\tint a=scan.nextInt();\n\t\t\t\tString op=scan.next();\n\t\t\t\tint b=scan.nextInt();\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tSystem.out.printf(\"%d\\n\",c);\n\t\t\t}", "true", "{\n\t\t\t\tint a=scan.nextInt();\n\t\t\t\tString op=scan.next();\n\t\t\t\tint b=scan.nextInt();\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tSystem.out.printf(\"%d\\n\",c);\n\t\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\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tc=a+b;\n\t\t\t}", "c=a+b", "c", "a+b", "a", "b", "if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tc=a-b;\n\t\t\t}", "c=a-b", "c", "a-b", "a", "b", "if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tc=a*b;\n\t\t\t}", "c=a*b", "c", "a*b", "a", "b", "if(op.equals(\"/\")) {\n\t\t\t\tc=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\tc=a/b;\n\t\t\t}", "c=a/b", "c", "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\",c)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "c", "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\t\tint c=0;\n\t\t\twhile(true) {\n\t\t\t\tint a=scan.nextInt();\n\t\t\t\tString op=scan.next();\n\t\t\t\tint b=scan.nextInt();\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tSystem.out.printf(\"%d\\n\",c);\n\t\t\t}\n\t\tscan.close();\n}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\t\tint c=0;\n\t\t\twhile(true) {\n\t\t\t\tint a=scan.nextInt();\n\t\t\t\tString op=scan.next();\n\t\t\t\tint b=scan.nextInt();\n\t\t\tif(op.equals(\"+\")) {\n\t\t\t\tc=a+b;\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")) {\n\t\t\t\tc=a-b;\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")) {\n\t\t\t\tc=a*b;\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")) {\n\t\t\t\tc=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\tSystem.out.printf(\"%d\\n\",c);\n\t\t\t}\n\t\tscan.close();\n}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); int c=0; while(true) { int a=scan.nextInt(); String op=scan.next(); int b=scan.nextInt(); if(op.equals("+")) { c=a+b; } else if(op.equals("-")) { c=a-b; } else if(op.equals("*")) { c=a*b; } else if(op.equals("/")) { c=a/b; } else if(op.equals("?")) { break; } System.out.printf("%d\n",c); } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 14, 4, 18, 17, 13, 3, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 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 ]
[ [ 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 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 14, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 42, 58 ], [ 58, 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 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 87, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 6, 115 ], [ 115, 116 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true){\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if (\"?\".equals(op)) break;\n if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) {\n if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true){\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if (\"?\".equals(op)) break;\n if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) {\n if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true){\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if (\"?\".equals(op)) break;\n if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) {\n if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n while (true){\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if (\"?\".equals(op)) break;\n if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) {\n if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true){\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if (\"?\".equals(op)) break;\n if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) {\n if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }\n }\n }", "true", "{\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if (\"?\".equals(op)) break;\n if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) {\n if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }\n }\n }", "int a = Integer.parseInt(sc.next());", "a", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "String op = sc.next();", "op", "sc.next()", "sc.next", "sc", "int b = Integer.parseInt(sc.next());", "b", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "if (\"?\".equals(op)) break;", "\"?\".equals(op)", "\"?\".equals", "\"?\"", "op", "break;", "if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) {\n if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }\n }", "(a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)", "(a >= 0 && a <= 20000)", "a >= 0", "a", "0", "a <= 20000", "a", "20000", "(b >= 0 && b <= 20000)", "b >= 0", "b", "0", "b <= 20000", "b", "20000", "{\n if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }\n }", "if (\"+\".equals(op)) {\n System.out.println(a + b);\n } else if (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }", "\"+\".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 (\"-\".equals(op)) {\n System.out.println(a - b);\n } else if (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }", "\"-\".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 (\"*\".equals(op)) {\n System.out.println(a * b);\n } else if (\"/\".equals(op)) {\n System.out.println(a / b);\n }", "\"*\".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 (\"/\".equals(op)) {\n System.out.println(a / b);\n }", "\"/\".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", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true){ int a = Integer.parseInt(sc.next()); String op = sc.next(); int b = Integer.parseInt(sc.next()); if ("?".equals(op)) break; if ((a >= 0 && a <= 20000) && (b >= 0 && b <= 20000)) { 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, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 92, 5 ], [ 92, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 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 ], [ 36, 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 ], [ 49, 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 ], [ 62, 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 ], [ 75, 88 ], [ 6, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t while(true){\n\t \t int a = Integer.parseInt(std.next());\n\t \t String op = std.next();\n\t \t int b = Integer.parseInt(std.next());\n\n\t \t if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse break;\n\t }\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t while(true){\n\t \t int a = Integer.parseInt(std.next());\n\t \t String op = std.next();\n\t \t int b = Integer.parseInt(std.next());\n\n\t \t if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse break;\n\t }\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t while(true){\n\t \t int a = Integer.parseInt(std.next());\n\t \t String op = std.next();\n\t \t int b = Integer.parseInt(std.next());\n\n\t \t if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse break;\n\t }\n\t}", "main", "{\n\t\tScanner std = new Scanner(System.in);\n\t while(true){\n\t \t int a = Integer.parseInt(std.next());\n\t \t String op = std.next();\n\t \t int b = Integer.parseInt(std.next());\n\n\t \t if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse break;\n\t }\n\t}", "Scanner std = new Scanner(System.in);", "std", "new Scanner(System.in)", "while(true){\n\t \t int a = Integer.parseInt(std.next());\n\t \t String op = std.next();\n\t \t int b = Integer.parseInt(std.next());\n\n\t \t if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse break;\n\t }", "true", "{\n\t \t int a = Integer.parseInt(std.next());\n\t \t String op = std.next();\n\t \t int b = Integer.parseInt(std.next());\n\n\t \t if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse break;\n\t }", "int a = Integer.parseInt(std.next());", "a", "Integer.parseInt(std.next())", "Integer.parseInt", "Integer", "std.next()", "std.next", "std", "String op = std.next();", "op", "std.next()", "std.next", "std", "int b = Integer.parseInt(std.next());", "b", "Integer.parseInt(std.next())", "Integer.parseInt", "Integer", "std.next()", "std.next", "std", "if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse 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(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse 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(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse 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(\"/\")) System.out.println(a/b);\n\t \telse 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", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t while(true){\n\t \t int a = Integer.parseInt(std.next());\n\t \t String op = std.next();\n\t \t int b = Integer.parseInt(std.next());\n\n\t \t if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse break;\n\t }\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t while(true){\n\t \t int a = Integer.parseInt(std.next());\n\t \t String op = std.next();\n\t \t int b = Integer.parseInt(std.next());\n\n\t \t if(op.equals(\"+\")) System.out.println(a+b);\n\t \telse if(op.equals(\"-\")) System.out.println(a-b);\n\t \telse if(op.equals(\"*\")) System.out.println(a*b);\n\t \telse if(op.equals(\"/\")) System.out.println(a/b);\n\t \telse break;\n\t }\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner std = new Scanner(System.in); while(true){ int a = Integer.parseInt(std.next()); String op = std.next(); int b = Integer.parseInt(std.next()); 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, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 0, 18, 13, 13, 4, 18, 13, 18, 13, 17, 0, 18, 13, 13, 4, 18, 13, 18, 13, 17, 0, 18, 13, 13, 18, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 3, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 17, 30, 3, 14, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 14, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 14, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 14, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 193, 5 ], [ 193, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 24, 34 ], [ 34, 35 ], [ 35, 36 ], [ 24, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 38, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 38, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 38, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 38, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 77, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 86, 96 ], [ 96, 97 ], [ 97, 98 ], [ 86, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 101, 108 ], [ 108, 109 ], [ 100, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 110, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 127, 129 ], [ 100, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 130, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 147, 149 ], [ 100, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 150, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 167, 168 ], [ 167, 169 ], [ 100, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 170, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 187, 188 ], [ 187, 189 ], [ 6, 190 ], [ 190, 191 ], [ 0, 192 ], [ 192, 193 ], [ 192, 194 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arges) {\n\t\tint[] e = new int[10000];\n\t\tint[] e2 = new int[10000];\n\t\tString[] s = new String[10000];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int i = 0; i < e.length; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\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[] arges) {\n\t\tint[] e = new int[10000];\n\t\tint[] e2 = new int[10000];\n\t\tString[] s = new String[10000];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int i = 0; i < e.length; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] arges) {\n\t\tint[] e = new int[10000];\n\t\tint[] e2 = new int[10000];\n\t\tString[] s = new String[10000];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int i = 0; i < e.length; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tint[] e = new int[10000];\n\t\tint[] e2 = new int[10000];\n\t\tString[] s = new String[10000];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int i = 0; i < e.length; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}\n\t\t}\n\t}", "int[] e = new int[10000];", "e", "new int[10000]", "10000", "int[] e2 = new int[10000];", "e2", "new int[10000]", "10000", "String[] s = new String[10000];", "s", "new String[10000]", "10000", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "for (int i = 0; i < e.length; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < e.length", "i", "e.length", "e", "e.length", "i++", "i++", "i", "{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] k = line.split(\" \");", "k", "line.split(\" \")", "line.split", "line", "\" \"", "e[i] = Integer.parseInt(k[0])", "e[i]", "e", "i", "Integer.parseInt(k[0])", "Integer.parseInt", "Integer", "k[0]", "k", "0", "e2[i] = Integer.parseInt(k[2])", "e2[i]", "e2", "i", "Integer.parseInt(k[2])", "Integer.parseInt", "Integer", "k[2]", "k", "2", "s[i] = k[1]", "s[i]", "s", "i", "k[1]", "k", "1", "if (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "s[i].equals(\"?\")", "s[i].equals", "s[i]", "s", "i", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "for (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < s.length", "i", "s.length", "s", "s.length", "i++", "i++", "i", "{\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}\n\t\t}", "if (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "s[i].equals(\"?\")", "s[i].equals", "s[i]", "s", "i", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}", "s[i].equals(\"+\")", "s[i].equals", "s[i]", "s", "i", "\"+\"", "{\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}", "System.out.println(e[i] + e2[i])", "System.out.println", "System.out", "System", "System.out", "e[i] + e2[i]", "e[i]", "e", "i", "e2[i]", "e2", "i", "if (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}", "s[i].equals(\"-\")", "s[i].equals", "s[i]", "s", "i", "\"-\"", "{\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}", "System.out.println(e[i] - e2[i])", "System.out.println", "System.out", "System", "System.out", "e[i] - e2[i]", "e[i]", "e", "i", "e2[i]", "e2", "i", "if (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}", "s[i].equals(\"*\")", "s[i].equals", "s[i]", "s", "i", "\"*\"", "{\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}", "System.out.println(e[i] * e2[i])", "System.out.println", "System.out", "System", "System.out", "e[i] * e2[i]", "e[i]", "e", "i", "e2[i]", "e2", "i", "if (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}", "s[i].equals(\"/\")", "s[i].equals", "s[i]", "s", "i", "\"/\"", "{\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}", "System.out.println(e[i] / e2[i])", "System.out.println", "System.out", "System", "System.out", "e[i] / e2[i]", "e[i]", "e", "i", "e2[i]", "e2", "i", "String[] arges", "arges", "public class Main {\n\tpublic static void main(String[] arges) {\n\t\tint[] e = new int[10000];\n\t\tint[] e2 = new int[10000];\n\t\tString[] s = new String[10000];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int i = 0; i < e.length; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] arges) {\n\t\tint[] e = new int[10000];\n\t\tint[] e2 = new int[10000];\n\t\tString[] s = new String[10000];\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (int i = 0; i < e.length; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] k = line.split(\" \");\n\n\t\t\te[i] = Integer.parseInt(k[0]);\n\t\t\te2[i] = Integer.parseInt(k[2]);\n\t\t\ts[i] = k[1];\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\tif (s[i].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (s[i].equals(\"+\")) {\n\t\t\t\tSystem.out.println(e[i] + e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"-\")) {\n\t\t\t\tSystem.out.println(e[i] - e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"*\")) {\n\t\t\t\tSystem.out.println(e[i] * e2[i]);\n\t\t\t}\n\t\t\tif (s[i].equals(\"/\")) {\n\t\t\t\tSystem.out.println(e[i] / e2[i]);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] arges) { int[] e = new int[10000]; int[] e2 = new int[10000]; String[] s = new String[10000]; Scanner sc = new Scanner(System.in); for (int i = 0; i < e.length; i++) { String line = sc.nextLine(); String[] k = line.split(" "); e[i] = Integer.parseInt(k[0]); e2[i] = Integer.parseInt(k[2]); s[i] = k[1]; if (s[i].equals("?")) { break; } } for (int i = 0; i < s.length; i++) { if (s[i].equals("?")) { break; } if (s[i].equals("+")) { System.out.println(e[i] + e2[i]); } if (s[i].equals("-")) { System.out.println(e[i] - e2[i]); } if (s[i].equals("*")) { System.out.println(e[i] * e2[i]); } if (s[i].equals("/")) { System.out.println(e[i] / e2[i]); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 4, 18, 13, 17, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 4, 13, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 13, 41, 13, 20, 28, 13, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 17, 35, 18, 13, 13, 34, 13, 1, 0, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 13, 1, 0, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 13, 1, 0, 13, 2, 18, 13, 13, 18, 13, 13, 3, 34, 13, 1, 0, 13, 2, 18, 13, 13, 18, 13, 13, 3, 14, 2, 13, 17, 30, 9, 14, 2, 4, 18, 13, 17, 30, 4, 18, 13, 13, 4, 18, 13, 13, 29, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 37, 20, 30, 14, 2, 13, 17, 30, 38, 5, 13, 30, 30, 4, 18, 13, 14, 2, 13, 17, 30, 38, 5, 13, 30, 30, 4, 18, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 13, 17, 29, 4, 18, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 17, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 14, 4, 18, 17, 18, 13, 17, 30, 0, 13, 18, 13, 13, 14, 4, 18, 17, 18, 13, 17, 30, 0, 13, 18, 13, 13, 14, 4, 18, 17, 18, 13, 17, 30, 0, 13, 18, 13, 13, 14, 4, 18, 17, 18, 13, 17, 30, 0, 13, 18, 13, 13, 14, 4, 18, 17, 18, 13, 17, 30, 0, 13, 18, 13, 13, 30, 37, 20, 41, 13, 4, 18, 13, 18, 13, 17, 29, 20, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 12, 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 ], [ 378, 14 ], [ 378, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 378, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 21, 36 ], [ 36, 37 ], [ 378, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 49, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 53, 60 ], [ 60, 61 ], [ 60, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 69, 79 ], [ 63, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 82, 92 ], [ 63, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 102, 104 ], [ 95, 105 ], [ 63, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 115, 117 ], [ 108, 118 ], [ 53, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 53, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 126, 130 ], [ 125, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 53, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 40, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 38, 144 ], [ 144, 145 ], [ 378, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 152, 154 ], [ 148, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 155, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 161, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 155, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 188, 192 ], [ 192, 193 ], [ 192, 194 ], [ 188, 195 ], [ 195, 196 ], [ 195, 197 ], [ 188, 198 ], [ 198, 199 ], [ 188, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 205, 206 ], [ 201, 207 ], [ 200, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 211, 214 ], [ 209, 215 ], [ 188, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 146, 220 ], [ 220, 221 ], [ 378, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 226, 229 ], [ 222, 230 ], [ 230, 231 ], [ 378, 232 ], [ 232, 233 ], [ 232, 234 ], [ 234, 235 ], [ 232, 236 ], [ 236, 237 ], [ 232, 238 ], [ 238, 239 ], [ 232, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 243, 247 ], [ 242, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 248, 252 ], [ 242, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 257 ], [ 240, 258 ], [ 258, 259 ], [ 240, 260 ], [ 260, 261 ], [ 240, 262 ], [ 262, 263 ], [ 232, 264 ], [ 264, 265 ], [ 264, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 270, 271 ], [ 269, 272 ], [ 266, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 276, 277 ], [ 275, 278 ], [ 278, 279 ], [ 278, 280 ], [ 266, 281 ], [ 281, 282 ], [ 266, 283 ], [ 283, 284 ], [ 284, 285 ], [ 285, 286 ], [ 284, 287 ], [ 287, 288 ], [ 287, 289 ], [ 283, 290 ], [ 290, 291 ], [ 291, 292 ], [ 291, 293 ], [ 293, 294 ], [ 293, 295 ], [ 283, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 297, 300 ], [ 300, 301 ], [ 300, 302 ], [ 296, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 306, 308 ], [ 296, 309 ], [ 309, 310 ], [ 310, 311 ], [ 311, 312 ], [ 310, 313 ], [ 313, 314 ], [ 313, 315 ], [ 309, 316 ], [ 316, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 319, 321 ], [ 309, 322 ], [ 322, 323 ], [ 323, 324 ], [ 324, 325 ], [ 323, 326 ], [ 326, 327 ], [ 326, 328 ], [ 322, 329 ], [ 329, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 332, 334 ], [ 322, 335 ], [ 335, 336 ], [ 336, 337 ], [ 337, 338 ], [ 336, 339 ], [ 339, 340 ], [ 339, 341 ], [ 335, 342 ], [ 342, 343 ], [ 343, 344 ], [ 343, 345 ], [ 345, 346 ], [ 345, 347 ], [ 335, 348 ], [ 348, 349 ], [ 349, 350 ], [ 266, 351 ], [ 351, 352 ], [ 351, 353 ], [ 353, 354 ], [ 354, 355 ], [ 353, 356 ], [ 356, 357 ], [ 356, 358 ], [ 266, 359 ], [ 359, 360 ], [ 264, 361 ], [ 361, 362 ], [ 378, 363 ], [ 363, 364 ], [ 363, 365 ], [ 365, 366 ], [ 363, 367 ], [ 367, 368 ], [ 363, 369 ], [ 369, 370 ], [ 363, 371 ], [ 371, 372 ], [ 363, 373 ], [ 373, 374 ], [ 363, 375 ], [ 363, 376 ], [ 0, 377 ], [ 377, 378 ], [ 377, 379 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n static class Input {\n final int a;\n final int b;\n final Operator operator;\n\n Input(int a, int b, Operator operator) {\n this.a = a;\n this.b = b;\n this.operator = operator;\n }\n\n static Input valueOf(String line) {\n final String[] split = line.split(\" \");\n final int a = Integer.parseInt(split[0]);\n final Operator op;\n\n if (\"+\".equals(split[1])) {\n op = Operator.ADD;\n } else if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }\n\n final int b = Integer.parseInt(split[2]);\n\n return new Input(a, b, op);\n }\n }\n\n enum Operator {\n ADD, SUBTRACT, MULTIPLY, DIVIDE, END\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\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", "public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n static class Input {\n final int a;\n final int b;\n final Operator operator;\n\n Input(int a, int b, Operator operator) {\n this.a = a;\n this.b = b;\n this.operator = operator;\n }\n\n static Input valueOf(String line) {\n final String[] split = line.split(\" \");\n final int a = Integer.parseInt(split[0]);\n final Operator op;\n\n if (\"+\".equals(split[1])) {\n op = Operator.ADD;\n } else if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }\n\n final int b = Integer.parseInt(split[2]);\n\n return new Input(a, b, op);\n }\n }\n\n enum Operator {\n ADD, SUBTRACT, MULTIPLY, DIVIDE, END\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}", "Main", "private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");", "LINE_SEPARATOR", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }", "main", "{\n System.out.println(process(readAll(System.in)));\n }", "System.out.println(process(readAll(System.in)))", "System.out.println", "System.out", "System", "System.out", "process(readAll(System.in))", "process", "readAll(System.in)", "readAll", "System.in", "System", "System.in", "String[] args", "args", "protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }\n\n return sb.toString();\n }", "process", "{\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }\n\n return sb.toString();\n }", "final String[] lines = splitForLines(data);", "lines", "splitForLines(data)", "splitForLines", "data", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (String s : lines) {\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }", "String s", "lines", "{\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }", "{\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }", "final Input input = Input.valueOf(s);", "input", "Input.valueOf(s)", "Input.valueOf", "Input", "s", "Integer result = null;", "result", "null", "switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }", "input.operator", "input", "input.operator", "case ADD:", "ADD", "case ADD:", "result = input.a + input.b", "result", "input.a + input.b", "input.a", "input", "input.a", "input.b", "input", "input.b", "break;", "case SUBTRACT:", "SUBTRACT", "case SUBTRACT:", "result = input.a - input.b", "result", "input.a - input.b", "input.a", "input", "input.a", "input.b", "input", "input.b", "break;", "case MULTIPLY:", "MULTIPLY", "case MULTIPLY:", "result = input.a * input.b", "result", "input.a * input.b", "input.a", "input", "input.a", "input.b", "input", "input.b", "break;", "case DIVIDE:", "DIVIDE", "case DIVIDE:", "result = input.a / input.b", "result", "input.a / input.b", "input.a", "input", "input.a", "input.b", "input", "input.b", "break;", "if (result == null) {\n continue;\n }", "result == null", "result", "null", "{\n continue;\n }", "continue;", "if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }", "sb.length() > 0", "sb.length()", "sb.length", "sb", "0", "{\n sb.append(LINE_SEPARATOR);\n }", "sb.append(LINE_SEPARATOR)", "sb.append", "sb", "LINE_SEPARATOR", "sb.append(result)", "sb.append", "sb", "result", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "String data", "data", "private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }", "readAll", "{\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }", "InputStreamReader r = null;", "r", "null", "BufferedReader br = null;", "br", "null", "try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }", "if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }", "br != null", "br", "null", "{\n try {\n br.close();\n } catch (IOException e) {\n }\n }", "try {\n br.close();\n } catch (IOException e) {\n }", "catch (IOException e) {\n }", "IOException e", "{\n }", "{\n br.close();\n }", "br.close()", "br.close", "br", "if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }", "r != null", "r", "null", "{\n try {\n r.close();\n } catch (IOException e) {\n }\n }", "try {\n r.close();\n } catch (IOException e) {\n }", "catch (IOException e) {\n }", "IOException e", "{\n }", "{\n r.close();\n }", "r.close()", "r.close", "r", "{\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n }", "r = new InputStreamReader(is)", "r", "new InputStreamReader(is)", "br = new BufferedReader(r)", "br", "new BufferedReader(r)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String s;", "s", "while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }", "(s = br.readLine()) != null", "(s = br.readLine())", "s", "br.readLine()", "br.readLine", "br", "null", "{\n sb.append(s).append('\\n');\n }", "sb.append(s).append('\\n')", "sb.append(s).append", "sb.append(s)", "sb.append", "sb", "s", "'\\n'", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "InputStream is", "is", "private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }", "splitForLines", "{\n return lines.split(\"\\\\n\");\n }", "return lines.split(\"\\\\n\");", "lines.split(\"\\\\n\")", "lines.split", "lines", "\"\\\\n\"", "String lines", "lines", "static class Input {\n final int a;\n final int b;\n final Operator operator;\n\n Input(int a, int b, Operator operator) {\n this.a = a;\n this.b = b;\n this.operator = operator;\n }\n\n static Input valueOf(String line) {\n final String[] split = line.split(\" \");\n final int a = Integer.parseInt(split[0]);\n final Operator op;\n\n if (\"+\".equals(split[1])) {\n op = Operator.ADD;\n } else if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }\n\n final int b = Integer.parseInt(split[2]);\n\n return new Input(a, b, op);\n }\n }", "Input", "final int a;", "a", "final int b;", "b", "final Operator operator;", "operator", "Input(int a, int b, Operator operator) {\n this.a = a;\n this.b = b;\n this.operator = operator;\n }", "Input", "{\n this.a = a;\n this.b = b;\n this.operator = operator;\n }", "this.a = a", "this.a", "this", "this.a", "a", "this.b = b", "this.b", "this", "this.b", "b", "this.operator = operator", "this.operator", "this", "this.operator", "operator", "int a", "a", "int b", "b", "Operator operator", "operator", "static Input valueOf(String line) {\n final String[] split = line.split(\" \");\n final int a = Integer.parseInt(split[0]);\n final Operator op;\n\n if (\"+\".equals(split[1])) {\n op = Operator.ADD;\n } else if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }\n\n final int b = Integer.parseInt(split[2]);\n\n return new Input(a, b, op);\n }", "valueOf", "{\n final String[] split = line.split(\" \");\n final int a = Integer.parseInt(split[0]);\n final Operator op;\n\n if (\"+\".equals(split[1])) {\n op = Operator.ADD;\n } else if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }\n\n final int b = Integer.parseInt(split[2]);\n\n return new Input(a, b, op);\n }", "final String[] split = line.split(\" \");", "split", "line.split(\" \")", "line.split", "line", "\" \"", "final int a = Integer.parseInt(split[0]);", "a", "Integer.parseInt(split[0])", "Integer.parseInt", "Integer", "split[0]", "split", "0", "final Operator op;", "op", "if (\"+\".equals(split[1])) {\n op = Operator.ADD;\n } else if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }", "\"+\".equals(split[1])", "\"+\".equals", "\"+\"", "split[1]", "split", "1", "{\n op = Operator.ADD;\n }", "op = Operator.ADD", "op", "Operator.ADD", "Operator", "Operator.ADD", "if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }", "\"-\".equals(split[1])", "\"-\".equals", "\"-\"", "split[1]", "split", "1", "{\n op = Operator.SUBTRACT;\n }", "op = Operator.SUBTRACT", "op", "Operator.SUBTRACT", "Operator", "Operator.SUBTRACT", "if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }", "\"*\".equals(split[1])", "\"*\".equals", "\"*\"", "split[1]", "split", "1", "{\n op = Operator.MULTIPLY;\n }", "op = Operator.MULTIPLY", "op", "Operator.MULTIPLY", "Operator", "Operator.MULTIPLY", "if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }", "\"/\".equals(split[1])", "\"/\".equals", "\"/\"", "split[1]", "split", "1", "{\n op = Operator.DIVIDE;\n }", "op = Operator.DIVIDE", "op", "Operator.DIVIDE", "Operator", "Operator.DIVIDE", "if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }", "\"?\".equals(split[1])", "\"?\".equals", "\"?\"", "split[1]", "split", "1", "{\n op = Operator.END;\n }", "op = Operator.END", "op", "Operator.END", "Operator", "Operator.END", "{\n throw new IllegalArgumentException(split[1]);\n }", "throw new IllegalArgumentException(split[1]);", "new IllegalArgumentException(split[1])", "final int b = Integer.parseInt(split[2]);", "b", "Integer.parseInt(split[2])", "Integer.parseInt", "Integer", "split[2]", "split", "2", "return new Input(a, b, op);", "new Input(a, b, op)", "String line", "line", "enum Operator {\n ADD, SUBTRACT, MULTIPLY, DIVIDE, END\n }", "Operator", "ADD", "ADD", "SUBTRACT", "SUBTRACT", "MULTIPLY", "MULTIPLY", "DIVIDE", "DIVIDE", "END", "END", "import java.io.BufferedReader;\nimport", "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.", "public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n static class Input {\n final int a;\n final int b;\n final Operator operator;\n\n Input(int a, int b, Operator operator) {\n this.a = a;\n this.b = b;\n this.operator = operator;\n }\n\n static Input valueOf(String line) {\n final String[] split = line.split(\" \");\n final int a = Integer.parseInt(split[0]);\n final Operator op;\n\n if (\"+\".equals(split[1])) {\n op = Operator.ADD;\n } else if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }\n\n final int b = Integer.parseInt(split[2]);\n\n return new Input(a, b, op);\n }\n }\n\n enum Operator {\n ADD, SUBTRACT, MULTIPLY, DIVIDE, END\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}", "public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final Input input = Input.valueOf(s);\n\n Integer result = null;\n\n switch (input.operator) {\n case ADD:\n result = input.a + input.b;\n break;\n case SUBTRACT:\n result = input.a - input.b;\n break;\n case MULTIPLY:\n result = input.a * input.b;\n break;\n case DIVIDE:\n result = input.a / input.b;\n break;\n }\n\n if (result == null) {\n continue;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n sb.append(result);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n static class Input {\n final int a;\n final int b;\n final Operator operator;\n\n Input(int a, int b, Operator operator) {\n this.a = a;\n this.b = b;\n this.operator = operator;\n }\n\n static Input valueOf(String line) {\n final String[] split = line.split(\" \");\n final int a = Integer.parseInt(split[0]);\n final Operator op;\n\n if (\"+\".equals(split[1])) {\n op = Operator.ADD;\n } else if (\"-\".equals(split[1])) {\n op = Operator.SUBTRACT;\n } else if (\"*\".equals(split[1])) {\n op = Operator.MULTIPLY;\n } else if (\"/\".equals(split[1])) {\n op = Operator.DIVIDE;\n } else if (\"?\".equals(split[1])) {\n op = Operator.END;\n } else {\n throw new IllegalArgumentException(split[1]);\n }\n\n final int b = Integer.parseInt(split[2]);\n\n return new Input(a, b, op);\n }\n }\n\n enum Operator {\n ADD, SUBTRACT, MULTIPLY, DIVIDE, END\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class Main { private static final String LINE_SEPARATOR = System.getProperty("line.separator"); public static void main(String[] args) { System.out.println(process(readAll(System.in))); } protected static String process(String data) { final String[] lines = splitForLines(data); StringBuilder sb = new StringBuilder(); for (String s : lines) { final Input input = Input.valueOf(s); Integer result = null; switch (input.operator) { case ADD: result = input.a + input.b; break; case SUBTRACT: result = input.a - input.b; break; case MULTIPLY: result = input.a * input.b; break; case DIVIDE: result = input.a / input.b; break; } if (result == null) { continue; } if (sb.length() > 0) { sb.append(LINE_SEPARATOR); } sb.append(result); } return sb.toString(); } private static String readAll(InputStream is) { InputStreamReader r = null; BufferedReader br = null; try { r = new InputStreamReader(is); br = new BufferedReader(r); StringBuilder sb = new StringBuilder(); String s; while ((s = br.readLine()) != null) { sb.append(s).append('\n'); } return sb.toString(); } catch (IOException e) { throw new RuntimeException(e); } finally { if (br != null) { try { br.close(); } catch (IOException e) { } } if (r != null) { try { r.close(); } catch (IOException e) { } } } } static class Input { final int a; final int b; final Operator operator; Input(int a, int b, Operator operator) { this.a = a; this.b = b; this.operator = operator; } static Input valueOf(String line) { final String[] split = line.split(" "); final int a = Integer.parseInt(split[0]); final Operator op; if ("+".equals(split[1])) { op = Operator.ADD; } else if ("-".equals(split[1])) { op = Operator.SUBTRACT; } else if ("*".equals(split[1])) { op = Operator.MULTIPLY; } else if ("/".equals(split[1])) { op = Operator.DIVIDE; } else if ("?".equals(split[1])) { op = Operator.END; } else { throw new IllegalArgumentException(split[1]); } final int b = Integer.parseInt(split[2]); return new Input(a, b, op); } } enum Operator { ADD, SUBTRACT, MULTIPLY, DIVIDE, END } private static String[] splitForLines(String lines) { return lines.split("\\n"); } }
[ 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, 41, 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, 30, 3, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 105, 5 ], [ 105, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 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 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 42, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 42, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 55, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 68, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 68, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 81, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 81, 94 ], [ 94, 95 ], [ 14, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 6, 102 ], [ 102, 103 ], [ 0, 104 ], [ 104, 105 ], [ 104, 106 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[2]);\n\t\t\tint ans = 0;\n\t\t\tif(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\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 (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[2]);\n\t\t\tint ans = 0;\n\t\t\tif(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[2]);\n\t\t\tint ans = 0;\n\t\t\tif(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[2]);\n\t\t\tint ans = 0;\n\t\t\tif(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[2]);\n\t\t\tint ans = 0;\n\t\t\tif(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "true", "{\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[2]);\n\t\t\tint ans = 0;\n\t\t\tif(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "String[] lines = sc.nextLine().split(\" \");", "lines", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "int num1 = Integer.parseInt(lines[0]);", "num1", "Integer.parseInt(lines[0])", "Integer.parseInt", "Integer", "lines[0]", "lines", "0", "int num2 = Integer.parseInt(lines[2]);", "num2", "Integer.parseInt(lines[2])", "Integer.parseInt", "Integer", "lines[2]", "lines", "2", "int ans = 0;", "ans", "0", "if(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}", "lines[1].equals(\"+\")", "lines[1].equals", "lines[1]", "lines", "1", "\"+\"", "{\n\t\t\t\tans = num1 + num2;\n\t\t\t}", "ans = num1 + num2", "ans", "num1 + num2", "num1", "num2", "if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}", "lines[1].equals(\"-\")", "lines[1].equals", "lines[1]", "lines", "1", "\"-\"", "{\n\t\t\t\tans = num1 - num2;\n\t\t\t}", "ans = num1 - num2", "ans", "num1 - num2", "num1", "num2", "if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}", "lines[1].equals(\"*\")", "lines[1].equals", "lines[1]", "lines", "1", "\"*\"", "{\n\t\t\t\tans = num1 * num2;\n\t\t\t}", "ans = num1 * num2", "ans", "num1 * num2", "num1", "num2", "if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}", "lines[1].equals(\"/\")", "lines[1].equals", "lines[1]", "lines", "1", "\"/\"", "{\n\t\t\t\tans = num1 / num2;\n\t\t\t}", "ans = num1 / num2", "ans", "num1 / num2", "num1", "num2", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[2]);\n\t\t\tint ans = 0;\n\t\t\tif(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[2]);\n\t\t\tint ans = 0;\n\t\t\tif(lines[1].equals(\"+\")) {\n\t\t\t\tans = num1 + num2;\n\t\t\t} else if(lines[1].equals(\"-\")) {\n\t\t\t\tans = num1 - num2;\n\t\t\t} else if(lines[1].equals(\"*\")) {\n\t\t\t\tans = num1 * num2;\n\t\t\t} else if(lines[1].equals(\"/\")) {\n\t\t\t\tans = num1 / num2;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { String[] lines = sc.nextLine().split(" "); int num1 = Integer.parseInt(lines[0]); int num2 = Integer.parseInt(lines[2]); int ans = 0; if(lines[1].equals("+")) { ans = num1 + num2; } else if(lines[1].equals("-")) { ans = num1 - num2; } else if(lines[1].equals("*")) { ans = num1 * num2; } else if(lines[1].equals("/")) { ans = num1 / num2; } else { break; } System.out.println(ans); } } }
[ 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 103, 5 ], [ 103, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 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 ], [ 0, 102 ], [ 102, 103 ], [ 102, 104 ] ]
[ "import java.io.*;\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[2]);\n \n if(num[1].equals(\"+\"))\n System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;\n }\n }\n }", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[2]);\n \n if(num[1].equals(\"+\"))\n System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;\n }\n }\n }", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[2]);\n \n if(num[1].equals(\"+\"))\n System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;\n }\n }", "main", "{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[2]);\n \n if(num[1].equals(\"+\"))\n System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;\n }\n }", "BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));", "buf", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[2]);\n \n if(num[1].equals(\"+\"))\n System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;\n }", "true", "{\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[2]);\n \n if(num[1].equals(\"+\"))\n System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;\n }", "String[] num=buf.readLine().split(\" \");", "num", "buf.readLine().split(\" \")", "buf.readLine().split", "buf.readLine()", "buf.readLine", "buf", "\" \"", "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 System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;", "num[1].equals(\"+\")", "num[1].equals", "num[1]", "num", "1", "\"+\"", "System.out.println(x+y)", "System.out.println", "System.out", "System", "System.out", "x+y", "x", "y", "if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;", "num[1].equals(\"-\")", "num[1].equals", "num[1]", "num", "1", "\"-\"", "System.out.println(x-y)", "System.out.println", "System.out", "System", "System.out", "x-y", "x", "y", "if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;", "num[1].equals(\"*\")", "num[1].equals", "num[1]", "num", "1", "\"*\"", "System.out.println(x*y)", "System.out.println", "System.out", "System", "System.out", "x*y", "x", "y", "if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;", "num[1].equals(\"/\")", "num[1].equals", "num[1]", "num", "1", "\"/\"", "System.out.println(x/y)", "System.out.println", "System.out", "System", "System.out", "x/y", "x", "y", "break;", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[2]);\n \n if(num[1].equals(\"+\"))\n System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;\n }\n }\n }", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n \n while(true){\n String[] num=buf.readLine().split(\" \");\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[2]);\n \n if(num[1].equals(\"+\"))\n System.out.println(x+y);\n else if(num[1].equals(\"-\"))\n System.out.println(x-y);\n else if(num[1].equals(\"*\"))\n System.out.println(x*y);\n else if(num[1].equals(\"/\"))\n System.out.println(x/y);\n else \n break;\n }\n }\n }", "Main" ]
import java.io.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader buf=new BufferedReader(new InputStreamReader(System.in)); while(true){ String[] num=buf.readLine().split(" "); 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 break; } } }
[ 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, 4, 18, 13, 17, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 17, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 17, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 42, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 55, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 68, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 9, 94 ], [ 94, 95 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\nwhile(true) {\n int a = scan.nextInt();\n char op = scan.next().charAt(0);\n int b = scan.nextInt();\n\n if (op == '?'){\n break;\n } else if (op == '+'){\n System.out.println(a + b);\n } else if (op == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\nwhile(true) {\n int a = scan.nextInt();\n char op = scan.next().charAt(0);\n int b = scan.nextInt();\n\n if (op == '?'){\n break;\n } else if (op == '+'){\n System.out.println(a + b);\n } else if (op == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\nwhile(true) {\n int a = scan.nextInt();\n char op = scan.next().charAt(0);\n int b = scan.nextInt();\n\n if (op == '?'){\n break;\n } else if (op == '+'){\n System.out.println(a + b);\n } else if (op == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n\nwhile(true) {\n int a = scan.nextInt();\n char op = scan.next().charAt(0);\n int b = scan.nextInt();\n\n if (op == '?'){\n break;\n } else if (op == '+'){\n System.out.println(a + b);\n } else if (op == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true) {\n int a = scan.nextInt();\n char op = scan.next().charAt(0);\n int b = scan.nextInt();\n\n if (op == '?'){\n break;\n } else if (op == '+'){\n System.out.println(a + b);\n } else if (op == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }\n }", "true", "{\n int a = scan.nextInt();\n char op = scan.next().charAt(0);\n int b = scan.nextInt();\n\n if (op == '?'){\n break;\n } else if (op == '+'){\n System.out.println(a + b);\n } else if (op == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }\n }", "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 break;\n } else if (op == '+'){\n System.out.println(a + b);\n } else if (op == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }", "op == '?'", "op", "'?'", "{\n break;\n }", "break;", "if (op == '+'){\n System.out.println(a + b);\n } else if (op == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }", "op == '+'", "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 == '-'){\n System.out.println(a - b);\n } else if (op == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }", "op == '-'", "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 == '*'){\n System.out.println(a * b);\n } else if (op == '/'){\n System.out.println(a / b);\n }", "op == '*'", "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 == '/'){\n System.out.println(a / b);\n }", "op == '/'", "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", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); while(true) { int a = scan.nextInt(); char op = scan.next().charAt(0); int b = scan.nextInt(); if (op == '?'){ break; } else if (op == '+'){ System.out.println(a + b); } else if (op == '-'){ System.out.println(a - b); } else if (op == '*'){ System.out.println(a * b); } else if (op == '/'){ System.out.println(a / b); } } } }
[ 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, 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, 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 ], [ 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 ], [ 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 ], [ 33, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 33, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 33, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 6, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint a = x.nextInt();\n\t\tString op = x.next();\n\t\tint b = x.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\tif(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}\n\t\ta = x.nextInt();\n\t\top = x.next();\n\t\tb = x.nextInt();\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 x = new Scanner(System.in);\n\t\tint a = x.nextInt();\n\t\tString op = x.next();\n\t\tint b = x.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\tif(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}\n\t\ta = x.nextInt();\n\t\top = x.next();\n\t\tb = x.nextInt();\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint a = x.nextInt();\n\t\tString op = x.next();\n\t\tint b = x.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\tif(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}\n\t\ta = x.nextInt();\n\t\top = x.next();\n\t\tb = x.nextInt();\n\t\t}\n\t}", "main", "{\n\t\tScanner x = new Scanner(System.in);\n\t\tint a = x.nextInt();\n\t\tString op = x.next();\n\t\tint b = x.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\tif(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}\n\t\ta = x.nextInt();\n\t\top = x.next();\n\t\tb = x.nextInt();\n\t\t}\n\t}", "Scanner x = new Scanner(System.in);", "x", "new Scanner(System.in)", "int a = x.nextInt();", "a", "x.nextInt()", "x.nextInt", "x", "String op = x.next();", "op", "x.next()", "x.next", "x", "int b = x.nextInt();", "b", "x.nextInt()", "x.nextInt", "x", "while(!op.equals(\"?\")){\n\t\tif(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}\n\t\ta = x.nextInt();\n\t\top = x.next();\n\t\tb = x.nextInt();\n\t\t}", "!op.equals(\"?\")", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\tif(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}\n\t\ta = x.nextInt();\n\t\top = x.next();\n\t\tb = x.nextInt();\n\t\t}", "if(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\tSystem.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\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\tSystem.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\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\tSystem.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\tSystem.out.println(a/b);\n\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\tSystem.out.println(a/b);\n\t\t}", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "a = x.nextInt()", "a", "x.nextInt()", "x.nextInt", "x", "op = x.next()", "op", "x.next()", "x.next", "x", "b = x.nextInt()", "b", "x.nextInt()", "x.nextInt", "x", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint a = x.nextInt();\n\t\tString op = x.next();\n\t\tint b = x.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\tif(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}\n\t\ta = x.nextInt();\n\t\top = x.next();\n\t\tb = x.nextInt();\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint a = x.nextInt();\n\t\tString op = x.next();\n\t\tint b = x.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\tif(op.equals(\"+\")){\n\t\t\tSystem.out.println(a+b);\n\t\t}else if (op.equals(\"-\")){\n\t\t\tSystem.out.println(a-b);\n\t\t}else if (op.equals(\"*\")){\n\t\t\tSystem.out.println(a*b);\n\t\t}else if (op.equals(\"/\")){\n\t\t\tSystem.out.println(a/b);\n\t\t}\n\t\ta = x.nextInt();\n\t\top = x.next();\n\t\tb = x.nextInt();\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner x = new Scanner(System.in); int a = x.nextInt(); String op = x.next(); int b = x.nextInt(); while(!op.equals("?")){ 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); } a = x.nextInt(); op = x.next(); b = x.nextInt(); } } }
[ 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, 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, 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, 9, 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 ], [ 120, 11 ], [ 120, 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 ], [ 28, 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 ], [ 20, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 60, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 74, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 88, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 20, 116 ], [ 12, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "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\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString b = (s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\n\t\t\tif(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}\n\t\t\tcontinue;\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\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString b = (s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\n\t\t\tif(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}\n\t\t\tcontinue;\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\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString b = (s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\n\t\t\tif(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString b = (s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\n\t\t\tif(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}\n\t\t\tcontinue;\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 str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString b = (s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\n\t\t\tif(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}\n\t\t\tcontinue;\n\t\t}", "true", "{\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString b = (s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\n\t\t\tif(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}\n\t\t\tcontinue;\n\t\t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] s = str.split(\" \");", "s", "str.split(\" \")", "str.split", "str", "\" \"", "int a = Integer.parseInt(s[0]);", "a", "Integer.parseInt(s[0])", "Integer.parseInt", "Integer", "s[0]", "s", "0", "String b = (s[1]);", "b", "(s[1])", "s", "1", "int c = Integer.parseInt(s[2]);", "c", "Integer.parseInt(s[2])", "Integer.parseInt", "Integer", "s[2]", "s", "2", "if(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "b.equalsIgnoreCase(\"?\")", "b.equalsIgnoreCase", "b", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}", "b.equals(\"+\")", "b.equals", "b", "\"+\"", "{\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}", "System.out.println((a + c))", "System.out.println", "System.out", "System", "System.out", "(a + c)", "a", "c", "if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}", "b.equals(\"-\")", "b.equals", "b", "\"-\"", "{\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}", "System.out.println((a - c))", "System.out.println", "System.out", "System", "System.out", "(a - c)", "a", "c", "if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}", "b.equals(\"*\")", "b.equals", "b", "\"*\"", "{\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}", "System.out.println((a * c))", "System.out.println", "System.out", "System", "System.out", "(a * c)", "a", "c", "if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}", "b.equals(\"/\")", "b.equals", "b", "\"/\"", "{\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}", "System.out.println((a / c))", "System.out.println", "System.out", "System", "System.out", "(a / c)", "a", "c", "continue;", "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\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString b = (s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\n\t\t\tif(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}\n\t\t\tcontinue;\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\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tString b = (s[1]);\n\t\t\tint c = Integer.parseInt(s[2]);\n\n\t\t\tif(b.equalsIgnoreCase(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(b.equals(\"+\")){\n\t\t\t\tSystem.out.println((a + c));\n\t\t\t}else if(b.equals(\"-\")){\n\t\t\t\tSystem.out.println((a - c));\n\t\t\t}else if(b.equals(\"*\")){\n\t\t\t\tSystem.out.println((a * c));\n\t\t\t}else if(b.equals(\"/\")){\n\t\t\t\tSystem.out.println((a / c));\n\t\t\t}\n\t\t\tcontinue;\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)); while(true){ String str = br.readLine(); String[] s = str.split(" "); int a = Integer.parseInt(s[0]); String b = (s[1]); int c = Integer.parseInt(s[2]); if(b.equalsIgnoreCase("?")){ break; } if(b.equals("+")){ System.out.println((a + c)); }else if(b.equals("-")){ System.out.println((a - c)); }else if(b.equals("*")){ System.out.println((a * c)); }else if(b.equals("/")){ System.out.println((a / c)); } continue; } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 13, 13, 13, 13, 4, 18, 13, 13, 40, 13, 42, 40, 4, 18, 13, 17, 30, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 13, 13, 13, 13, 4, 18, 13, 13, 40, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 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 ], [ 212, 8 ], [ 212, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 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 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 11, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 46, 49 ], [ 46, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 11, 55 ], [ 55, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 63, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 63, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 63, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 84, 87 ], [ 84, 88 ], [ 63, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 63, 93 ], [ 93, 94 ], [ 11, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 95, 105 ], [ 105, 106 ], [ 106, 107 ], [ 95, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 11, 119 ], [ 119, 120 ], [ 120, 121 ], [ 9, 122 ], [ 122, 123 ], [ 212, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 130, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 140, 142 ], [ 130, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 143, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 153, 155 ], [ 143, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 156, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 166, 168 ], [ 156, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 169, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 179, 181 ], [ 169, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 183, 186 ], [ 182, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 182, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 196, 197 ], [ 196, 198 ], [ 191, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 126, 203 ], [ 203, 204 ], [ 124, 205 ], [ 205, 206 ], [ 124, 207 ], [ 207, 208 ], [ 124, 209 ], [ 209, 210 ], [ 0, 211 ], [ 211, 212 ], [ 211, 213 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args){\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tString op;\n\t\tString tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tx = sc.nextInt();\n\t\top = sc.next();\n\t\ty = sc.nextInt();\n\t\ttmp = ArrayAdder(x,y,op);\n\t\tary.add(tmp);\n\t\tcnt++;\n\n\t\twhile(!tmp.equals(\"end\")){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\ty = sc.nextInt();\n\t\t\ttmp = ArrayAdder(x,y,op);\n\t\t\tary.add(tmp);\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tpublic static String ArrayAdder(int x,int y,String op){\n\t\tString result = \"\";\n\t\tif(op.equals(\"+\")){\n\t\t\tresult = \"\" + (x + y);\n\t\t}else if(op.equals(\"-\")){\n\t\t\tresult = \"\" + (x - y);\n\t\t}else if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}\n\t\treturn result;\n\t}\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\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tString op;\n\t\tString tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tx = sc.nextInt();\n\t\top = sc.next();\n\t\ty = sc.nextInt();\n\t\ttmp = ArrayAdder(x,y,op);\n\t\tary.add(tmp);\n\t\tcnt++;\n\n\t\twhile(!tmp.equals(\"end\")){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\ty = sc.nextInt();\n\t\t\ttmp = ArrayAdder(x,y,op);\n\t\t\tary.add(tmp);\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tpublic static String ArrayAdder(int x,int y,String op){\n\t\tString result = \"\";\n\t\tif(op.equals(\"+\")){\n\t\t\tresult = \"\" + (x + y);\n\t\t}else if(op.equals(\"-\")){\n\t\t\tresult = \"\" + (x - y);\n\t\t}else if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}\n\t\treturn result;\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tString op;\n\t\tString tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tx = sc.nextInt();\n\t\top = sc.next();\n\t\ty = sc.nextInt();\n\t\ttmp = ArrayAdder(x,y,op);\n\t\tary.add(tmp);\n\t\tcnt++;\n\n\t\twhile(!tmp.equals(\"end\")){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\ty = sc.nextInt();\n\t\t\ttmp = ArrayAdder(x,y,op);\n\t\t\tary.add(tmp);\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}", "main", "{\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tString op;\n\t\tString tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tx = sc.nextInt();\n\t\top = sc.next();\n\t\ty = sc.nextInt();\n\t\ttmp = ArrayAdder(x,y,op);\n\t\tary.add(tmp);\n\t\tcnt++;\n\n\t\twhile(!tmp.equals(\"end\")){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\ty = sc.nextInt();\n\t\t\ttmp = ArrayAdder(x,y,op);\n\t\t\tary.add(tmp);\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}", "ArrayList<String> ary = new ArrayList<String>();", "ary", "new ArrayList<String>()", "int x", "x", "y;", "y", "String op;", "op", "String tmp;", "tmp", "int cnt = 0;", "cnt", "0", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "y = sc.nextInt()", "y", "sc.nextInt()", "sc.nextInt", "sc", "tmp = ArrayAdder(x,y,op)", "tmp", "ArrayAdder(x,y,op)", "ArrayAdder", "x", "y", "op", "ary.add(tmp)", "ary.add", "ary", "tmp", "cnt++", "cnt", "while(!tmp.equals(\"end\")){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\ty = sc.nextInt();\n\t\t\ttmp = ArrayAdder(x,y,op);\n\t\t\tary.add(tmp);\n\t\t\tcnt++;\n\t\t}", "!tmp.equals(\"end\")", "tmp.equals(\"end\")", "tmp.equals", "tmp", "\"end\"", "{\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\ty = sc.nextInt();\n\t\t\ttmp = ArrayAdder(x,y,op);\n\t\t\tary.add(tmp);\n\t\t\tcnt++;\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "op = sc.next()", "op", "sc.next()", "sc.next", "sc", "y = sc.nextInt()", "y", "sc.nextInt()", "sc.nextInt", "sc", "tmp = ArrayAdder(x,y,op)", "tmp", "ArrayAdder(x,y,op)", "ArrayAdder", "x", "y", "op", "ary.add(tmp)", "ary.add", "ary", "tmp", "cnt++", "cnt", "for(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<cnt-1", "i", "cnt-1", "cnt", "1", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}", "System.out.println(ary.get(i))", "System.out.println", "System.out", "System", "System.out", "ary.get(i)", "ary.get", "ary", "i", "sc.close()", "sc.close", "sc", "String[] args", "args", "public static String ArrayAdder(int x,int y,String op){\n\t\tString result = \"\";\n\t\tif(op.equals(\"+\")){\n\t\t\tresult = \"\" + (x + y);\n\t\t}else if(op.equals(\"-\")){\n\t\t\tresult = \"\" + (x - y);\n\t\t}else if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}\n\t\treturn result;\n\t}", "ArrayAdder", "{\n\t\tString result = \"\";\n\t\tif(op.equals(\"+\")){\n\t\t\tresult = \"\" + (x + y);\n\t\t}else if(op.equals(\"-\")){\n\t\t\tresult = \"\" + (x - y);\n\t\t}else if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}\n\t\treturn result;\n\t}", "String result = \"\";", "result", "\"\"", "if(op.equals(\"+\")){\n\t\t\tresult = \"\" + (x + y);\n\t\t}else if(op.equals(\"-\")){\n\t\t\tresult = \"\" + (x - y);\n\t\t}else if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\tresult = \"\" + (x + y);\n\t\t}", "result = \"\" + (x + y)", "result", "\"\" + (x + y)", "\"\"", "(x + y)", "x", "y", "if(op.equals(\"-\")){\n\t\t\tresult = \"\" + (x - y);\n\t\t}else if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\tresult = \"\" + (x - y);\n\t\t}", "result = \"\" + (x - y)", "result", "\"\" + (x - y)", "\"\"", "(x - y)", "x", "y", "if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\tresult = \"\" + (x * y);\n\t\t}", "result = \"\" + (x * y)", "result", "\"\" + (x * y)", "\"\"", "(x * y)", "x", "y", "if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\tresult = \"\" + (x / y);\n\t\t}", "result = \"\" + (x / y)", "result", "\"\" + (x / y)", "\"\"", "(x / y)", "x", "y", "if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\tresult = \"end\";\n\t\t}", "result = \"end\"", "result", "\"end\"", "if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}", "x==0 && y==0", "x==0", "x", "0", "y==0", "y", "0", "{\n\t\t\tresult = \"end\";\n\t\t}", "result = \"end\"", "result", "\"end\"", "return result;", "result", "int x", "x", "int y", "y", "String op", "op", "public class Main {\n\n\tpublic static void main(String[] args){\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tString op;\n\t\tString tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tx = sc.nextInt();\n\t\top = sc.next();\n\t\ty = sc.nextInt();\n\t\ttmp = ArrayAdder(x,y,op);\n\t\tary.add(tmp);\n\t\tcnt++;\n\n\t\twhile(!tmp.equals(\"end\")){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\ty = sc.nextInt();\n\t\t\ttmp = ArrayAdder(x,y,op);\n\t\t\tary.add(tmp);\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tpublic static String ArrayAdder(int x,int y,String op){\n\t\tString result = \"\";\n\t\tif(op.equals(\"+\")){\n\t\t\tresult = \"\" + (x + y);\n\t\t}else if(op.equals(\"-\")){\n\t\t\tresult = \"\" + (x - y);\n\t\t}else if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}\n\t\treturn result;\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args){\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tString op;\n\t\tString tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tx = sc.nextInt();\n\t\top = sc.next();\n\t\ty = sc.nextInt();\n\t\ttmp = ArrayAdder(x,y,op);\n\t\tary.add(tmp);\n\t\tcnt++;\n\n\t\twhile(!tmp.equals(\"end\")){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\ty = sc.nextInt();\n\t\t\ttmp = ArrayAdder(x,y,op);\n\t\t\tary.add(tmp);\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tpublic static String ArrayAdder(int x,int y,String op){\n\t\tString result = \"\";\n\t\tif(op.equals(\"+\")){\n\t\t\tresult = \"\" + (x + y);\n\t\t}else if(op.equals(\"-\")){\n\t\t\tresult = \"\" + (x - y);\n\t\t}else if(op.equals(\"*\")){\n\t\t\tresult = \"\" + (x * y);\n\t\t}else if(op.equals(\"/\")){\n\t\t\tresult = \"\" + (x / y);\n\t\t}else if(op.equals(\"?\")){\n\t\t\tresult = \"end\";\n\t\t}else if(x==0 && y==0){\n\t\t\tresult = \"end\";\n\t\t}\n\t\treturn result;\n\t}\n\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args){ ArrayList<String> ary = new ArrayList<String>(); int x,y; String op; String tmp; int cnt = 0; Scanner sc = new Scanner(System.in); x = sc.nextInt(); op = sc.next(); y = sc.nextInt(); tmp = ArrayAdder(x,y,op); ary.add(tmp); cnt++; while(!tmp.equals("end")){ sc.hasNext(); x = sc.nextInt(); op = sc.next(); y = sc.nextInt(); tmp = ArrayAdder(x,y,op); ary.add(tmp); cnt++; } for(int i=0;i<cnt-1;i++){ System.out.println(ary.get(i)); } sc.close(); } public static String ArrayAdder(int x,int y,String op){ String result = ""; if(op.equals("+")){ result = "" + (x + y); }else if(op.equals("-")){ result = "" + (x - y); }else if(op.equals("*")){ result = "" + (x * y); }else if(op.equals("/")){ result = "" + (x / y); }else if(op.equals("?")){ result = "end"; }else if(x==0 && y==0){ result = "end"; } return result; } }
[ 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, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 23, 13, 12, 13, 30, 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, 14, 4, 18, 13, 17, 0, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 13, 17, 29, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 124, 5 ], [ 124, 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 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 39, 42 ], [ 39, 43 ], [ 33, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 33, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 33, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 6, 59 ], [ 59, 60 ], [ 124, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 67, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 77, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 87, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 97, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 63, 115 ], [ 115, 116 ], [ 61, 117 ], [ 117, 118 ], [ 61, 119 ], [ 119, 120 ], [ 61, 121 ], [ 121, 122 ], [ 0, 123 ], [ 123, 124 ], [ 123, 125 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString b = sc.next();\n\t\tint c = sc.nextInt();\n\t\t\n\t\twhile (!b.equals(\"?\")) {\n\t\t\tSystem.out.println(calc(a, b, c));\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.next();\n\t\t\tc = sc.nextInt();\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static int calc(int a, String b, int c) {\n\t\tint result = 0;\n\t\t\n\t\tif(b.equals(\"+\")) result = a + c;\n\t\telse if (b.equals(\"-\")) result = a - c;\n\t\telse if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;\n\t\t\n\t\treturn result;\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\t\tint a = sc.nextInt();\n\t\tString b = sc.next();\n\t\tint c = sc.nextInt();\n\t\t\n\t\twhile (!b.equals(\"?\")) {\n\t\t\tSystem.out.println(calc(a, b, c));\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.next();\n\t\t\tc = sc.nextInt();\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static int calc(int a, String b, int c) {\n\t\tint result = 0;\n\t\t\n\t\tif(b.equals(\"+\")) result = a + c;\n\t\telse if (b.equals(\"-\")) result = a - c;\n\t\telse if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;\n\t\t\n\t\treturn result;\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString b = sc.next();\n\t\tint c = sc.nextInt();\n\t\t\n\t\twhile (!b.equals(\"?\")) {\n\t\t\tSystem.out.println(calc(a, b, c));\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.next();\n\t\t\tc = sc.nextInt();\t\t\t\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString b = sc.next();\n\t\tint c = sc.nextInt();\n\t\t\n\t\twhile (!b.equals(\"?\")) {\n\t\t\tSystem.out.println(calc(a, b, c));\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.next();\n\t\t\tc = sc.nextInt();\t\t\t\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String b = sc.next();", "b", "sc.next()", "sc.next", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "while (!b.equals(\"?\")) {\n\t\t\tSystem.out.println(calc(a, b, c));\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.next();\n\t\t\tc = sc.nextInt();\t\t\t\n\t\t}", "!b.equals(\"?\")", "b.equals(\"?\")", "b.equals", "b", "\"?\"", "{\n\t\t\tSystem.out.println(calc(a, b, c));\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.next();\n\t\t\tc = sc.nextInt();\t\t\t\n\t\t}", "System.out.println(calc(a, b, c))", "System.out.println", "System.out", "System", "System.out", "calc(a, b, c)", "calc", "a", "b", "c", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "b = sc.next()", "b", "sc.next()", "sc.next", "sc", "c = sc.nextInt()", "c", "sc.nextInt()", "sc.nextInt", "sc", "String[] args", "args", "public static int calc(int a, String b, int c) {\n\t\tint result = 0;\n\t\t\n\t\tif(b.equals(\"+\")) result = a + c;\n\t\telse if (b.equals(\"-\")) result = a - c;\n\t\telse if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;\n\t\t\n\t\treturn result;\n\t}", "calc", "{\n\t\tint result = 0;\n\t\t\n\t\tif(b.equals(\"+\")) result = a + c;\n\t\telse if (b.equals(\"-\")) result = a - c;\n\t\telse if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;\n\t\t\n\t\treturn result;\n\t}", "int result = 0;", "result", "0", "if(b.equals(\"+\")) result = a + c;\n\t\telse if (b.equals(\"-\")) result = a - c;\n\t\telse if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;", "b.equals(\"+\")", "b.equals", "b", "\"+\"", "result = a + c", "result", "a + c", "a", "c", "if (b.equals(\"-\")) result = a - c;\n\t\telse if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;", "b.equals(\"-\")", "b.equals", "b", "\"-\"", "result = a - c", "result", "a - c", "a", "c", "if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;", "b.equals(\"*\")", "b.equals", "b", "\"*\"", "result = a * c", "result", "a * c", "a", "c", "if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;", "b.equals(\"/\")", "b.equals", "b", "\"/\"", "result = a / c", "result", "a / c", "a", "c", "if (b.equals(\"?\")) result = 0;", "b.equals(\"?\")", "b.equals", "b", "\"?\"", "result = 0", "result", "0", "return result;", "result", "int a", "a", "String b", "b", "int c", "c", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString b = sc.next();\n\t\tint c = sc.nextInt();\n\t\t\n\t\twhile (!b.equals(\"?\")) {\n\t\t\tSystem.out.println(calc(a, b, c));\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.next();\n\t\t\tc = sc.nextInt();\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static int calc(int a, String b, int c) {\n\t\tint result = 0;\n\t\t\n\t\tif(b.equals(\"+\")) result = a + c;\n\t\telse if (b.equals(\"-\")) result = a - c;\n\t\telse if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;\n\t\t\n\t\treturn result;\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tString b = sc.next();\n\t\tint c = sc.nextInt();\n\t\t\n\t\twhile (!b.equals(\"?\")) {\n\t\t\tSystem.out.println(calc(a, b, c));\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.next();\n\t\t\tc = sc.nextInt();\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static int calc(int a, String b, int c) {\n\t\tint result = 0;\n\t\t\n\t\tif(b.equals(\"+\")) result = a + c;\n\t\telse if (b.equals(\"-\")) result = a - c;\n\t\telse if (b.equals(\"*\")) result = a * c;\n\t\telse if (b.equals(\"/\")) result = a / c;\n\t\telse if (b.equals(\"?\")) result = 0;\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 sc = new Scanner(System.in); int a = sc.nextInt(); String b = sc.next(); int c = sc.nextInt(); while (!b.equals("?")) { System.out.println(calc(a, b, c)); a = sc.nextInt(); b = sc.next(); c = sc.nextInt(); } } public static int calc(int a, String b, int c) { int result = 0; if(b.equals("+")) result = a + c; else if (b.equals("-")) result = a - c; else if (b.equals("*")) result = a * c; else if (b.equals("/")) result = a / c; else if (b.equals("?")) result = 0; return result; } }
[ 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, 20, 41, 13, 41, 13, 41, 13, 4, 18, 13, 4, 18, 13, 12, 13, 30, 4, 18, 20, 23, 13, 6, 13, 41, 13, 17, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 12, 13, 30, 4, 13, 18, 13, 13, 13, 12, 13, 30, 4, 13, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 13, 13, 13, 23, 13, 12, 13, 30, 4, 13, 13, 4, 13, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 13, 20, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 4, 18, 13, 30, 0, 13, 4, 18, 13, 13, 0, 13, 17, 12, 13, 30, 29, 13, 12, 13, 30, 29, 2, 2, 17, 13, 2, 13, 17, 23, 13, 12, 13, 30, 29, 2, 13, 17, 23, 13, 12, 13, 30, 40, 13, 4, 13, 12, 13, 30, 4, 13, 14, 2, 13, 13, 30, 29, 18, 13, 40, 13, 30, 29, 40, 17, 12, 13, 30, 29, 18, 4, 13, 20, 17, 17, 12, 13, 30, 4, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 41, 13, 17, 41, 13, 42, 2, 40, 4, 13, 0, 13, 18, 13, 13, 40, 4, 13, 13, 4, 13, 14, 4, 13, 18, 13, 13, 30, 0, 13, 40, 17, 4, 13, 42, 4, 13, 0, 13, 18, 13, 13, 30, 0, 13, 17, 0, 13, 2, 13, 17, 4, 13, 4, 13, 0, 18, 13, 13, 2, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 40, 4, 18, 18, 36, 13, 18, 13, 13, 4, 18, 18, 36, 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 ], [ 318, 17 ], [ 318, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 20, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 37, 38 ], [ 318, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 0, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 47, 54 ], [ 54, 55 ], [ 54, 56 ], [ 47, 57 ], [ 57, 58 ], [ 57, 59 ], [ 47, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 47, 64 ], [ 64, 65 ], [ 64, 66 ], [ 47, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 47, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 76, 85 ], [ 85, 86 ], [ 47, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 90, 93 ], [ 87, 94 ], [ 94, 95 ], [ 47, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 102, 104 ], [ 96, 105 ], [ 105, 106 ], [ 96, 107 ], [ 107, 108 ], [ 47, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 109, 115 ], [ 115, 116 ], [ 47, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 117, 124 ], [ 124, 125 ], [ 47, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 134, 135 ], [ 135, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 137, 144 ], [ 144, 145 ], [ 144, 146 ], [ 47, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 47, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 160, 162 ], [ 152, 163 ], [ 163, 164 ], [ 47, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 165, 172 ], [ 172, 173 ], [ 47, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 176, 179 ], [ 179, 180 ], [ 47, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 183, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 186, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 47, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 204, 209 ], [ 47, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 212, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 215, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 222, 224 ], [ 215, 225 ], [ 225, 226 ], [ 226, 227 ], [ 215, 228 ], [ 229, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 233, 234 ], [ 233, 235 ], [ 229, 236 ], [ 236, 237 ], [ 229, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 245, 247 ], [ 239, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 238, 252 ], [ 252, 253 ], [ 229, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 257, 258 ], [ 257, 259 ], [ 254, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 260, 265 ], [ 265, 266 ], [ 229, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 270, 272 ], [ 272, 273 ], [ 272, 274 ], [ 267, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 275, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 281, 283 ], [ 275, 284 ], [ 284, 285 ], [ 229, 286 ], [ 286, 287 ], [ 229, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 288, 292 ], [ 292, 293 ], [ 292, 294 ], [ 212, 295 ], [ 295, 296 ], [ 210, 297 ], [ 297, 298 ], [ 47, 299 ], [ 299, 300 ], [ 299, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 304, 309 ], [ 309, 310 ], [ 309, 311 ], [ 302, 312 ], [ 312, 313 ], [ 313, 314 ], [ 314, 315 ], [ 314, 316 ], [ 0, 317 ], [ 317, 318 ], [ 317, 319 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\n\npublic class Main {\n\tpublic void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a,b;\n\t\tchar op;\n\t\tLOOP:\n\t\twhile(true){\n\t\t\ta = input.nextInt();\n\t\t\top = input.nextChar();\n\t\t\tb = input.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase '+':\n\t\t\t\tout.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tout.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tout.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tout.println(a/b);\n\t\t\t\tbreak;\n\t\t\tcase '?':\n\t\t\tdefault:\n\t\t\t\tbreak LOOP;\n\t\t\t}\n\t\t}\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}\n\n/**\n * --------------------------------------------------\n * Input Utility\n * --------------------------------------------------\n */\nclass InputUtil {\n\t//Static Fields\n\tprivate static final int BUFSIZ = 50000;\n\t\n\t//Fields\n\tprotected InputStream in;\n\tprivate char[] buf = null;\n\tprivate int ptr = 0;\n\tprivate int max = -1;\n\tprivate BufferedReader br = null;\n\t\n\t//Constructors\n\tpublic InputUtil() {this(System.in,BUFSIZ);}\n\tpublic InputUtil(int bufsiz) {this(System.in,bufsiz);}\n\tpublic InputUtil(InputStream in) {this(in,BUFSIZ);}\n\tpublic InputUtil(InputStream in, int bufsiz) {\n\t\tinitBuf(bufsiz);\n\t\tinitIn(in);\n\t}\n\t\n\t//Methods\n\t//Initializer\n\tprotected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}\n\tprotected void initBuf(int bufsiz) {buf = new char[bufsiz];}\n\t\n\t//String Input Reader/Parser\n\tprivate void readBuf() throws IOException {\n\t\tif(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}\n\t}\n\t\n\tpublic BufferedReader getReader() {return br;}\n\t\n\t//Number Input Reader/Parser\n\tprivate boolean isNum(char b) {return '0' <= b && b <= '9'; }\n\tprivate boolean isMinus(char b) {return b=='-'; }\n\tprivate void next() throws IOException {ptr++; readBuf();}\n\n\tpublic char nextChar() throws IOException {\n\t\treadBuf();\n\t\tif(ptr < max) {\n\t\t\treturn buf[ptr++];\n\t\t}else{\n\t\t\treturn (char)-1;\n\t\t}\n\t}\n\n\tpublic int nextInt() throws IOException {return nextInt(new int[1])[0];}\n\tpublic int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}\n\t\treturn result;\n\t}\n\t\n\t//Close \n\tpublic void close() throws IOException {\n\t\tif(!this.in.equals(System.in)) \n\t\t\tthis.in.close();\n\t}\n\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.io.PrintWriter;", "PrintWriter", "java.io", "public class Main {\n\tpublic void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a,b;\n\t\tchar op;\n\t\tLOOP:\n\t\twhile(true){\n\t\t\ta = input.nextInt();\n\t\t\top = input.nextChar();\n\t\t\tb = input.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase '+':\n\t\t\t\tout.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tout.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tout.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tout.println(a/b);\n\t\t\t\tbreak;\n\t\t\tcase '?':\n\t\t\tdefault:\n\t\t\t\tbreak LOOP;\n\t\t\t}\n\t\t}\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}", "Main", "public void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a,b;\n\t\tchar op;\n\t\tLOOP:\n\t\twhile(true){\n\t\t\ta = input.nextInt();\n\t\t\top = input.nextChar();\n\t\t\tb = input.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase '+':\n\t\t\t\tout.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tout.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tout.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tout.println(a/b);\n\t\t\t\tbreak;\n\t\t\tcase '?':\n\t\t\tdefault:\n\t\t\t\tbreak LOOP;\n\t\t\t}\n\t\t}\n\t\tout.flush();\n\t\tinput.close();\n\t}", "exec", "{\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a,b;\n\t\tchar op;\n\t\tLOOP:\n\t\twhile(true){\n\t\t\ta = input.nextInt();\n\t\t\top = input.nextChar();\n\t\t\tb = input.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase '+':\n\t\t\t\tout.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tout.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tout.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tout.println(a/b);\n\t\t\t\tbreak;\n\t\t\tcase '?':\n\t\t\tdefault:\n\t\t\t\tbreak LOOP;\n\t\t\t}\n\t\t}\n\t\tout.flush();\n\t\tinput.close();\n\t}", "InputUtil input = new InputUtil();", "input", "new InputUtil()", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "int a", "a", "b;", "b", "char op;", "op", "out.flush()", "out.flush", "out", "input.close()", "input.close", "input", "public static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}", "main", "{\n\t\tnew Main().exec();\n\t}", "new Main().exec()", "new Main().exec", "new Main()", "String[] args", "args", "class InputUtil {\n\t//Static Fields\n\tprivate static final int BUFSIZ = 50000;\n\t\n\t//Fields\n\tprotected InputStream in;\n\tprivate char[] buf = null;\n\tprivate int ptr = 0;\n\tprivate int max = -1;\n\tprivate BufferedReader br = null;\n\t\n\t//Constructors\n\tpublic InputUtil() {this(System.in,BUFSIZ);}\n\tpublic InputUtil(int bufsiz) {this(System.in,bufsiz);}\n\tpublic InputUtil(InputStream in) {this(in,BUFSIZ);}\n\tpublic InputUtil(InputStream in, int bufsiz) {\n\t\tinitBuf(bufsiz);\n\t\tinitIn(in);\n\t}\n\t\n\t//Methods\n\t//Initializer\n\tprotected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}\n\tprotected void initBuf(int bufsiz) {buf = new char[bufsiz];}\n\t\n\t//String Input Reader/Parser\n\tprivate void readBuf() throws IOException {\n\t\tif(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}\n\t}\n\t\n\tpublic BufferedReader getReader() {return br;}\n\t\n\t//Number Input Reader/Parser\n\tprivate boolean isNum(char b) {return '0' <= b && b <= '9'; }\n\tprivate boolean isMinus(char b) {return b=='-'; }\n\tprivate void next() throws IOException {ptr++; readBuf();}\n\n\tpublic char nextChar() throws IOException {\n\t\treadBuf();\n\t\tif(ptr < max) {\n\t\t\treturn buf[ptr++];\n\t\t}else{\n\t\t\treturn (char)-1;\n\t\t}\n\t}\n\n\tpublic int nextInt() throws IOException {return nextInt(new int[1])[0];}\n\tpublic int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}\n\t\treturn result;\n\t}\n\t\n\t//Close \n\tpublic void close() throws IOException {\n\t\tif(!this.in.equals(System.in)) \n\t\t\tthis.in.close();\n\t}\n\n}", "InputUtil", "//Static Fields\n\tprivate static final int BUFSIZ = 50000;", "BUFSIZ", "50000", "//Fields\n\tprotected InputStream in;", "in", "private char[] buf = null;", "buf", "null", "private int ptr = 0;", "ptr", "0", "private int max = -1;", "max", "-1", "1", "private BufferedReader br = null;", "br", "null", "//Constructors\n\tpublic InputUtil() {this(System.in,BUFSIZ);}", "InputUtil", "{this(System.in,BUFSIZ);}", "this(System.in,BUFSIZ)", "this", "System.in", "System", "System.in", "BUFSIZ", "public InputUtil(int bufsiz) {this(System.in,bufsiz);}", "InputUtil", "{this(System.in,bufsiz);}", "this(System.in,bufsiz)", "this", "System.in", "System", "System.in", "bufsiz", "int bufsiz", "bufsiz", "public InputUtil(InputStream in) {this(in,BUFSIZ);}", "InputUtil", "{this(in,BUFSIZ);}", "this(in,BUFSIZ)", "this", "in", "BUFSIZ", "InputStream in", "in", "public InputUtil(InputStream in, int bufsiz) {\n\t\tinitBuf(bufsiz);\n\t\tinitIn(in);\n\t}", "InputUtil", "{\n\t\tinitBuf(bufsiz);\n\t\tinitIn(in);\n\t}", "initBuf(bufsiz)", "initBuf", "bufsiz", "initIn(in)", "initIn", "in", "InputStream in", "in", "int bufsiz", "bufsiz", "//Methods\n\t//Initializer\n\tprotected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}", "initIn", "{br = new BufferedReader(new InputStreamReader(this.in = in));}", "br = new BufferedReader(new InputStreamReader(this.in = in))", "br", "new BufferedReader(new InputStreamReader(this.in = in))", "InputStream in", "in", "protected void initBuf(int bufsiz) {buf = new char[bufsiz];}", "initBuf", "{buf = new char[bufsiz];}", "buf = new char[bufsiz]", "buf", "new char[bufsiz]", "bufsiz", "int bufsiz", "bufsiz", "//String Input Reader/Parser\n\tprivate void readBuf() throws IOException {\n\t\tif(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}\n\t}", "readBuf", "{\n\t\tif(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}\n\t}", "if(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}", "ptr >= max && br.ready()", "ptr >= max", "ptr", "max", "br.ready()", "br.ready", "br", "{\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}", "max = br.read(buf)", "max", "br.read(buf)", "br.read", "br", "buf", "ptr = 0", "ptr", "0", "public BufferedReader getReader() {return br;}", "getReader", "{return br;}", "return br;", "br", "//Number Input Reader/Parser\n\tprivate boolean isNum(char b) {return '0' <= b && b <= '9'; }", "isNum", "{return '0' <= b && b <= '9'; }", "return '0' <= b && b <= '9';", "'0' <= b && b <= '9'", "'0' <= b", "'0'", "b", "b <= '9'", "b", "'9'", "char b", "b", "private boolean isMinus(char b) {return b=='-'; }", "isMinus", "{return b=='-'; }", "return b=='-';", "b=='-'", "b", "'-'", "char b", "b", "private void next() throws IOException {ptr++; readBuf();}", "next", "{ptr++; readBuf();}", "ptr++", "ptr", "readBuf()", "readBuf", "public char nextChar() throws IOException {\n\t\treadBuf();\n\t\tif(ptr < max) {\n\t\t\treturn buf[ptr++];\n\t\t}else{\n\t\t\treturn (char)-1;\n\t\t}\n\t}", "nextChar", "{\n\t\treadBuf();\n\t\tif(ptr < max) {\n\t\t\treturn buf[ptr++];\n\t\t}else{\n\t\t\treturn (char)-1;\n\t\t}\n\t}", "readBuf()", "readBuf", "if(ptr < max) {\n\t\t\treturn buf[ptr++];\n\t\t}else{\n\t\t\treturn (char)-1;\n\t\t}", "ptr < max", "ptr", "max", "{\n\t\t\treturn buf[ptr++];\n\t\t}", "return buf[ptr++];", "buf[ptr++]", "buf", "ptr++", "ptr", "{\n\t\t\treturn (char)-1;\n\t\t}", "return (char)-1;", "(char)-1", "1", "public int nextInt() throws IOException {return nextInt(new int[1])[0];}", "nextInt", "{return nextInt(new int[1])[0];}", "return nextInt(new int[1])[0];", "nextInt(new int[1])[0]", "nextInt(new int[1])", "nextInt", "new int[1]", "1", "0", "public int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}\n\t\treturn result;\n\t}", "nextInt", "{\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}\n\t\treturn result;\n\t}", "readBuf()", "readBuf", "for(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<result.length", "i", "result.length", "result", "result.length", "i++", "i++", "i", "{\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}", "{\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}", "int sign = 1;", "sign", "1", "int res = 0;", "res", "0", "char c;", "c", "while (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();", "!isNum(c=buf[ptr]) && !isMinus(c)", "!isNum(c=buf[ptr])", "isNum(c=buf[ptr])", "isNum", "c=buf[ptr]", "c", "buf[ptr]", "buf", "ptr", "!isMinus(c)", "isMinus(c)", "isMinus", "c", "next()", "next", "if (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}", "isMinus(buf[ptr])", "isMinus", "buf[ptr]", "buf", "ptr", "{\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}", "sign = -1", "sign", "-1", "1", "next()", "next", "while (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}", "isNum(c=buf[ptr])", "isNum", "c=buf[ptr]", "c", "buf[ptr]", "buf", "ptr", "{\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "next()", "next", "next()", "next", "result[i] = sign * res", "result[i]", "result", "i", "sign * res", "sign", "res", "return result;", "result", "int[] result", "result", "//Close \n\tpublic void close() throws IOException {\n\t\tif(!this.in.equals(System.in)) \n\t\t\tthis.in.close();\n\t}", "close", "{\n\t\tif(!this.in.equals(System.in)) \n\t\t\tthis.in.close();\n\t}", "if(!this.in.equals(System.in)) \n\t\t\tthis.in.close();", "!this.in.equals(System.in)", "this.in.equals(System.in)", "this.in.equals", "this.in", "this", "this.in", "System.in", "System", "System.in", "this.in.close()", "this.in.close", "this.in", "this", "this.in", "public class Main {\n\tpublic void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a,b;\n\t\tchar op;\n\t\tLOOP:\n\t\twhile(true){\n\t\t\ta = input.nextInt();\n\t\t\top = input.nextChar();\n\t\t\tb = input.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase '+':\n\t\t\t\tout.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tout.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tout.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tout.println(a/b);\n\t\t\t\tbreak;\n\t\t\tcase '?':\n\t\t\tdefault:\n\t\t\t\tbreak LOOP;\n\t\t\t}\n\t\t}\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}", "public class Main {\n\tpublic void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint a,b;\n\t\tchar op;\n\t\tLOOP:\n\t\twhile(true){\n\t\t\ta = input.nextInt();\n\t\t\top = input.nextChar();\n\t\t\tb = input.nextInt();\n\t\t\tswitch(op){\n\t\t\tcase '+':\n\t\t\t\tout.println(a+b);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tout.println(a-b);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tout.println(a*b);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tout.println(a/b);\n\t\t\t\tbreak;\n\t\t\tcase '?':\n\t\t\tdefault:\n\t\t\t\tbreak LOOP;\n\t\t\t}\n\t\t}\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; public class Main { public void exec() throws IOException { InputUtil input = new InputUtil(); PrintWriter out = new PrintWriter(System.out); int a,b; char op; LOOP: while(true){ a = input.nextInt(); op = input.nextChar(); b = input.nextInt(); switch(op){ case '+': out.println(a+b); break; case '-': out.println(a-b); break; case '*': out.println(a*b); break; case '/': out.println(a/b); break; case '?': default: break LOOP; } } out.flush(); input.close(); } public static void main(String[] args) throws IOException { new Main().exec(); } } /** * -------------------------------------------------- * Input Utility * -------------------------------------------------- */ class InputUtil { //Static Fields private static final int BUFSIZ = 50000; //Fields protected InputStream in; private char[] buf = null; private int ptr = 0; private int max = -1; private BufferedReader br = null; //Constructors public InputUtil() {this(System.in,BUFSIZ);} public InputUtil(int bufsiz) {this(System.in,bufsiz);} public InputUtil(InputStream in) {this(in,BUFSIZ);} public InputUtil(InputStream in, int bufsiz) { initBuf(bufsiz); initIn(in); } //Methods //Initializer protected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));} protected void initBuf(int bufsiz) {buf = new char[bufsiz];} //String Input Reader/Parser private void readBuf() throws IOException { if(ptr >= max && br.ready()) { max = br.read(buf); ptr = 0; } } public BufferedReader getReader() {return br;} //Number Input Reader/Parser private boolean isNum(char b) {return '0' <= b && b <= '9'; } private boolean isMinus(char b) {return b=='-'; } private void next() throws IOException {ptr++; readBuf();} public char nextChar() throws IOException { readBuf(); if(ptr < max) { return buf[ptr++]; }else{ return (char)-1; } } public int nextInt() throws IOException {return nextInt(new int[1])[0];} public int[] nextInt(int[] result) throws IOException { readBuf(); for(int i=0; i<result.length; i++) { int sign = 1; int res = 0; char c; while (!isNum(c=buf[ptr]) && !isMinus(c)) next(); if (isMinus(buf[ptr])) { sign = -1; next(); } while (isNum(c=buf[ptr])) { res *= 10; res += c - '0' ; next(); } next(); result[i] = sign * res; } return result; } //Close public void close() throws IOException { if(!this.in.equals(System.in)) this.in.close(); } }
[ 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, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 14, 4, 18, 17, 13, 30, 3, 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 ], [ 107, 5 ], [ 107, 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 ], [ 33, 35 ], [ 14, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 14, 44 ], [ 44, 45 ], [ 44, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 47, 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 ], [ 76, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 14, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 6, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "import java.io.*;\n\npublic class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \n\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = (str[1]);\n int b = Integer.parseInt(str[2]);\n int result = 0;\n \n if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }\n \n System.out.println(result);\n }\n }\n}", "import java.io.*;", "io.*", "java", "public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \n\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = (str[1]);\n int b = Integer.parseInt(str[2]);\n int result = 0;\n \n if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }\n \n System.out.println(result);\n }\n }\n}", "Main", "public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \n\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = (str[1]);\n int b = Integer.parseInt(str[2]);\n int result = 0;\n \n if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }\n \n System.out.println(result);\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \n\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = (str[1]);\n int b = Integer.parseInt(str[2]);\n int result = 0;\n \n if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }\n \n System.out.println(result);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n \n\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = (str[1]);\n int b = Integer.parseInt(str[2]);\n int result = 0;\n \n if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }\n \n System.out.println(result);\n }", "true", "{\n \n\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = (str[1]);\n int b = Integer.parseInt(str[2]);\n int result = 0;\n \n if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }\n \n System.out.println(result);\n }", "String[]str= br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "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", "int result = 0;", "result", "0", "if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }", "\"?\".equals(op)", "\"?\".equals", "\"?\"", "op", "{\n break;\n }", "break;", "if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }", "\"+\".equals(op)", "\"+\".equals", "\"+\"", "op", "{\n result=a+b;\n }", "result=a+b", "result", "a+b", "a", "b", "if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }", "\"-\".equals(op)", "\"-\".equals", "\"-\"", "op", "{\n result=a-b;\n }", "result=a-b", "result", "a-b", "a", "b", "if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }", "\"*\".equals(op)", "\"*\".equals", "\"*\"", "op", "{\n result=a*b;\n }", "result=a*b", "result", "a*b", "a", "b", "if(\"/\".equals(op)){\n result=a/b;\n }", "\"/\".equals(op)", "\"/\".equals", "\"/\"", "op", "{\n result=a/b;\n }", "result=a/b", "result", "a/b", "a", "b", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[]args", "args", "public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \n\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = (str[1]);\n int b = Integer.parseInt(str[2]);\n int result = 0;\n \n if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }\n \n System.out.println(result);\n }\n }\n}", "public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \n\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = (str[1]);\n int b = Integer.parseInt(str[2]);\n int result = 0;\n \n if(\"?\".equals(op)){\n break;\n }else if(\"+\".equals(op)){\n result=a+b;\n }else if(\"-\".equals(op)){\n result=a-b;\n }else if(\"*\".equals(op)){\n result=a*b;\n }else if(\"/\".equals(op)){\n result=a/b;\n }\n \n System.out.println(result);\n }\n }\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[]args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String[]str= br.readLine().split(" "); int a = Integer.parseInt(str[0]); String op = (str[1]); int b = Integer.parseInt(str[2]); int result = 0; if("?".equals(op)){ break; }else 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; } System.out.println(result); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 42, 40, 4, 18, 13, 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, 2, 4, 18, 13, 17, 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 ], [ 122, 5 ], [ 122, 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 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 19, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 25, 41 ], [ 41, 42 ], [ 44, 43 ], [ 51, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 51, 51 ], [ 51, 52 ], [ 51, 53 ], [ 44, 54 ], [ 54, 55 ], [ 54, 56 ], [ 41, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 58, 67 ], [ 67, 68 ], [ 57, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 73, 82 ], [ 69, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 85, 94 ], [ 69, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 97, 106 ], [ 69, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 109, 118 ], [ 6, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a,b;\n\t\tString op = \"+\";\n\t\twhile (!op.equals(\"?\")) {\n\t\ta = scan.nextInt();\n\t\top = scan.next();\n\t\tb = scan.nextInt();\n\n\t\tif (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\t\t}\n\t\t}\n\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 scan = new Scanner(System.in);\n\n\t\tint a,b;\n\t\tString op = \"+\";\n\t\twhile (!op.equals(\"?\")) {\n\t\ta = scan.nextInt();\n\t\top = scan.next();\n\t\tb = scan.nextInt();\n\n\t\tif (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\t\t}\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a,b;\n\t\tString op = \"+\";\n\t\twhile (!op.equals(\"?\")) {\n\t\ta = scan.nextInt();\n\t\top = scan.next();\n\t\tb = scan.nextInt();\n\n\t\tif (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\t\t}\n\t\t}\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a,b;\n\t\tString op = \"+\";\n\t\twhile (!op.equals(\"?\")) {\n\t\ta = scan.nextInt();\n\t\top = scan.next();\n\t\tb = scan.nextInt();\n\n\t\tif (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\t\t}\n\t\t}\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a", "a", "b;", "b", "String op = \"+\";", "op", "\"+\"", "while (!op.equals(\"?\")) {\n\t\ta = scan.nextInt();\n\t\top = scan.next();\n\t\tb = scan.nextInt();\n\n\t\tif (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\t\t}\n\t\t}", "!op.equals(\"?\")", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\ta = scan.nextInt();\n\t\top = scan.next();\n\t\tb = scan.nextInt();\n\n\t\tif (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\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 (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\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\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\t\t}", "if (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}", "op.equals(\"/\") && b == 0", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "b == 0", "b", "0", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "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\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\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;", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a,b;\n\t\tString op = \"+\";\n\t\twhile (!op.equals(\"?\")) {\n\t\ta = scan.nextInt();\n\t\top = scan.next();\n\t\tb = scan.nextInt();\n\n\t\tif (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\t\t}\n\t\t}\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a,b;\n\t\tString op = \"+\";\n\t\twhile (!op.equals(\"?\")) {\n\t\ta = scan.nextInt();\n\t\top = scan.next();\n\t\tb = scan.nextInt();\n\n\t\tif (0 <= a && a <= 20000 && 0 <= b && b <= 20000) {\n\n\t\t\t\tif (op.equals(\"/\") && b == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\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\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\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\t\t\t}\n\t\t}\n\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 = "+"; while (!op.equals("?")) { a = scan.nextInt(); op = scan.next(); b = scan.nextInt(); if (0 <= a && a <= 20000 && 0 <= b && b <= 20000) { if (op.equals("/") && b == 0) { 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; } } } } }
[ 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, 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, 14, 2, 13, 17, 3, 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 ], [ 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 ], [ 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 ], [ 22, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 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\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint a, b;\n \tString op;\n \twhile(scan.hasNext()){\n \ta = scan.nextInt();\n \top = scan.next();\n \tb = scan.nextInt();\n \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}\n \t\tif(op == \"?\")\n \t\t\tbreak;\n \t}\n scan.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint a, b;\n \tString op;\n \twhile(scan.hasNext()){\n \ta = scan.nextInt();\n \top = scan.next();\n \tb = scan.nextInt();\n \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}\n \t\tif(op == \"?\")\n \t\t\tbreak;\n \t}\n scan.close();\n }\n}", "Main", "public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint a, b;\n \tString op;\n \twhile(scan.hasNext()){\n \ta = scan.nextInt();\n \top = scan.next();\n \tb = scan.nextInt();\n \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}\n \t\tif(op == \"?\")\n \t\t\tbreak;\n \t}\n scan.close();\n }", "main", "{\n \tScanner scan = new Scanner(System.in);\n \tint a, b;\n \tString op;\n \twhile(scan.hasNext()){\n \ta = scan.nextInt();\n \top = scan.next();\n \tb = scan.nextInt();\n \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}\n \t\tif(op == \"?\")\n \t\t\tbreak;\n \t}\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a", "a", "b;", "b", "String op;", "op", "while(scan.hasNext()){\n \ta = scan.nextInt();\n \top = scan.next();\n \tb = scan.nextInt();\n \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}\n \t\tif(op == \"?\")\n \t\t\tbreak;\n \t}", "scan.hasNext()", "scan.hasNext", "scan", "{\n \ta = scan.nextInt();\n \top = scan.next();\n \tb = scan.nextInt();\n \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}\n \t\tif(op == \"?\")\n \t\t\tbreak;\n \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", "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}", "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;", "if(op == \"?\")\n \t\t\tbreak;", "op == \"?\"", "op", "\"?\"", "break;", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint a, b;\n \tString op;\n \twhile(scan.hasNext()){\n \ta = scan.nextInt();\n \top = scan.next();\n \tb = scan.nextInt();\n \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}\n \t\tif(op == \"?\")\n \t\t\tbreak;\n \t}\n scan.close();\n }\n}", "public class Main {\n\n\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint a, b;\n \tString op;\n \twhile(scan.hasNext()){\n \ta = scan.nextInt();\n \top = scan.next();\n \tb = scan.nextInt();\n \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}\n \t\tif(op == \"?\")\n \t\t\tbreak;\n \t}\n scan.close();\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; while(scan.hasNext()){ a = scan.nextInt(); op = scan.next(); b = scan.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; } if(op == "?") break; } scan.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 41, 13, 4, 18, 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, 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, 34, 1, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 123, 8 ], [ 123, 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 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 34, 39 ], [ 31, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 31, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 31, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 31, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 65, 74 ], [ 61, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 77, 86 ], [ 61, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 89, 98 ], [ 61, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 101, 110 ], [ 61, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 61, 118 ], [ 118, 119 ], [ 9, 120 ], [ 120, 121 ], [ 0, 122 ], [ 122, 123 ], [ 122, 124 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tboolean end = false;\n\n\t\twhile (end == false) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\top = tmp[1];\n\t\t\tb = Integer.parseInt(tmp[2]);\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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\n\t\t\t}\n\t\t}\n\n\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{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tboolean end = false;\n\n\t\twhile (end == false) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\top = tmp[1];\n\t\t\tb = Integer.parseInt(tmp[2]);\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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\n\t\t\t}\n\t\t}\n\n\t}\n}", "Main", "public static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tboolean end = false;\n\n\t\twhile (end == false) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\top = tmp[1];\n\t\t\tb = Integer.parseInt(tmp[2]);\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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\n\t\t\t}\n\t\t}\n\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tboolean end = false;\n\n\t\twhile (end == false) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\top = tmp[1];\n\t\t\tb = Integer.parseInt(tmp[2]);\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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\n\t\t\t}\n\t\t}\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int a = 0;", "a", "0", "String op = \"\";", "op", "\"\"", "int b = 0;", "b", "0", "boolean end = false;", "end", "false", "while (end == false) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\top = tmp[1];\n\t\t\tb = Integer.parseInt(tmp[2]);\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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\n\t\t\t}\n\t\t}", "end == false", "end", "false", "{\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\top = tmp[1];\n\t\t\tb = Integer.parseInt(tmp[2]);\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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\n\t\t\t}\n\t\t}", "String[] tmp = br.readLine().split(\" \");", "tmp", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "a = Integer.parseInt(tmp[0])", "a", "Integer.parseInt(tmp[0])", "Integer.parseInt", "Integer", "tmp[0]", "tmp", "0", "op = tmp[1]", "op", "tmp[1]", "tmp", "1", "b = Integer.parseInt(tmp[2])", "b", "Integer.parseInt(tmp[2])", "Integer.parseInt", "Integer", "tmp[2]", "tmp", "2", "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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\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;", "case \"?\":", "\"?\"", "case \"?\":", "end = true", "end", "true", "break;", "default:", "default:", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tboolean end = false;\n\n\t\twhile (end == false) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\top = tmp[1];\n\t\t\tb = Integer.parseInt(tmp[2]);\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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\n\t\t\t}\n\t\t}\n\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tboolean end = false;\n\n\t\twhile (end == false) {\n\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\top = tmp[1];\n\t\t\tb = Integer.parseInt(tmp[2]);\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\tcase \"?\":\n\t\t\t\tend = true;\n\t\t\t\tbreak;\n\t\t\tdefault:\n\n\t\t\t}\n\t\t}\n\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String args[]) throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int a = 0; String op = ""; int b = 0; boolean end = false; while (end == false) { String[] tmp = br.readLine().split(" "); a = Integer.parseInt(tmp[0]); op = tmp[1]; b = Integer.parseInt(tmp[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 "?": end = true; break; default: } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 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, 3, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 130, 11 ], [ 130, 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 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 70, 72 ], [ 28, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 82, 84 ], [ 28, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 28, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 97, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 28, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 109, 114 ], [ 114, 115 ], [ 14, 116 ], [ 116, 117 ], [ 116, 118 ], [ 116, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 12, 127 ], [ 127, 128 ], [ 0, 129 ], [ 129, 130 ], [ 129, 131 ] ]
[ "\nimport 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\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint i = 0;\n\t\twhile (i == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint a = Integer.parseInt(x[0]);\n\t\t\tint b = Integer.parseInt(x[2]);\n\t\t\tString op = x[1];\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}\n\t\t\tif (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}\n\t\t\tif (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}\n\t\t\tif (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (Integer integer : list) {\n\t\t\tSystem.out.println(integer);\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\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint i = 0;\n\t\twhile (i == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint a = Integer.parseInt(x[0]);\n\t\t\tint b = Integer.parseInt(x[2]);\n\t\t\tString op = x[1];\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}\n\t\t\tif (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}\n\t\t\tif (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}\n\t\t\tif (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (Integer integer : list) {\n\t\t\tSystem.out.println(integer);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint i = 0;\n\t\twhile (i == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint a = Integer.parseInt(x[0]);\n\t\t\tint b = Integer.parseInt(x[2]);\n\t\t\tString op = x[1];\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}\n\t\t\tif (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}\n\t\t\tif (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}\n\t\t\tif (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (Integer integer : list) {\n\t\t\tSystem.out.println(integer);\n\t\t}\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint i = 0;\n\t\twhile (i == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint a = Integer.parseInt(x[0]);\n\t\t\tint b = Integer.parseInt(x[2]);\n\t\t\tString op = x[1];\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}\n\t\t\tif (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}\n\t\t\tif (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}\n\t\t\tif (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (Integer integer : list) {\n\t\t\tSystem.out.println(integer);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "List<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "int i = 0;", "i", "0", "while (i == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint a = Integer.parseInt(x[0]);\n\t\t\tint b = Integer.parseInt(x[2]);\n\t\t\tString op = x[1];\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}\n\t\t\tif (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}\n\t\t\tif (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}\n\t\t\tif (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "i == 0", "i", "0", "{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint a = Integer.parseInt(x[0]);\n\t\t\tint b = Integer.parseInt(x[2]);\n\t\t\tString op = x[1];\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}\n\t\t\tif (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}\n\t\t\tif (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}\n\t\t\tif (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] x = line.split(\" \");", "x", "line.split(\" \")", "line.split", "line", "\" \"", "int a = Integer.parseInt(x[0]);", "a", "Integer.parseInt(x[0])", "Integer.parseInt", "Integer", "x[0]", "x", "0", "int b = Integer.parseInt(x[2]);", "b", "Integer.parseInt(x[2])", "Integer.parseInt", "Integer", "x[2]", "x", "2", "String op = x[1];", "op", "x[1]", "x", "1", "if (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tlist.add(a + b);\n\t\t\t}", "list.add(a + b)", "list.add", "list", "a + b", "a", "b", "if (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tlist.add(a - b);\n\t\t\t}", "list.add(a - b)", "list.add", "list", "a - b", "a", "b", "if (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tlist.add(a * b);\n\t\t\t}", "list.add(a * b)", "list.add", "list", "a * b", "a", "b", "if (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tlist.add(a / b);\n\t\t\t}", "list.add(a / b)", "list.add", "list", "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;", "for (Integer integer : list) {\n\t\t\tSystem.out.println(integer);\n\t\t}", "Integer integer", "list", "{\n\t\t\tSystem.out.println(integer);\n\t\t}", "{\n\t\t\tSystem.out.println(integer);\n\t\t}", "System.out.println(integer)", "System.out.println", "System.out", "System", "System.out", "integer", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint i = 0;\n\t\twhile (i == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint a = Integer.parseInt(x[0]);\n\t\t\tint b = Integer.parseInt(x[2]);\n\t\t\tString op = x[1];\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}\n\t\t\tif (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}\n\t\t\tif (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}\n\t\t\tif (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (Integer integer : list) {\n\t\t\tSystem.out.println(integer);\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tint i = 0;\n\t\twhile (i == 0) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] x = line.split(\" \");\n\t\t\tint a = Integer.parseInt(x[0]);\n\t\t\tint b = Integer.parseInt(x[2]);\n\t\t\tString op = x[1];\n\t\t\tif (op.equals(\"+\")) {\n\t\t\t\tlist.add(a + b);\n\t\t\t}\n\t\t\tif (op.equals(\"-\")) {\n\t\t\t\tlist.add(a - b);\n\t\t\t}\n\t\t\tif (op.equals(\"*\")) {\n\t\t\t\tlist.add(a * b);\n\t\t\t}\n\t\t\tif (op.equals(\"/\")) {\n\t\t\t\tlist.add(a / b);\n\t\t\t}\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (Integer integer : list) {\n\t\t\tSystem.out.println(integer);\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) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); List<Integer> list = new ArrayList<Integer>(); int i = 0; while (i == 0) { String line = sc.nextLine(); String[] x = line.split(" "); int a = Integer.parseInt(x[0]); int b = Integer.parseInt(x[2]); String op = x[1]; if (op.equals("+")) { list.add(a + b); } if (op.equals("-")) { list.add(a - b); } if (op.equals("*")) { list.add(a * b); } if (op.equals("/")) { list.add(a / b); } if (op.equals("?")) { break; } } for (Integer integer : list) { System.out.println(integer); } } }
[ 7, 15, 13, 17, 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, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 17, 3, 14, 2, 13, 17, 0, 13, 2, 13, 13, 14, 2, 13, 17, 0, 13, 2, 13, 13, 14, 2, 13, 17, 0, 13, 2, 13, 13, 14, 2, 13, 17, 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 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 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 ], [ 28, 29 ], [ 29, 30 ], [ 26, 31 ], [ 18, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 18, 37 ], [ 37, 38 ], [ 37, 39 ], [ 18, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 40, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 45, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 63, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 18, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 9, 87 ], [ 87, 88 ] ]
[ "import java.util.*;\nimport java.text.*;\n\nclass Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int a = sc.nextInt();\n char c = sc.next().charAt(0);\n int b = sc.nextInt();\n int r = 0;\n if(c=='?') break;\n else if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;\n System.out.println(r);\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.text.*;", "text.*", "java", "class Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int a = sc.nextInt();\n char c = sc.next().charAt(0);\n int b = sc.nextInt();\n int r = 0;\n if(c=='?') break;\n else if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;\n System.out.println(r);\n }\n }\n}", "Main", "public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int a = sc.nextInt();\n char c = sc.next().charAt(0);\n int b = sc.nextInt();\n int r = 0;\n if(c=='?') break;\n else if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;\n System.out.println(r);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int a = sc.nextInt();\n char c = sc.next().charAt(0);\n int b = sc.nextInt();\n int r = 0;\n if(c=='?') break;\n else if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;\n System.out.println(r);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "for(;;) {\n int a = sc.nextInt();\n char c = sc.next().charAt(0);\n int b = sc.nextInt();\n int r = 0;\n if(c=='?') break;\n else if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;\n System.out.println(r);\n }", ";", "{\n int a = sc.nextInt();\n char c = sc.next().charAt(0);\n int b = sc.nextInt();\n int r = 0;\n if(c=='?') break;\n else if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;\n System.out.println(r);\n }", "{\n int a = sc.nextInt();\n char c = sc.next().charAt(0);\n int b = sc.nextInt();\n int r = 0;\n if(c=='?') break;\n else if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;\n System.out.println(r);\n }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "char c = sc.next().charAt(0);", "c", "sc.next().charAt(0)", "sc.next().charAt", "sc.next()", "sc.next", "sc", "0", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int r = 0;", "r", "0", "if(c=='?') break;\n else if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;", "c=='?'", "c", "'?'", "break;", "if(c=='+') r = a + b;\n else if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;", "c=='+'", "c", "'+'", "r = a + b", "r", "a + b", "a", "b", "if(c=='-') r = a - b;\n else if(c=='*') r = a * b;\n else if(c=='/') r = a / b;", "c=='-'", "c", "'-'", "r = a - b", "r", "a - b", "a", "b", "if(c=='*') r = a * b;\n else if(c=='/') r = a / b;", "c=='*'", "c", "'*'", "r = a * b", "r", "a * b", "a", "b", "if(c=='/') r = a / b;", "c=='/'", "c", "'/'", "r = a / b", "r", "a / b", "a", "b", "System.out.println(r)", "System.out.println", "System.out", "System", "System.out", "r", "String[]args", "args" ]
import java.util.*; import java.text.*; class Main { public static void main(String[]args)throws Exception { Scanner sc = new Scanner(System.in); for(;;) { int a = sc.nextInt(); char c = sc.next().charAt(0); int b = sc.nextInt(); int r = 0; if(c=='?') break; else if(c=='+') r = a + b; else if(c=='-') r = a - b; else if(c=='*') r = a * b; else if(c=='/') r = a / b; System.out.println(r); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 13, 14, 4, 18, 17, 18, 4, 18, 13, 17, 17, 30, 3, 14, 4, 18, 17, 18, 4, 18, 13, 17, 17, 30, 4, 18, 13, 2, 4, 18, 13, 18, 4, 18, 13, 17, 17, 4, 18, 13, 18, 4, 18, 13, 17, 17, 14, 4, 18, 17, 18, 4, 18, 13, 17, 17, 30, 4, 18, 13, 2, 4, 18, 13, 18, 4, 18, 13, 17, 17, 4, 18, 13, 18, 4, 18, 13, 17, 17, 14, 4, 18, 17, 18, 4, 18, 13, 17, 17, 30, 4, 18, 13, 2, 4, 18, 13, 18, 4, 18, 13, 17, 17, 4, 18, 13, 18, 4, 18, 13, 17, 17, 14, 4, 18, 17, 18, 4, 18, 13, 17, 17, 30, 4, 18, 13, 2, 4, 18, 13, 18, 4, 18, 13, 17, 17, 4, 18, 13, 18, 4, 18, 13, 17, 17, 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 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 29, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 35, 45 ], [ 45, 46 ], [ 29, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 47, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 84, 89 ], [ 80, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 98, 103 ], [ 94, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 107, 112 ], [ 80, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 117, 122 ], [ 113, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 131, 136 ], [ 127, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 140, 145 ], [ 113, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 150, 155 ], [ 146, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 164, 169 ], [ 160, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 174, 177 ], [ 173, 178 ], [ 17, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 179, 189 ], [ 189, 190 ], [ 190, 191 ], [ 179, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 200, 201 ], [ 199, 202 ], [ 15, 203 ], [ 203, 204 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strIn = \"\";\n\t\tArrayList<Integer> numArray = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tstrIn = br.readLine();\n\t\t\tif (\"?\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (\"+\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"-\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(numArray.get(i));\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\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strIn = \"\";\n\t\tArrayList<Integer> numArray = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tstrIn = br.readLine();\n\t\t\tif (\"?\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (\"+\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"-\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(numArray.get(i));\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 strIn = \"\";\n\t\tArrayList<Integer> numArray = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tstrIn = br.readLine();\n\t\t\tif (\"?\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (\"+\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"-\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(numArray.get(i));\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strIn = \"\";\n\t\tArrayList<Integer> numArray = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tstrIn = br.readLine();\n\t\t\tif (\"?\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (\"+\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"-\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(numArray.get(i));\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String strIn = \"\";", "strIn", "\"\"", "ArrayList<Integer> numArray = new ArrayList<Integer>();", "numArray", "new ArrayList<Integer>()", "while (true) {\n\t\t\tstrIn = br.readLine();\n\t\t\tif (\"?\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (\"+\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"-\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tstrIn = br.readLine();\n\t\t\tif (\"?\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (\"+\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"-\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}\n\t\t}", "strIn = br.readLine()", "strIn", "br.readLine()", "br.readLine", "br", "if (\"?\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tbreak;\n\t\t\t}", "\"?\".equals(strIn.split(\" \")[1])", "\"?\".equals", "\"?\"", "strIn.split(\" \")[1]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if (\"+\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"-\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}", "\"+\".equals(strIn.split(\" \")[1])", "\"+\".equals", "\"+\"", "strIn.split(\" \")[1]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "1", "{\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}", "numArray.add(Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2]))", "numArray.add", "numArray", "Integer.parseInt(strIn.split(\" \")[0]) + Integer.parseInt(strIn.split(\" \")[2])", "Integer.parseInt(strIn.split(\" \")[0])", "Integer.parseInt", "Integer", "strIn.split(\" \")[0]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "0", "Integer.parseInt(strIn.split(\" \")[2])", "Integer.parseInt", "Integer", "strIn.split(\" \")[2]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "2", "if (\"-\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}", "\"-\".equals(strIn.split(\" \")[1])", "\"-\".equals", "\"-\"", "strIn.split(\" \")[1]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "1", "{\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}", "numArray.add(Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2]))", "numArray.add", "numArray", "Integer.parseInt(strIn.split(\" \")[0]) - Integer.parseInt(strIn.split(\" \")[2])", "Integer.parseInt(strIn.split(\" \")[0])", "Integer.parseInt", "Integer", "strIn.split(\" \")[0]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "0", "Integer.parseInt(strIn.split(\" \")[2])", "Integer.parseInt", "Integer", "strIn.split(\" \")[2]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "2", "if (\"*\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t} else if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}", "\"*\".equals(strIn.split(\" \")[1])", "\"*\".equals", "\"*\"", "strIn.split(\" \")[1]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "1", "{\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}", "numArray.add(Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2]))", "numArray.add", "numArray", "Integer.parseInt(strIn.split(\" \")[0]) * Integer.parseInt(strIn.split(\" \")[2])", "Integer.parseInt(strIn.split(\" \")[0])", "Integer.parseInt", "Integer", "strIn.split(\" \")[0]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "0", "Integer.parseInt(strIn.split(\" \")[2])", "Integer.parseInt", "Integer", "strIn.split(\" \")[2]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "2", "if (\"/\".equals(strIn.split(\" \")[1])) {\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}", "\"/\".equals(strIn.split(\" \")[1])", "\"/\".equals", "\"/\"", "strIn.split(\" \")[1]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "1", "{\n\t\t\t\tnumArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]));\n\t\t\t}", "numArray.add(Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2]))", "numArray.add", "numArray", "Integer.parseInt(strIn.split(\" \")[0]) / Integer.parseInt(strIn.split(\" \")[2])", "Integer.parseInt(strIn.split(\" \")[0])", "Integer.parseInt", "Integer", "strIn.split(\" \")[0]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "0", "Integer.parseInt(strIn.split(\" \")[2])", "Integer.parseInt", "Integer", "strIn.split(\" \")[2]", "strIn.split(\" \")", "strIn.split", "strIn", "\" \"", "2", "for (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(numArray.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < numArray.size()", "i", "numArray.size()", "numArray.size", "numArray", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(numArray.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(numArray.get(i));\n\t\t}", "System.out.println(numArray.get(i))", "System.out.println", "System.out", "System", "System.out", "numArray.get(i)", "numArray.get", "numArray", "i", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String strIn = ""; ArrayList<Integer> numArray = new ArrayList<Integer>(); while (true) { strIn = br.readLine(); if ("?".equals(strIn.split(" ")[1])) { break; } if ("+".equals(strIn.split(" ")[1])) { numArray.add(Integer.parseInt(strIn.split(" ")[0]) + Integer.parseInt(strIn.split(" ")[2])); } else if ("-".equals(strIn.split(" ")[1])) { numArray.add(Integer.parseInt(strIn.split(" ")[0]) - Integer.parseInt(strIn.split(" ")[2])); } else if ("*".equals(strIn.split(" ")[1])) { numArray.add(Integer.parseInt(strIn.split(" ")[0]) * Integer.parseInt(strIn.split(" ")[2])); } else if ("/".equals(strIn.split(" ")[1])) { numArray.add(Integer.parseInt(strIn.split(" ")[0]) / Integer.parseInt(strIn.split(" ")[2])); } } for (int i = 0; i < numArray.size(); i++) { System.out.println(numArray.get(i)); } } }
[ 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, 4, 18, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 13, 13, 3, 34, 17, 1, 0, 13, 2, 13, 13, 4, 18, 13, 13, 3, 34, 1, 3, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 132, 5 ], [ 132, 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 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 65, 75 ], [ 61, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 78, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 78, 88 ], [ 61, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 91, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 91, 101 ], [ 61, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 104, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 104, 114 ], [ 61, 115 ], [ 115, 116 ], [ 116, 117 ], [ 8, 118 ], [ 118, 119 ], [ 118, 120 ], [ 118, 121 ], [ 122, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 6, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\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", "answers.add(ans)", "answers.add", "answers", "ans", "break;", "case \"-\" :", "\"-\"", "case \"-\" :", "ans = a - b", "ans", "a - b", "a", "b", "answers.add(ans)", "answers.add", "answers", "ans", "break;", "case \"*\" :", "\"*\"", "case \"*\" :", "ans = a * b", "ans", "a * b", "a", "b", "answers.add(ans)", "answers.add", "answers", "ans", "break;", "case \"/\" :", "\"/\"", "case \"/\" :", "ans = a / b", "ans", "a / b", "a", "b", "answers.add(ans)", "answers.add", "answers", "ans", "break;", "default :", "default :", "break;", "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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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\tanswers.add(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\tanswers.add(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\tanswers.add(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\tanswers.add(ans);\n\t\t\t\t\tbreak;\n\t\t\t\tdefault :\n\t\t\t\t\tbreak;\n\t\t\t}\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; answers.add(ans); break; case "-" : ans = a - b; answers.add(ans); break; case "*" : ans = a * b; answers.add(ans); break; case "/" : ans = a / b; answers.add(ans); break; default : break; } } for(int n : answers){ System.out.println(n); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 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, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 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, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 113, 8 ], [ 113, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 18, 24 ], [ 17, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 25, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 25, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 25, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 25, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 53, 58 ], [ 58, 59 ], [ 25, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 64, 73 ], [ 60, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 76, 85 ], [ 60, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 88, 97 ], [ 60, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 100, 109 ], [ 9, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n while ((line = br.readLine()) != null) {\n \n String ary[] = line.split(\" \");\n int num1 = Integer.parseInt(ary[0]);\n String op = ary[1];\n int num2 = Integer.parseInt(ary[2]);\n \n if(op.equals(\"?\")){\n break;\n }\n \n switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\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 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n while ((line = br.readLine()) != null) {\n \n String ary[] = line.split(\" \");\n int num1 = Integer.parseInt(ary[0]);\n String op = ary[1];\n int num2 = Integer.parseInt(ary[2]);\n \n if(op.equals(\"?\")){\n break;\n }\n \n switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n while ((line = br.readLine()) != null) {\n \n String ary[] = line.split(\" \");\n int num1 = Integer.parseInt(ary[0]);\n String op = ary[1];\n int num2 = Integer.parseInt(ary[2]);\n \n if(op.equals(\"?\")){\n break;\n }\n \n switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n while ((line = br.readLine()) != null) {\n \n String ary[] = line.split(\" \");\n int num1 = Integer.parseInt(ary[0]);\n String op = ary[1];\n int num2 = Integer.parseInt(ary[2]);\n \n if(op.equals(\"?\")){\n break;\n }\n \n switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "while ((line = br.readLine()) != null) {\n \n String ary[] = line.split(\" \");\n int num1 = Integer.parseInt(ary[0]);\n String op = ary[1];\n int num2 = Integer.parseInt(ary[2]);\n \n if(op.equals(\"?\")){\n break;\n }\n \n switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\n }\n }", "(line = br.readLine()) != null", "(line = br.readLine())", "line", "br.readLine()", "br.readLine", "br", "null", "{\n \n String ary[] = line.split(\" \");\n int num1 = Integer.parseInt(ary[0]);\n String op = ary[1];\n int num2 = Integer.parseInt(ary[2]);\n \n if(op.equals(\"?\")){\n break;\n }\n \n switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\n }\n }", "String ary[] = line.split(\" \");", "ary", "line.split(\" \")", "line.split", "line", "\" \"", "int num1 = Integer.parseInt(ary[0]);", "num1", "Integer.parseInt(ary[0])", "Integer.parseInt", "Integer", "ary[0]", "ary", "0", "String op = ary[1];", "op", "ary[1]", "ary", "1", "int num2 = Integer.parseInt(ary[2]);", "num2", "Integer.parseInt(ary[2])", "Integer.parseInt", "Integer", "ary[2]", "ary", "2", "if(op.equals(\"?\")){\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\n }", "op", "case \"+\":", "\"+\"", "case \"+\":", "System.out.println(num1 + num2)", "System.out.println", "System.out", "System", "System.out", "num1 + num2", "num1", "num2", "break;", "case \"-\":", "\"-\"", "case \"-\":", "System.out.println(num1 - num2)", "System.out.println", "System.out", "System", "System.out", "num1 - num2", "num1", "num2", "break;", "case \"*\":", "\"*\"", "case \"*\":", "System.out.println(num1 * num2)", "System.out.println", "System.out", "System", "System.out", "num1 * num2", "num1", "num2", "break;", "case \"/\":", "\"/\"", "case \"/\":", "System.out.println(num1 / num2)", "System.out.println", "System.out", "System", "System.out", "num1 / num2", "num1", "num2", "break;", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n while ((line = br.readLine()) != null) {\n \n String ary[] = line.split(\" \");\n int num1 = Integer.parseInt(ary[0]);\n String op = ary[1];\n int num2 = Integer.parseInt(ary[2]);\n \n if(op.equals(\"?\")){\n break;\n }\n \n switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n while ((line = br.readLine()) != null) {\n \n String ary[] = line.split(\" \");\n int num1 = Integer.parseInt(ary[0]);\n String op = ary[1];\n int num2 = Integer.parseInt(ary[2]);\n \n if(op.equals(\"?\")){\n break;\n }\n \n switch (op) {\n case \"+\":\n System.out.println(num1 + num2);\n break;\n case \"-\":\n System.out.println(num1 - num2);\n break;\n case \"*\":\n System.out.println(num1 * num2);\n break;\n case \"/\":\n System.out.println(num1 / num2);\n break;\n }\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; while ((line = br.readLine()) != null) { String ary[] = line.split(" "); int num1 = Integer.parseInt(ary[0]); String op = ary[1]; int num2 = Integer.parseInt(ary[2]); if(op.equals("?")){ break; } switch (op) { case "+": System.out.println(num1 + num2); break; case "-": System.out.println(num1 - num2); break; case "*": System.out.println(num1 * num2); break; case "/": System.out.println(num1 / num2); break; } } } }
[ 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, 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, 13, 2, 13, 17, 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 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 20, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 20, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 20, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 20, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 8, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 6, 94 ], [ 94, 95 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\n\t\tint z = 0;\n\n\t\twhile (true) {\n\n\t\t\tint x = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tz = x + y;\n\t\t\tif (op.equals(\"-\"))\n\t\t\t\tz = x - y;\n\t\t\tif (op.equals(\"*\"))\n\t\t\t\tz = x * y;\n\t\t\tif (op.equals(\"/\"))\n\t\t\t\tz = x / y;\n\n\t\t\tif (op.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tstr.append(z + \"\\n\");\n\t\t}\n\n\t\tSystem.out.print(str);\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\n\t\tint z = 0;\n\n\t\twhile (true) {\n\n\t\t\tint x = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tz = x + y;\n\t\t\tif (op.equals(\"-\"))\n\t\t\t\tz = x - y;\n\t\t\tif (op.equals(\"*\"))\n\t\t\t\tz = x * y;\n\t\t\tif (op.equals(\"/\"))\n\t\t\t\tz = x / y;\n\n\t\t\tif (op.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tstr.append(z + \"\\n\");\n\t\t}\n\n\t\tSystem.out.print(str);\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\n\t\tint z = 0;\n\n\t\twhile (true) {\n\n\t\t\tint x = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tz = x + y;\n\t\t\tif (op.equals(\"-\"))\n\t\t\t\tz = x - y;\n\t\t\tif (op.equals(\"*\"))\n\t\t\t\tz = x * y;\n\t\t\tif (op.equals(\"/\"))\n\t\t\t\tz = x / y;\n\n\t\t\tif (op.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tstr.append(z + \"\\n\");\n\t\t}\n\n\t\tSystem.out.print(str);\n\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\n\t\tint z = 0;\n\n\t\twhile (true) {\n\n\t\t\tint x = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tz = x + y;\n\t\t\tif (op.equals(\"-\"))\n\t\t\t\tz = x - y;\n\t\t\tif (op.equals(\"*\"))\n\t\t\t\tz = x * y;\n\t\t\tif (op.equals(\"/\"))\n\t\t\t\tz = x / y;\n\n\t\t\tif (op.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tstr.append(z + \"\\n\");\n\t\t}\n\n\t\tSystem.out.print(str);\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder str = new StringBuilder();", "str", "new StringBuilder()", "int z = 0;", "z", "0", "while (true) {\n\n\t\t\tint x = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tz = x + y;\n\t\t\tif (op.equals(\"-\"))\n\t\t\t\tz = x - y;\n\t\t\tif (op.equals(\"*\"))\n\t\t\t\tz = x * y;\n\t\t\tif (op.equals(\"/\"))\n\t\t\t\tz = x / y;\n\n\t\t\tif (op.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tstr.append(z + \"\\n\");\n\t\t}", "true", "{\n\n\t\t\tint x = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (op.equals(\"+\"))\n\t\t\t\tz = x + y;\n\t\t\tif (op.equals(\"-\"))\n\t\t\t\tz = x - y;\n\t\t\tif (op.equals(\"*\"))\n\t\t\t\tz = x * y;\n\t\t\tif (op.equals(\"/\"))\n\t\t\t\tz = x / y;\n\n\t\t\tif (op.equals(\"?\"))\n\t\t\t\tbreak;\n\n\t\t\tstr.append(z + \"\\n\");\n\t\t}", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "if (op.equals(\"+\"))\n\t\t\t\tz = x + y;", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "z = x + y", "z", "x + y", "x", "y", "if (op.equals(\"-\"))\n\t\t\t\tz = x - y;", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "z = x - y", "z", "x - y", "x", "y", "if (op.equals(\"*\"))\n\t\t\t\tz = x * y;", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "z = x * y", "z", "x * y", "x", "y", "if (op.equals(\"/\"))\n\t\t\t\tz = x / y;", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "z = x / y", "z", "x / y", "x", "y", "if (op.equals(\"?\"))\n\t\t\t\tbreak;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "str.append(z + \"\\n\")", "str.append", "str", "z + \"\\n\"", "z", "\"\\n\"", "System.out.print(str)", "System.out.print", "System.out", "System", "System.out", "str", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); StringBuilder str = new StringBuilder(); int z = 0; while (true) { int x = scan.nextInt(); String op = scan.next(); int y = scan.nextInt(); if (op.equals("+")) z = x + y; if (op.equals("-")) z = x - y; if (op.equals("*")) z = x * y; if (op.equals("/")) z = x / y; if (op.equals("?")) break; str.append(z + "\n"); } System.out.print(str); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 17, 30, 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, 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 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 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 ], [ 81, 82 ], [ 81, 83 ], [ 29, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 29, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 29, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 29, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 6, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=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\twhile(true){\n\n\t\tint ans=0;\n\t\t\n\t\tif(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\t\n\t\t\t\ta =sc.nextInt();\n\t\t\t\top=sc.next();\n\t\t\t\tb=sc.nextInt();\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\n\t\tScanner sc=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\twhile(true){\n\n\t\tint ans=0;\n\t\t\n\t\tif(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\t\n\t\t\t\ta =sc.nextInt();\n\t\t\t\top=sc.next();\n\t\t\t\tb=sc.nextInt();\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc=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\twhile(true){\n\n\t\tint ans=0;\n\t\t\n\t\tif(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\t\n\t\t\t\ta =sc.nextInt();\n\t\t\t\top=sc.next();\n\t\t\t\tb=sc.nextInt();\n\t\t}\n\t}", "main", "{\n\n\t\tScanner sc=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\twhile(true){\n\n\t\tint ans=0;\n\t\t\n\t\tif(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\t\n\t\t\t\ta =sc.nextInt();\n\t\t\t\top=sc.next();\n\t\t\t\tb=sc.nextInt();\n\t\t}\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a =sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String op=sc.next();", "op", "sc.next()", "sc.next", "sc", "int b=sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "while(true){\n\n\t\tint ans=0;\n\t\t\n\t\tif(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\t\n\t\t\t\ta =sc.nextInt();\n\t\t\t\top=sc.next();\n\t\t\t\tb=sc.nextInt();\n\t\t}", "true", "{\n\n\t\tint ans=0;\n\t\t\n\t\tif(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\t\n\t\t\t\ta =sc.nextInt();\n\t\t\t\top=sc.next();\n\t\t\t\tb=sc.nextInt();\n\t\t}", "int ans=0;", "ans", "0", "if(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{ \n\t\t\tbreak;\n\t\t}", "break;", "if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\tans=a+b;\n\t\t}", "ans=a+b", "ans", "a+b", "a", "b", "if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\tans=a-b;\n\t\t}", "ans=a-b", "ans", "a-b", "a", "b", "if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\tans=a*b;\n\t\t}", "ans=a*b", "ans", "a*b", "a", "b", "if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\tans=a/b;\n\t\t}", "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\tpublic static void main(String[] args) {\n\n\t\tScanner sc=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\twhile(true){\n\n\t\tint ans=0;\n\t\t\n\t\tif(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\t\n\t\t\t\ta =sc.nextInt();\n\t\t\t\top=sc.next();\n\t\t\t\tb=sc.nextInt();\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=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\twhile(true){\n\n\t\tint ans=0;\n\t\t\n\t\tif(op.equals(\"?\")){ \n\t\t\tbreak;\n\t\t} else if (op.equals(\"+\")){\n\t\t\tans=a+b;\n\t\t} else if (op.equals(\"-\")){\n\t\t\tans=a-b;\n\t\t} else if (op.equals(\"*\")){\n\t\t\tans=a*b;\n\t\t} else if (op.equals(\"/\")){\n\t\t\tans=a/b;\n\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\t\t\t\t\n\t\t\t\ta =sc.nextInt();\n\t\t\t\top=sc.next();\n\t\t\t\tb=sc.nextInt();\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 a =sc.nextInt(); String op=sc.next(); int b=sc.nextInt(); while(true){ int ans=0; 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; } System.out.println(ans); a =sc.nextInt(); op=sc.next(); b=sc.nextInt(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 6, 12 ], [ 12, 13 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n outside: while (true) {\n String[] inputs = br.readLine().split(\" \");\n int a = Integer.parseInt(inputs[0]);\n char op = inputs[1].charAt(0);\n int b = Integer.parseInt(inputs[2]);\n\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 outside;\n }\n }\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n outside: while (true) {\n String[] inputs = br.readLine().split(\" \");\n int a = Integer.parseInt(inputs[0]);\n char op = inputs[1].charAt(0);\n int b = Integer.parseInt(inputs[2]);\n\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 outside;\n }\n }\n }\n}", "Main", "public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n outside: while (true) {\n String[] inputs = br.readLine().split(\" \");\n int a = Integer.parseInt(inputs[0]);\n char op = inputs[1].charAt(0);\n int b = Integer.parseInt(inputs[2]);\n\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 outside;\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n outside: while (true) {\n String[] inputs = br.readLine().split(\" \");\n int a = Integer.parseInt(inputs[0]);\n char op = inputs[1].charAt(0);\n int b = Integer.parseInt(inputs[2]);\n\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 outside;\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] args", "args" ]
import java.io.*; class Main { public static void main (String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); outside: while (true) { String[] inputs = br.readLine().split(" "); int a = Integer.parseInt(inputs[0]); char op = inputs[1].charAt(0); int b = Integer.parseInt(inputs[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 '?': break outside; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 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, 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, 23, 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 ], [ 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 ], [ 28, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 28, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 28, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 56, 57 ], [ 28, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 28, 64 ], [ 64, 65 ], [ 67, 66 ], [ 74, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 74, 74 ], [ 74, 75 ], [ 74, 76 ], [ 67, 77 ], [ 77, 78 ], [ 77, 79 ], [ 64, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 81, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 87, 93 ], [ 93, 94 ], [ 93, 95 ], [ 81, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 96, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 102, 108 ], [ 108, 109 ], [ 108, 110 ], [ 96, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 111, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 117, 123 ], [ 123, 124 ], [ 123, 125 ], [ 111, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 126, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 132, 138 ], [ 138, 139 ], [ 138, 140 ], [ 9, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\t// 入力ストリームの生成\n\t\t\twhile(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\t// 入力ストリームの生成\n\t\t\twhile(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\t// 入力ストリームの生成\n\t\t\twhile(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}", "main", "{\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\t// 入力ストリームの生成\n\t\t\twhile(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}", "try{\n\t\t\tBufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\t// 入力ストリームの生成\n\t\t\twhile(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}", "catch(IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}", "IOException e", "{\n\t\t\tSystem.err.println(e);\n\t\t}", "System.err.println(e)", "System.err.println", "System.err", "System", "System.err", "e", "{\n\t\t\tBufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\t// 入力ストリームの生成\n\t\t\twhile(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "BufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));", "br", "new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in))", "while(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "true", "{\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "String ans = br.readLine();", "ans", "br.readLine()", "br.readLine", "br", "StringTokenizer stk = new StringTokenizer(ans,\" \");", "stk", "new StringTokenizer(ans,\" \")", "int a = Integer.parseInt(stk.nextToken());", "a", "Integer.parseInt(stk.nextToken())", "Integer.parseInt", "Integer", "stk.nextToken()", "stk.nextToken", "stk", "String op = stk.nextToken();", "op", "stk.nextToken()", "stk.nextToken", "stk", "int b = Integer.parseInt(stk.nextToken());", "b", "Integer.parseInt(stk.nextToken())", "Integer.parseInt", "Integer", "stk.nextToken()", "stk.nextToken", "stk", "if(op.equals(\"?\")) break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "if(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}", "0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000", "0 <= b", "0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000", "0 <= a", "0", "a", "a<=20000", "a", "20000", "0 <= b", "0", "b", "b<=20000", "b", "20000", "{\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}", "if(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}", "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\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}", "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\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}", "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\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}", "System.out.printf(\"%d\\n\",a/b)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "a/b", "a", "b", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\t// 入力ストリームの生成\n\t\t\twhile(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(\n\t\t\t\t\tnew InputStreamReader(System.in));\n\t\t\t// 入力ストリームの生成\n\t\t\twhile(true){\n\t\t\t// 無限ループ\n\t\t\t\tString ans = br.readLine();\n\t\t\t\t// 入力文字を出力\n\t\t\t\tStringTokenizer stk = new StringTokenizer(ans,\" \");\n\t\t\t\t// 入力文字ansを” ”で区切ってstへ代入\n\t\t\t\tint a = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してaに代入\n\t\t\t\tString op = stk.nextToken();\n\t\t\t\t// ” ”で区切られた文字(符号)をopに代入\n\t\t\t\tint b = Integer.parseInt(stk.nextToken());\n\t\t\t\t// ” ”で区切られた文字をint型に変換してbに代入\n\n\t\t\t\tif(op.equals(\"?\")) break;\n\t\t\t\t// opが”?”と等しい場合、処理を抜ける\n\t\t\t\tif(0 <= a && a<=20000\n\t\t\t\t\t&& 0 <= b && b<=20000){\n\t\t\t\t// aが0以上20000以下かつbが0以上20000以下\n\t\t\t\t\tif(op.equals(\"+\")){\n\t\t\t\t\t// opが”+”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\t\t\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\t\t// opが”-”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\t\t\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\t\t// opが”*”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\t\t\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\t\t// opが”/”の場合、下記出力して処理を抜ける\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} catch(IOException e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String[] args){ try{ BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); // 入力ストリームの生成 while(true){ // 無限ループ String ans = br.readLine(); // 入力文字を出力 StringTokenizer stk = new StringTokenizer(ans," "); // 入力文字ansを” ”で区切ってstへ代入 int a = Integer.parseInt(stk.nextToken()); // ” ”で区切られた文字をint型に変換してaに代入 String op = stk.nextToken(); // ” ”で区切られた文字(符号)をopに代入 int b = Integer.parseInt(stk.nextToken()); // ” ”で区切られた文字をint型に変換してbに代入 if(op.equals("?")) break; // opが”?”と等しい場合、処理を抜ける if(0 <= a && a<=20000 && 0 <= b && b<=20000){ // aが0以上20000以下かつbが0以上20000以下 if(op.equals("+")){ // opが”+”の場合、下記出力して処理を抜ける System.out.printf("%d\n",a+b); }else if(op.equals("-")){ // opが”-”の場合、下記出力して処理を抜ける System.out.printf("%d\n",a-b); }else if(op.equals("*")){ // opが”*”の場合、下記出力して処理を抜ける System.out.printf("%d\n",a*b); }else if(op.equals("/")){ // opが”/”の場合、下記出力して処理を抜ける System.out.printf("%d\n",a/b); } } } } catch(IOException e) { System.err.println(e); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 4, 18, 20, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 4, 18, 13, 4, 18, 13, 13, 1, 0, 13, 4, 18, 13, 30, 30, 41, 13, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 3, 41, 13, 4, 13, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 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, 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 ], [ 160, 14 ], [ 160, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 15, 27 ], [ 27, 28 ], [ 160, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 32, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 32, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 32, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 50, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 50, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 50, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 50, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 79, 84 ], [ 84, 85 ], [ 50, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 88, 91 ], [ 88, 92 ], [ 50, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 29, 99 ], [ 99, 100 ], [ 160, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 107, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 107, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 118, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 126, 128 ], [ 118, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 129, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 137, 139 ], [ 129, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 140, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 148, 150 ], [ 103, 151 ], [ 151, 152 ], [ 101, 153 ], [ 153, 154 ], [ 101, 155 ], [ 155, 156 ], [ 101, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Objects;\n\n//import org.junit.Test;\n\npublic class Main {\n//\t@Test\n//\tpublic void testName() throws Exception {\n//\t\tmain(null);\n//\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}\n\n\tprivate void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n\n\tprivate int calc(int a, int b, String operator) {\n\t\tint result = 0;\n\t\tif (operator.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (operator.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\n\t\treturn result;\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.Objects;", "Objects", "java.util", "public class Main {\n//\t@Test\n//\tpublic void testName() throws Exception {\n//\t\tmain(null);\n//\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}\n\n\tprivate void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n\n\tprivate int calc(int a, int b, String operator) {\n\t\tint result = 0;\n\t\tif (operator.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (operator.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\n\t\treturn result;\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}", "main", "{\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}", "try (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}", "{\n\n\t\t\tnew Main().solution(br);\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))", "BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))", "new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))", "new Main().solution(br)", "new Main().solution", "new Main()", "br", "String[] args", "args", "private void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}", "solution", "{\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}", "for (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}", "String line = br.readLine();", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "Objects.nonNull(line)", "Objects.nonNull", "Objects", "line", "line = br\n\t\t\t\t.readLine()", "line = br\n\t\t\t\t.readLine()", "line", "br\n\t\t\t\t.readLine()", "br\n\t\t\t\t.readLine", "br", "{\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}", "{\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}", "String[] strList = line.split(\" \", 0);", "strList", "line.split(\" \", 0)", "line.split", "line", "\" \"", "0", "int num1 = Integer.parseInt(strList[0]);", "num1", "Integer.parseInt(strList[0])", "Integer.parseInt", "Integer", "strList[0]", "strList", "0", "int num2 = Integer.parseInt(strList[2]);", "num2", "Integer.parseInt(strList[2])", "Integer.parseInt", "Integer", "strList[2]", "strList", "2", "String operator = strList[1];", "operator", "strList[1]", "strList", "1", "if (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "operator.equals(\"?\")", "operator.equals", "operator", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "int ans = calc(num1, num2, operator);", "ans", "calc(num1, num2, operator)", "calc", "num1", "num2", "operator", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "BufferedReader br", "br", "private int calc(int a, int b, String operator) {\n\t\tint result = 0;\n\t\tif (operator.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (operator.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\n\t\treturn result;\n\t}", "calc", "{\n\t\tint result = 0;\n\t\tif (operator.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (operator.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\n\t\treturn result;\n\t}", "int result = 0;", "result", "0", "if (operator.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (operator.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "operator.equals(\"+\")", "operator.equals", "operator", "\"+\"", "{\n\t\t\tresult = a + b;\n\t\t}", "result = a + b", "result", "a + b", "a", "b", "if (operator.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "operator.equals(\"-\")", "operator.equals", "operator", "\"-\"", "{\n\t\t\tresult = a - b;\n\t\t}", "result = a - b", "result", "a - b", "a", "b", "if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "operator.equals(\"*\")", "operator.equals", "operator", "\"*\"", "{\n\t\t\tresult = a * b;\n\t\t}", "result = a * b", "result", "a * b", "a", "b", "if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}", "operator.equals(\"/\")", "operator.equals", "operator", "\"/\"", "{\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 operator", "operator", "public class Main {\n//\t@Test\n//\tpublic void testName() throws Exception {\n//\t\tmain(null);\n//\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}\n\n\tprivate void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n\n\tprivate int calc(int a, int b, String operator) {\n\t\tint result = 0;\n\t\tif (operator.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (operator.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\n\t\treturn result;\n\t}\n\n}", "public class Main {\n//\t@Test\n//\tpublic void testName() throws Exception {\n//\t\tmain(null);\n//\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}\n\n\tprivate void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[2]);\n\t\t\tString operator = strList[1];\n\n\t\t\tif (operator.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = calc(num1, num2, operator);\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n\n\tprivate int calc(int a, int b, String operator) {\n\t\tint result = 0;\n\t\tif (operator.equals(\"+\")) {\n\t\t\tresult = a + b;\n\t\t} else if (operator.equals(\"-\")) {\n\t\t\tresult = a - b;\n\t\t} else if (operator.equals(\"*\")) {\n\t\t\tresult = a * b;\n\t\t} else if (operator.equals(\"/\")) {\n\t\t\tresult = a / b;\n\t\t}\n\n\t\treturn result;\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Objects; //import org.junit.Test; public class Main { // @Test // public void testName() throws Exception { // main(null); // } public static void main(String[] args) throws IOException { try (BufferedReader br = new BufferedReader(new InputStreamReader( System.in))) { new Main().solution(br); } } private void solution(BufferedReader br) throws IOException { for (String line = br.readLine(); Objects.nonNull(line); line = br .readLine()) { String[] strList = line.split(" ", 0); int num1 = Integer.parseInt(strList[0]); int num2 = Integer.parseInt(strList[2]); String operator = strList[1]; if (operator.equals("?")) { break; } int ans = calc(num1, num2, operator); System.out.println(ans); } } private int calc(int a, int b, String operator) { int result = 0; if (operator.equals("+")) { result = a + b; } else if (operator.equals("-")) { result = a - b; } else if (operator.equals("*")) { result = a * b; } else if (operator.equals("/")) { result = a / b; } return result; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 13, 29, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 50, 8 ], [ 50, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 9, 26 ], [ 26, 27 ], [ 50, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 30, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 30, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 28, 47 ], [ 47, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ] ]
[ "import java.io.*;\nimport java.util.regex.*;\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\tString[] str;\n\t\tString op;\n\t\tint a, b, result = 0;\n\t\t\n\t\tLOOP : do {\t\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\tif (str.length == 3 && chkStrToInt(str[0]) && chkStrToInt(str[2])) {\n\n\t\t\t\ta\t= Integer.parseInt(str[0]);\n\t\t\t\tb\t= Integer.parseInt(str[2]);\n\t\t\t\top\t= str[1];\n\t\t\t\t\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\tresult = a + b; break;\n\t\t\t\tcase \"-\":\tresult = a - b; break;\n\t\t\t\tcase \"*\":\tresult = a * b; break;\n\t\t\t\tcase \"/\":\tresult = a / b; break;\n\t\t\t\tcase \"?\":\tbreak LOOP;\n\t\t\t\tdefault :\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} while (true);\n\t}\n\t\n\tpublic static boolean chkStrToInt(String str) {\n\t\tPattern p = Pattern.compile(\"^[0-9]+$\");\n\t\tMatcher m = p.matcher(str);\n\t\t\n\t\treturn m.find();\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.regex.*;", "regex.*", "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\tString[] str;\n\t\tString op;\n\t\tint a, b, result = 0;\n\t\t\n\t\tLOOP : do {\t\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\tif (str.length == 3 && chkStrToInt(str[0]) && chkStrToInt(str[2])) {\n\n\t\t\t\ta\t= Integer.parseInt(str[0]);\n\t\t\t\tb\t= Integer.parseInt(str[2]);\n\t\t\t\top\t= str[1];\n\t\t\t\t\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\tresult = a + b; break;\n\t\t\t\tcase \"-\":\tresult = a - b; break;\n\t\t\t\tcase \"*\":\tresult = a * b; break;\n\t\t\t\tcase \"/\":\tresult = a / b; break;\n\t\t\t\tcase \"?\":\tbreak LOOP;\n\t\t\t\tdefault :\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} while (true);\n\t}\n\t\n\tpublic static boolean chkStrToInt(String str) {\n\t\tPattern p = Pattern.compile(\"^[0-9]+$\");\n\t\tMatcher m = p.matcher(str);\n\t\t\n\t\treturn m.find();\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 op;\n\t\tint a, b, result = 0;\n\t\t\n\t\tLOOP : do {\t\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\tif (str.length == 3 && chkStrToInt(str[0]) && chkStrToInt(str[2])) {\n\n\t\t\t\ta\t= Integer.parseInt(str[0]);\n\t\t\t\tb\t= Integer.parseInt(str[2]);\n\t\t\t\top\t= str[1];\n\t\t\t\t\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\tresult = a + b; break;\n\t\t\t\tcase \"-\":\tresult = a - b; break;\n\t\t\t\tcase \"*\":\tresult = a * b; break;\n\t\t\t\tcase \"/\":\tresult = a / b; break;\n\t\t\t\tcase \"?\":\tbreak LOOP;\n\t\t\t\tdefault :\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} while (true);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] str;\n\t\tString op;\n\t\tint a, b, result = 0;\n\t\t\n\t\tLOOP : do {\t\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\tif (str.length == 3 && chkStrToInt(str[0]) && chkStrToInt(str[2])) {\n\n\t\t\t\ta\t= Integer.parseInt(str[0]);\n\t\t\t\tb\t= Integer.parseInt(str[2]);\n\t\t\t\top\t= str[1];\n\t\t\t\t\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\tresult = a + b; break;\n\t\t\t\tcase \"-\":\tresult = a - b; break;\n\t\t\t\tcase \"*\":\tresult = a * b; break;\n\t\t\t\tcase \"/\":\tresult = a / b; break;\n\t\t\t\tcase \"?\":\tbreak LOOP;\n\t\t\t\tdefault :\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} while (true);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] str;", "str", "String op;", "op", "int a", "a", "b", "b", "result = 0;", "result", "0", "String[] args", "args", "public static boolean chkStrToInt(String str) {\n\t\tPattern p = Pattern.compile(\"^[0-9]+$\");\n\t\tMatcher m = p.matcher(str);\n\t\t\n\t\treturn m.find();\n\t}", "chkStrToInt", "{\n\t\tPattern p = Pattern.compile(\"^[0-9]+$\");\n\t\tMatcher m = p.matcher(str);\n\t\t\n\t\treturn m.find();\n\t}", "Pattern p = Pattern.compile(\"^[0-9]+$\");", "p", "Pattern.compile(\"^[0-9]+$\")", "Pattern.compile", "Pattern", "\"^[0-9]+$\"", "Matcher m = p.matcher(str);", "m", "p.matcher(str)", "p.matcher", "p", "str", "return m.find();", "m.find()", "m.find", "m", "String str", "str", "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\tString[] str;\n\t\tString op;\n\t\tint a, b, result = 0;\n\t\t\n\t\tLOOP : do {\t\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\tif (str.length == 3 && chkStrToInt(str[0]) && chkStrToInt(str[2])) {\n\n\t\t\t\ta\t= Integer.parseInt(str[0]);\n\t\t\t\tb\t= Integer.parseInt(str[2]);\n\t\t\t\top\t= str[1];\n\t\t\t\t\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\tresult = a + b; break;\n\t\t\t\tcase \"-\":\tresult = a - b; break;\n\t\t\t\tcase \"*\":\tresult = a * b; break;\n\t\t\t\tcase \"/\":\tresult = a / b; break;\n\t\t\t\tcase \"?\":\tbreak LOOP;\n\t\t\t\tdefault :\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} while (true);\n\t}\n\t\n\tpublic static boolean chkStrToInt(String str) {\n\t\tPattern p = Pattern.compile(\"^[0-9]+$\");\n\t\tMatcher m = p.matcher(str);\n\t\t\n\t\treturn m.find();\n\t}\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\tString[] str;\n\t\tString op;\n\t\tint a, b, result = 0;\n\t\t\n\t\tLOOP : do {\t\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\tif (str.length == 3 && chkStrToInt(str[0]) && chkStrToInt(str[2])) {\n\n\t\t\t\ta\t= Integer.parseInt(str[0]);\n\t\t\t\tb\t= Integer.parseInt(str[2]);\n\t\t\t\top\t= str[1];\n\t\t\t\t\n\t\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\tresult = a + b; break;\n\t\t\t\tcase \"-\":\tresult = a - b; break;\n\t\t\t\tcase \"*\":\tresult = a * b; break;\n\t\t\t\tcase \"/\":\tresult = a / b; break;\n\t\t\t\tcase \"?\":\tbreak LOOP;\n\t\t\t\tdefault :\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(result);\n\t\t\t}\n\t\t} while (true);\n\t}\n\t\n\tpublic static boolean chkStrToInt(String str) {\n\t\tPattern p = Pattern.compile(\"^[0-9]+$\");\n\t\tMatcher m = p.matcher(str);\n\t\t\n\t\treturn m.find();\n\t}\n}", "Main" ]
import java.io.*; import java.util.regex.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str; String op; int a, b, result = 0; LOOP : do { str = br.readLine().split("\\s+"); if (str.length == 3 && chkStrToInt(str[0]) && chkStrToInt(str[2])) { a = Integer.parseInt(str[0]); b = Integer.parseInt(str[2]); op = str[1]; switch (op) { case "+": result = a + b; break; case "-": result = a - b; break; case "*": result = a * b; break; case "/": result = a / b; break; case "?": break LOOP; default : continue LOOP; } System.out.println(result); } } while (true); } public static boolean chkStrToInt(String str) { Pattern p = Pattern.compile("^[0-9]+$"); Matcher m = p.matcher(str); return m.find(); } }
[ 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, 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, 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, 14, 4, 18, 13, 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 ], [ 122, 11 ], [ 122, 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 ], [ 36, 37 ], [ 37, 38 ], [ 34, 39 ], [ 31, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 31, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 31, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 31, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 31, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 31, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 31, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 100, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 31, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 113, 118 ], [ 12, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "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 reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\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 reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\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\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "try {\n\t\t\twhile (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "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\twhile (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "while (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}", "true", "{\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}", "String[] s = reader.readLine().split(\" \");", "s", "reader.readLine().split(\" \")", "reader.readLine().split", "reader.readLine()", "reader.readLine", "reader", "\" \"", "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 (op.equals(\"+\"))\n\t\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\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\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\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\t\tbreak;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tString[] s = reader.readLine().split(\" \");\n\t\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\t\tString op = s[1];\n\t\t\t\tint b = Integer.parseInt(s[2]);\n\t\t\t\tif (op.equals(\"+\"))\n\t\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tif (op.equals(\"-\"))\n\t\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tif (op.equals(\"*\"))\n\t\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tif (op.equals(\"/\"))\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tif (op.equals(\"?\"))\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\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 reader = new BufferedReader(new InputStreamReader(System.in)); try { while (true) { String[] s = reader.readLine().split(" "); int a = Integer.parseInt(s[0]); String op = s[1]; int b = Integer.parseInt(s[2]); 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); if (op.equals("?")) break; } } catch (IOException e) { System.out.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 41, 13, 4, 18, 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, 2, 2, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 4, 18, 13, 17, 30, 0, 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, 0, 13, 17, 3, 34, 1, 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 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 22, 29 ], [ 29, 30 ], [ 29, 31 ], [ 22, 32 ], [ 32, 33 ], [ 32, 34 ], [ 22, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 42, 47 ], [ 39, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 39, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 39, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 39, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 69, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 39, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 94, 103 ], [ 90, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 106, 115 ], [ 90, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 118, 127 ], [ 90, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 136, 137 ], [ 136, 138 ], [ 130, 139 ], [ 90, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 90, 147 ], [ 147, 148 ], [ 6, 149 ], [ 149, 150 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \ttry{\n\t\t\tint a = 0;\n\t\t\tString op = \"\";\n\t\t\tint b = 0;\n\t\t\tboolean end = false;\n\t\t\t\n\t\t\twhile(end == false){\n\t\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\t\top = tmp[1];\n\t\t\t\tb = Integer.parseInt(tmp[2]);\n\t\t\t\t\n\t\t\t\tif(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}\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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n } catch (Exception e) {\n System.out.println(e);\n }\n \t\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String[] args) {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \ttry{\n\t\t\tint a = 0;\n\t\t\tString op = \"\";\n\t\t\tint b = 0;\n\t\t\tboolean end = false;\n\t\t\t\n\t\t\twhile(end == false){\n\t\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\t\top = tmp[1];\n\t\t\t\tb = Integer.parseInt(tmp[2]);\n\t\t\t\t\n\t\t\t\tif(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}\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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n } catch (Exception e) {\n System.out.println(e);\n }\n \t\n }\n}", "Main", "public static void main(String[] args) {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \ttry{\n\t\t\tint a = 0;\n\t\t\tString op = \"\";\n\t\t\tint b = 0;\n\t\t\tboolean end = false;\n\t\t\t\n\t\t\twhile(end == false){\n\t\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\t\top = tmp[1];\n\t\t\t\tb = Integer.parseInt(tmp[2]);\n\t\t\t\t\n\t\t\t\tif(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}\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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n } catch (Exception e) {\n System.out.println(e);\n }\n \t\n }", "main", "{\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \ttry{\n\t\t\tint a = 0;\n\t\t\tString op = \"\";\n\t\t\tint b = 0;\n\t\t\tboolean end = false;\n\t\t\t\n\t\t\twhile(end == false){\n\t\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\t\top = tmp[1];\n\t\t\t\tb = Integer.parseInt(tmp[2]);\n\t\t\t\t\n\t\t\t\tif(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}\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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n } catch (Exception e) {\n System.out.println(e);\n }\n \t\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try{\n\t\t\tint a = 0;\n\t\t\tString op = \"\";\n\t\t\tint b = 0;\n\t\t\tboolean end = false;\n\t\t\t\n\t\t\twhile(end == false){\n\t\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\t\top = tmp[1];\n\t\t\t\tb = Integer.parseInt(tmp[2]);\n\t\t\t\t\n\t\t\t\tif(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}\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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n } catch (Exception e) {\n System.out.println(e);\n }", "catch (Exception e) {\n System.out.println(e);\n }", "Exception e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n\t\t\tint a = 0;\n\t\t\tString op = \"\";\n\t\t\tint b = 0;\n\t\t\tboolean end = false;\n\t\t\t\n\t\t\twhile(end == false){\n\t\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\t\top = tmp[1];\n\t\t\t\tb = Integer.parseInt(tmp[2]);\n\t\t\t\t\n\t\t\t\tif(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}\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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n }", "int a = 0;", "a", "0", "String op = \"\";", "op", "\"\"", "int b = 0;", "b", "0", "boolean end = false;", "end", "false", "while(end == false){\n\t\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\t\top = tmp[1];\n\t\t\t\tb = Integer.parseInt(tmp[2]);\n\t\t\t\t\n\t\t\t\tif(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}\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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "end == false", "end", "false", "{\n\t\t\t\tString[] tmp = br.readLine().split(\" \");\n\t\t\t\ta = Integer.parseInt(tmp[0]);\n\t\t\t\top = tmp[1];\n\t\t\t\tb = Integer.parseInt(tmp[2]);\n\t\t\t\t\n\t\t\t\tif(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}\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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "String[] tmp = br.readLine().split(\" \");", "tmp", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "a = Integer.parseInt(tmp[0])", "a", "Integer.parseInt(tmp[0])", "Integer.parseInt", "Integer", "tmp[0]", "tmp", "0", "op = tmp[1]", "op", "tmp[1]", "tmp", "1", "b = Integer.parseInt(tmp[2])", "b", "Integer.parseInt(tmp[2])", "Integer.parseInt", "Integer", "tmp[2]", "tmp", "2", "if(a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))){\n\t\t\t\t\top = \"?\";\n\t\t\t\t}", "a < 0 && b > 20000 || (b == 0 && op.equals(\"/\"))", "a < 0 && b > 20000", "a < 0", "a", "0", "b > 20000", "b", "20000", "(b == 0 && op.equals(\"/\"))", "b == 0", "b", "0", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\t\top = \"?\";\n\t\t\t\t}", "op = \"?\"", "op", "\"?\"", "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\tcase \"?\":\n\t\t\t\t\tend = true;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\t\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;", "case \"?\":", "\"?\"", "case \"?\":", "end = true", "end", "true", "break;", "default:", "default:", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ int a = 0; String op = ""; int b = 0; boolean end = false; while(end == false){ String[] tmp = br.readLine().split(" "); a = Integer.parseInt(tmp[0]); op = tmp[1]; b = Integer.parseInt(tmp[2]); if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){ op = "?"; } 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 "?": end = true; break; default: } } } catch (Exception e) { System.out.println(e); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 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, 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, 14, 2, 13, 17, 30, 0, 13, 2, 13, 13, 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 ], [ 104, 8 ], [ 104, 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 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 29, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 29, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 52, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 52, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 74, 80 ], [ 52, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 83, 94 ], [ 29, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 9, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//変数宣言\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\t//値入力\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t\t//opが?の時に処理を終了する\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//opの値による条件分岐\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//出力\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\n\t}\n\n}\n", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//変数宣言\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\t//値入力\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t\t//opが?の時に処理を終了する\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//opの値による条件分岐\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//出力\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//変数宣言\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\t//値入力\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t\t//opが?の時に処理を終了する\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//opの値による条件分岐\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//出力\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\n\t}", "main", "{\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//変数宣言\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\t//値入力\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t\t//opが?の時に処理を終了する\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//opの値による条件分岐\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//出力\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = 0;", "a", "0", "String op = \"\";", "op", "\"\"", "int b = 0;", "b", "0", "int ans = 0;", "ans", "0", "while(true) {\n\t\t\t//値入力\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t\t//opが?の時に処理を終了する\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//opの値による条件分岐\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//出力\n\t\t\tSystem.out.println(ans);\n\t\t}", "true", "{\n\t\t\t//値入力\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t\t//opが?の時に処理を終了する\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//opの値による条件分岐\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//出力\n\t\t\tSystem.out.println(ans);\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(\"?\")) {\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\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\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 \"/\":", "if(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}", "b != 0", "b", "0", "{\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}", "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", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//変数宣言\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\t//値入力\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t\t//opが?の時に処理を終了する\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//opの値による条件分岐\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//出力\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//変数宣言\n\t\tint a = 0;\n\t\tString op = \"\";\n\t\tint b = 0;\n\t\tint ans = 0;\n\n\t\twhile(true) {\n\t\t\t//値入力\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\n\t\t\t//opが?の時に処理を終了する\n\t\t\tif(op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//opの値による条件分岐\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(b != 0) {\n\t\t\t\t\tans = a/ b;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//出力\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\n\n\t}\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); //変数宣言 int a = 0; String op = ""; int b = 0; int ans = 0; while(true) { //値入力 a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); //opが?の時に処理を終了する if(op.equals("?")) { break; } //opの値による条件分岐 switch(op) { case "+": ans = a + b; break; case "-": ans = a - b; break; case "*": ans = a * b; break; case "/": if(b != 0) { ans = a/ b; } break; } //出力 System.out.println(ans); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 13, 30, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 0, 13, 18, 13, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 18, 13, 17, 18, 13, 17, 0, 13, 2, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 18, 13, 17, 18, 13, 17, 0, 13, 2, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 18, 13, 17, 18, 13, 17, 0, 13, 2, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 18, 13, 17, 18, 13, 17, 0, 13, 2, 2, 13, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 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 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 39, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 39, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 39, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 73, 74 ], [ 73, 75 ], [ 39, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 88, 90 ], [ 81, 91 ], [ 91, 92 ], [ 91, 93 ], [ 94, 94 ], [ 94, 95 ], [ 94, 96 ], [ 94, 97 ], [ 76, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 98, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 103, 113 ], [ 113, 114 ], [ 113, 115 ], [ 116, 116 ], [ 116, 117 ], [ 116, 118 ], [ 116, 119 ], [ 98, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 120, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 132, 134 ], [ 125, 135 ], [ 135, 136 ], [ 135, 137 ], [ 138, 138 ], [ 138, 139 ], [ 138, 140 ], [ 138, 141 ], [ 120, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 142, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 154, 156 ], [ 147, 157 ], [ 157, 158 ], [ 157, 159 ], [ 160, 160 ], [ 160, 161 ], [ 160, 162 ], [ 160, 163 ], [ 142, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 164, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 14, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 12, 179 ], [ 179, 180 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\t\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString op;\n\t\tString[] ArrayX = new String[3];\n\t\tint[] ArrayA = new int[2];\n\t\tint resultNum = 0;\n\t\tString resultLine = \"\";\n\n boolean check = true;\n while(check){\n String line = br.readLine();\n ArrayX = line.split(\" \");\n op = ArrayX[1];\n ArrayA[0] = Integer.parseInt(ArrayX[0]);\n ArrayA[1] = Integer.parseInt(ArrayX[2]);\n \n if(op.equals(\"+\")) {\n \tresultNum = ArrayA[0] + ArrayA[1];\n \tresultLine = resultLine + resultNum + (\"\\n\");\n }\n else if(op.equals(\"-\")) {\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }\n }\n System.out.print(resultLine);\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\t\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString op;\n\t\tString[] ArrayX = new String[3];\n\t\tint[] ArrayA = new int[2];\n\t\tint resultNum = 0;\n\t\tString resultLine = \"\";\n\n boolean check = true;\n while(check){\n String line = br.readLine();\n ArrayX = line.split(\" \");\n op = ArrayX[1];\n ArrayA[0] = Integer.parseInt(ArrayX[0]);\n ArrayA[1] = Integer.parseInt(ArrayX[2]);\n \n if(op.equals(\"+\")) {\n \tresultNum = ArrayA[0] + ArrayA[1];\n \tresultLine = resultLine + resultNum + (\"\\n\");\n }\n else if(op.equals(\"-\")) {\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }\n }\n System.out.print(resultLine);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\t\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString op;\n\t\tString[] ArrayX = new String[3];\n\t\tint[] ArrayA = new int[2];\n\t\tint resultNum = 0;\n\t\tString resultLine = \"\";\n\n boolean check = true;\n while(check){\n String line = br.readLine();\n ArrayX = line.split(\" \");\n op = ArrayX[1];\n ArrayA[0] = Integer.parseInt(ArrayX[0]);\n ArrayA[1] = Integer.parseInt(ArrayX[2]);\n \n if(op.equals(\"+\")) {\n \tresultNum = ArrayA[0] + ArrayA[1];\n \tresultLine = resultLine + resultNum + (\"\\n\");\n }\n else if(op.equals(\"-\")) {\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }\n }\n System.out.print(resultLine);\n\t}", "main", "{\n\t\t\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString op;\n\t\tString[] ArrayX = new String[3];\n\t\tint[] ArrayA = new int[2];\n\t\tint resultNum = 0;\n\t\tString resultLine = \"\";\n\n boolean check = true;\n while(check){\n String line = br.readLine();\n ArrayX = line.split(\" \");\n op = ArrayX[1];\n ArrayA[0] = Integer.parseInt(ArrayX[0]);\n ArrayA[1] = Integer.parseInt(ArrayX[2]);\n \n if(op.equals(\"+\")) {\n \tresultNum = ArrayA[0] + ArrayA[1];\n \tresultLine = resultLine + resultNum + (\"\\n\");\n }\n else if(op.equals(\"-\")) {\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }\n }\n System.out.print(resultLine);\n\t}", "BufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String op;", "op", "String[] ArrayX = new String[3];", "ArrayX", "new String[3]", "3", "int[] ArrayA = new int[2];", "ArrayA", "new int[2]", "2", "int resultNum = 0;", "resultNum", "0", "String resultLine = \"\";", "resultLine", "\"\"", "boolean check = true;", "check", "true", "while(check){\n String line = br.readLine();\n ArrayX = line.split(\" \");\n op = ArrayX[1];\n ArrayA[0] = Integer.parseInt(ArrayX[0]);\n ArrayA[1] = Integer.parseInt(ArrayX[2]);\n \n if(op.equals(\"+\")) {\n \tresultNum = ArrayA[0] + ArrayA[1];\n \tresultLine = resultLine + resultNum + (\"\\n\");\n }\n else if(op.equals(\"-\")) {\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }\n }", "check", "{\n String line = br.readLine();\n ArrayX = line.split(\" \");\n op = ArrayX[1];\n ArrayA[0] = Integer.parseInt(ArrayX[0]);\n ArrayA[1] = Integer.parseInt(ArrayX[2]);\n \n if(op.equals(\"+\")) {\n \tresultNum = ArrayA[0] + ArrayA[1];\n \tresultLine = resultLine + resultNum + (\"\\n\");\n }\n else if(op.equals(\"-\")) {\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }\n }", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "ArrayX = line.split(\" \")", "ArrayX", "line.split(\" \")", "line.split", "line", "\" \"", "op = ArrayX[1]", "op", "ArrayX[1]", "ArrayX", "1", "ArrayA[0] = Integer.parseInt(ArrayX[0])", "ArrayA[0]", "ArrayA", "0", "Integer.parseInt(ArrayX[0])", "Integer.parseInt", "Integer", "ArrayX[0]", "ArrayX", "0", "ArrayA[1] = Integer.parseInt(ArrayX[2])", "ArrayA[1]", "ArrayA", "1", "Integer.parseInt(ArrayX[2])", "Integer.parseInt", "Integer", "ArrayX[2]", "ArrayX", "2", "if(op.equals(\"+\")) {\n \tresultNum = ArrayA[0] + ArrayA[1];\n \tresultLine = resultLine + resultNum + (\"\\n\");\n }\n else if(op.equals(\"-\")) {\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n \tresultNum = ArrayA[0] + ArrayA[1];\n \tresultLine = resultLine + resultNum + (\"\\n\");\n }", "resultNum = ArrayA[0] + ArrayA[1]", "resultNum", "ArrayA[0] + ArrayA[1]", "ArrayA[0]", "ArrayA", "0", "ArrayA[1]", "ArrayA", "1", "resultLine = resultLine + resultNum + (\"\\n\")", "resultLine", "resultLine + resultNum + (\"\\n\")", "resultLine + resultNum + (\"\\n\")", "resultLine", "resultNum", "(\"\\n\")", "if(op.equals(\"-\")) {\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n \tresultNum = ArrayA[0] - ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }", "resultNum = ArrayA[0] - ArrayA[1]", "resultNum", "ArrayA[0] - ArrayA[1]", "ArrayA[0]", "ArrayA", "0", "ArrayA[1]", "ArrayA", "1", "resultLine = resultLine + resultNum+ (\"\\n\")", "resultLine", "resultLine + resultNum+ (\"\\n\")", "resultLine + resultNum+ (\"\\n\")", "resultLine", "resultNum", "(\"\\n\")", "if(op.equals(\"*\")) {\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n else if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n \tresultNum = ArrayA[0] * ArrayA[1];\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }", "resultNum = ArrayA[0] * ArrayA[1]", "resultNum", "ArrayA[0] * ArrayA[1]", "ArrayA[0]", "ArrayA", "0", "ArrayA[1]", "ArrayA", "1", "resultLine = resultLine + resultNum+ (\"\\n\")", "resultLine", "resultLine + resultNum+ (\"\\n\")", "resultLine + resultNum+ (\"\\n\")", "resultLine", "resultNum", "(\"\\n\")", "if(op.equals(\"/\")) {\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }\n \n else if(op.equals(\"?\") ){\n \tcheck = false;\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n \tresultNum = (ArrayA[0] / ArrayA[1]);\n \tresultLine = resultLine + resultNum+ (\"\\n\");\n }", "resultNum = (ArrayA[0] / ArrayA[1])", "resultNum", "(ArrayA[0] / ArrayA[1])", "ArrayA[0]", "ArrayA", "0", "ArrayA[1]", "ArrayA", "1", "resultLine = resultLine + resultNum+ (\"\\n\")", "resultLine", "resultLine + resultNum+ (\"\\n\")", "resultLine + resultNum+ (\"\\n\")", "resultLine", "resultNum", "(\"\\n\")", "if(op.equals(\"?\") ){\n \tcheck = false;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n \tcheck = false;\n }", "check = false", "check", "false", "System.out.print(resultLine)", "System.out.print", "System.out", "System", "System.out", "resultLine", "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)); String op; String[] ArrayX = new String[3]; int[] ArrayA = new int[2]; int resultNum = 0; String resultLine = ""; boolean check = true; while(check){ String line = br.readLine(); ArrayX = line.split(" "); op = ArrayX[1]; ArrayA[0] = Integer.parseInt(ArrayX[0]); ArrayA[1] = Integer.parseInt(ArrayX[2]); if(op.equals("+")) { resultNum = ArrayA[0] + ArrayA[1]; resultLine = resultLine + resultNum + ("\n"); } else if(op.equals("-")) { resultNum = ArrayA[0] - ArrayA[1]; resultLine = resultLine + resultNum+ ("\n"); } else if(op.equals("*")) { resultNum = ArrayA[0] * ArrayA[1]; resultLine = resultLine + resultNum+ ("\n"); } else if(op.equals("/")) { resultNum = (ArrayA[0] / ArrayA[1]); resultLine = resultLine + resultNum+ ("\n"); } else if(op.equals("?") ){ check = false; } } System.out.print(resultLine); } }
[ 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, 34, 1, 3, 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 ], [ 37, 87 ], [ 87, 88 ], [ 88, 89 ], [ 6, 90 ], [ 90, 91 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] atgs){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//A???????????????\n\t\t\tint A = sc.nextInt();\n\t\t\t//??????????????????\n\t\t\tString operator = sc.next();\n\t\t\t//B???????????????\n\t\t\tint B = sc.nextInt();\n\t\t\t//????????¨???????????°??????\n\t\t\tif(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}\n\t\t\t//????¨??¨????\n\t\t\tswitch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\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[] atgs){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//A???????????????\n\t\t\tint A = sc.nextInt();\n\t\t\t//??????????????????\n\t\t\tString operator = sc.next();\n\t\t\t//B???????????????\n\t\t\tint B = sc.nextInt();\n\t\t\t//????????¨???????????°??????\n\t\t\tif(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}\n\t\t\t//????¨??¨????\n\t\t\tswitch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] atgs){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//A???????????????\n\t\t\tint A = sc.nextInt();\n\t\t\t//??????????????????\n\t\t\tString operator = sc.next();\n\t\t\t//B???????????????\n\t\t\tint B = sc.nextInt();\n\t\t\t//????????¨???????????°??????\n\t\t\tif(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}\n\t\t\t//????¨??¨????\n\t\t\tswitch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//A???????????????\n\t\t\tint A = sc.nextInt();\n\t\t\t//??????????????????\n\t\t\tString operator = sc.next();\n\t\t\t//B???????????????\n\t\t\tint B = sc.nextInt();\n\t\t\t//????????¨???????????°??????\n\t\t\tif(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}\n\t\t\t//????¨??¨????\n\t\t\tswitch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n\t\t\t//A???????????????\n\t\t\tint A = sc.nextInt();\n\t\t\t//??????????????????\n\t\t\tString operator = sc.next();\n\t\t\t//B???????????????\n\t\t\tint B = sc.nextInt();\n\t\t\t//????????¨???????????°??????\n\t\t\tif(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}\n\t\t\t//????¨??¨????\n\t\t\tswitch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}", "true", "{\n\t\t\t//A???????????????\n\t\t\tint A = sc.nextInt();\n\t\t\t//??????????????????\n\t\t\tString operator = sc.next();\n\t\t\t//B???????????????\n\t\t\tint B = sc.nextInt();\n\t\t\t//????????¨???????????°??????\n\t\t\tif(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}\n\t\t\t//????¨??¨????\n\t\t\tswitch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "String operator = sc.next();", "operator", "sc.next()", "sc.next", "sc", "int B = sc.nextInt();", "B", "sc.nextInt()", "sc.nextInt", "sc", "if(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}", "operator.equals(\"?\")", "operator.equals", "operator", "\"?\"", "{\n\t\t\t break;\n\t\t\t}", "break;", "switch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t\t}", "operator", "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;", "default:", "default:", "break;", "String[] atgs", "atgs", "public class Main {\n\tpublic static void main(String[] atgs){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//A???????????????\n\t\t\tint A = sc.nextInt();\n\t\t\t//??????????????????\n\t\t\tString operator = sc.next();\n\t\t\t//B???????????????\n\t\t\tint B = sc.nextInt();\n\t\t\t//????????¨???????????°??????\n\t\t\tif(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}\n\t\t\t//????¨??¨????\n\t\t\tswitch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] atgs){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??°?????????\n\t\twhile(true){\n\t\t\t//A???????????????\n\t\t\tint A = sc.nextInt();\n\t\t\t//??????????????????\n\t\t\tString operator = sc.next();\n\t\t\t//B???????????????\n\t\t\tint B = sc.nextInt();\n\t\t\t//????????¨???????????°??????\n\t\t\tif(operator.equals(\"?\")){\n\t\t\t break;\n\t\t\t}\n\t\t\t//????¨??¨????\n\t\t\tswitch(operator){\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\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] atgs){ //????????£????????????????????? Scanner sc = new Scanner(System.in); //??°????????? while(true){ //A??????????????? int A = sc.nextInt(); //?????????????????? String operator = sc.next(); //B??????????????? int B = sc.nextInt(); //????????¨???????????°?????? if(operator.equals("?")){ break; } //????¨??¨???? switch(operator){ 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; default: break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 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, 30, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 94, 5 ], [ 94, 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 ], [ 24, 25 ], [ 25, 26 ], [ 22, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 14, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 14, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 14, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 14, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 6, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "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\twhile(true){\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tchar op = scan.next().charAt(0);\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(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 scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tchar op = scan.next().charAt(0);\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(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 scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tchar op = scan.next().charAt(0);\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op == '/'){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tchar op = scan.next().charAt(0);\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op == '/'){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true){\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tchar op = scan.next().charAt(0);\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op == '/'){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}", "true", "{\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tchar op = scan.next().charAt(0);\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(op == '/'){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\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;\n\t\t\t}", "op == '?'", "op", "'?'", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}", "op == '+'", "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 == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}", "op == '-'", "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 == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}", "op == '*'", "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 == '/'){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}", "op == '/'", "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 scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tchar op = scan.next().charAt(0);\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(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 scan = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint a = scan.nextInt();\n\t\t\tchar op = scan.next().charAt(0);\n\t\t\tint b = scan.nextInt();\n\t\t\t\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(op == '+'){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\tif(op == '-'){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\tif(op == '*'){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\tif(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 scan = new Scanner(System.in); while(true){ int a = scan.nextInt(); char op = scan.next().charAt(0); int b = scan.nextInt(); if(op == '?'){ break; } if(op == '+'){ System.out.println(a+b); } if(op == '-'){ System.out.println(a-b); } if(op == '*'){ System.out.println(a*b); } if(op == '/'){ 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, 41, 13, 0, 13, 17, 0, 13, 17, 42, 40, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 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, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 4, 18, 13, 17, 30, 29, 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 ], [ 128, 11 ], [ 128, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 14, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 28, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 34, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 50, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 72, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 67, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 84, 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 ], [ 114, 116 ], [ 112, 117 ], [ 101, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 118, 123 ], [ 123, 124 ], [ 12, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\nimport java.lang.String;\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n \n int d;\n String b;\n b=\"+\";\n d=0;\n \n while(!b.equals(\"?\")){\n \t int a = sc.nextInt();\n b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}\n }\n\t}\n\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "import java.lang.String;", "String", "java.lang", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n \n int d;\n String b;\n b=\"+\";\n d=0;\n \n while(!b.equals(\"?\")){\n \t int a = sc.nextInt();\n b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}\n }\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n \n int d;\n String b;\n b=\"+\";\n d=0;\n \n while(!b.equals(\"?\")){\n \t int a = sc.nextInt();\n b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}\n }\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n \n int d;\n String b;\n b=\"+\";\n d=0;\n \n while(!b.equals(\"?\")){\n \t int a = sc.nextInt();\n b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}\n }\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int d;", "d", "String b;", "b", "b=\"+\"", "b", "\"+\"", "d=0", "d", "0", "while(!b.equals(\"?\")){\n \t int a = sc.nextInt();\n b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}\n }", "!b.equals(\"?\")", "b.equals(\"?\")", "b.equals", "b", "\"?\"", "{\n \t int a = sc.nextInt();\n b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}\n }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "b = sc.next()", "b", "sc.next()", "sc.next", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}", "b.equals(\"+\")", "b.equals", "b", "\"+\"", "{d=a+c;\n System.out.println(d);}", "d=a+c", "d", "a+c", "a", "c", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}", "b.equals(\"-\")", "b.equals", "b", "\"-\"", "{d=a-c;\n System.out.println(d);}", "d=a-c", "d", "a-c", "a", "c", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}", "b.equals(\"*\")", "b.equals", "b", "\"*\"", "{d=a*c;\n System.out.println(d);}", "d=a*c", "d", "a*c", "a", "c", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}", "b.equals(\"/\")", "b.equals", "b", "\"/\"", "{d=a/c;\n System.out.println(d);}", "d=a/c", "d", "a/c", "a", "c", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "if (b.equals(\"?\")){return;}", "b.equals(\"?\")", "b.equals", "b", "\"?\"", "{return;}", "return;", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n \n int d;\n String b;\n b=\"+\";\n d=0;\n \n while(!b.equals(\"?\")){\n \t int a = sc.nextInt();\n b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}\n }\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n \n int d;\n String b;\n b=\"+\";\n d=0;\n \n while(!b.equals(\"?\")){\n \t int a = sc.nextInt();\n b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"+\")){d=a+c;\n System.out.println(d);}\n else if (b.equals(\"-\")){d=a-c;\n System.out.println(d);}\n else if (b.equals(\"*\")){d=a*c;\n System.out.println(d);}\n else if (b.equals(\"/\")){d=a/c;\n System.out.println(d);}\n else if (b.equals(\"?\")){return;}\n }\n\t}\n\n}", "Main" ]
import java.io.IOException; import java.util.Scanner; import java.lang.String; public class Main { public static void main(String[] args) throws IOException { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); int d; String b; b="+"; d=0; while(!b.equals("?")){ int a = sc.nextInt(); b = sc.next(); int c = sc.nextInt(); if(b.equals("+")){d=a+c; System.out.println(d);} else if (b.equals("-")){d=a-c; System.out.println(d);} else if (b.equals("*")){d=a*c; System.out.println(d);} else if (b.equals("/")){d=a/c; System.out.println(d);} else if (b.equals("?")){return;} } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 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, 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, 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 ], [ 153, 14 ], [ 153, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 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 ], [ 28, 32 ], [ 32, 33 ], [ 32, 34 ], [ 28, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 37, 43 ], [ 43, 44 ], [ 43, 45 ], [ 37, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 37, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 37, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 65, 66 ], [ 37, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 37, 73 ], [ 73, 74 ], [ 76, 75 ], [ 83, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 80, 82 ], [ 83, 83 ], [ 83, 84 ], [ 83, 85 ], [ 76, 86 ], [ 86, 87 ], [ 86, 88 ], [ 73, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 96, 102 ], [ 102, 103 ], [ 102, 104 ], [ 90, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 105, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 111, 117 ], [ 117, 118 ], [ 117, 119 ], [ 105, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 120, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 126, 132 ], [ 132, 133 ], [ 132, 134 ], [ 120, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 135, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 141, 147 ], [ 147, 148 ], [ 147, 149 ], [ 15, 150 ], [ 150, 151 ], [ 0, 152 ], [ 152, 153 ], [ 152, 154 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n\npublic class Main {\n public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\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.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}", "Main", "public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }", "main", "{\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }", "try{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}", "catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}", "IOException e", "{\n \t\tSystem.err.println(e);\n\t\t}", "System.err.println(e)", "System.err.println", "System.err", "System", "System.err", "e", "{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "while(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "true", "{\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "String buf = br.readLine();", "buf", "br.readLine()", "br.readLine", "br", "StringTokenizer st=new StringTokenizer(buf,\" \");", "st", "new StringTokenizer(buf,\" \")", "int a = Integer.parseInt(st.nextToken());", "a", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "String op = st.nextToken();", "op", "st.nextToken()", "st.nextToken", "st", "int b = Integer.parseInt(st.nextToken());", "b", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "if(op.equals(\"?\"))\tbreak;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "if(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\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\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}", "if( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}", "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\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}", "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\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}", "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\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}", "System.out.printf(\"%d\\n\",a/b)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "a/b", "a", "b", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}", "public class Main {\n public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tString op = st.nextToken();\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\n\t\t\t\tif(op.equals(\"?\"))\tbreak;\n\n\t\t\t\tif(0 <= a && a<=20000 && 0 <= b && b<=20000){\n\n\t\t\t\t\tif( op.equals(\"+\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a+b);\n\n\t\t\t\t\t}else if( op.equals(\"-\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a-b);\n\n\t\t\t\t\t}else if( op.equals(\"*\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a*b);\n\n\t\t\t\t\t}else if( op.equals(\"/\") ){\n\t\t\t\t\t\tSystem.out.printf(\"%d\\n\",a/b);\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { try{ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); while(true){ String buf = br.readLine(); StringTokenizer st=new StringTokenizer(buf," "); int a = Integer.parseInt(st.nextToken()); String op = st.nextToken(); int b = Integer.parseInt(st.nextToken()); if(op.equals("?")) break; if(0 <= a && a<=20000 && 0 <= b && b<=20000){ if( op.equals("+") ){ System.out.printf("%d\n",a+b); }else if( op.equals("-") ){ System.out.printf("%d\n",a-b); }else if( op.equals("*") ){ System.out.printf("%d\n",a*b); }else if( op.equals("/") ){ System.out.printf("%d\n",a/b); } } } } catch(IOException e) { System.err.println(e); } } }
[ 7, 15, 13, 17, 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, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 118, 8 ], [ 118, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 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 ], [ 41, 43 ], [ 19, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 19, 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 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 94, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 108, 113 ], [ 113, 114 ], [ 9, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "import java.util.Scanner;\nimport java.lang.Math;\npublic class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int a = Integer.parseInt(inputs[0]);\n\t String op = inputs[1];\n\t int b = Integer.parseInt(inputs[2]);\n\t if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }\n\t}\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.lang.Math;", "Math", "java.lang", "public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int a = Integer.parseInt(inputs[0]);\n\t String op = inputs[1];\n\t int b = Integer.parseInt(inputs[2]);\n\t if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }\n\t}\n }\n}", "Main", "public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int a = Integer.parseInt(inputs[0]);\n\t String op = inputs[1];\n\t int b = Integer.parseInt(inputs[2]);\n\t if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }\n\t}\n }", "main", "{\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int a = Integer.parseInt(inputs[0]);\n\t String op = inputs[1];\n\t int b = Integer.parseInt(inputs[2]);\n\t if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }\n\t}\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int a = Integer.parseInt(inputs[0]);\n\t String op = inputs[1];\n\t int b = Integer.parseInt(inputs[2]);\n\t if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }\n\t}", "scan.hasNext()", "scan.hasNext", "scan", "{\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int a = Integer.parseInt(inputs[0]);\n\t String op = inputs[1];\n\t int b = Integer.parseInt(inputs[2]);\n\t if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }\n\t}", "String input = scan.nextLine();", "input", "scan.nextLine()", "scan.nextLine", "scan", "String[] inputs = input.split(\" \");", "inputs", "input.split(\" \")", "input.split", "input", "\" \"", "int a = Integer.parseInt(inputs[0]);", "a", "Integer.parseInt(inputs[0])", "Integer.parseInt", "Integer", "inputs[0]", "inputs", "0", "String op = inputs[1];", "op", "inputs[1]", "inputs", "1", "int b = Integer.parseInt(inputs[2]);", "b", "Integer.parseInt(inputs[2])", "Integer.parseInt", "Integer", "inputs[2]", "inputs", "2", "if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\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\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\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\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\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\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\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\t\tbreak;\n\t }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\tbreak;\n\t }", "break;", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int a = Integer.parseInt(inputs[0]);\n\t String op = inputs[1];\n\t int b = Integer.parseInt(inputs[2]);\n\t if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }\n\t}\n }\n}", "public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int a = Integer.parseInt(inputs[0]);\n\t String op = inputs[1];\n\t int b = Integer.parseInt(inputs[2]);\n\t if (op.equals(\"+\")) {\n\t\tSystem.out.println(a+b);\n\t } else if (op.equals(\"-\")) {\n\t\tSystem.out.println(a-b);\n\t } else if (op.equals(\"*\")) {\n\t\tSystem.out.println(a*b);\n\t } else if (op.equals(\"/\")) {\n\t\tSystem.out.println(a/b);\n\t } else if (op.equals(\"?\")) {\n\t\tbreak;\n\t }\n\t}\n }\n}", "Main" ]
import java.util.Scanner; import java.lang.Math; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); while(scan.hasNext()) { String input = scan.nextLine(); String[] inputs = input.split(" "); int a = Integer.parseInt(inputs[0]); String op = inputs[1]; int b = Integer.parseInt(inputs[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; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 42, 2, 13, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 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, 17, 1, 0, 13, 17, 3, 34, 1, 9, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 108, 5 ], [ 108, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 30, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 30, 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 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 46, 91 ], [ 91, 92 ], [ 92, 93 ], [ 30, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 6, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "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 a=0,b=0,ans=0,f=0;\n String op;\n while(f==0){\n \ta=scan.nextInt();\n \top=scan.next();\n \tb=scan.nextInt();\n \tswitch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tif(f==0){\n \t\tSystem.out.println(ans);\n \t}\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 a=0,b=0,ans=0,f=0;\n String op;\n while(f==0){\n \ta=scan.nextInt();\n \top=scan.next();\n \tb=scan.nextInt();\n \tswitch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tif(f==0){\n \t\tSystem.out.println(ans);\n \t}\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n int a=0,b=0,ans=0,f=0;\n String op;\n while(f==0){\n \ta=scan.nextInt();\n \top=scan.next();\n \tb=scan.nextInt();\n \tswitch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tif(f==0){\n \t\tSystem.out.println(ans);\n \t}\n }\n }", "main", "{\n Scanner scan=new Scanner(System.in);\n int a=0,b=0,ans=0,f=0;\n String op;\n while(f==0){\n \ta=scan.nextInt();\n \top=scan.next();\n \tb=scan.nextInt();\n \tswitch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tif(f==0){\n \t\tSystem.out.println(ans);\n \t}\n }\n }", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a=0", "a", "0", "b=0", "b", "0", "ans=0", "ans", "0", "f=0;", "f", "0", "String op;", "op", "while(f==0){\n \ta=scan.nextInt();\n \top=scan.next();\n \tb=scan.nextInt();\n \tswitch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tif(f==0){\n \t\tSystem.out.println(ans);\n \t}\n }", "f==0", "f", "0", "{\n \ta=scan.nextInt();\n \top=scan.next();\n \tb=scan.nextInt();\n \tswitch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tif(f==0){\n \t\tSystem.out.println(ans);\n \t}\n }", "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", "switch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\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;", "case\"?\":", "\"?\"", "case\"?\":", "f=1", "f", "1", "break;", "default:", "default:", "continue;", "if(f==0){\n \t\tSystem.out.println(ans);\n \t}", "f==0", "f", "0", "{\n \t\tSystem.out.println(ans);\n \t}", "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 scan=new Scanner(System.in);\n int a=0,b=0,ans=0,f=0;\n String op;\n while(f==0){\n \ta=scan.nextInt();\n \top=scan.next();\n \tb=scan.nextInt();\n \tswitch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tif(f==0){\n \t\tSystem.out.println(ans);\n \t}\n }\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n int a=0,b=0,ans=0,f=0;\n String op;\n while(f==0){\n \ta=scan.nextInt();\n \top=scan.next();\n \tb=scan.nextInt();\n \tswitch(op){\n \t\tcase\"+\":\n \t\t\tans=a+b;\n \t\t\tbreak;\n \t\tcase\"-\":\n \t\t\tans=a-b;\n \t\t\tbreak;\n \t\tcase\"*\":\n \t\t\tans=a*b;\n \t\t\tbreak;\n \t\tcase\"/\":\n \t\t\tans=a/b;\n \t\t\tbreak;\n \t\tcase\"?\":\n \t\t\tf=1;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tif(f==0){\n \t\tSystem.out.println(ans);\n \t}\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); int a=0,b=0,ans=0,f=0; String op; while(f==0){ a=scan.nextInt(); op=scan.next(); b=scan.nextInt(); switch(op){ case"+": ans=a+b; break; case"-": ans=a-b; break; case"*": ans=a*b; break; case"/": ans=a/b; break; case"?": f=1; break; default: continue; } if(f==0){ System.out.println(ans); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 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, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 14, 4, 18, 13, 17, 30, 3, 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, 14, 2, 13, 17, 4, 18, 13, 2, 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 ], [ 159, 11 ], [ 159, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 23, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 23, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 23, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 23, 56 ], [ 56, 57 ], [ 59, 58 ], [ 66, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 66, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 69, 71 ], [ 56, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 80, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 92, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 92, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 104, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 113, 115 ], [ 104, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 116, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 129, 130 ], [ 129, 131 ], [ 14, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 132, 142 ], [ 142, 143 ], [ 143, 144 ], [ 132, 145 ], [ 146, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 152, 153 ], [ 153, 154 ], [ 152, 155 ], [ 12, 156 ], [ 156, 157 ], [ 0, 158 ], [ 158, 159 ], [ 158, 160 ] ]
[ "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 s = new Scanner(System.in);\n\t\tList<Integer> results = new ArrayList<>();\n\n\t\twhile (true) {\n\t\t\tString inputs = s.nextLine();\n\t\t\tString[] input = inputs.split(\" \");\n\t\t\tint a = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint b = Integer.parseInt(input[2]);\n\t\t\tif(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}\n\t\t}\n\t\tfor(int j =0;j<results.size();j++) {\n\t\t\tSystem.out.println(results.get(j));\n\t\t}\n\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 s = new Scanner(System.in);\n\t\tList<Integer> results = new ArrayList<>();\n\n\t\twhile (true) {\n\t\t\tString inputs = s.nextLine();\n\t\t\tString[] input = inputs.split(\" \");\n\t\t\tint a = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint b = Integer.parseInt(input[2]);\n\t\t\tif(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}\n\t\t}\n\t\tfor(int j =0;j<results.size();j++) {\n\t\t\tSystem.out.println(results.get(j));\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tList<Integer> results = new ArrayList<>();\n\n\t\twhile (true) {\n\t\t\tString inputs = s.nextLine();\n\t\t\tString[] input = inputs.split(\" \");\n\t\t\tint a = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint b = Integer.parseInt(input[2]);\n\t\t\tif(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}\n\t\t}\n\t\tfor(int j =0;j<results.size();j++) {\n\t\t\tSystem.out.println(results.get(j));\n\t\t}\n\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tList<Integer> results = new ArrayList<>();\n\n\t\twhile (true) {\n\t\t\tString inputs = s.nextLine();\n\t\t\tString[] input = inputs.split(\" \");\n\t\t\tint a = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint b = Integer.parseInt(input[2]);\n\t\t\tif(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}\n\t\t}\n\t\tfor(int j =0;j<results.size();j++) {\n\t\t\tSystem.out.println(results.get(j));\n\t\t}\n\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "List<Integer> results = new ArrayList<>();", "results", "new ArrayList<>()", "while (true) {\n\t\t\tString inputs = s.nextLine();\n\t\t\tString[] input = inputs.split(\" \");\n\t\t\tint a = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint b = Integer.parseInt(input[2]);\n\t\t\tif(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}\n\t\t}", "true", "{\n\t\t\tString inputs = s.nextLine();\n\t\t\tString[] input = inputs.split(\" \");\n\t\t\tint a = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint b = Integer.parseInt(input[2]);\n\t\t\tif(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}\n\t\t}", "String inputs = s.nextLine();", "inputs", "s.nextLine()", "s.nextLine", "s", "String[] input = inputs.split(\" \");", "input", "inputs.split(\" \")", "inputs.split", "inputs", "\" \"", "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(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}", "a>=0 && b>=0 && a<=20000 && b<=20000", "a<=20000", "a>=0 && b>=0 && a<=20000 && b<=20000", "a>=0", "a", "0", "b>=0", "b", "0", "a<=20000", "a", "20000", "b<=20000", "b", "20000", "{\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}", "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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tresults.add(a + b);\n\t\t\t}", "results.add(a + b)", "results.add", "results", "a + b", "a", "b", "if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tresults.add(a - b);\n\t\t\t}", "results.add(a - b)", "results.add", "results", "a - b", "a", "b", "if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tresults.add(a * b);\n\t\t\t}", "results.add(a * b)", "results.add", "results", "a * b", "a", "b", "if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}", "if(b!=0)results.add(a / b);", "b!=0", "b", "0", "results.add(a / b)", "results.add", "results", "a / b", "a", "b", "for(int j =0;j<results.size();j++) {\n\t\t\tSystem.out.println(results.get(j));\n\t\t}", "int j =0;", "int j =0;", "j", "0", "j<results.size()", "j", "results.size()", "results.size", "results", "j++", "j++", "j", "{\n\t\t\tSystem.out.println(results.get(j));\n\t\t}", "{\n\t\t\tSystem.out.println(results.get(j));\n\t\t}", "System.out.println(results.get(j))", "System.out.println", "System.out", "System", "System.out", "results.get(j)", "results.get", "results", "j", "String[] args", "args", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tList<Integer> results = new ArrayList<>();\n\n\t\twhile (true) {\n\t\t\tString inputs = s.nextLine();\n\t\t\tString[] input = inputs.split(\" \");\n\t\t\tint a = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint b = Integer.parseInt(input[2]);\n\t\t\tif(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}\n\t\t}\n\t\tfor(int j =0;j<results.size();j++) {\n\t\t\tSystem.out.println(results.get(j));\n\t\t}\n\n\t}\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tList<Integer> results = new ArrayList<>();\n\n\t\twhile (true) {\n\t\t\tString inputs = s.nextLine();\n\t\t\tString[] input = inputs.split(\" \");\n\t\t\tint a = Integer.parseInt(input[0]);\n\t\t\tString op = input[1];\n\t\t\tint b = Integer.parseInt(input[2]);\n\t\t\tif(a>=0 && b>=0 && a<=20000 && b<=20000) {\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\tresults.add(a + b);\n\t\t\t} else if (op.equals(\"-\")) {\n\t\t\t\tresults.add(a - b);\n\t\t\t}else if(op.equals(\"*\")) {\n\t\t\t\tresults.add(a * b);\n\t\t\t}else if(op.equals(\"/\")) {\n\t\t\t\tif(b!=0)results.add(a / b);\n\t\t\t}\n\t\t}\n\t\t}\n\t\tfor(int j =0;j<results.size();j++) {\n\t\t\tSystem.out.println(results.get(j));\n\t\t}\n\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 s = new Scanner(System.in); List<Integer> results = new ArrayList<>(); while (true) { String inputs = s.nextLine(); String[] input = inputs.split(" "); int a = Integer.parseInt(input[0]); String op = input[1]; int b = Integer.parseInt(input[2]); if(a>=0 && b>=0 && a<=20000 && b<=20000) { if (op.equals("?")) { break; } if (op.equals("+")) { results.add(a + b); } else if (op.equals("-")) { results.add(a - b); }else if(op.equals("*")) { results.add(a * b); }else if(op.equals("/")) { if(b!=0)results.add(a / b); } } } for(int j =0;j<results.size();j++) { System.out.println(results.get(j)); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 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, 4, 18, 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 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 14, 36 ], [ 36, 37 ], [ 36, 38 ], [ 14, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 39, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 50, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 61, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 72, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 88, 89 ], [ 14, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 6, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\n\t\t\tint result = 0;\n\n\t\t\tif(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = a / b;\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t\tscan.close();\n\t}\n}", "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);\n\n\t\twhile(true){\n\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\n\t\t\tint result = 0;\n\n\t\t\tif(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = a / b;\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(result);\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\n\t\twhile(true){\n\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\n\t\t\tint result = 0;\n\n\t\t\tif(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = a / b;\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){\n\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\n\t\t\tint result = 0;\n\n\t\t\tif(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = a / b;\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true){\n\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\n\t\t\tint result = 0;\n\n\t\t\tif(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = a / b;\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}", "true", "{\n\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\n\t\t\tint result = 0;\n\n\t\t\tif(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = a / b;\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}", "int a = Integer.parseInt(scan.next());", "a", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = Integer.parseInt(scan.next());", "b", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "int result = 0;", "result", "0", "if(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = 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\tresult = a + b;\n\t\t\t}", "result = a + b", "result", "a + b", "a", "b", "if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = 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\tresult = a - b;\n\t\t\t}", "result = a - b", "result", "a - b", "a", "b", "if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = 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\tresult = a * b;\n\t\t\t}", "result = a * b", "result", "a * b", "a", "b", "if(op.equals(\"/\")){\n\t\t\t\tresult = 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\tresult = a / b;\n\t\t\t}", "result = a / b", "result", "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.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "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);\n\n\t\twhile(true){\n\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\n\t\t\tint result = 0;\n\n\t\t\tif(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = a / b;\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(result);\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);\n\n\t\twhile(true){\n\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\n\t\t\tint result = 0;\n\n\t\t\tif(op .equals(\"+\")){\n\t\t\t\tresult = a + b;\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tresult = a - b;\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tresult = a * b;\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tresult = a / b;\n\t\t\t}else if(op.equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(result);\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 = Integer.parseInt(scan.next()); String op = scan.next(); int b = Integer.parseInt(scan.next()); int result = 0; if(op .equals("+")){ result = a + b; }else if(op.equals("-")){ result = a - b; }else if(op.equals("*")){ result = a * b; }else if(op.equals("/")){ result = a / b; }else if(op.equals("?")){ break; } System.out.println(result); } scan.close(); } }
[ 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, 42, 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, 14, 4, 18, 17, 13, 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, 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 ], [ 134, 11 ], [ 134, 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 ], [ 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 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 33, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 33, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 33, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 33, 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 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 30, 128 ], [ 128, 129 ], [ 129, 130 ], [ 12, 131 ], [ 131, 132 ], [ 0, 133 ], [ 133, 134 ], [ 133, 135 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\t\t\twhile(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\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\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\t\t\twhile(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\t\t\twhile(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}", "main", "{\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\t\t\twhile(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}", "BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "try{\n\n\t\t\twhile(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}", "catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}", "System.out.println(\"??¨??????:\"+e)", "System.out.println", "System.out", "System", "System.out", "\"??¨??????:\"+e", "\"??¨??????:\"", "e", "{\n\n\t\t\twhile(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}\n\n\t\t\treader.close();\n\t\t}", "while(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}", "true", "{\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}", "String str=reader.readLine();", "str", "reader.readLine()", "reader.readLine", "reader", "String[] str_Array=str.split(\" \");", "str_Array", "str.split(\" \")", "str.split", "str", "\" \"", "int a=Integer.parseInt(str_Array[0]);", "a", "Integer.parseInt(str_Array[0])", "Integer.parseInt", "Integer", "str_Array[0]", "str_Array", "0", "int b=Integer.parseInt(str_Array[2]);", "b", "Integer.parseInt(str_Array[2])", "Integer.parseInt", "Integer", "str_Array[2]", "str_Array", "2", "String c=str_Array[1];", "c", "str_Array[1]", "str_Array", "1", "if(\"?\".equals(c))break;", "\"?\".equals(c)", "\"?\".equals", "\"?\"", "c", "break;", "if(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}", "\"+\".equals(c)", "\"+\".equals", "\"+\"", "c", "{\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(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}", "\"-\".equals(c)", "\"-\".equals", "\"-\"", "c", "{\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(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}", "\"/\".equals(c)", "\"/\".equals", "\"/\"", "c", "{\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(c)){System.out.println(a*b);\n}", "\"*\".equals(c)", "\"*\".equals", "\"*\"", "c", "{System.out.println(a*b);\n}", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "reader.close()", "reader.close", "reader", "String[] args", "args", "public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\t\t\twhile(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}", "public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\n\t\t\twhile(true){\n\t\t\tString str=reader.readLine();\n\n\t\t\tString[] str_Array=str.split(\" \");\n\t\t\tint a=Integer.parseInt(str_Array[0]);\n\t\t\tint b=Integer.parseInt(str_Array[2]);\n\t\t\tString c=str_Array[1];\n\n\t\t\tif(\"?\".equals(c))break;\n\t\t\tif(\"+\".equals(c)){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}else if(\"-\".equals(c)){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}else if(\"/\".equals(c)){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}else if(\"*\".equals(c)){System.out.println(a*b);\n}\n\t\t\t}\n\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\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){ BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); try{ while(true){ String str=reader.readLine(); String[] str_Array=str.split(" "); int a=Integer.parseInt(str_Array[0]); int b=Integer.parseInt(str_Array[2]); String c=str_Array[1]; if("?".equals(c))break; 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); } } reader.close(); }catch(IOException e){ System.out.println("??¨??????:"+e); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 41, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 40, 13, 14, 4, 18, 13, 17, 30, 3, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 13, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 18, 13, 17, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 18, 13, 17, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 18, 13, 17, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 18, 13, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 176, 8 ], [ 176, 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 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 26, 36 ], [ 36, 37 ], [ 26, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 11, 45 ], [ 45, 46 ], [ 45, 47 ], [ 11, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 49, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 66, 72 ], [ 63, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 80, 82 ], [ 63, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 63, 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 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 93, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 113, 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 ], [ 113, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 133, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 150, 152 ], [ 133, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 153, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 161, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 170, 171 ], [ 170, 172 ], [ 9, 173 ], [ 173, 174 ], [ 0, 175 ], [ 175, 176 ], [ 175, 177 ] ]
[ "import java.util.ArrayList;\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\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] in = new int[2];\n\n\t\tfor (int i = 0; i < cn - 1; i++) {\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}\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\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] in = new int[2];\n\n\t\tfor (int i = 0; i < cn - 1; i++) {\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] in = new int[2];\n\n\t\tfor (int i = 0; i < cn - 1; i++) {\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] in = new int[2];\n\n\t\tfor (int i = 0; i < cn - 1; i++) {\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "ArrayList<String> lines = new ArrayList<String>();", "lines", "new ArrayList<String>()", "String string = \"\";", "string", "\"\"", "int cn = 0;", "cn", "0", "while (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "string = sc.nextLine()", "string", "sc.nextLine()", "sc.nextLine", "sc", "lines.add(string)", "lines.add", "lines", "string", "cn++", "cn", "if (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "string.contains(\"?\")", "string.contains", "string", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "int[] in = new int[2];", "in", "new int[2]", "2", "for (int i = 0; i < cn - 1; i++) {\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < cn - 1", "i", "cn - 1", "cn", "1", "i++", "i++", "i", "{\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}", "{\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}", "String[] st = lines.get(i).split(\" \");", "st", "lines.get(i).split(\" \")", "lines.get(i).split", "lines.get(i)", "lines.get", "lines", "i", "\" \"", "in[0] = Integer.parseInt(st[0])", "in[0]", "in", "0", "Integer.parseInt(st[0])", "Integer.parseInt", "Integer", "st[0]", "st", "0", "in[1] = Integer.parseInt(st[2])", "in[1]", "in", "1", "Integer.parseInt(st[2])", "Integer.parseInt", "Integer", "st[2]", "st", "2", "if (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}", "st[1].equals(\"+\")", "st[1].equals", "st[1]", "st", "1", "\"+\"", "{\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t}", "System.out.println(in[0] + in[1])", "System.out.println", "System.out", "System", "System.out", "in[0] + in[1]", "in[0]", "in", "0", "in[1]", "in", "1", "if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}", "st[1].equals(\"-\")", "st[1].equals", "st[1]", "st", "1", "\"-\"", "{\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t}", "System.out.println(in[0] - in[1])", "System.out.println", "System.out", "System", "System.out", "in[0] - in[1]", "in[0]", "in", "0", "in[1]", "in", "1", "if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}", "st[1].equals(\"*\")", "st[1].equals", "st[1]", "st", "1", "\"*\"", "{\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t}", "System.out.println(in[0] * in[1])", "System.out.println", "System.out", "System", "System.out", "in[0] * in[1]", "in[0]", "in", "0", "in[1]", "in", "1", "if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}", "st[1].equals(\"/\")", "st[1].equals", "st[1]", "st", "1", "\"/\"", "{\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}", "System.out.println(in[0] / in[1])", "System.out.println", "System.out", "System", "System.out", "in[0] / in[1]", "in[0]", "in", "0", "in[1]", "in", "1", "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\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] in = new int[2];\n\n\t\tfor (int i = 0; i < cn - 1; i++) {\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}\n\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\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.contains(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] in = new int[2];\n\n\t\tfor (int i = 0; i < cn - 1; i++) {\n\t\t\tString[] st = lines.get(i).split(\" \");\n\t\t\tin[0] = Integer.parseInt(st[0]);\n\t\t\tin[1] = Integer.parseInt(st[2]);\n\n\t\t\tif (st[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(in[0] + in[1]);\n\t\t\t} else if (st[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(in[0] - in[1]);\n\t\t\t} else if (st[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(in[0] * in[1]);\n\t\t\t} else if (st[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(in[0] / in[1]);\n\t\t\t}\n\n\t\t}\n\n\t}\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); ArrayList<String> lines = new ArrayList<String>(); String string = ""; int cn = 0; while (true) { string = sc.nextLine(); lines.add(string); cn++; if (string.contains("?")) { break; } } int[] in = new int[2]; for (int i = 0; i < cn - 1; i++) { String[] st = lines.get(i).split(" "); in[0] = Integer.parseInt(st[0]); in[1] = Integer.parseInt(st[2]); if (st[1].equals("+")) { System.out.println(in[0] + in[1]); } else if (st[1].equals("-")) { System.out.println(in[0] - in[1]); } else if (st[1].equals("*")) { System.out.println(in[0] * in[1]); } else if (st[1].equals("/")) { System.out.println(in[0] / in[1]); } } } }
[ 7, 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, 20, 42, 40, 4, 18, 13, 17, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 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, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 13, 2, 13, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 4, 18, 13, 2, 13, 13, 3, 4, 18, 18, 13, 13, 4, 18, 13, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 161, 8 ], [ 161, 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 ], [ 30, 31 ], [ 29, 32 ], [ 27, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 33, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 33, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 50, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 52, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 66, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 66, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 80, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 91, 92 ], [ 91, 93 ], [ 79, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 95, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 94, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 110, 116 ], [ 109, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 121, 123 ], [ 109, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 125, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 136, 138 ], [ 124, 139 ], [ 66, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 161, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 156, 157 ], [ 149, 158 ], [ 158, 159 ], [ 0, 160 ], [ 160, 161 ], [ 160, 162 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tArrayList<String> op = new ArrayList<String>();\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\t\n\t\tdo {\n\t\t\ta.add(scan.nextInt());\n\t\t\top.add(scan.next());\n\t\t\tb.add(scan.nextInt());\n\t\t} while (!op.contains(\"?\"));\n\t\tfor (int i = 0; i < op.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tArrayList<String> op = new ArrayList<String>();\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\t\n\t\tdo {\n\t\t\ta.add(scan.nextInt());\n\t\t\top.add(scan.next());\n\t\t\tb.add(scan.nextInt());\n\t\t} while (!op.contains(\"?\"));\n\t\tfor (int i = 0; i < op.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "Main", "void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tArrayList<String> op = new ArrayList<String>();\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\t\n\t\tdo {\n\t\t\ta.add(scan.nextInt());\n\t\t\top.add(scan.next());\n\t\t\tb.add(scan.nextInt());\n\t\t} while (!op.contains(\"?\"));\n\t\tfor (int i = 0; i < op.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\n\t\t}\n\t}", "run", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tArrayList<String> op = new ArrayList<String>();\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\t\n\t\tdo {\n\t\t\ta.add(scan.nextInt());\n\t\t\top.add(scan.next());\n\t\t\tb.add(scan.nextInt());\n\t\t} while (!op.contains(\"?\"));\n\t\tfor (int i = 0; i < op.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "ArrayList<Integer> a = new ArrayList<Integer>();", "a", "new ArrayList<Integer>()", "ArrayList<String> op = new ArrayList<String>();", "op", "new ArrayList<String>()", "ArrayList<Integer> b = new ArrayList<Integer>();", "b", "new ArrayList<Integer>()", "ArrayList<Integer> ans = new ArrayList<Integer>();", "ans", "new ArrayList<Integer>()", "do {\n\t\t\ta.add(scan.nextInt());\n\t\t\top.add(scan.next());\n\t\t\tb.add(scan.nextInt());\n\t\t} while (!op.contains(\"?\"));", "!op.contains(\"?\")", "op.contains(\"?\")", "op.contains", "op", "\"?\"", "{\n\t\t\ta.add(scan.nextInt());\n\t\t\top.add(scan.next());\n\t\t\tb.add(scan.nextInt());\n\t\t}", "a.add(scan.nextInt())", "a.add", "a", "scan.nextInt()", "scan.nextInt", "scan", "op.add(scan.next())", "op.add", "op", "scan.next()", "scan.next", "scan", "b.add(scan.nextInt())", "b.add", "b", "scan.nextInt()", "scan.nextInt", "scan", "for (int i = 0; i < op.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < op.size()", "i", "op.size()", "op.size", "op", "i++", "i++", "i", "{\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\n\t\t}", "{\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\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", "if (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;", "op.get(i).equals(\"+\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"+\"", "{\n\t\t\t\tans.add(_a + _b);\n\t\t\t}", "ans.add(_a + _b)", "ans.add", "ans", "_a + _b", "_a", "_b", "if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;", "op.get(i).equals(\"-\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"-\"", "{\n\t\t\t\tans.add(_a - _b);\n\t\t\t}", "ans.add(_a - _b)", "ans.add", "ans", "_a - _b", "_a", "_b", "if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;", "op.get(i).equals(\"*\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"*\"", "{\n\t\t\t\tans.add(_a * _b);\n\t\t\t}", "ans.add(_a * _b)", "ans.add", "ans", "_a * _b", "_a", "_b", "if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;", "op.get(i).equals(\"/\")", "op.get(i).equals", "op.get(i)", "op.get", "op", "i", "\"/\"", "{\n\t\t\t\tans.add(_a / _b);\n\t\t\t}", "ans.add(_a / _b)", "ans.add", "ans", "_a / _b", "_a", "_b", "break;", "System.out.println(ans.get(i))", "System.out.println", "System.out", "System", "System.out", "ans.get(i)", "ans.get", "ans", "i", "public static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}", "main", "{\n\t\tMain m = new Main();\n\t\tm.run();\n\t}", "Main m = new Main();", "m", "new Main()", "m.run()", "m.run", "m", "String[] args", "args", "public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tArrayList<String> op = new ArrayList<String>();\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\t\n\t\tdo {\n\t\t\ta.add(scan.nextInt());\n\t\t\top.add(scan.next());\n\t\t\tb.add(scan.nextInt());\n\t\t} while (!op.contains(\"?\"));\n\t\tfor (int i = 0; i < op.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tArrayList<String> op = new ArrayList<String>();\n\t\tArrayList<Integer> b = new ArrayList<Integer>();\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\t\n\t\tdo {\n\t\t\ta.add(scan.nextInt());\n\t\t\top.add(scan.next());\n\t\t\tb.add(scan.nextInt());\n\t\t} while (!op.contains(\"?\"));\n\t\tfor (int i = 0; i < op.size(); i++) {\n\t\t\tint _a = a.get(i);\n\t\t\tint _b = b.get(i);\n\t\t\tif (op.get(i).equals(\"+\")) {\n\t\t\t\tans.add(_a + _b);\n\t\t\t} else if (op.get(i).equals(\"-\")) {\n\t\t\t\tans.add(_a - _b);\n\t\t\t} else if (op.get(i).equals(\"*\")) {\n\t\t\t\tans.add(_a * _b);\n\t\t\t} else if (op.get(i).equals(\"/\")) {\n\t\t\t\tans.add(_a / _b);\n\t\t\t} else break;\n\t\t\tSystem.out.println(ans.get(i));\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { void run() { Scanner scan = new Scanner(System.in); ArrayList<Integer> a = new ArrayList<Integer>(); ArrayList<String> op = new ArrayList<String>(); ArrayList<Integer> b = new ArrayList<Integer>(); ArrayList<Integer> ans = new ArrayList<Integer>(); do { a.add(scan.nextInt()); op.add(scan.next()); b.add(scan.nextInt()); } while (!op.contains("?")); for (int i = 0; i < op.size(); i++) { int _a = a.get(i); int _b = b.get(i); if (op.get(i).equals("+")) { ans.add(_a + _b); } else if (op.get(i).equals("-")) { ans.add(_a - _b); } else if (op.get(i).equals("*")) { ans.add(_a * _b); } else if (op.get(i).equals("/")) { ans.add(_a / _b); } else break; System.out.println(ans.get(i)); } } public static void main(String[] args) { Main m = new Main(); m.run(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 20, 41, 13, 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, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 13, 4, 18, 13, 13, 30, 3, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 19 ], [ 19, 20 ], [ 19, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 25 ], [ 25, 26 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 38, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 35, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 35, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 35, 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 ], [ 76, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 65, 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 ], [ 94, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 83, 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 ], [ 112, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 101, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 119, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 127, 129 ], [ 124, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 119, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 137, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 145, 147 ], [ 142, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 137, 155 ], [ 155, 156 ], [ 11, 157 ], [ 157, 158 ], [ 157, 159 ], [ 157, 160 ], [ 161, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 9, 168 ], [ 168, 169 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] calculator = new String[3];\n int first_number = 0;\n int second_number = 0;\n String operator;\n List<String> answers = new ArrayList<String>();\n int answer = 0;\n\n while(true){\n calculator = br.readLine().split(\" \");\n first_number = Integer.parseInt(calculator[0]);\n second_number = Integer.parseInt(calculator[2]);\n operator = calculator[1];\n\n if(operator.equals(\"+\")){\n answer = first_number + second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"-\")){\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }\n }\n\n for(String score:answers){\n System.out.println(score);\n }\n }\n}\n", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] calculator = new String[3];\n int first_number = 0;\n int second_number = 0;\n String operator;\n List<String> answers = new ArrayList<String>();\n int answer = 0;\n\n while(true){\n calculator = br.readLine().split(\" \");\n first_number = Integer.parseInt(calculator[0]);\n second_number = Integer.parseInt(calculator[2]);\n operator = calculator[1];\n\n if(operator.equals(\"+\")){\n answer = first_number + second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"-\")){\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }\n }\n\n for(String score:answers){\n System.out.println(score);\n }\n }\n}", "Main", "public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] calculator = new String[3];\n int first_number = 0;\n int second_number = 0;\n String operator;\n List<String> answers = new ArrayList<String>();\n int answer = 0;\n\n while(true){\n calculator = br.readLine().split(\" \");\n first_number = Integer.parseInt(calculator[0]);\n second_number = Integer.parseInt(calculator[2]);\n operator = calculator[1];\n\n if(operator.equals(\"+\")){\n answer = first_number + second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"-\")){\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }\n }\n\n for(String score:answers){\n System.out.println(score);\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] calculator = new String[3];\n int first_number = 0;\n int second_number = 0;\n String operator;\n List<String> answers = new ArrayList<String>();\n int answer = 0;\n\n while(true){\n calculator = br.readLine().split(\" \");\n first_number = Integer.parseInt(calculator[0]);\n second_number = Integer.parseInt(calculator[2]);\n operator = calculator[1];\n\n if(operator.equals(\"+\")){\n answer = first_number + second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"-\")){\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }\n }\n\n for(String score:answers){\n System.out.println(score);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] calculator = new String[3];", "calculator", "new String[3]", "3", "int first_number = 0;", "first_number", "0", "int second_number = 0;", "second_number", "0", "String operator;", "operator", "List<String> answers = new ArrayList<String>();", "answers", "new ArrayList<String>()", "int answer = 0;", "answer", "0", "while(true){\n calculator = br.readLine().split(\" \");\n first_number = Integer.parseInt(calculator[0]);\n second_number = Integer.parseInt(calculator[2]);\n operator = calculator[1];\n\n if(operator.equals(\"+\")){\n answer = first_number + second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"-\")){\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }\n }", "true", "{\n calculator = br.readLine().split(\" \");\n first_number = Integer.parseInt(calculator[0]);\n second_number = Integer.parseInt(calculator[2]);\n operator = calculator[1];\n\n if(operator.equals(\"+\")){\n answer = first_number + second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"-\")){\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }\n }", "calculator = br.readLine().split(\" \")", "calculator", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "first_number = Integer.parseInt(calculator[0])", "first_number", "Integer.parseInt(calculator[0])", "Integer.parseInt", "Integer", "calculator[0]", "calculator", "0", "second_number = Integer.parseInt(calculator[2])", "second_number", "Integer.parseInt(calculator[2])", "Integer.parseInt", "Integer", "calculator[2]", "calculator", "2", "operator = calculator[1]", "operator", "calculator[1]", "calculator", "1", "if(operator.equals(\"+\")){\n answer = first_number + second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"-\")){\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }", "operator.equals(\"+\")", "operator.equals", "operator", "\"+\"", "{\n answer = first_number + second_number;\n answers.add(String.valueOf(answer));\n }", "answer = first_number + second_number", "answer", "first_number + second_number", "first_number", "second_number", "answers.add(String.valueOf(answer))", "answers.add", "answers", "String.valueOf(answer)", "String.valueOf", "String", "answer", "if(operator.equals(\"-\")){\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }", "operator.equals(\"-\")", "operator.equals", "operator", "\"-\"", "{\n answer = first_number - second_number;\n answers.add(String.valueOf(answer));\n }", "answer = first_number - second_number", "answer", "first_number - second_number", "first_number", "second_number", "answers.add(String.valueOf(answer))", "answers.add", "answers", "String.valueOf(answer)", "String.valueOf", "String", "answer", "if(operator.equals(\"*\")){\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }", "operator.equals(\"*\")", "operator.equals", "operator", "\"*\"", "{\n answer = first_number * second_number;\n answers.add(String.valueOf(answer));\n }", "answer = first_number * second_number", "answer", "first_number * second_number", "first_number", "second_number", "answers.add(String.valueOf(answer))", "answers.add", "answers", "String.valueOf(answer)", "String.valueOf", "String", "answer", "if(operator.equals(\"/\")){\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }else if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }", "operator.equals(\"/\")", "operator.equals", "operator", "\"/\"", "{\n answer = first_number / second_number;\n answers.add(String.valueOf(answer));\n }", "answer = first_number / second_number", "answer", "first_number / second_number", "first_number", "second_number", "answers.add(String.valueOf(answer))", "answers.add", "answers", "String.valueOf(answer)", "String.valueOf", "String", "answer", "if(operator.equals(\"%\")){\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }else{\n break;\n }", "operator.equals(\"%\")", "operator.equals", "operator", "\"%\"", "{\n answer = first_number % second_number;\n answers.add(String.valueOf(answer));\n }", "answer = first_number % second_number", "answer", "first_number % second_number", "first_number", "second_number", "answers.add(String.valueOf(answer))", "answers.add", "answers", "String.valueOf(answer)", "String.valueOf", "String", "answer", "{\n break;\n }", "break;", "for(String score:answers){\n System.out.println(score);\n }", "String score", "answers", "{\n System.out.println(score);\n }", "{\n System.out.println(score);\n }", "System.out.println(score)", "System.out.println", "System.out", "System", "System.out", "score", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] calculator = new String[3]; int first_number = 0; int second_number = 0; String operator; List<String> answers = new ArrayList<String>(); int answer = 0; while(true){ calculator = br.readLine().split(" "); first_number = Integer.parseInt(calculator[0]); second_number = Integer.parseInt(calculator[2]); operator = calculator[1]; if(operator.equals("+")){ answer = first_number + second_number; answers.add(String.valueOf(answer)); }else if(operator.equals("-")){ answer = first_number - second_number; answers.add(String.valueOf(answer)); }else if(operator.equals("*")){ answer = first_number * second_number; answers.add(String.valueOf(answer)); }else if(operator.equals("/")){ answer = first_number / second_number; answers.add(String.valueOf(answer)); }else if(operator.equals("%")){ answer = first_number % second_number; answers.add(String.valueOf(answer)); }else{ break; } } for(String score:answers){ System.out.println(score); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 17, 41, 13, 41, 13, 41, 13, 20, 41, 13, 20, 42, 2, 13, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 14, 2, 13, 17, 30, 3, 30, 35, 13, 34, 17, 1, 4, 18, 13, 20, 3, 34, 17, 1, 4, 18, 13, 20, 3, 34, 17, 1, 4, 18, 13, 20, 3, 34, 17, 1, 4, 18, 13, 20, 3, 40, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 123, 8 ], [ 123, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 16, 18 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 33, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 33, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 62, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 62, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 82, 87 ], [ 62, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 33, 96 ], [ 96, 97 ], [ 11, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 98, 106 ], [ 106, 107 ], [ 107, 108 ], [ 98, 109 ], [ 110, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 9, 120 ], [ 120, 121 ], [ 0, 122 ], [ 122, 123 ], [ 122, 124 ] ]
[ "\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tint a, b, cnt = 0, i;\n\t\tString o;\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(cnt < 20000){\n\t\t\ta = sc.nextInt();\n\t\t\to = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tchar op = o.charAt(0);\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcnt++;\t\t\n\t\t}\n\t\tfor(i = 0; i != cnt; i++){\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}\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\tint a, b, cnt = 0, i;\n\t\tString o;\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(cnt < 20000){\n\t\t\ta = sc.nextInt();\n\t\t\to = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tchar op = o.charAt(0);\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcnt++;\t\t\n\t\t}\n\t\tfor(i = 0; i != cnt; i++){\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tint a, b, cnt = 0, i;\n\t\tString o;\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(cnt < 20000){\n\t\t\ta = sc.nextInt();\n\t\t\to = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tchar op = o.charAt(0);\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcnt++;\t\t\n\t\t}\n\t\tfor(i = 0; i != cnt; i++){\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}\n\t}", "main", "{\n\t\tint a, b, cnt = 0, i;\n\t\tString o;\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(cnt < 20000){\n\t\t\ta = sc.nextInt();\n\t\t\to = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tchar op = o.charAt(0);\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcnt++;\t\t\n\t\t}\n\t\tfor(i = 0; i != cnt; i++){\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}\n\t}", "int a", "a", "b", "b", "cnt = 0", "cnt", "0", "i;", "i", "String o;", "o", "ArrayList<Integer> ans = new ArrayList<Integer>();", "ans", "new ArrayList<Integer>()", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(cnt < 20000){\n\t\t\ta = sc.nextInt();\n\t\t\to = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tchar op = o.charAt(0);\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcnt++;\t\t\n\t\t}", "cnt < 20000", "cnt", "20000", "{\n\t\t\ta = sc.nextInt();\n\t\t\to = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tchar op = o.charAt(0);\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcnt++;\t\t\n\t\t}", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "o = sc.next()", "o", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "char op = o.charAt(0);", "op", "o.charAt(0)", "o.charAt", "o", "0", "if(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "op == '?'", "op", "'?'", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "switch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}", "op", "case '+':", "'+'", "case '+':", "ans.add(new Integer(a + b))", "ans.add", "ans", "new Integer(a + b)", "break;", "case '-':", "'-'", "case '-':", "ans.add(new Integer(a - b))", "ans.add", "ans", "new Integer(a - b)", "break;", "case '*':", "'*'", "case '*':", "ans.add(new Integer(a * b))", "ans.add", "ans", "new Integer(a * b)", "break;", "case '/':", "'/'", "case '/':", "ans.add(new Integer(a / b))", "ans.add", "ans", "new Integer(a / b)", "break;", "cnt++", "cnt", "for(i = 0; i != cnt; i++){\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}", "i = 0;", "i = 0", "i", "0", "i != cnt", "i", "cnt", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}", "{\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}", "System.out.println(ans.get(new Integer(i)))", "System.out.println", "System.out", "System", "System.out", "ans.get(new Integer(i))", "ans.get", "ans", "new Integer(i)", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint a, b, cnt = 0, i;\n\t\tString o;\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(cnt < 20000){\n\t\t\ta = sc.nextInt();\n\t\t\to = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tchar op = o.charAt(0);\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcnt++;\t\t\n\t\t}\n\t\tfor(i = 0; i != cnt; i++){\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint a, b, cnt = 0, i;\n\t\tString o;\n\t\tArrayList<Integer> ans = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(cnt < 20000){\n\t\t\ta = sc.nextInt();\n\t\t\to = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t\tchar op = o.charAt(0);\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tswitch(op){\n\t\t\t\t\tcase '+': ans.add(new Integer(a + b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '-': ans.add(new Integer(a - b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '*': ans.add(new Integer(a * b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase '/': ans.add(new Integer(a / b));\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcnt++;\t\t\n\t\t}\n\t\tfor(i = 0; i != cnt; i++){\n\t\t\tSystem.out.println(ans.get(new Integer(i)));\n\t\t}\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args){ int a, b, cnt = 0, i; String o; ArrayList<Integer> ans = new ArrayList<Integer>(); Scanner sc = new Scanner(System.in); while(cnt < 20000){ a = sc.nextInt(); o = sc.next(); b = sc.nextInt(); char op = o.charAt(0); if(op == '?'){ break; }else{ switch(op){ case '+': ans.add(new Integer(a + b)); break; case '-': ans.add(new Integer(a - b)); break; case '*': ans.add(new Integer(a * b)); break; case '/': ans.add(new Integer(a / b)); break; } } cnt++; } for(i = 0; i != cnt; i++){ System.out.println(ans.get(new Integer(i))); } } }
[ 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) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int x = input.nextInt();\n String n = input.next();\n int y = input.nextInt();\n if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int x = input.nextInt();\n String n = input.next();\n int y = input.nextInt();\n if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int x = input.nextInt();\n String n = input.next();\n int y = input.nextInt();\n if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }\n }\n }", "main", "{\n Scanner input = new Scanner(System.in);\n while(true){\n int x = input.nextInt();\n String n = input.next();\n int y = input.nextInt();\n if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }\n }\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "while(true){\n int x = input.nextInt();\n String n = input.next();\n int y = input.nextInt();\n if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }\n }", "true", "{\n int x = input.nextInt();\n String n = input.next();\n int y = input.nextInt();\n if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }\n }", "int x = input.nextInt();", "x", "input.nextInt()", "input.nextInt", "input", "String n = input.next();", "n", "input.next()", "input.next", "input", "int y = input.nextInt();", "y", "input.nextInt()", "input.nextInt", "input", "if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }", "n.equals(\"+\")", "n.equals", "n", "\"+\"", "{\n System.out.println(x+y);\n }", "System.out.println(x+y)", "System.out.println", "System.out", "System", "System.out", "x+y", "x", "y", "if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }", "n.equals(\"-\")", "n.equals", "n", "\"-\"", "{\n System.out.println(x-y);\n }", "System.out.println(x-y)", "System.out.println", "System.out", "System", "System.out", "x-y", "x", "y", "if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }", "n.equals(\"*\")", "n.equals", "n", "\"*\"", "{\n System.out.println(x*y);\n }", "System.out.println(x*y)", "System.out.println", "System.out", "System", "System.out", "x*y", "x", "y", "if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }", "n.equals(\"/\")", "n.equals", "n", "\"/\"", "{\n System.out.println(x/y);\n }", "System.out.println(x/y)", "System.out.println", "System.out", "System", "System.out", "x/y", "x", "y", "if(n.equals(\"?\")){\n break;\n }", "n.equals(\"?\")", "n.equals", "n", "\"?\"", "{\n break;\n }", "break;", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int x = input.nextInt();\n String n = input.next();\n int y = input.nextInt();\n if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n while(true){\n int x = input.nextInt();\n String n = input.next();\n int y = input.nextInt();\n if(n.equals(\"+\")){\n System.out.println(x+y);\n }else if(n.equals(\"-\")){\n System.out.println(x-y);\n }else if(n.equals(\"*\")){\n System.out.println(x*y);\n }else if(n.equals(\"/\")){\n System.out.println(x/y);\n }else if(n.equals(\"?\")){\n break;\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner input = new Scanner(System.in); while(true){ int x = input.nextInt(); String n = input.next(); int y = input.nextInt(); if(n.equals("+")){ System.out.println(x+y); }else if(n.equals("-")){ System.out.println(x-y); }else if(n.equals("*")){ System.out.println(x*y); }else if(n.equals("/")){ System.out.println(x/y); }else if(n.equals("?")){ break; } } } }
[ 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, 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, 18, 13, 17, 0, 13, 17, 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, 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 ], [ 14, 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 ], [ 58, 60 ], [ 28, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 67, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 80, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 93, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 106, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 12, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "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\tString tmp[], op;\n\t\tlong a, b;\n\t\twhile (true) {\n\t\t\ttmp = br.readLine().split(\" \");\n\t\t\ta = Long.parseLong(tmp[0]);\n\t\t\tb = Long.parseLong(tmp[2]);\n\t\t\top = tmp[1];\n\t\t\ttmp = null;\n\t\t\t\n\t\t\tif(op.equals(\"?\"))break;\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 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}\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\tString tmp[], op;\n\t\tlong a, b;\n\t\twhile (true) {\n\t\t\ttmp = br.readLine().split(\" \");\n\t\t\ta = Long.parseLong(tmp[0]);\n\t\t\tb = Long.parseLong(tmp[2]);\n\t\t\top = tmp[1];\n\t\t\ttmp = null;\n\t\t\t\n\t\t\tif(op.equals(\"?\"))break;\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 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}\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\tString tmp[], op;\n\t\tlong a, b;\n\t\twhile (true) {\n\t\t\ttmp = br.readLine().split(\" \");\n\t\t\ta = Long.parseLong(tmp[0]);\n\t\t\tb = Long.parseLong(tmp[2]);\n\t\t\top = tmp[1];\n\t\t\ttmp = null;\n\t\t\t\n\t\t\tif(op.equals(\"?\"))break;\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 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}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString tmp[], op;\n\t\tlong a, b;\n\t\twhile (true) {\n\t\t\ttmp = br.readLine().split(\" \");\n\t\t\ta = Long.parseLong(tmp[0]);\n\t\t\tb = Long.parseLong(tmp[2]);\n\t\t\top = tmp[1];\n\t\t\ttmp = null;\n\t\t\t\n\t\t\tif(op.equals(\"?\"))break;\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 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}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String tmp[]", "tmp", "op;", "op", "long a", "a", "b;", "b", "while (true) {\n\t\t\ttmp = br.readLine().split(\" \");\n\t\t\ta = Long.parseLong(tmp[0]);\n\t\t\tb = Long.parseLong(tmp[2]);\n\t\t\top = tmp[1];\n\t\t\ttmp = null;\n\t\t\t\n\t\t\tif(op.equals(\"?\"))break;\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 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}", "true", "{\n\t\t\ttmp = br.readLine().split(\" \");\n\t\t\ta = Long.parseLong(tmp[0]);\n\t\t\tb = Long.parseLong(tmp[2]);\n\t\t\top = tmp[1];\n\t\t\ttmp = null;\n\t\t\t\n\t\t\tif(op.equals(\"?\"))break;\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 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}", "tmp = br.readLine().split(\" \")", "tmp", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "a = Long.parseLong(tmp[0])", "a", "Long.parseLong(tmp[0])", "Long.parseLong", "Long", "tmp[0]", "tmp", "0", "b = Long.parseLong(tmp[2])", "b", "Long.parseLong(tmp[2])", "Long.parseLong", "Long", "tmp[2]", "tmp", "2", "op = tmp[1]", "op", "tmp[1]", "tmp", "1", "tmp = null", "tmp", "null", "if(op.equals(\"?\"))break;\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 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);", "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 if(op.equals(\"/\"))\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 if(op.equals(\"/\"))\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);", "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);", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "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) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString tmp[], op;\n\t\tlong a, b;\n\t\twhile (true) {\n\t\t\ttmp = br.readLine().split(\" \");\n\t\t\ta = Long.parseLong(tmp[0]);\n\t\t\tb = Long.parseLong(tmp[2]);\n\t\t\top = tmp[1];\n\t\t\ttmp = null;\n\t\t\t\n\t\t\tif(op.equals(\"?\"))break;\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 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}\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\tString tmp[], op;\n\t\tlong a, b;\n\t\twhile (true) {\n\t\t\ttmp = br.readLine().split(\" \");\n\t\t\ta = Long.parseLong(tmp[0]);\n\t\t\tb = Long.parseLong(tmp[2]);\n\t\t\top = tmp[1];\n\t\t\ttmp = null;\n\t\t\t\n\t\t\tif(op.equals(\"?\"))break;\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 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}\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)); String tmp[], op; long a, b; while (true) { tmp = br.readLine().split(" "); a = Long.parseLong(tmp[0]); b = Long.parseLong(tmp[2]); op = tmp[1]; tmp = null; if(op.equals("?"))break; 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); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 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, 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, 12, 13, 30, 4, 18, 20, 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 ], [ 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 ], [ 38, 39 ], [ 38, 40 ], [ 14, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 14, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 4, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ] ]
[ "import java.util.*;\nclass Main{\n Scanner sc=new Scanner(System.in);\n void main(){\n\twhile(true){\n\t int a=sc.nextInt();\n\t String op=sc.next();\n\t int b=sc.nextInt();\n\t if(op.equals(\"?\"))break;\n\t int ans=a+b;\n\t if(op.equals(\"-\"))ans=a-b;\n\t if(op.equals(\"*\"))ans=a*b;\n\t if(op.equals(\"/\"))ans=a/b;\n\t System.out.println(ans);\n\t}\n\t\n }\n public static void main(String[]ag){\n\tnew Main().main();\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n Scanner sc=new Scanner(System.in);\n void main(){\n\twhile(true){\n\t int a=sc.nextInt();\n\t String op=sc.next();\n\t int b=sc.nextInt();\n\t if(op.equals(\"?\"))break;\n\t int ans=a+b;\n\t if(op.equals(\"-\"))ans=a-b;\n\t if(op.equals(\"*\"))ans=a*b;\n\t if(op.equals(\"/\"))ans=a/b;\n\t System.out.println(ans);\n\t}\n\t\n }\n public static void main(String[]ag){\n\tnew Main().main();\n }\n}", "Main", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "void main(){\n\twhile(true){\n\t int a=sc.nextInt();\n\t String op=sc.next();\n\t int b=sc.nextInt();\n\t if(op.equals(\"?\"))break;\n\t int ans=a+b;\n\t if(op.equals(\"-\"))ans=a-b;\n\t if(op.equals(\"*\"))ans=a*b;\n\t if(op.equals(\"/\"))ans=a/b;\n\t System.out.println(ans);\n\t}\n\t\n }", "main", "{\n\twhile(true){\n\t int a=sc.nextInt();\n\t String op=sc.next();\n\t int b=sc.nextInt();\n\t if(op.equals(\"?\"))break;\n\t int ans=a+b;\n\t if(op.equals(\"-\"))ans=a-b;\n\t if(op.equals(\"*\"))ans=a*b;\n\t if(op.equals(\"/\"))ans=a/b;\n\t System.out.println(ans);\n\t}\n\t\n }", "while(true){\n\t int a=sc.nextInt();\n\t String op=sc.next();\n\t int b=sc.nextInt();\n\t if(op.equals(\"?\"))break;\n\t int ans=a+b;\n\t if(op.equals(\"-\"))ans=a-b;\n\t if(op.equals(\"*\"))ans=a*b;\n\t if(op.equals(\"/\"))ans=a/b;\n\t System.out.println(ans);\n\t}", "true", "{\n\t int a=sc.nextInt();\n\t String op=sc.next();\n\t int b=sc.nextInt();\n\t if(op.equals(\"?\"))break;\n\t int ans=a+b;\n\t if(op.equals(\"-\"))ans=a-b;\n\t if(op.equals(\"*\"))ans=a*b;\n\t if(op.equals(\"/\"))ans=a/b;\n\t System.out.println(ans);\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(\"?\"))break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "int ans=a+b;", "ans", "a+b", "a", "b", "if(op.equals(\"-\"))ans=a-b;", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "ans=a-b", "ans", "a-b", "a", "b", "if(op.equals(\"*\"))ans=a*b;", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "ans=a*b", "ans", "a*b", "a", "b", "if(op.equals(\"/\"))ans=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", "public static void main(String[]ag){\n\tnew Main().main();\n }", "main", "{\n\tnew Main().main();\n }", "new Main().main()", "new Main().main", "new Main()", "String[]ag", "ag" ]
import java.util.*; class Main{ Scanner sc=new Scanner(System.in); void main(){ while(true){ int a=sc.nextInt(); String op=sc.next(); int b=sc.nextInt(); if(op.equals("?"))break; int 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); } } public static void main(String[]ag){ new Main().main(); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 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, 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, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 4, 12 ], [ 12, 13 ], [ 4, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 16, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 16, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 42, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 59, 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 ], [ 76, 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 ], [ 41, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 41, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 41, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 4, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 125, 131 ], [ 131, 132 ] ]
[ "import java.util.Scanner;\nclass Main {\n\tint a,b,i;\n\tString op;\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\ti = a + b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tint a,b,i;\n\tString op;\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\ti = a + b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}", "Main", "int a", "a", "b", "b", "i;", "i", "String op;", "op", "public void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\ti = a + b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}", "suzuki", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\ta = sc.nextInt();\n\t\top = sc.next();\n\t\tb = sc.nextInt();\n\t\twhile(!op.equals(\"?\")){\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\ti = a + b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "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\t\t\tif(op.equals(\"+\")){\n\t\t\t\ti = a + b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\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\tif(op.equals(\"+\")){\n\t\t\t\ti = a + b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\top = sc.next();\n\t\t\tb = sc.nextInt();\n\t\t}", "if(op.equals(\"+\")){\n\t\t\t\ti = a + b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\ti = a + b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}", "i = a + b", "i", "a + b", "a", "b", "System.out.println(i)", "System.out.println", "System.out", "System", "System.out", "i", "if(op.equals(\"-\")){\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\ti = a - b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}", "i = a - b", "i", "a - b", "a", "b", "System.out.println(i)", "System.out.println", "System.out", "System", "System.out", "i", "if(op.equals(\"*\")){\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\ti = a * b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}", "i = a * b", "i", "a * b", "a", "b", "System.out.println(i)", "System.out.println", "System.out", "System", "System.out", "i", "if(op.equals(\"/\")){\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\ti = a / b;\n\t\t\t\tSystem.out.println(i);\n\t\t\t}", "i = a / b", "i", "a / b", "a", "b", "System.out.println(i)", "System.out.println", "System.out", "System", "System.out", "i", "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", "public static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}", "main", "{\n\t\tnew Main().suzuki();\n\t}", "new Main().suzuki()", "new Main().suzuki", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main { int a,b,i; String op; public void suzuki(){ Scanner sc = new Scanner(System.in); a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); while(!op.equals("?")){ if(op.equals("+")){ i = a + b; System.out.println(i); }else if(op.equals("-")){ i = a - b; System.out.println(i); }else if(op.equals("*")){ i = a * b; System.out.println(i); }else if(op.equals("/")){ i = a / b; System.out.println(i); } a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); } } public static void main(String[] args){ new Main().suzuki(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 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, 30, 3, 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 ], [ 7, 12 ], [ 12, 13 ], [ 12, 14 ], [ 7, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 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 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 42, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 54, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 66, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 87, 89 ], [ 78, 90 ], [ 90, 91 ], [ 17, 92 ], [ 92, 93 ], [ 93, 94 ], [ 15, 95 ], [ 95, 96 ] ]
[ "import java.io.PrintWriter;\nimport java.util.Scanner;\n\nclass Main {\n private static final Scanner sc = new Scanner(System.in);\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args) {\n while(true) {\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if(op.equals(\"+\")) {\n out.println(a+b);\n } else if(op.equals(\"-\")) {\n out.println(a-b);\n } else if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }\n }\n out.flush();\n }\n}", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n private static final Scanner sc = new Scanner(System.in);\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args) {\n while(true) {\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if(op.equals(\"+\")) {\n out.println(a+b);\n } else if(op.equals(\"-\")) {\n out.println(a-b);\n } else if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }\n }\n out.flush();\n }\n}", "Main", "private static final Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "private static final PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "public static void main(String[] Args) {\n while(true) {\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if(op.equals(\"+\")) {\n out.println(a+b);\n } else if(op.equals(\"-\")) {\n out.println(a-b);\n } else if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }\n }\n out.flush();\n }", "main", "{\n while(true) {\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if(op.equals(\"+\")) {\n out.println(a+b);\n } else if(op.equals(\"-\")) {\n out.println(a-b);\n } else if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }\n }\n out.flush();\n }", "while(true) {\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if(op.equals(\"+\")) {\n out.println(a+b);\n } else if(op.equals(\"-\")) {\n out.println(a-b);\n } else if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }\n }", "true", "{\n int a = Integer.parseInt(sc.next());\n String op = sc.next();\n int b = Integer.parseInt(sc.next());\n if(op.equals(\"+\")) {\n out.println(a+b);\n } else if(op.equals(\"-\")) {\n out.println(a-b);\n } else if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }\n }", "int a = Integer.parseInt(sc.next());", "a", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "String op = sc.next();", "op", "sc.next()", "sc.next", "sc", "int b = Integer.parseInt(sc.next());", "b", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "if(op.equals(\"+\")) {\n out.println(a+b);\n } else if(op.equals(\"-\")) {\n out.println(a-b);\n } else if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n out.println(a+b);\n }", "out.println(a+b)", "out.println", "out", "a+b", "a", "b", "if(op.equals(\"-\")) {\n out.println(a-b);\n } else if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n out.println(a-b);\n }", "out.println(a-b)", "out.println", "out", "a-b", "a", "b", "if(op.equals(\"*\")) {\n out.println(a*b);\n } else if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n out.println(a*b);\n }", "out.println(a*b)", "out.println", "out", "a*b", "a", "b", "if(op.equals(\"/\")) {\n out.println(a/b);\n } else {\n break;\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n out.println(a/b);\n }", "out.println(a/b)", "out.println", "out", "a/b", "a", "b", "{\n break;\n }", "break;", "out.flush()", "out.flush", "out", "String[] Args", "Args" ]
import java.io.PrintWriter; import java.util.Scanner; class Main { private static final Scanner sc = new Scanner(System.in); private static final PrintWriter out = new PrintWriter(System.out); public static void main(String[] Args) { while(true) { int a = Integer.parseInt(sc.next()); String op = sc.next(); int b = Integer.parseInt(sc.next()); if(op.equals("+")) { out.println(a+b); } else if(op.equals("-")) { out.println(a-b); } else if(op.equals("*")) { out.println(a*b); } else if(op.equals("/")) { out.println(a/b); } else { break; } } out.flush(); } }
[ 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, 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, 41, 13, 13, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 114, 5 ], [ 114, 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 ], [ 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 ], [ 96, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 96, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 6, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "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\tint 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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}\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\tint 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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}\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\tint 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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint 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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}\n\t\t}\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int 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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}\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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\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}\n\t\t\telse if(op.equals (\"+\")) {\n\t\t\t\tx = a+b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}", "op.equals (\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tx = a+b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "x = a+b", "x", "a+b", "a", "b", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}", "op.equals (\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "x = a-b", "x", "a-b", "a", "b", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}", "op.equals (\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}", "x = a*b", "x", "a*b", "a", "b", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}", "op.equals (\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}", "double A = a;", "A", "a", "double y = A/b;", "y", "A/b", "A", "b", "System.out.println((int) y)", "System.out.println", "System.out", "System", "System.out", "(int) y", "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\tint 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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}\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\tint 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\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"-\")) {\n\t\t\t\tx = a-b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"*\")) {\n\t\t\t\tx = a*b;\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t\telse if(op.equals (\"/\")) {\n\t\t\t\tdouble A = a;\n\t\t\t\tdouble y = A/b;\n\t\t\t\tSystem.out.println((int) y);\n\t\t\t}\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); int 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; System.out.println(x); } else if(op.equals ("-")) { x = a-b; System.out.println(x); } else if(op.equals ("*")) { x = a*b; System.out.println(x); } else if(op.equals ("/")) { double A = a; double y = A/b; System.out.println((int) y); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 4, 18, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 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, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 30, 0, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 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 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 47, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 64, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 81, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 81, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 98, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 98, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 4, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 119, 125 ], [ 125, 126 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public void yatary() { \n int x,a,b;\n String op;\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\\\s\");\n\n boolean sw = true;\n\n while(sw == true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if (op.equals(\"+\")){\n x = a + b;\n System.out.println(x);\n }else if(op.equals(\"-\")){\n x = a - b;\n System.out.println(x);\n }else if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }\n }\n }\n\npublic static void main(String[] args){ \n new Main().yatary(); \n }\n} ", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public void yatary() { \n int x,a,b;\n String op;\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\\\s\");\n\n boolean sw = true;\n\n while(sw == true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if (op.equals(\"+\")){\n x = a + b;\n System.out.println(x);\n }else if(op.equals(\"-\")){\n x = a - b;\n System.out.println(x);\n }else if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }\n }\n }\n\npublic static void main(String[] args){ \n new Main().yatary(); \n }\n}", "Main", "public void yatary() { \n int x,a,b;\n String op;\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\\\s\");\n\n boolean sw = true;\n\n while(sw == true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if (op.equals(\"+\")){\n x = a + b;\n System.out.println(x);\n }else if(op.equals(\"-\")){\n x = a - b;\n System.out.println(x);\n }else if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }\n }\n }", "yatary", "{ \n int x,a,b;\n String op;\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\\\s\");\n\n boolean sw = true;\n\n while(sw == true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if (op.equals(\"+\")){\n x = a + b;\n System.out.println(x);\n }else if(op.equals(\"-\")){\n x = a - b;\n System.out.println(x);\n }else if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }\n }\n }", "int x", "x", "a", "a", "b;", "b", "String op;", "op", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "sc.useDelimiter(\"\\\\s\")", "sc.useDelimiter", "sc", "\"\\\\s\"", "boolean sw = true;", "sw", "true", "while(sw == true){\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if (op.equals(\"+\")){\n x = a + b;\n System.out.println(x);\n }else if(op.equals(\"-\")){\n x = a - b;\n System.out.println(x);\n }else if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }\n }", "sw == true", "sw", "true", "{\n a = sc.nextInt();\n op = sc.next();\n b = sc.nextInt();\n if (op.equals(\"+\")){\n x = a + b;\n System.out.println(x);\n }else if(op.equals(\"-\")){\n x = a - b;\n System.out.println(x);\n }else if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }\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 x = a + b;\n System.out.println(x);\n }else if(op.equals(\"-\")){\n x = a - b;\n System.out.println(x);\n }else if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n x = a + b;\n System.out.println(x);\n }", "x = a + b", "x", "a + b", "a", "b", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if(op.equals(\"-\")){\n x = a - b;\n System.out.println(x);\n }else if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n x = a - b;\n System.out.println(x);\n }", "x = a - b", "x", "a - b", "a", "b", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if(op.equals(\"*\")){\n x = a * b;\n System.out.println(x);\n }else if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n x = a * b;\n System.out.println(x);\n }", "x = a * b", "x", "a * b", "a", "b", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if(op.equals(\"/\")){\n x = a / b; \n System.out.println(x);\n }else{\n sw = false; \n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n x = a / b; \n System.out.println(x);\n }", "x = a / b", "x", "a / b", "a", "b", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "{\n sw = false; \n }", "sw = false", "sw", "false", "public static void main(String[] args){ \n new Main().yatary(); \n }", "main", "{ \n new Main().yatary(); \n }", "new Main().yatary()", "new Main().yatary", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main{ public void yatary() { int x,a,b; String op; Scanner sc = new Scanner(System.in); sc.useDelimiter("\\s"); boolean sw = true; while(sw == true){ a = sc.nextInt(); op = sc.next(); b = sc.nextInt(); if (op.equals("+")){ x = a + b; System.out.println(x); }else if(op.equals("-")){ x = a - b; System.out.println(x); }else if(op.equals("*")){ x = a * b; System.out.println(x); }else if(op.equals("/")){ x = a / b; System.out.println(x); }else{ sw = false; } } } public static void main(String[] args){ new Main().yatary(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 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 ], [ 117, 5 ], [ 117, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 17, 25 ], [ 25, 26 ], [ 26, 27 ], [ 17, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 29, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 29, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 29, 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 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 93, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 107, 112 ], [ 112, 113 ], [ 6, 114 ], [ 114, 115 ], [ 0, 116 ], [ 116, 117 ], [ 116, 118 ] ]
[ "import java.util.Scanner;\n\n \npublic class Main {\n\t\n\t\n public static void main(String[] args) {\n\t int n=Integer.MAX_VALUE;\n\t Scanner sc=new Scanner(System.in);\n\t \n\t for(int i=0;i<n;i++){\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t int n=Integer.MAX_VALUE;\n\t Scanner sc=new Scanner(System.in);\n\t \n\t for(int i=0;i<n;i++){\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n\t int n=Integer.MAX_VALUE;\n\t Scanner sc=new Scanner(System.in);\n\t \n\t for(int i=0;i<n;i++){\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }\n }", "main", "{\n\t int n=Integer.MAX_VALUE;\n\t Scanner sc=new Scanner(System.in);\n\t \n\t for(int i=0;i<n;i++){\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }\n }", "int n=Integer.MAX_VALUE;", "n", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "for(int i=0;i<n;i++){\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }", "{\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }", "int a=Integer.parseInt(sc.next());", "a", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "String s=sc.next();", "s", "sc.next()", "sc.next", "sc", "int b=Integer.parseInt(sc.next());", "b", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }", "s.equals(\"+\")", "s.equals", "s", "\"+\"", "{\n\t\t 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(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }", "s.equals(\"-\")", "s.equals", "s", "\"-\"", "{\n\t\t System.out.println(a-b); \n\t \n\t }", "System.out.println(a-b)", "System.out.println", "System.out", "System", "System.out", "a-b", "a", "b", "if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }", "s.equals(\"*\")", "s.equals", "s", "\"*\"", "{\n\t System.out.println(a*b);\n }", "System.out.println(a*b)", "System.out.println", "System.out", "System", "System.out", "a*b", "a", "b", "if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }", "s.equals(\"/\")", "s.equals", "s", "\"/\"", "{\n\t System.out.println(a/b);\n \n }", "System.out.println(a/b)", "System.out.println", "System.out", "System", "System.out", "a/b", "a", "b", "if(s.equals(\"?\")){\n\tbreak; \n }", "s.equals(\"?\")", "s.equals", "s", "\"?\"", "{\n\tbreak; \n }", "break;", "String[] args", "args", "public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t int n=Integer.MAX_VALUE;\n\t Scanner sc=new Scanner(System.in);\n\t \n\t for(int i=0;i<n;i++){\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }\n }\n}", "public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t int n=Integer.MAX_VALUE;\n\t Scanner sc=new Scanner(System.in);\n\t \n\t for(int i=0;i<n;i++){\n\t int a=Integer.parseInt(sc.next());\n\t String s=sc.next();\n\t int b=Integer.parseInt(sc.next()); \n\t \n\t if(s.equals(\"+\")){\n\t\t System.out.println(a+b);\n\t }\n\t else if(s.equals(\"-\")){\n\t\t System.out.println(a-b); \n\t \n\t }\n else if(s.equals(\"*\")){\n\t System.out.println(a*b);\n }\n\t \n else if(s.equals(\"/\")){\n\t System.out.println(a/b);\n \n }\n else if(s.equals(\"?\")){\n\tbreak; \n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int n=Integer.MAX_VALUE; Scanner sc=new Scanner(System.in); for(int i=0;i<n;i++){ int a=Integer.parseInt(sc.next()); String s=sc.next(); int b=Integer.parseInt(sc.next()); if(s.equals("+")){ System.out.println(a+b); } else if(s.equals("-")){ System.out.println(a-b); } else if(s.equals("*")){ System.out.println(a*b); } else if(s.equals("/")){ System.out.println(a/b); } else if(s.equals("?")){ break; } } } }
[ 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, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 3, 14, 2, 2, 2, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 30, 4, 13, 13, 13, 13, 30, 3, 23, 13, 12, 13, 30, 14, 4, 13, 13, 13, 13, 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, 2, 4, 18, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 29, 17, 29, 17, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 207, 5 ], [ 207, 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 ], [ 24, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 24, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 40, 47 ], [ 47, 48 ], [ 50, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 50, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 47, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 68, 72 ], [ 47, 73 ], [ 73, 74 ], [ 6, 75 ], [ 75, 76 ], [ 207, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 81, 84 ], [ 81, 85 ], [ 80, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 87, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 101, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 115, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 115, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 130, 135 ], [ 135, 136 ], [ 135, 137 ], [ 129, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 129, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 149, 152 ], [ 148, 153 ], [ 153, 154 ], [ 153, 155 ], [ 147, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 147, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 77, 170 ], [ 170, 171 ], [ 77, 172 ], [ 172, 173 ], [ 77, 174 ], [ 174, 175 ], [ 207, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 179, 180 ], [ 182, 181 ], [ 189, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 182, 186 ], [ 186, 187 ], [ 186, 188 ], [ 189, 189 ], [ 189, 190 ], [ 189, 191 ], [ 182, 192 ], [ 192, 193 ], [ 192, 194 ], [ 179, 195 ], [ 195, 196 ], [ 196, 197 ], [ 179, 198 ], [ 198, 199 ], [ 176, 200 ], [ 200, 201 ], [ 176, 202 ], [ 202, 203 ], [ 176, 204 ], [ 204, 205 ], [ 0, 206 ], [ 206, 207 ], [ 206, 208 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String arg[]) {\n Scanner sc = new Scanner(System.in);\n \n \n for(int i = 1; i < 10000; i++) {\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }\n }\n \n public static void Calculator(int a, String op, int b) {\n if(calcJudge(a,op,b)) {\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n } \n }\n }\n \n public static boolean calcJudge(int a, String op, int b) {\n if(a < 0 || b < 0 || a > 20000 || b > 20000) {\n return false;\n }else return true;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String arg[]) {\n Scanner sc = new Scanner(System.in);\n \n \n for(int i = 1; i < 10000; i++) {\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }\n }\n \n public static void Calculator(int a, String op, int b) {\n if(calcJudge(a,op,b)) {\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n } \n }\n }\n \n public static boolean calcJudge(int a, String op, int b) {\n if(a < 0 || b < 0 || a > 20000 || b > 20000) {\n return false;\n }else return true;\n }\n}", "Main", "public static void main(String arg[]) {\n Scanner sc = new Scanner(System.in);\n \n \n for(int i = 1; i < 10000; i++) {\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n \n for(int i = 1; i < 10000; i++) {\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "for(int i = 1; i < 10000; i++) {\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }", "int i = 1;", "int i = 1;", "i", "1", "i < 10000", "i", "10000", "i++", "i++", "i", "{\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }", "{\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }", "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 break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break; \n }", "break;", "if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }", "op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")", "op.equals(\"*\")", "op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n Calculator(a,op,b);\n }", "Calculator(a,op,b)", "Calculator", "a", "op", "b", "{\n break;\n }", "break;", "String arg[]", "arg", "public static void Calculator(int a, String op, int b) {\n if(calcJudge(a,op,b)) {\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n } \n }\n }", "Calculator", "{\n if(calcJudge(a,op,b)) {\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n } \n }\n }", "if(calcJudge(a,op,b)) {\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n } \n }", "calcJudge(a,op,b)", "calcJudge", "a", "op", "b", "{\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n }", "op.equals(\"/\") && b != 0", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "b != 0", "b", "0", "{\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(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n }", "op.equals(\"/\") && b == 0", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "b == 0", "b", "0", "{\n System.out.println(\"0??????????????????????????\\????????????\");\n }", "System.out.println(\"0??????????????????????????\\????????????\")", "System.out.println", "System.out", "System", "System.out", "\"0??????????????????????????\\????????????\"", "{\n System.out.println(\"??£??????????????\\????????????????????????\");\n }", "System.out.println(\"??£??????????????\\????????????????????????\")", "System.out.println", "System.out", "System", "System.out", "\"??£??????????????\\????????????????????????\"", "int a", "a", "String op", "op", "int b", "b", "public static boolean calcJudge(int a, String op, int b) {\n if(a < 0 || b < 0 || a > 20000 || b > 20000) {\n return false;\n }else return true;\n }", "calcJudge", "{\n if(a < 0 || b < 0 || a > 20000 || b > 20000) {\n return false;\n }else return true;\n }", "if(a < 0 || b < 0 || a > 20000 || b > 20000) {\n return false;\n }else return true;", "a < 0 || b < 0 || a > 20000 || b > 20000", "a > 20000", "a < 0 || b < 0 || a > 20000 || b > 20000", "a < 0", "a", "0", "b < 0", "b", "0", "a > 20000", "a", "20000", "b > 20000", "b", "20000", "{\n return false;\n }", "return false;", "false", "return true;", "true", "int a", "a", "String op", "op", "int b", "b", "public class Main {\n public static void main(String arg[]) {\n Scanner sc = new Scanner(System.in);\n \n \n for(int i = 1; i < 10000; i++) {\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }\n }\n \n public static void Calculator(int a, String op, int b) {\n if(calcJudge(a,op,b)) {\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n } \n }\n }\n \n public static boolean calcJudge(int a, String op, int b) {\n if(a < 0 || b < 0 || a > 20000 || b > 20000) {\n return false;\n }else return true;\n }\n}", "public class Main {\n public static void main(String arg[]) {\n Scanner sc = new Scanner(System.in);\n \n \n for(int i = 1; i < 10000; i++) {\n \n int a = sc.nextInt();\n String op = sc.next();\n int b = sc.nextInt();\n //????????¢??°????????????\n if(op.equals(\"?\")) {\n break; \n }else if(op.equals(\"+\") || op.equals(\"-\") || op.equals(\"*\") || op.equals(\"/\")) {\n Calculator(a,op,b);\n }else {\n break;\n }\n \n }\n }\n \n public static void Calculator(int a, String op, int b) {\n if(calcJudge(a,op,b)) {\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(\"/\") && b != 0) {\n System.out.println(a / b);\n }else if(op.equals(\"/\") && b == 0) {\n System.out.println(\"0??????????????????????????\\????????????\");\n }else {\n System.out.println(\"??£??????????????\\????????????????????????\");\n } \n }\n }\n \n public static boolean calcJudge(int a, String op, int b) {\n if(a < 0 || b < 0 || a > 20000 || b > 20000) {\n return false;\n }else return true;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String arg[]) { Scanner sc = new Scanner(System.in); for(int i = 1; i < 10000; i++) { int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); //????????¢??°???????????? if(op.equals("?")) { break; }else if(op.equals("+") || op.equals("-") || op.equals("*") || op.equals("/")) { Calculator(a,op,b); }else { break; } } } public static void Calculator(int a, String op, int b) { if(calcJudge(a,op,b)) { 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("/") && b == 0) { System.out.println("0??????????????????????????\????????????"); }else { System.out.println("??£??????????????\????????????????????????"); } } } public static boolean calcJudge(int a, String op, int b) { if(a < 0 || b < 0 || a > 20000 || b > 20000) { return false; }else return true; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 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, 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 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 138, 11 ], [ 138, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 14, 19 ], [ 19, 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 ], [ 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 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 29, 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 ], [ 95, 97 ], [ 90, 98 ], [ 29, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 110, 111 ], [ 110, 112 ], [ 105, 113 ], [ 29, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 114, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 14, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 12, 135 ], [ 135, 136 ], [ 0, 137 ], [ 137, 138 ], [ 137, 139 ] ]
[ "\nimport 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 int a, b;\n String op;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n\n while (true) {\n String data = reader.readLine();\n String[] number = data.split(\" \");\n a = Integer.parseInt(number[0]);\n op = number[1];\n b = Integer.parseInt(number[2]);\n\n if (op.equals(\"?\")) {\n break;\n }\n if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }\n if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }\n if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }\n if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }\n }\n System.out.print(builder); \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 int a, b;\n String op;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n\n while (true) {\n String data = reader.readLine();\n String[] number = data.split(\" \");\n a = Integer.parseInt(number[0]);\n op = number[1];\n b = Integer.parseInt(number[2]);\n\n if (op.equals(\"?\")) {\n break;\n }\n if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }\n if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }\n if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }\n if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }\n }\n System.out.print(builder); \n }\n}", "Main", "public static void main(String[] args) throws IOException {\n int a, b;\n String op;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n\n while (true) {\n String data = reader.readLine();\n String[] number = data.split(\" \");\n a = Integer.parseInt(number[0]);\n op = number[1];\n b = Integer.parseInt(number[2]);\n\n if (op.equals(\"?\")) {\n break;\n }\n if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }\n if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }\n if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }\n if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }\n }\n System.out.print(builder); \n }", "main", "{\n int a, b;\n String op;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n\n while (true) {\n String data = reader.readLine();\n String[] number = data.split(\" \");\n a = Integer.parseInt(number[0]);\n op = number[1];\n b = Integer.parseInt(number[2]);\n\n if (op.equals(\"?\")) {\n break;\n }\n if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }\n if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }\n if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }\n if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }\n }\n System.out.print(builder); \n }", "int a", "a", "b;", "b", "String op;", "op", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder builder = new StringBuilder();", "builder", "new StringBuilder()", "while (true) {\n String data = reader.readLine();\n String[] number = data.split(\" \");\n a = Integer.parseInt(number[0]);\n op = number[1];\n b = Integer.parseInt(number[2]);\n\n if (op.equals(\"?\")) {\n break;\n }\n if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }\n if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }\n if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }\n if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }\n }", "true", "{\n String data = reader.readLine();\n String[] number = data.split(\" \");\n a = Integer.parseInt(number[0]);\n op = number[1];\n b = Integer.parseInt(number[2]);\n\n if (op.equals(\"?\")) {\n break;\n }\n if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }\n if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }\n if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }\n if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }\n }", "String data = reader.readLine();", "data", "reader.readLine()", "reader.readLine", "reader", "String[] number = data.split(\" \");", "number", "data.split(\" \")", "data.split", "data", "\" \"", "a = Integer.parseInt(number[0])", "a", "Integer.parseInt(number[0])", "Integer.parseInt", "Integer", "number[0]", "number", "0", "op = number[1]", "op", "number[1]", "number", "1", "b = Integer.parseInt(number[2])", "b", "Integer.parseInt(number[2])", "Integer.parseInt", "Integer", "number[2]", "number", "2", "if (op.equals(\"?\")) {\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n builder\n .append(a+b)\n .append(\"\\n\");\n }", "builder\n .append(a+b)\n .append(\"\\n\")", "builder\n .append(a+b)\n .append", "builder\n .append(a+b)", "builder\n .append", "builder", "a+b", "a", "b", "\"\\n\"", "if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n builder\n .append(a-b)\n .append(\"\\n\");\n }", "builder\n .append(a-b)\n .append(\"\\n\")", "builder\n .append(a-b)\n .append", "builder\n .append(a-b)", "builder\n .append", "builder", "a-b", "a", "b", "\"\\n\"", "if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n builder\n .append(a*b)\n .append(\"\\n\");\n }", "builder\n .append(a*b)\n .append(\"\\n\")", "builder\n .append(a*b)\n .append", "builder\n .append(a*b)", "builder\n .append", "builder", "a*b", "a", "b", "\"\\n\"", "if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n builder\n .append(a/b)\n .append(\"\\n\");\n }", "builder\n .append(a/b)\n .append(\"\\n\")", "builder\n .append(a/b)\n .append", "builder\n .append(a/b)", "builder\n .append", "builder", "a/b", "a", "b", "\"\\n\"", "System.out.print(builder)", "System.out.print", "System.out", "System", "System.out", "builder", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws IOException {\n int a, b;\n String op;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n\n while (true) {\n String data = reader.readLine();\n String[] number = data.split(\" \");\n a = Integer.parseInt(number[0]);\n op = number[1];\n b = Integer.parseInt(number[2]);\n\n if (op.equals(\"?\")) {\n break;\n }\n if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }\n if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }\n if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }\n if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }\n }\n System.out.print(builder); \n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n int a, b;\n String op;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n\n while (true) {\n String data = reader.readLine();\n String[] number = data.split(\" \");\n a = Integer.parseInt(number[0]);\n op = number[1];\n b = Integer.parseInt(number[2]);\n\n if (op.equals(\"?\")) {\n break;\n }\n if (op.equals(\"+\")) {\n builder\n .append(a+b)\n .append(\"\\n\");\n }\n if (op.equals(\"-\")) {\n builder\n .append(a-b)\n .append(\"\\n\");\n }\n if (op.equals(\"*\")) {\n builder\n .append(a*b)\n .append(\"\\n\");\n }\n if (op.equals(\"/\")) {\n builder\n .append(a/b)\n .append(\"\\n\");\n }\n }\n System.out.print(builder); \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 { int a, b; String op; BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); while (true) { String data = reader.readLine(); String[] number = data.split(" "); a = Integer.parseInt(number[0]); op = number[1]; b = Integer.parseInt(number[2]); if (op.equals("?")) { break; } if (op.equals("+")) { builder .append(a+b) .append("\n"); } if (op.equals("-")) { builder .append(a-b) .append("\n"); } if (op.equals("*")) { builder .append(a*b) .append("\n"); } if (op.equals("/")) { builder .append(a/b) .append("\n"); } } System.out.print(builder); } }
[ 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, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 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, 14, 4, 18, 13, 17, 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 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 23, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 23, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 23, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 48, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 61, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 74, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 87, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 100, 105 ], [ 15, 106 ], [ 106, 107 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\nclass Main {\n\t\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n StringTokenizer st = new StringTokenizer(br.readLine());\n int a = Integer.parseInt(st.nextToken());\n String op = st.nextToken();\n int b = Integer.parseInt(st.nextToken());\n \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 else if(op.equals(\"?\")) break;\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "class Main {\n\t\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n StringTokenizer st = new StringTokenizer(br.readLine());\n int a = Integer.parseInt(st.nextToken());\n String op = st.nextToken();\n int b = Integer.parseInt(st.nextToken());\n \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 else if(op.equals(\"?\")) 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 StringTokenizer st = new StringTokenizer(br.readLine());\n int a = Integer.parseInt(st.nextToken());\n String op = st.nextToken();\n int b = Integer.parseInt(st.nextToken());\n \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 else if(op.equals(\"?\")) break;\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n StringTokenizer st = new StringTokenizer(br.readLine());\n int a = Integer.parseInt(st.nextToken());\n String op = st.nextToken();\n int b = Integer.parseInt(st.nextToken());\n \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 else if(op.equals(\"?\")) break;\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true) {\n StringTokenizer st = new StringTokenizer(br.readLine());\n int a = Integer.parseInt(st.nextToken());\n String op = st.nextToken();\n int b = Integer.parseInt(st.nextToken());\n \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 else if(op.equals(\"?\")) break;\n }", "true", "{\n StringTokenizer st = new StringTokenizer(br.readLine());\n int a = Integer.parseInt(st.nextToken());\n String op = st.nextToken();\n int b = Integer.parseInt(st.nextToken());\n \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 else if(op.equals(\"?\")) break;\n }", "StringTokenizer st = new StringTokenizer(br.readLine());", "st", "new StringTokenizer(br.readLine())", "int a = Integer.parseInt(st.nextToken());", "a", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "String op = st.nextToken();", "op", "st.nextToken()", "st.nextToken", "st", "int b = Integer.parseInt(st.nextToken());", "b", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "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 else if(op.equals(\"?\")) 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(\"-\")) 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(\"?\")) 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(\"*\")) System.out.println(a*b);\n else if(op.equals(\"/\")) System.out.println(a/b);\n else if(op.equals(\"?\")) 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(\"/\")) System.out.println(a/b);\n else if(op.equals(\"?\")) 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(\"?\")) break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true) { StringTokenizer st = new StringTokenizer(br.readLine()); int a = Integer.parseInt(st.nextToken()); String op = st.nextToken(); int b = Integer.parseInt(st.nextToken()); 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, 41, 13, 41, 13, 41, 13, 17, 41, 13, 41, 13, 20, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 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, 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, 13, 2, 13, 17, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 141, 11 ], [ 141, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 14, 19 ], [ 19, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 37, 42 ], [ 34, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 34, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 34, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 34, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 70, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 80, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 90, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 34, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 113, 115 ], [ 14, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 119, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 14, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 133, 134 ], [ 14, 135 ], [ 135, 136 ], [ 136, 137 ], [ 12, 138 ], [ 138, 139 ], [ 0, 140 ], [ 140, 141 ], [ 140, 142 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tString str[];\n int a,b,answer = 0;\n String operator;\n StringBuilder builder = new StringBuilder();\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n\t str = br.readLine().split(\" \");\n\t a = Integer.parseInt(str[0]);\n\t operator = str[1];\n\t b = Integer.parseInt(str[2]);\n\n\t if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;\n\n\t builder.append(answer + \"\\n\");\n }\n builder.delete(builder.length() - 1, builder.length());\n System.out.println(builder.toString());\n\n br.close();\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\tString str[];\n int a,b,answer = 0;\n String operator;\n StringBuilder builder = new StringBuilder();\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n\t str = br.readLine().split(\" \");\n\t a = Integer.parseInt(str[0]);\n\t operator = str[1];\n\t b = Integer.parseInt(str[2]);\n\n\t if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;\n\n\t builder.append(answer + \"\\n\");\n }\n builder.delete(builder.length() - 1, builder.length());\n System.out.println(builder.toString());\n\n br.close();\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tString str[];\n int a,b,answer = 0;\n String operator;\n StringBuilder builder = new StringBuilder();\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n\t str = br.readLine().split(\" \");\n\t a = Integer.parseInt(str[0]);\n\t operator = str[1];\n\t b = Integer.parseInt(str[2]);\n\n\t if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;\n\n\t builder.append(answer + \"\\n\");\n }\n builder.delete(builder.length() - 1, builder.length());\n System.out.println(builder.toString());\n\n br.close();\n\t}", "main", "{\n\t\tString str[];\n int a,b,answer = 0;\n String operator;\n StringBuilder builder = new StringBuilder();\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n\t str = br.readLine().split(\" \");\n\t a = Integer.parseInt(str[0]);\n\t operator = str[1];\n\t b = Integer.parseInt(str[2]);\n\n\t if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;\n\n\t builder.append(answer + \"\\n\");\n }\n builder.delete(builder.length() - 1, builder.length());\n System.out.println(builder.toString());\n\n br.close();\n\t}", "String str[];", "str", "int a", "a", "b", "b", "answer = 0;", "answer", "0", "String operator;", "operator", "StringBuilder builder = new StringBuilder();", "builder", "new StringBuilder()", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t str = br.readLine().split(\" \");\n\t a = Integer.parseInt(str[0]);\n\t operator = str[1];\n\t b = Integer.parseInt(str[2]);\n\n\t if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;\n\n\t builder.append(answer + \"\\n\");\n }", "true", "{\n\t str = br.readLine().split(\" \");\n\t a = Integer.parseInt(str[0]);\n\t operator = str[1];\n\t b = Integer.parseInt(str[2]);\n\n\t if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;\n\n\t builder.append(answer + \"\\n\");\n }", "str = br.readLine().split(\" \")", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "a = Integer.parseInt(str[0])", "a", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "operator = str[1]", "operator", "str[1]", "str", "1", "b = Integer.parseInt(str[2])", "b", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;", "operator.equals(\"?\")", "operator.equals", "operator", "\"?\"", "break;", "if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;", "operator.equals(\"+\")", "operator.equals", "operator", "\"+\"", "answer = a + b", "answer", "a + b", "a", "b", "if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;", "operator.equals(\"/\")", "operator.equals", "operator", "\"/\"", "answer = a / b", "answer", "a / b", "a", "b", "if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;", "operator.equals(\"-\")", "operator.equals", "operator", "\"-\"", "answer = a - b", "answer", "a - b", "a", "b", "if(operator.equals(\"*\")) answer = a * b;", "operator.equals(\"*\")", "operator.equals", "operator", "\"*\"", "answer = a * b", "answer", "a * b", "a", "b", "builder.append(answer + \"\\n\")", "builder.append", "builder", "answer + \"\\n\"", "answer", "\"\\n\"", "builder.delete(builder.length() - 1, builder.length())", "builder.delete", "builder", "builder.length() - 1", "builder.length()", "builder.length", "builder", "1", "builder.length()", "builder.length", "builder", "System.out.println(builder.toString())", "System.out.println", "System.out", "System", "System.out", "builder.toString()", "builder.toString", "builder", "br.close()", "br.close", "br", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tString str[];\n int a,b,answer = 0;\n String operator;\n StringBuilder builder = new StringBuilder();\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n\t str = br.readLine().split(\" \");\n\t a = Integer.parseInt(str[0]);\n\t operator = str[1];\n\t b = Integer.parseInt(str[2]);\n\n\t if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;\n\n\t builder.append(answer + \"\\n\");\n }\n builder.delete(builder.length() - 1, builder.length());\n System.out.println(builder.toString());\n\n br.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tString str[];\n int a,b,answer = 0;\n String operator;\n StringBuilder builder = new StringBuilder();\n\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n\t str = br.readLine().split(\" \");\n\t a = Integer.parseInt(str[0]);\n\t operator = str[1];\n\t b = Integer.parseInt(str[2]);\n\n\t if(operator.equals(\"?\"))break;\n\t else if(operator.equals(\"+\")) answer = a + b;\n\t else if(operator.equals(\"/\")) answer = a / b;\n\t else if(operator.equals(\"-\")) answer = a - b;\n\t else if(operator.equals(\"*\")) answer = a * b;\n\n\t builder.append(answer + \"\\n\");\n }\n builder.delete(builder.length() - 1, builder.length());\n System.out.println(builder.toString());\n\n br.close();\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{ String str[]; int a,b,answer = 0; String operator; StringBuilder builder = new StringBuilder(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ str = br.readLine().split(" "); a = Integer.parseInt(str[0]); operator = str[1]; b = Integer.parseInt(str[2]); if(operator.equals("?"))break; 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("*")) answer = a * b; builder.append(answer + "\n"); } builder.delete(builder.length() - 1, builder.length()); System.out.println(builder.toString()); br.close(); } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 102, 2 ], [ 102, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 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 ], [ 27, 30 ], [ 30, 31 ], [ 31, 32 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 33, 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 ], [ 5, 96 ], [ 96, 97 ], [ 97, 98 ], [ 3, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "public class Main {\n\tpublic static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}", "main", "{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}", "java.util.Scanner scan = new java.util.Scanner(System.in);", "scan", "new java.util.Scanner(System.in)", "while(true){\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int a = Integer.parseInt(scan.next());", "a", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "String op = scan.next();", "op", "scan.next()", "scan.next", "scan", "int b = Integer.parseInt(scan.next());", "b", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\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\tbreak;\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\tbreak;\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\tbreak;\n\t\t\t}", "\"?\".equals(op)", "\"?\".equals", "\"?\"", "op", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\twhile(true){\n\t\t\tint a = Integer.parseInt(scan.next());\n\t\t\tString op = scan.next();\n\t\t\tint b = Integer.parseInt(scan.next());\n\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}else if(\"?\".equals(op)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}", "Main" ]
public class Main { public static void main(String[] args){ java.util.Scanner scan = new java.util.Scanner(System.in); while(true){ int a = Integer.parseInt(scan.next()); String op = scan.next(); int b = Integer.parseInt(scan.next()); 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); }else if("?".equals(op)){ break; } } scan.close(); } }
[ 7, 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, 14, 4, 18, 18, 13, 17, 17, 30, 3, 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, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 109, 8 ], [ 109, 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 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 17, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 26, 33 ], [ 33, 34 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 17, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 17, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 17, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 60, 69 ], [ 56, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 72, 81 ], [ 56, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 84, 93 ], [ 56, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 96, 105 ], [ 9, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArray = br.readLine().split(\" \");\n\t\t\tif (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong a = Long.parseLong(strArray[0]);\n\t\t\tlong b = Long.parseLong(strArray[2]);\n\t\t\tString op = strArray[1];\n\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\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.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArray = br.readLine().split(\" \");\n\t\t\tif (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong a = Long.parseLong(strArray[0]);\n\t\t\tlong b = Long.parseLong(strArray[2]);\n\t\t\tString op = strArray[1];\n\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\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) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArray = br.readLine().split(\" \");\n\t\t\tif (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong a = Long.parseLong(strArray[0]);\n\t\t\tlong b = Long.parseLong(strArray[2]);\n\t\t\tString op = strArray[1];\n\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArray = br.readLine().split(\" \");\n\t\t\tif (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong a = Long.parseLong(strArray[0]);\n\t\t\tlong b = Long.parseLong(strArray[2]);\n\t\t\tString op = strArray[1];\n\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\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}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n\t\t\tString[] strArray = br.readLine().split(\" \");\n\t\t\tif (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong a = Long.parseLong(strArray[0]);\n\t\t\tlong b = Long.parseLong(strArray[2]);\n\t\t\tString op = strArray[1];\n\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\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\tString[] strArray = br.readLine().split(\" \");\n\t\t\tif (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong a = Long.parseLong(strArray[0]);\n\t\t\tlong b = Long.parseLong(strArray[2]);\n\t\t\tString op = strArray[1];\n\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "String[] strArray = br.readLine().split(\" \");", "strArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "if (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "strArray[1].equals(\"?\")", "strArray[1].equals", "strArray[1]", "strArray", "1", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "long a = Long.parseLong(strArray[0]);", "a", "Long.parseLong(strArray[0])", "Long.parseLong", "Long", "strArray[0]", "strArray", "0", "long b = Long.parseLong(strArray[2]);", "b", "Long.parseLong(strArray[2])", "Long.parseLong", "Long", "strArray[2]", "strArray", "2", "String op = strArray[1];", "op", "strArray[1]", "strArray", "1", "switch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\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;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArray = br.readLine().split(\" \");\n\t\t\tif (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong a = Long.parseLong(strArray[0]);\n\t\t\tlong b = Long.parseLong(strArray[2]);\n\t\t\tString op = strArray[1];\n\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\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) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArray = br.readLine().split(\" \");\n\t\t\tif (strArray[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong a = Long.parseLong(strArray[0]);\n\t\t\tlong b = Long.parseLong(strArray[2]);\n\t\t\tString op = strArray[1];\n\t\t\tswitch (op) {\n\t\t\t\tcase \"+\":\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t\tbreak;\n\t\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.io.*; import java.util.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String[] strArray = br.readLine().split(" "); if (strArray[1].equals("?")) { break; } long a = Long.parseLong(strArray[0]); long b = Long.parseLong(strArray[2]); String op = strArray[1]; 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; } } } }
[ 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, 41, 13, 17, 14, 4, 18, 13, 17, 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 ], [ 92, 5 ], [ 92, 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 ], [ 30, 32 ], [ 14, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 14, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 39, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 50, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 61, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 14, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 6, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\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\tint x=0;\n\t\t\tif(op.equals(\"?\"))break;\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\n\t\t}\n\t\t\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\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\tint x=0;\n\t\t\tif(op.equals(\"?\"))break;\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\n\t\t}\n\t\t\n\n\t}\n}", "Main", "public static void main(String[] args) {\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\tint x=0;\n\t\t\tif(op.equals(\"?\"))break;\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\n\t\t}\n\t\t\n\n\t}", "main", "{\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\tint x=0;\n\t\t\tif(op.equals(\"?\"))break;\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\n\t\t}\n\t\t\n\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\tint x=0;\n\t\t\tif(op.equals(\"?\"))break;\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\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\tint x=0;\n\t\t\tif(op.equals(\"?\"))break;\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\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", "int x=0;", "x", "0", "if(op.equals(\"?\"))break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "if(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\t\tx=a+b;\n\t\t\t\t\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\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\t\tx=a-b;\n\t\t\t\t\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\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\t\tx=a*b;\n\t\t\t\t\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\t\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}", "x=a/b", "x", "a/b", "a", "b", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\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\tint x=0;\n\t\t\tif(op.equals(\"?\"))break;\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\n\t\t}\n\t\t\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\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\tint x=0;\n\t\t\tif(op.equals(\"?\"))break;\n\t\t\t\n\t\t\tif(op.equals(\"+\")){\n\t\t\t\tx=a+b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tx=a-b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tx=a*b;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tx=a/b;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x);\n\n\t\t}\n\t\t\n\n\t}\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(); int x=0; if(op.equals("?"))break; if(op.equals("+")){ x=a+b; } else if(op.equals("-")){ x=a-b; } else if(op.equals("*")){ x=a*b; } else if(op.equals("/")){ x=a/b; } System.out.println(x); } } }
[ 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, 20, 41, 13, 20, 42, 17, 30, 41, 13, 20, 14, 4, 18, 18, 4, 18, 13, 17, 17, 17, 30, 3, 4, 18, 13, 13, 28, 13, 13, 30, 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, 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, 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 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 37, 45 ], [ 36, 46 ], [ 46, 47 ], [ 32, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 20, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 56, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 56, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 76, 78 ], [ 56, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 79, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 79, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 95, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 95, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 111, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 111, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 18, 136 ], [ 136, 137 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.text.DecimalFormat;\nimport java.util.ArrayList;\n\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tString s = new String(in.readLine());\n\t\t\tif(s.split(\" \")[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tss.add(s);\n\t\t}\n\t\tfor(String s :ss){\n\t\t\tString[] sss = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[2]);\n\t\t\tif(sss[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\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.text.DecimalFormat;", "DecimalFormat", "java.text", "import java.util.ArrayList;", "ArrayList", "java.util", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tString s = new String(in.readLine());\n\t\t\tif(s.split(\" \")[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tss.add(s);\n\t\t}\n\t\tfor(String s :ss){\n\t\t\tString[] sss = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[2]);\n\t\t\tif(sss[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tString s = new String(in.readLine());\n\t\t\tif(s.split(\" \")[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tss.add(s);\n\t\t}\n\t\tfor(String s :ss){\n\t\t\tString[] sss = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[2]);\n\t\t\tif(sss[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tString s = new String(in.readLine());\n\t\t\tif(s.split(\" \")[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tss.add(s);\n\t\t}\n\t\tfor(String s :ss){\n\t\t\tString[] sss = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[2]);\n\t\t\tif(sss[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}\n\t}", "DecimalFormat df1 = new DecimalFormat(\"0.000000\");", "df1", "new DecimalFormat(\"0.000000\")", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "ArrayList<String> ss = new ArrayList<String>();", "ss", "new ArrayList<String>()", "while(true){\n\t\t\tString s = new String(in.readLine());\n\t\t\tif(s.split(\" \")[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tss.add(s);\n\t\t}", "true", "{\n\t\t\tString s = new String(in.readLine());\n\t\t\tif(s.split(\" \")[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tss.add(s);\n\t\t}", "String s = new String(in.readLine());", "s", "new String(in.readLine())", "if(s.split(\" \")[1].equals(\"?\")){\n\t\t\t\tbreak;\n\t\t\t}", "s.split(\" \")[1].equals(\"?\")", "s.split(\" \")[1].equals", "s.split(\" \")[1]", "s.split(\" \")", "s.split", "s", "\" \"", "1", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "ss.add(s)", "ss.add", "ss", "s", "for(String s :ss){\n\t\t\tString[] sss = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[2]);\n\t\t\tif(sss[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}", "String s", "ss", "{\n\t\t\tString[] sss = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[2]);\n\t\t\tif(sss[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] sss = s.split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[2]);\n\t\t\tif(sss[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t}", "String[] sss = s.split(\" \");", "sss", "s.split(\" \")", "s.split", "s", "\" \"", "int a = Integer.parseInt(sss[0]);", "a", "Integer.parseInt(sss[0])", "Integer.parseInt", "Integer", "sss[0]", "sss", "0", "int b = Integer.parseInt(sss[2]);", "b", "Integer.parseInt(sss[2])", "Integer.parseInt", "Integer", "sss[2]", "sss", "2", "if(sss[1].equals(\"+\")){\n\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}", "sss[1].equals(\"+\")", "sss[1].equals", "sss[1]", "sss", "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(sss[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}", "sss[1].equals(\"-\")", "sss[1].equals", "sss[1]", "sss", "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(sss[1].equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}", "sss[1].equals(\"*\")", "sss[1].equals", "sss[1]", "sss", "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(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" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.text.DecimalFormat; import java.util.ArrayList; class Main { public static void main(String[] args) throws IOException { DecimalFormat df1 = new DecimalFormat("0.000000"); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); ArrayList<String> ss = new ArrayList<String>(); while(true){ String s = new String(in.readLine()); if(s.split(" ")[1].equals("?")){ break; } ss.add(s); } for(String s :ss){ String[] sss = s.split(" "); int a = Integer.parseInt(sss[0]); int b = Integer.parseInt(sss[2]); if(sss[1].equals("+")){ System.out.println(a+b); } else if(sss[1].equals("-")){ System.out.println(a-b); } else if(sss[1].equals("*")){ System.out.println(a*b); } else { System.out.println(a/b); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 3, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 28, 13, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 4, 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, 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 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 20, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 20, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 20, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 20, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 20, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 11, 61 ], [ 61, 62 ], [ 61, 63 ], [ 61, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 65, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 65, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 65, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 94, 103 ], [ 90, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 106, 115 ], [ 90, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 118, 127 ], [ 90, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 136, 137 ], [ 136, 138 ], [ 130, 139 ], [ 9, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\n/**\n * Created 2017/06/01.\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<String>> ary = new ArrayList<>();\n\n while (true) {\n ArrayList<String> ary1 = new ArrayList<>();\n String input1 = sc.next();\n String input2 = sc.next();\n String input3 = sc.next();\n if (input2.equals(\"?\")) break;\n ary1.add(input1);\n ary1.add(input2);\n ary1.add(input3);\n ary.add(ary1);\n }\n \n for (ArrayList<String> ary2 : ary) {\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }\n }\n}", "import java.util.ArrayList;", "ArrayList", "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 ArrayList<ArrayList<String>> ary = new ArrayList<>();\n\n while (true) {\n ArrayList<String> ary1 = new ArrayList<>();\n String input1 = sc.next();\n String input2 = sc.next();\n String input3 = sc.next();\n if (input2.equals(\"?\")) break;\n ary1.add(input1);\n ary1.add(input2);\n ary1.add(input3);\n ary.add(ary1);\n }\n \n for (ArrayList<String> ary2 : ary) {\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<String>> ary = new ArrayList<>();\n\n while (true) {\n ArrayList<String> ary1 = new ArrayList<>();\n String input1 = sc.next();\n String input2 = sc.next();\n String input3 = sc.next();\n if (input2.equals(\"?\")) break;\n ary1.add(input1);\n ary1.add(input2);\n ary1.add(input3);\n ary.add(ary1);\n }\n \n for (ArrayList<String> ary2 : ary) {\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<String>> ary = new ArrayList<>();\n\n while (true) {\n ArrayList<String> ary1 = new ArrayList<>();\n String input1 = sc.next();\n String input2 = sc.next();\n String input3 = sc.next();\n if (input2.equals(\"?\")) break;\n ary1.add(input1);\n ary1.add(input2);\n ary1.add(input3);\n ary.add(ary1);\n }\n \n for (ArrayList<String> ary2 : ary) {\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "ArrayList<ArrayList<String>> ary = new ArrayList<>();", "ary", "new ArrayList<>()", "while (true) {\n ArrayList<String> ary1 = new ArrayList<>();\n String input1 = sc.next();\n String input2 = sc.next();\n String input3 = sc.next();\n if (input2.equals(\"?\")) break;\n ary1.add(input1);\n ary1.add(input2);\n ary1.add(input3);\n ary.add(ary1);\n }", "true", "{\n ArrayList<String> ary1 = new ArrayList<>();\n String input1 = sc.next();\n String input2 = sc.next();\n String input3 = sc.next();\n if (input2.equals(\"?\")) break;\n ary1.add(input1);\n ary1.add(input2);\n ary1.add(input3);\n ary.add(ary1);\n }", "ArrayList<String> ary1 = new ArrayList<>();", "ary1", "new ArrayList<>()", "String input1 = sc.next();", "input1", "sc.next()", "sc.next", "sc", "String input2 = sc.next();", "input2", "sc.next()", "sc.next", "sc", "String input3 = sc.next();", "input3", "sc.next()", "sc.next", "sc", "if (input2.equals(\"?\")) break;", "input2.equals(\"?\")", "input2.equals", "input2", "\"?\"", "break;", "ary1.add(input1)", "ary1.add", "ary1", "input1", "ary1.add(input2)", "ary1.add", "ary1", "input2", "ary1.add(input3)", "ary1.add", "ary1", "input3", "ary.add(ary1)", "ary.add", "ary", "ary1", "for (ArrayList<String> ary2 : ary) {\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }", "ArrayList<String> ary2", "ary", "{\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }", "{\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }", "int a = Integer.parseInt(ary2.get(0));", "a", "Integer.parseInt(ary2.get(0))", "Integer.parseInt", "Integer", "ary2.get(0)", "ary2.get", "ary2", "0", "String op = ary2.get(1);", "op", "ary2.get(1)", "ary2.get", "ary2", "1", "int b = Integer.parseInt(ary2.get(2));", "b", "Integer.parseInt(ary2.get(2))", "Integer.parseInt", "Integer", "ary2.get(2)", "ary2.get", "ary2", "2", "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;", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<String>> ary = new ArrayList<>();\n\n while (true) {\n ArrayList<String> ary1 = new ArrayList<>();\n String input1 = sc.next();\n String input2 = sc.next();\n String input3 = sc.next();\n if (input2.equals(\"?\")) break;\n ary1.add(input1);\n ary1.add(input2);\n ary1.add(input3);\n ary.add(ary1);\n }\n \n for (ArrayList<String> ary2 : ary) {\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<String>> ary = new ArrayList<>();\n\n while (true) {\n ArrayList<String> ary1 = new ArrayList<>();\n String input1 = sc.next();\n String input2 = sc.next();\n String input3 = sc.next();\n if (input2.equals(\"?\")) break;\n ary1.add(input1);\n ary1.add(input2);\n ary1.add(input3);\n ary.add(ary1);\n }\n \n for (ArrayList<String> ary2 : ary) {\n int a = Integer.parseInt(ary2.get(0));\n String op = ary2.get(1);\n int b = Integer.parseInt(ary2.get(2));\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 }\n }\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; /** * Created 2017/06/01. */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList<ArrayList<String>> ary = new ArrayList<>(); while (true) { ArrayList<String> ary1 = new ArrayList<>(); String input1 = sc.next(); String input2 = sc.next(); String input3 = sc.next(); if (input2.equals("?")) break; ary1.add(input1); ary1.add(input2); ary1.add(input3); ary.add(ary1); } for (ArrayList<String> ary2 : ary) { int a = Integer.parseInt(ary2.get(0)); String op = ary2.get(1); int b = Integer.parseInt(ary2.get(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; } } } }
[ 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, 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 ], [ 89, 5 ], [ 89, 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 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 43, 49 ], [ 39, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 39, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 39, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 70, 76 ], [ 14, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 6, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import 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\n\t\twhile(true) {\n\t\t\tint num1 = sc.nextInt();\n\t\t\tString ope = sc.next();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tif(ope.equals(\"?\")) break;\n\n\t\t\tint ans = 0;\n\t\t\tswitch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t\tsc.close();\n\n\t}\n\n}", "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\n\t\twhile(true) {\n\t\t\tint num1 = sc.nextInt();\n\t\t\tString ope = sc.next();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tif(ope.equals(\"?\")) break;\n\n\t\t\tint ans = 0;\n\t\t\tswitch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t\tsc.close();\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true) {\n\t\t\tint num1 = sc.nextInt();\n\t\t\tString ope = sc.next();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tif(ope.equals(\"?\")) break;\n\n\t\t\tint ans = 0;\n\t\t\tswitch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t\tsc.close();\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true) {\n\t\t\tint num1 = sc.nextInt();\n\t\t\tString ope = sc.next();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tif(ope.equals(\"?\")) break;\n\n\t\t\tint ans = 0;\n\t\t\tswitch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t\tsc.close();\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true) {\n\t\t\tint num1 = sc.nextInt();\n\t\t\tString ope = sc.next();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tif(ope.equals(\"?\")) break;\n\n\t\t\tint ans = 0;\n\t\t\tswitch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "true", "{\n\t\t\tint num1 = sc.nextInt();\n\t\t\tString ope = sc.next();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tif(ope.equals(\"?\")) break;\n\n\t\t\tint ans = 0;\n\t\t\tswitch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "int num1 = sc.nextInt();", "num1", "sc.nextInt()", "sc.nextInt", "sc", "String ope = sc.next();", "ope", "sc.next()", "sc.next", "sc", "int num2 = sc.nextInt();", "num2", "sc.nextInt()", "sc.nextInt", "sc", "if(ope.equals(\"?\")) break;", "ope.equals(\"?\")", "ope.equals", "ope", "\"?\"", "break;", "int ans = 0;", "ans", "0", "switch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}", "ope", "case \"+\":", "\"+\"", "case \"+\":", "ans = num1 + num2", "ans", "num1 + num2", "num1", "num2", "break;", "case \"-\":", "\"-\"", "case \"-\":", "ans = num1 - num2", "ans", "num1 - num2", "num1", "num2", "break;", "case \"/\":", "\"/\"", "case \"/\":", "ans = num1 / num2", "ans", "num1 / num2", "num1", "num2", "break;", "case \"*\":", "\"*\"", "case \"*\":", "ans = num1 * num2", "ans", "num1 * num2", "num1", "num2", "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\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true) {\n\t\t\tint num1 = sc.nextInt();\n\t\t\tString ope = sc.next();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tif(ope.equals(\"?\")) break;\n\n\t\t\tint ans = 0;\n\t\t\tswitch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t\tsc.close();\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\n\t\twhile(true) {\n\t\t\tint num1 = sc.nextInt();\n\t\t\tString ope = sc.next();\n\t\t\tint num2 = sc.nextInt();\n\n\t\t\tif(ope.equals(\"?\")) break;\n\n\t\t\tint ans = 0;\n\t\t\tswitch(ope) {\n\t\t\t\tcase \"+\":\n\t\t\t\t\tans = num1 + num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"-\":\n\t\t\t\t\tans = num1 - num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"/\":\n\t\t\t\t\tans = num1 / num2;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"*\":\n\t\t\t\t\tans = num1 * num2;\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t\tsc.close();\n\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 num1 = sc.nextInt(); String ope = sc.next(); int num2 = sc.nextInt(); if(ope.equals("?")) break; int ans = 0; switch(ope) { case "+": ans = num1 + num2; break; case "-": ans = num1 - num2; break; case "/": ans = num1 / num2; break; case "*": ans = num1 * num2; 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, 4, 18, 13, 17, 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 ], [ 92, 5 ], [ 92, 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 ], [ 24, 25 ], [ 25, 26 ], [ 22, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 14, 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 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\npublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int a = sc.nextInt();\n char op = sc.next().charAt(0);\n int b = sc.nextInt();\n \n if(op == '?'){\n break;\n }\n \n switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \n case '/':\n System.out.println(a / b);\n break;\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\npublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int a = sc.nextInt();\n char op = sc.next().charAt(0);\n int b = sc.nextInt();\n \n if(op == '?'){\n break;\n }\n \n switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \n case '/':\n System.out.println(a / b);\n break;\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int a = sc.nextInt();\n char op = sc.next().charAt(0);\n int b = sc.nextInt();\n \n if(op == '?'){\n break;\n }\n \n switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \n case '/':\n System.out.println(a / b);\n break;\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n while(true){\n int a = sc.nextInt();\n char op = sc.next().charAt(0);\n int b = sc.nextInt();\n \n if(op == '?'){\n break;\n }\n \n switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \n case '/':\n System.out.println(a / b);\n break;\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n int a = sc.nextInt();\n char op = sc.next().charAt(0);\n int b = sc.nextInt();\n \n if(op == '?'){\n break;\n }\n \n switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \n case '/':\n System.out.println(a / b);\n break;\n }\n }", "true", "{\n int a = sc.nextInt();\n char op = sc.next().charAt(0);\n int b = sc.nextInt();\n \n if(op == '?'){\n break;\n }\n \n switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \n case '/':\n System.out.println(a / b);\n break;\n }\n }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "char op = sc.next().charAt(0);", "op", "sc.next().charAt(0)", "sc.next().charAt", "sc.next()", "sc.next", "sc", "0", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(op == '?'){\n break;\n }", "op == '?'", "op", "'?'", "{\n break;\n }", "break;", "switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \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;", "String[] args", "args", "public class Main {\n\npublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int a = sc.nextInt();\n char op = sc.next().charAt(0);\n int b = sc.nextInt();\n \n if(op == '?'){\n break;\n }\n \n switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \n case '/':\n System.out.println(a / b);\n break;\n }\n }\n }\n}", "public class Main {\n\npublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int a = sc.nextInt();\n char op = sc.next().charAt(0);\n int b = sc.nextInt();\n \n if(op == '?'){\n break;\n }\n \n switch(op){\n case '+':\n System.out.println(a + b);\n break;\n \n case '-':\n System.out.println(a - b);\n break;\n \n case '*':\n System.out.println(a * b);\n break;\n \n case '/':\n System.out.println(a / b);\n break;\n }\n }\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(); char op = sc.next().charAt(0); int b = sc.nextInt(); if(op == '?'){ 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; } } } }
[ 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, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 14, 4, 18, 17, 18, 13, 17, 30, 3, 4, 18, 13, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 4, 18, 13, 4, 18, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 4, 18, 17, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 17, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 17, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 4, 18, 17, 4, 18, 13, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 184, 14 ], [ 184, 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 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 35, 40 ], [ 32, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 41, 48 ], [ 48, 49 ], [ 32, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 32, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 32, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 17, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 74, 84 ], [ 84, 85 ], [ 85, 86 ], [ 74, 87 ], [ 88, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 103, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 89, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 112, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 126, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 112, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 135, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 149, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 135, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 172, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 15, 181 ], [ 181, 182 ], [ 0, 183 ], [ 183, 184 ], [ 183, 185 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n ArrayList<Integer> a = new ArrayList<>();\n ArrayList<String> op = new ArrayList<>();\n ArrayList<Integer> b = new ArrayList<>();\n \n while(true){\n String[] line = br.readLine().split(\" \");\n if (\"?\".equals(line[1])) {\n break;\n }\n a.add(Integer.parseInt(line[0]));\n op.add(line[1]);\n b.add(Integer.parseInt(line[2]));\n }\n for(int i=0;i<a.size();i++){\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }\n }\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n ArrayList<Integer> a = new ArrayList<>();\n ArrayList<String> op = new ArrayList<>();\n ArrayList<Integer> b = new ArrayList<>();\n \n while(true){\n String[] line = br.readLine().split(\" \");\n if (\"?\".equals(line[1])) {\n break;\n }\n a.add(Integer.parseInt(line[0]));\n op.add(line[1]);\n b.add(Integer.parseInt(line[2]));\n }\n for(int i=0;i<a.size();i++){\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n ArrayList<Integer> a = new ArrayList<>();\n ArrayList<String> op = new ArrayList<>();\n ArrayList<Integer> b = new ArrayList<>();\n \n while(true){\n String[] line = br.readLine().split(\" \");\n if (\"?\".equals(line[1])) {\n break;\n }\n a.add(Integer.parseInt(line[0]));\n op.add(line[1]);\n b.add(Integer.parseInt(line[2]));\n }\n for(int i=0;i<a.size();i++){\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n ArrayList<Integer> a = new ArrayList<>();\n ArrayList<String> op = new ArrayList<>();\n ArrayList<Integer> b = new ArrayList<>();\n \n while(true){\n String[] line = br.readLine().split(\" \");\n if (\"?\".equals(line[1])) {\n break;\n }\n a.add(Integer.parseInt(line[0]));\n op.add(line[1]);\n b.add(Integer.parseInt(line[2]));\n }\n for(int i=0;i<a.size();i++){\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "ArrayList<Integer> a = new ArrayList<>();", "a", "new ArrayList<>()", "ArrayList<String> op = new ArrayList<>();", "op", "new ArrayList<>()", "ArrayList<Integer> b = new ArrayList<>();", "b", "new ArrayList<>()", "while(true){\n String[] line = br.readLine().split(\" \");\n if (\"?\".equals(line[1])) {\n break;\n }\n a.add(Integer.parseInt(line[0]));\n op.add(line[1]);\n b.add(Integer.parseInt(line[2]));\n }", "true", "{\n String[] line = br.readLine().split(\" \");\n if (\"?\".equals(line[1])) {\n break;\n }\n a.add(Integer.parseInt(line[0]));\n op.add(line[1]);\n b.add(Integer.parseInt(line[2]));\n }", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "if (\"?\".equals(line[1])) {\n break;\n }", "\"?\".equals(line[1])", "\"?\".equals", "\"?\"", "line[1]", "line", "1", "{\n break;\n }", "break;", "a.add(Integer.parseInt(line[0]))", "a.add", "a", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "op.add(line[1])", "op.add", "op", "line[1]", "line", "1", "b.add(Integer.parseInt(line[2]))", "b.add", "b", "Integer.parseInt(line[2])", "Integer.parseInt", "Integer", "line[2]", "line", "2", "for(int i=0;i<a.size();i++){\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<a.size()", "i", "a.size()", "a.size", "a", "i++", "i++", "i", "{\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }", "{\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }", "if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }", "\"+\".equals(op.get(i))", "\"+\".equals", "\"+\"", "op.get(i)", "op.get", "op", "i", "{\n System.out.println(a.get(i) + b.get(i));\n }", "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(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }", "\"-\".equals(op.get(i))", "\"-\".equals", "\"-\"", "op.get(i)", "op.get", "op", "i", "{\n System.out.println(a.get(i) - b.get(i));\n }", "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(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }", "\"*\".equals(op.get(i))", "\"*\".equals", "\"*\"", "op.get(i)", "op.get", "op", "i", "{\n System.out.println(a.get(i) * b.get(i));\n }", "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(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }", "\"/\".equals(op.get(i))", "\"/\".equals", "\"/\"", "op.get(i)", "op.get", "op", "i", "{\n System.out.println(a.get(i) / b.get(i));\n }", "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 public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n ArrayList<Integer> a = new ArrayList<>();\n ArrayList<String> op = new ArrayList<>();\n ArrayList<Integer> b = new ArrayList<>();\n \n while(true){\n String[] line = br.readLine().split(\" \");\n if (\"?\".equals(line[1])) {\n break;\n }\n a.add(Integer.parseInt(line[0]));\n op.add(line[1]);\n b.add(Integer.parseInt(line[2]));\n }\n for(int i=0;i<a.size();i++){\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n ArrayList<Integer> a = new ArrayList<>();\n ArrayList<String> op = new ArrayList<>();\n ArrayList<Integer> b = new ArrayList<>();\n \n while(true){\n String[] line = br.readLine().split(\" \");\n if (\"?\".equals(line[1])) {\n break;\n }\n a.add(Integer.parseInt(line[0]));\n op.add(line[1]);\n b.add(Integer.parseInt(line[2]));\n }\n for(int i=0;i<a.size();i++){\n if(\"+\".equals(op.get(i))){\n System.out.println(a.get(i) + b.get(i));\n }else if(\"-\".equals(op.get(i))){\n System.out.println(a.get(i) - b.get(i));\n }else if(\"*\".equals(op.get(i))){\n System.out.println(a.get(i) * b.get(i));\n }else if(\"/\".equals(op.get(i))){\n System.out.println(a.get(i) / b.get(i));\n }\n }\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 Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); ArrayList<Integer> a = new ArrayList<>(); ArrayList<String> op = new ArrayList<>(); ArrayList<Integer> b = new ArrayList<>(); while(true){ String[] line = br.readLine().split(" "); if ("?".equals(line[1])) { break; } a.add(Integer.parseInt(line[0])); op.add(line[1]); b.add(Integer.parseInt(line[2])); } for(int i=0;i<a.size();i++){ if("+".equals(op.get(i))){ System.out.println(a.get(i) + b.get(i)); }else if("-".equals(op.get(i))){ System.out.println(a.get(i) - b.get(i)); }else if("*".equals(op.get(i))){ System.out.println(a.get(i) * b.get(i)); }else if("/".equals(op.get(i))){ System.out.println(a.get(i) / b.get(i)); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 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, 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, 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 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 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 ], [ 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 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 6, 99 ], [ 99, 100 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n int a,b,answer;\n String op;\n \t//?¨??????\\??????????????????????????§????????????\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\top = scanner.next();\n\t\t\tb = 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}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n \tscanner.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n int a,b,answer;\n String op;\n \t//?¨??????\\??????????????????????????§????????????\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\top = scanner.next();\n\t\t\tb = 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}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n \tscanner.close();\n }\n}", "Main", "public static void main(String[] args){\n int a,b,answer;\n String op;\n \t//?¨??????\\??????????????????????????§????????????\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\top = scanner.next();\n\t\t\tb = 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}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n \tscanner.close();\n }", "main", "{\n int a,b,answer;\n String op;\n \t//?¨??????\\??????????????????????????§????????????\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\top = scanner.next();\n\t\t\tb = 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}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n \tscanner.close();\n }", "int a", "a", "b", "b", "answer;", "answer", "String op;", "op", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "while(true){\n\t\t\ta = scanner.nextInt();\n\t\t\top = scanner.next();\n\t\t\tb = 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}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\ta = scanner.nextInt();\n\t\t\top = scanner.next();\n\t\t\tb = 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}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "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\t\t\t\tSystem.out.println(a+b);\n\t\t\t}\n\t\t\telse if(op.equals(\"-\")){\n\t\t\t\tSystem.out.println(a-b);\n\t\t\t}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\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}\n\t\t\telse if(op.equals(\"*\")){\n\t\t\t\tSystem.out.println(a*b);\n\t\t\t}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\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}\n\t\t\telse if(op.equals(\"/\")){\n\t\t\t\tSystem.out.println(a/b);\n\t\t\t}\n\t\t\telse{\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}\n\t\t\telse{\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", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "scanner.close()", "scanner.close", "scanner", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ int a,b,answer; String op; //?¨??????\??????????????????????????§???????????? Scanner scanner = new Scanner(System.in); while(true){ a = scanner.nextInt(); op = scanner.next(); 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; } } scanner.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, 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, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 87, 5 ], [ 87, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 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 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 43, 49 ], [ 39, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 39, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 39, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 70, 76 ], [ 14, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 77, 83 ], [ 6, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import 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\n\t\twhile(true){\n\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(op.equals(\"?\"))break;\n\n\t\t\tint ans = 0;\n\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\t}\n\n\t\t\tSystem.out.printf(\"%d\\n\", ans);\n\t\t}\n\t}\n}\n\n", "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\n\t\twhile(true){\n\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(op.equals(\"?\"))break;\n\n\t\t\tint ans = 0;\n\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\t}\n\n\t\t\tSystem.out.printf(\"%d\\n\", ans);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true){\n\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(op.equals(\"?\"))break;\n\n\t\t\tint ans = 0;\n\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\t}\n\n\t\t\tSystem.out.printf(\"%d\\n\", ans);\n\t\t}\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true){\n\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(op.equals(\"?\"))break;\n\n\t\t\tint ans = 0;\n\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\t}\n\n\t\t\tSystem.out.printf(\"%d\\n\", ans);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(op.equals(\"?\"))break;\n\n\t\t\tint ans = 0;\n\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\t}\n\n\t\t\tSystem.out.printf(\"%d\\n\", ans);\n\t\t}", "true", "{\n\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(op.equals(\"?\"))break;\n\n\t\t\tint ans = 0;\n\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\t}\n\n\t\t\tSystem.out.printf(\"%d\\n\", ans);\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;", "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\tans = a/b;\n\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;", "System.out.printf(\"%d\\n\", ans)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "ans", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true){\n\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(op.equals(\"?\"))break;\n\n\t\t\tint ans = 0;\n\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\t}\n\n\t\t\tSystem.out.printf(\"%d\\n\", ans);\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true){\n\n\t\t\tint a = sc.nextInt();\n\t\t\tString op = sc.next();\n\t\t\tint b = sc.nextInt();\n\n\t\t\tif(op.equals(\"?\"))break;\n\n\t\t\tint ans = 0;\n\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\t}\n\n\t\t\tSystem.out.printf(\"%d\\n\", ans);\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(true){ int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); 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; } System.out.printf("%d\n", ans); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 42, 40, 4, 18, 13, 17, 30, 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, 41, 13, 20, 4, 18, 13, 17, 18, 13, 13, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 138, 8 ], [ 138, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 33, 39 ], [ 39, 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 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 96, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 91, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 39, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 39, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 39, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 9, 135 ], [ 135, 136 ], [ 0, 137 ], [ 137, 138 ], [ 137, 139 ] ]
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tString op = scan.next();\n\t\tint b = scan.nextInt();\n\t\tint ans = 0;\n\n\t\twhile(!op.equals(\"?\"))\n\t\t{\n\t\t\tif(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t\t\n//\t\t\tswitch(op)\n//\t\t\t{\n//\t\t\t\tcase \"+\":\n//\t\t\t\t\tans = a + b;\n//\t\t\t\t\tSystem.out.println(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(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(ans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tcase \"/\":\n//\t\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n//\t\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n//\t\t\t\t\tSystem.out.println(BDans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tdefault:\n//\t\t\t\t\tSystem.out.println(\"error\");\n//\t\t\t\t\tbreak;\n//\t\t\t}\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t}\n\t}\n\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tString op = scan.next();\n\t\tint b = scan.nextInt();\n\t\tint ans = 0;\n\n\t\twhile(!op.equals(\"?\"))\n\t\t{\n\t\t\tif(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t\t\n//\t\t\tswitch(op)\n//\t\t\t{\n//\t\t\t\tcase \"+\":\n//\t\t\t\t\tans = a + b;\n//\t\t\t\t\tSystem.out.println(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(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(ans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tcase \"/\":\n//\t\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n//\t\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n//\t\t\t\t\tSystem.out.println(BDans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tdefault:\n//\t\t\t\t\tSystem.out.println(\"error\");\n//\t\t\t\t\tbreak;\n//\t\t\t}\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tString op = scan.next();\n\t\tint b = scan.nextInt();\n\t\tint ans = 0;\n\n\t\twhile(!op.equals(\"?\"))\n\t\t{\n\t\t\tif(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t\t\n//\t\t\tswitch(op)\n//\t\t\t{\n//\t\t\t\tcase \"+\":\n//\t\t\t\t\tans = a + b;\n//\t\t\t\t\tSystem.out.println(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(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(ans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tcase \"/\":\n//\t\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n//\t\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n//\t\t\t\t\tSystem.out.println(BDans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tdefault:\n//\t\t\t\t\tSystem.out.println(\"error\");\n//\t\t\t\t\tbreak;\n//\t\t\t}\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tString op = scan.next();\n\t\tint b = scan.nextInt();\n\t\tint ans = 0;\n\n\t\twhile(!op.equals(\"?\"))\n\t\t{\n\t\t\tif(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t\t\n//\t\t\tswitch(op)\n//\t\t\t{\n//\t\t\t\tcase \"+\":\n//\t\t\t\t\tans = a + b;\n//\t\t\t\t\tSystem.out.println(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(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(ans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tcase \"/\":\n//\t\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n//\t\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n//\t\t\t\t\tSystem.out.println(BDans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tdefault:\n//\t\t\t\t\tSystem.out.println(\"error\");\n//\t\t\t\t\tbreak;\n//\t\t\t}\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "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", "int ans = 0;", "ans", "0", "while(!op.equals(\"?\"))\n\t\t{\n\t\t\tif(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t\t\n//\t\t\tswitch(op)\n//\t\t\t{\n//\t\t\t\tcase \"+\":\n//\t\t\t\t\tans = a + b;\n//\t\t\t\t\tSystem.out.println(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(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(ans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tcase \"/\":\n//\t\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n//\t\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n//\t\t\t\t\tSystem.out.println(BDans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tdefault:\n//\t\t\t\t\tSystem.out.println(\"error\");\n//\t\t\t\t\tbreak;\n//\t\t\t}\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t}", "!op.equals(\"?\")", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t\tif(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t\t\n//\t\t\tswitch(op)\n//\t\t\t{\n//\t\t\t\tcase \"+\":\n//\t\t\t\t\tans = a + b;\n//\t\t\t\t\tSystem.out.println(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(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(ans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tcase \"/\":\n//\t\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n//\t\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n//\t\t\t\t\tSystem.out.println(BDans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tdefault:\n//\t\t\t\t\tSystem.out.println(\"error\");\n//\t\t\t\t\tbreak;\n//\t\t\t}\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t}", "if(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\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(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\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(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\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(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}", "BigDecimal BDans = new BigDecimal(a / b);", "BDans", "new BigDecimal(a / b)", "BDans.setScale(0,BigDecimal.ROUND_DOWN)", "BDans.setScale", "BDans", "0", "BigDecimal.ROUND_DOWN", "BigDecimal", "BigDecimal.ROUND_DOWN", "System.out.println(BDans)", "System.out.println", "System.out", "System", "System.out", "BDans", "{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}", "System.out.println(\"error\")", "System.out.println", "System.out", "System", "System.out", "\"error\"", "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", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tString op = scan.next();\n\t\tint b = scan.nextInt();\n\t\tint ans = 0;\n\n\t\twhile(!op.equals(\"?\"))\n\t\t{\n\t\t\tif(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t\t\n//\t\t\tswitch(op)\n//\t\t\t{\n//\t\t\t\tcase \"+\":\n//\t\t\t\t\tans = a + b;\n//\t\t\t\t\tSystem.out.println(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(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(ans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tcase \"/\":\n//\t\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n//\t\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n//\t\t\t\t\tSystem.out.println(BDans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tdefault:\n//\t\t\t\t\tSystem.out.println(\"error\");\n//\t\t\t\t\tbreak;\n//\t\t\t}\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tString op = scan.next();\n\t\tint b = scan.nextInt();\n\t\tint ans = 0;\n\n\t\twhile(!op.equals(\"?\"))\n\t\t{\n\t\t\tif(op.equals(\"+\"))\n\t\t\t{\n\t\t\t\tans = a + b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"-\")){\n\t\t\t\tans = a - b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"*\")){\n\t\t\t\tans = a * b;\n\t\t\t\tSystem.out.println(ans);\n\t\t\t}else if(op.equals(\"/\")){\n\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n\t\t\t\tSystem.out.println(BDans);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"error\");\n\t\t\t}\n\t\t\t\n//\t\t\tswitch(op)\n//\t\t\t{\n//\t\t\t\tcase \"+\":\n//\t\t\t\t\tans = a + b;\n//\t\t\t\t\tSystem.out.println(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(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(ans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tcase \"/\":\n//\t\t\t\t\tBigDecimal BDans = new BigDecimal(a / b);\n//\t\t\t\t\tBDans.setScale(0,BigDecimal.ROUND_DOWN);\n//\t\t\t\t\tSystem.out.println(BDans);\n//\t\t\t\t\tbreak;\n//\t\t\t\tdefault:\n//\t\t\t\t\tSystem.out.println(\"error\");\n//\t\t\t\t\tbreak;\n//\t\t\t}\n\t\t\ta = scan.nextInt();\n\t\t\top = scan.next();\n\t\t\tb = scan.nextInt();\n\t\t}\n\t}\n\n}", "Main" ]
import java.math.BigDecimal; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); int ans = 0; while(!op.equals("?")) { if(op.equals("+")) { ans = a + b; System.out.println(ans); }else if(op.equals("-")){ ans = a - b; System.out.println(ans); }else if(op.equals("*")){ ans = a * b; System.out.println(ans); }else if(op.equals("/")){ BigDecimal BDans = new BigDecimal(a / b); BDans.setScale(0,BigDecimal.ROUND_DOWN); System.out.println(BDans); }else{ System.out.println("error"); } // switch(op) // { // case "+": // ans = a + b; // System.out.println(ans); // break; // case "-": // ans = a - b; // System.out.println(ans); // break; // case "*": // ans = a * b; // System.out.println(ans); // break; // case "/": // BigDecimal BDans = new BigDecimal(a / b); // BDans.setScale(0,BigDecimal.ROUND_DOWN); // System.out.println(BDans); // break; // default: // System.out.println("error"); // break; // } a = scan.nextInt(); op = scan.next(); b = scan.nextInt(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 4, 13, 13, 23, 13, 12, 13, 30, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 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, 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 ], [ 97, 5 ], [ 97, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 6, 17 ], [ 17, 18 ], [ 97, 19 ], [ 19, 20 ], [ 19, 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 ], [ 24, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 24, 40 ], [ 40, 41 ], [ 24, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 42, 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 ], [ 24, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 19, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (true) {\n int a = in.nextInt();\n String op = in.next();\n int b = in.nextInt();\n final int ans;\n if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\n }\n System.out.println(ans);\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (true) {\n int a = in.nextInt();\n String op = in.next();\n int b = in.nextInt();\n final int ans;\n if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\n }\n System.out.println(ans);\n }\n }\n}", "Main", "public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }", "main", "{\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }", "try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }", "{\n solve(in);\n }", "Scanner in = new Scanner(System.in)", "Scanner in = new Scanner(System.in)", "new Scanner(System.in)", "solve(in)", "solve", "in", "String[] args", "args", "private static void solve(Scanner in) {\n while (true) {\n int a = in.nextInt();\n String op = in.next();\n int b = in.nextInt();\n final int ans;\n if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\n }\n System.out.println(ans);\n }\n }", "solve", "{\n while (true) {\n int a = in.nextInt();\n String op = in.next();\n int b = in.nextInt();\n final int ans;\n if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\n }\n System.out.println(ans);\n }\n }", "while (true) {\n int a = in.nextInt();\n String op = in.next();\n int b = in.nextInt();\n final int ans;\n if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\n }\n System.out.println(ans);\n }", "true", "{\n int a = in.nextInt();\n String op = in.next();\n int b = in.nextInt();\n final int ans;\n if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\n }\n System.out.println(ans);\n }", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "String op = in.next();", "op", "in.next()", "in.next", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "final int ans;", "ans", "if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\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 } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\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 } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\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 } else {\n break;\n }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n ans = a / b;\n }", "ans = a / b", "ans", "a / b", "a", "b", "{\n break;\n }", "break;", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "Scanner in", "in", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (true) {\n int a = in.nextInt();\n String op = in.next();\n int b = in.nextInt();\n final int ans;\n if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\n }\n System.out.println(ans);\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n while (true) {\n int a = in.nextInt();\n String op = in.next();\n int b = in.nextInt();\n final int ans;\n if (op.equals(\"+\")) {\n ans = a + b;\n } else if (op.equals(\"-\")) {\n ans = a - b;\n } else if (op.equals(\"*\")) {\n ans = a * b;\n } else if (op.equals(\"/\")) {\n ans = a / b;\n } else {\n break;\n }\n System.out.println(ans);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner in = new Scanner(System.in)) { solve(in); } } private static void solve(Scanner in) { while (true) { int a = in.nextInt(); String op = in.next(); int b = in.nextInt(); final int ans; 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, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 11, 1, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 4, 18, 13, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 13, 3, 34, 1, 4, 18, 13, 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 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 14, 19 ], [ 6, 20 ], [ 20, 21 ], [ 6, 22 ], [ 22, 23 ], [ 4, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 26, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 24, 38 ], [ 38, 39 ], [ 24, 40 ], [ 40, 41 ], [ 4, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 42, 56 ], [ 56, 57 ], [ 42, 58 ], [ 58, 59 ], [ 4, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 60, 74 ], [ 74, 75 ], [ 60, 76 ], [ 76, 77 ], [ 4, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 80, 87 ], [ 87, 88 ], [ 87, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 90, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 98, 103 ], [ 90, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 90, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 114, 118 ], [ 113, 119 ], [ 109, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 123, 127 ], [ 122, 128 ], [ 109, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 132, 136 ], [ 131, 137 ], [ 109, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 141, 145 ], [ 140, 146 ], [ 109, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 148, 152 ], [ 152, 153 ], [ 153, 154 ], [ 152, 155 ], [ 78, 156 ], [ 156, 157 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n\tpublic void plus(int x, int y){\n\n\t\tint ans = x + y;\n\t\tSystem.out.println(ans);\n\t}\n\tpublic void minus(int x, int y){\n\n\t\tint ans = x - y;\n\t\tSystem.out.println(ans);\n\t}\n\tpublic void times(int x, int y){\n\n\t\tint ans = x * y;\n\t\tSystem.out.println(ans);\n\t}\n\tpublic void divide(int x, int y){\n\n\t\tint ans = x / y;\n\t\tSystem.out.println(ans);\n\t}\n\tpublic static void main(String[] args) {\n\n\t\tMain n = new Main();\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\tint y = scan.nextInt();\n\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tn.plus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tn.minus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tn.times(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tn.divide(x, y);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tscan.close();\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\n\tpublic void plus(int x, int y){\n\n\t\tint ans = x + y;\n\t\tSystem.out.println(ans);\n\t}\n\tpublic void minus(int x, int y){\n\n\t\tint ans = x - y;\n\t\tSystem.out.println(ans);\n\t}\n\tpublic void times(int x, int y){\n\n\t\tint ans = x * y;\n\t\tSystem.out.println(ans);\n\t}\n\tpublic void divide(int x, int y){\n\n\t\tint ans = x / y;\n\t\tSystem.out.println(ans);\n\t}\n\tpublic static void main(String[] args) {\n\n\t\tMain n = new Main();\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\tint y = scan.nextInt();\n\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tn.plus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tn.minus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tn.times(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tn.divide(x, y);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tscan.close();\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public void plus(int x, int y){\n\n\t\tint ans = x + y;\n\t\tSystem.out.println(ans);\n\t}", "plus", "{\n\n\t\tint ans = x + y;\n\t\tSystem.out.println(ans);\n\t}", "int ans = x + y;", "ans", "x + y", "x", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "int x", "x", "int y", "y", "public void minus(int x, int y){\n\n\t\tint ans = x - y;\n\t\tSystem.out.println(ans);\n\t}", "minus", "{\n\n\t\tint ans = x - y;\n\t\tSystem.out.println(ans);\n\t}", "int ans = x - y;", "ans", "x - y", "x", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "int x", "x", "int y", "y", "public void times(int x, int y){\n\n\t\tint ans = x * y;\n\t\tSystem.out.println(ans);\n\t}", "times", "{\n\n\t\tint ans = x * y;\n\t\tSystem.out.println(ans);\n\t}", "int ans = x * y;", "ans", "x * y", "x", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "int x", "x", "int y", "y", "public void divide(int x, int y){\n\n\t\tint ans = x / y;\n\t\tSystem.out.println(ans);\n\t}", "divide", "{\n\n\t\tint ans = x / y;\n\t\tSystem.out.println(ans);\n\t}", "int ans = x / y;", "ans", "x / y", "x", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "int x", "x", "int y", "y", "public static void main(String[] args) {\n\n\t\tMain n = new Main();\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\tint y = scan.nextInt();\n\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tn.plus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tn.minus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tn.times(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tn.divide(x, y);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tscan.close();\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tMain n = new Main();\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\tint y = scan.nextInt();\n\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tn.plus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tn.minus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tn.times(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tn.divide(x, y);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tscan.close();\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}", "Main n = new Main();", "n", "new Main()", "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\tint y = scan.nextInt();\n\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tn.plus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tn.minus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tn.times(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tn.divide(x, y);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tscan.close();\n\t\t\t\tSystem.exit(0);\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\tint y = scan.nextInt();\n\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tn.plus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tn.minus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tn.times(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tn.divide(x, y);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tscan.close();\n\t\t\t\tSystem.exit(0);\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\tint y = scan.nextInt();\n\n\t\t\tswitch(ch){\n\t\t\tcase '+':\n\t\t\t\tn.plus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tn.minus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tn.times(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tn.divide(x, y);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tscan.close();\n\t\t\t\tSystem.exit(0);\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", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "switch(ch){\n\t\t\tcase '+':\n\t\t\t\tn.plus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '-':\n\t\t\t\tn.minus(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '*':\n\t\t\t\tn.times(x, y);\n\t\t\t\tbreak;\n\t\t\tcase '/':\n\t\t\t\tn.divide(x, y);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tscan.close();\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "ch", "case '+':", "'+'", "case '+':", "n.plus(x, y)", "n.plus", "n", "x", "y", "break;", "case '-':", "'-'", "case '-':", "n.minus(x, y)", "n.minus", "n", "x", "y", "break;", "case '*':", "'*'", "case '*':", "n.times(x, y)", "n.times", "n", "x", "y", "break;", "case '/':", "'/'", "case '/':", "n.divide(x, y)", "n.divide", "n", "x", "y", "break;", "default:", "default:", "scan.close()", "scan.close", "scan", "System.exit(0)", "System.exit", "System", "0", "String[] args", "args" ]
import java.util.Scanner; class Main { public void plus(int x, int y){ int ans = x + y; System.out.println(ans); } public void minus(int x, int y){ int ans = x - y; System.out.println(ans); } public void times(int x, int y){ int ans = x * y; System.out.println(ans); } public void divide(int x, int y){ int ans = x / y; System.out.println(ans); } public static void main(String[] args) { Main n = new Main(); Scanner scan = new Scanner(System.in); for(;;){ int x = scan.nextInt(); char ch = scan.next().charAt(0); int y = scan.nextInt(); switch(ch){ case '+': n.plus(x, y); break; case '-': n.minus(x, y); break; case '*': n.times(x, y); break; case '/': n.divide(x, y); break; default: scan.close(); System.exit(0); } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 2, 13, 17, 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, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 4, 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 ], [ 21, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 25, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 41, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 55, 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 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 83, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 4, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 111, 117 ], [ 117, 118 ] ]
[ "import java.util.Scanner;\nclass Main {\n\tint a,b;\n\tString op;\n\tpublic void si() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean sw = true;\n\t\twhile(sw == 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( \"+\" )){\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\n\t\t\t}\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().si();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tint a,b;\n\tString op;\n\tpublic void si() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean sw = true;\n\t\twhile(sw == 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( \"+\" )){\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\n\t\t\t}\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().si();\n\t}\n}", "Main", "int a", "a", "b;", "b", "String op;", "op", "public void si() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean sw = true;\n\t\twhile(sw == 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( \"+\" )){\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\n\t\t\t}\n\t\t}\n\t}", "si", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean sw = true;\n\t\twhile(sw == 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( \"+\" )){\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "boolean sw = true;", "sw", "true", "while(sw == 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( \"+\" )){\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\n\t\t\t}\n\t\t}", "sw == true", "sw", "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( \"+\" )){\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\n\t\t\t}\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( \"+\" )){\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\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\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t} else if(op.equals( \"?\" )) {\n\t\t\t\tsw = false;\n\t\t\t}", "op.equals ( \"/\" )", "op.equals", "op", "\"/\"", "{\n\t\t\t\tif(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}\n\t\t\t}", "if(b > 0) {\n\t\t\t\t\tSystem.out.println(a / b);\n\t\t\t\t}", "b > 0", "b", "0", "{\n\t\t\t\t\tSystem.out.println(a / b);\n\t\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\tsw = false;\n\t\t\t}", "op.equals( \"?\" )", "op.equals", "op", "\"?\"", "{\n\t\t\t\tsw = false;\n\t\t\t}", "sw = false", "sw", "false", "public static void main(String[] args){\n\t\tnew Main().si();\n\t}", "main", "{\n\t\tnew Main().si();\n\t}", "new Main().si()", "new Main().si", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main { int a,b; String op; public void si() { Scanner sc = new Scanner(System.in); boolean sw = true; while(sw == true) { a = sc.nextInt(); op = sc.next(); 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 ( "/" ) ) { if(b > 0) { System.out.println(a / b); } } else if(op.equals( "?" )) { sw = false; } } } public static void main(String[] args){ new Main().si(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 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, 3, 14, 4, 18, 13, 17, 0, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 18, 13, 13, 2, 13, 13, 14, 4, 18, 13, 17, 0, 18, 13, 13, 2, 13, 13, 0, 18, 13, 13, 2, 13, 13, 40, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 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, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 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 ], [ 21, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 43, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 55, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 67, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 21, 86 ], [ 86, 87 ], [ 8, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 88, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 6, 109 ], [ 109, 110 ] ]
[ "import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] ans = new int[20000];\n\t\tint cnt = 0;\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(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans[cnt] = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans[cnt] = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] ans = new int[20000];\n\t\tint cnt = 0;\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(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans[cnt] = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans[cnt] = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] ans = new int[20000];\n\t\tint cnt = 0;\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(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans[cnt] = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans[cnt] = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] ans = new int[20000];\n\t\tint cnt = 0;\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(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans[cnt] = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans[cnt] = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[] ans = new int[20000];", "ans", "new int[20000]", "20000", "int cnt = 0;", "cnt", "0", "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(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans[cnt] = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans[cnt] = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;\n\t\t\t\n\t\t\tcnt ++;\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(\"?\"))\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(op.equals(\"+\"))\n\t\t\t\tans[cnt] = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans[cnt] = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;\n\t\t\t\n\t\t\tcnt ++;\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(\"?\"))\n\t\t\t\tbreak;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "if(op.equals(\"+\"))\n\t\t\t\tans[cnt] = a + b;\n\t\t\telse if(op.equals(\"-\"))\n\t\t\t\tans[cnt] = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "ans[cnt] = a + b", "ans[cnt]", "ans", "cnt", "a + b", "a", "b", "if(op.equals(\"-\"))\n\t\t\t\tans[cnt] = a - b;\n\t\t\telse if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "ans[cnt] = a - b", "ans[cnt]", "ans", "cnt", "a - b", "a", "b", "if(op.equals(\"*\"))\n\t\t\t\tans[cnt] = a * b;\n\t\t\telse\n\t\t\t\tans[cnt] = a / b;", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "ans[cnt] = a * b", "ans[cnt]", "ans", "cnt", "a * b", "a", "b", "ans[cnt] = a / b", "ans[cnt]", "ans", "cnt", "a / b", "a", "b", "cnt ++", "cnt", "for(int i = 0; i < cnt; i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < cnt", "i", "cnt", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(ans[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(ans[i]);\n\t\t}", "System.out.println(ans[i])", "System.out.println", "System.out", "System", "System.out", "ans[i]", "ans", "i", "String args[]", "args" ]
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int[] ans = new int[20000]; int cnt = 0; while(true){ int a = sc.nextInt(); String op = sc.next(); int b = sc.nextInt(); if(op.equals("?")) break; if(op.equals("+")) ans[cnt] = a + b; else if(op.equals("-")) ans[cnt] = a - b; else if(op.equals("*")) ans[cnt] = a * b; else ans[cnt] = a / b; cnt ++; } for(int i = 0; i < cnt; i++){ System.out.println(ans[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 13, 17, 30, 3, 14, 2, 13, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 13, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 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 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 23, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 23, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 23, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 62, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 75, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 88, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 14, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 12, 120 ], [ 120, 121 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(token[0]);\n\t\t\tchar op = token[1].charAt(0);\n\t\t\tint b = Integer.parseInt(token[2]);\n\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(op == '+'){\n\t\t\t\tsb.append((a + b) + \"\\n\");\n\t\t\t}else if(op == '-'){\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}else if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "class Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(token[0]);\n\t\t\tchar op = token[1].charAt(0);\n\t\t\tint b = Integer.parseInt(token[2]);\n\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(op == '+'){\n\t\t\t\tsb.append((a + b) + \"\\n\");\n\t\t\t}else if(op == '-'){\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}else if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(token[0]);\n\t\t\tchar op = token[1].charAt(0);\n\t\t\tint b = Integer.parseInt(token[2]);\n\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(op == '+'){\n\t\t\t\tsb.append((a + b) + \"\\n\");\n\t\t\t}else if(op == '-'){\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}else if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(token[0]);\n\t\t\tchar op = token[1].charAt(0);\n\t\t\tint b = Integer.parseInt(token[2]);\n\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(op == '+'){\n\t\t\t\tsb.append((a + b) + \"\\n\");\n\t\t\t}else if(op == '-'){\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}else if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}\n\n\t\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()", "while(true){\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(token[0]);\n\t\t\tchar op = token[1].charAt(0);\n\t\t\tint b = Integer.parseInt(token[2]);\n\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(op == '+'){\n\t\t\t\tsb.append((a + b) + \"\\n\");\n\t\t\t}else if(op == '-'){\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}else if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}\n\n\t\t}", "true", "{\n\n\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(token[0]);\n\t\t\tchar op = token[1].charAt(0);\n\t\t\tint b = Integer.parseInt(token[2]);\n\n\t\t\tif(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(op == '+'){\n\t\t\t\tsb.append((a + b) + \"\\n\");\n\t\t\t}else if(op == '-'){\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}else if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}\n\n\t\t}", "String[] token = br.readLine().split(\" \");", "token", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(token[0]);", "a", "Integer.parseInt(token[0])", "Integer.parseInt", "Integer", "token[0]", "token", "0", "char op = token[1].charAt(0);", "op", "token[1].charAt(0)", "token[1].charAt", "token[1]", "token", "1", "0", "int b = Integer.parseInt(token[2]);", "b", "Integer.parseInt(token[2])", "Integer.parseInt", "Integer", "token[2]", "token", "2", "if(op == '?'){\n\t\t\t\tbreak;\n\t\t\t}", "op == '?'", "op", "'?'", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(op == '+'){\n\t\t\t\tsb.append((a + b) + \"\\n\");\n\t\t\t}else if(op == '-'){\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}else if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}", "op == '+'", "op", "'+'", "{\n\t\t\t\tsb.append((a + b) + \"\\n\");\n\t\t\t}", "sb.append((a + b) + \"\\n\")", "sb.append", "sb", "(a + b) + \"\\n\"", "(a + b)", "a", "b", "\"\\n\"", "if(op == '-'){\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}else if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}", "op == '-'", "op", "'-'", "{\n\t\t\t\tsb.append((a - b) + \"\\n\");\n\t\t\t}", "sb.append((a - b) + \"\\n\")", "sb.append", "sb", "(a - b) + \"\\n\"", "(a - b)", "a", "b", "\"\\n\"", "if(op == '*'){\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}else if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}", "op == '*'", "op", "'*'", "{\n\t\t\t\tsb.append((a * b) + \"\\n\");\n\t\t\t}", "sb.append((a * b) + \"\\n\")", "sb.append", "sb", "(a * b) + \"\\n\"", "(a * b)", "a", "b", "\"\\n\"", "if(op == '/'){\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}", "op == '/'", "op", "'/'", "{\n\t\t\t\tsb.append((a / b) + \"\\n\");\n\t\t\t}", "sb.append((a / b) + \"\\n\")", "sb.append", "sb", "(a / b) + \"\\n\"", "(a / b)", "a", "b", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); while(true){ String[] token = br.readLine().split(" "); int a = Integer.parseInt(token[0]); char op = token[1].charAt(0); int b = Integer.parseInt(token[2]); if(op == '?'){ break; } if(op == '+'){ sb.append((a + b) + "\n"); }else if(op == '-'){ sb.append((a - b) + "\n"); }else if(op == '*'){ sb.append((a * b) + "\n"); }else if(op == '/'){ sb.append((a / b) + "\n"); } } System.out.print(sb); } }
[ 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, 18, 4, 18, 13, 17, 17, 41, 13, 18, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 4, 18, 13, 17, 17, 14, 4, 18, 17, 13, 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 ], [ 118, 8 ], [ 118, 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 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 28, 33 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 36, 41 ], [ 17, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 17, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 53, 58 ], [ 17, 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 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 87, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 9, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int a = Integer.parseInt(line.split(\" \")[0]);\n\t\t String op = line.split(\" \")[1];\n\t\t int b = Integer.parseInt(line.split(\" \")[2]);\n\n\t\t if(\"?\".equals(op)) break;\n\n\t\t if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }\n\t }\n\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 {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int a = Integer.parseInt(line.split(\" \")[0]);\n\t\t String op = line.split(\" \")[1];\n\t\t int b = Integer.parseInt(line.split(\" \")[2]);\n\n\t\t if(\"?\".equals(op)) break;\n\n\t\t if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }\n\t }\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int a = Integer.parseInt(line.split(\" \")[0]);\n\t\t String op = line.split(\" \")[1];\n\t\t int b = Integer.parseInt(line.split(\" \")[2]);\n\n\t\t if(\"?\".equals(op)) break;\n\n\t\t if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }\n\t }\n\t}", "main", "{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int a = Integer.parseInt(line.split(\" \")[0]);\n\t\t String op = line.split(\" \")[1];\n\t\t int b = Integer.parseInt(line.split(\" \")[2]);\n\n\t\t if(\"?\".equals(op)) break;\n\n\t\t if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }\n\t }\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n\t\t String line = br.readLine();\n\t\t int a = Integer.parseInt(line.split(\" \")[0]);\n\t\t String op = line.split(\" \")[1];\n\t\t int b = Integer.parseInt(line.split(\" \")[2]);\n\n\t\t if(\"?\".equals(op)) break;\n\n\t\t if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }\n\t }", "true", "{\n\t\t String line = br.readLine();\n\t\t int a = Integer.parseInt(line.split(\" \")[0]);\n\t\t String op = line.split(\" \")[1];\n\t\t int b = Integer.parseInt(line.split(\" \")[2]);\n\n\t\t if(\"?\".equals(op)) break;\n\n\t\t if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }\n\t }", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int a = Integer.parseInt(line.split(\" \")[0]);", "a", "Integer.parseInt(line.split(\" \")[0])", "Integer.parseInt", "Integer", "line.split(\" \")[0]", "line.split(\" \")", "line.split", "line", "\" \"", "0", "String op = line.split(\" \")[1];", "op", "line.split(\" \")[1]", "line.split(\" \")", "line.split", "line", "\" \"", "1", "int b = Integer.parseInt(line.split(\" \")[2]);", "b", "Integer.parseInt(line.split(\" \")[2])", "Integer.parseInt", "Integer", "line.split(\" \")[2]", "line.split(\" \")", "line.split", "line", "\" \"", "2", "if(\"?\".equals(op)) break;", "\"?\".equals(op)", "\"?\".equals", "\"?\"", "op", "break;", "if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }", "\"+\".equals(op)", "\"+\".equals", "\"+\"", "op", "{\n\t\t\t System.out.println(a + b);\n\n\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 System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }", "\"-\".equals(op)", "\"-\".equals", "\"-\"", "op", "{\n\t\t\t System.out.println(a - b);\n\n\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 System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }", "\"*\".equals(op)", "\"*\".equals", "\"*\"", "op", "{\n\t\t\t System.out.println(a * b);\n\n\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 System.out.println((int)(a / b));\n\n\t\t }", "\"/\".equals(op)", "\"/\".equals", "\"/\"", "op", "{\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }", "System.out.println((int)(a / b))", "System.out.println", "System.out", "System", "System.out", "(int)(a / b)", "a", "b", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int a = Integer.parseInt(line.split(\" \")[0]);\n\t\t String op = line.split(\" \")[1];\n\t\t int b = Integer.parseInt(line.split(\" \")[2]);\n\n\t\t if(\"?\".equals(op)) break;\n\n\t\t if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }\n\t }\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t while (true) {\n\t\t String line = br.readLine();\n\t\t int a = Integer.parseInt(line.split(\" \")[0]);\n\t\t String op = line.split(\" \")[1];\n\t\t int b = Integer.parseInt(line.split(\" \")[2]);\n\n\t\t if(\"?\".equals(op)) break;\n\n\t\t if (\"+\".equals(op)) {\n\t\t\t System.out.println(a + b);\n\n\t\t } else if(\"-\".equals(op)) {\n\t\t\t System.out.println(a - b);\n\n\t\t } else if(\"*\".equals(op)) {\n\t\t\t System.out.println(a * b);\n\n\t\t } else if(\"/\".equals(op)) {\n\t\t\t System.out.println((int)(a / b));\n\n\t\t }\n\t }\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String line = br.readLine(); int a = Integer.parseInt(line.split(" ")[0]); String op = line.split(" ")[1]; int b = Integer.parseInt(line.split(" ")[2]); if("?".equals(op)) break; 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((int)(a / b)); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 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, 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, 14, 4, 18, 18, 13, 17, 17, 30, 3, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 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 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 21, 26 ], [ 18, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 32, 34 ], [ 18, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 18, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 43, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 43, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 59, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 59, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 75, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 75, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 91, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 91, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 107, 114 ], [ 114, 115 ], [ 6, 116 ], [ 116, 117 ] ]
[ "import java.io.*;\n \nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint x,y;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\n\t\t\tString str[] = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[2]);\n\t\t\t\n\t\t\tif(str[1].equals(\"+\")){\n\t\t\t \tSystem.out.println(x + y);\n\t\t\t}else if(str[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t}else if(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}\n\t\t}\n \t}\n}", "import java.io.*;", "io.*", "java", "class Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint x,y;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\n\t\t\tString str[] = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[2]);\n\t\t\t\n\t\t\tif(str[1].equals(\"+\")){\n\t\t\t \tSystem.out.println(x + y);\n\t\t\t}else if(str[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t}else if(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}\n\t\t}\n \t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\n\t\tint x,y;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\n\t\t\tString str[] = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[2]);\n\t\t\t\n\t\t\tif(str[1].equals(\"+\")){\n\t\t\t \tSystem.out.println(x + y);\n\t\t\t}else if(str[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t}else if(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}\n\t\t}\n \t}", "main", "{\n\n\t\tint x,y;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\n\t\t\tString str[] = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[2]);\n\t\t\t\n\t\t\tif(str[1].equals(\"+\")){\n\t\t\t \tSystem.out.println(x + y);\n\t\t\t}else if(str[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t}else if(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}\n\t\t}\n \t}", "int x", "x", "y;", "y", "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().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[2]);\n\t\t\t\n\t\t\tif(str[1].equals(\"+\")){\n\t\t\t \tSystem.out.println(x + y);\n\t\t\t}else if(str[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t}else if(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}\n\t\t}", "true", "{\n\n\t\t\tString str[] = br.readLine().split(\" \");\n\t\t\tx = Integer.parseInt(str[0]);\n\t\t\ty = Integer.parseInt(str[2]);\n\t\t\t\n\t\t\tif(str[1].equals(\"+\")){\n\t\t\t \tSystem.out.println(x + y);\n\t\t\t}else if(str[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t}else if(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}\n\t\t}", "String str[] = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "x = Integer.parseInt(str[0])", "x", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "y = Integer.parseInt(str[2])", "y", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "if(str[1].equals(\"+\")){\n\t\t\t \tSystem.out.println(x + y);\n\t\t\t}else if(str[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t}else if(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}", "str[1].equals(\"+\")", "str[1].equals", "str[1]", "str", "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(str[1].equals(\"-\")){\n\t\t\t\tSystem.out.println(x - y);\n\t\t\t}else if(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}", "str[1].equals(\"-\")", "str[1].equals", "str[1]", "str", "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(str[1].equals(\"*\")){\n\t\t\t \tSystem.out.println(x * y);\n\t\t\t}else if(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}", "str[1].equals(\"*\")", "str[1].equals", "str[1]", "str", "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(str[1].equals(\"/\")){\n\t\t\t\tSystem.out.println(x / y);\n\t\t\t}else if(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}", "str[1].equals(\"/\")", "str[1].equals", "str[1]", "str", "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(str[1].equals(\"?\")){\n\t\t\t\t break;\n\t\t\t}", "str[1].equals(\"?\")", "str[1].equals", "str[1]", "str", "1", "\"?\"", "{\n\t\t\t\t break;\n\t\t\t}", "break;", "String[] args", "args" ]
import java.io.*; class Main{ public static void main(String[] args) throws IOException{ int x,y; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String str[] = br.readLine().split(" "); x = Integer.parseInt(str[0]); y = Integer.parseInt(str[2]); if(str[1].equals("+")){ System.out.println(x + y); }else if(str[1].equals("-")){ System.out.println(x - y); }else if(str[1].equals("*")){ System.out.println(x * y); }else if(str[1].equals("/")){ System.out.println(x / y); }else if(str[1].equals("?")){ break; } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 17, 42, 17, 30, 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, 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 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 4, 12 ], [ 12, 13 ], [ 4, 14 ], [ 14, 15 ], [ 4, 16 ], [ 16, 17 ], [ 4, 18 ], [ 18, 19 ], [ 4, 20 ], [ 20, 21 ], [ 4, 22 ], [ 22, 23 ], [ 4, 24 ], [ 24, 25 ], [ 4, 26 ], [ 26, 27 ], [ 4, 28 ], [ 28, 29 ], [ 4, 30 ], [ 30, 31 ], [ 4, 32 ], [ 32, 33 ], [ 4, 34 ], [ 34, 35 ], [ 4, 36 ], [ 36, 37 ], [ 4, 38 ], [ 38, 39 ], [ 4, 40 ], [ 40, 41 ], [ 4, 42 ], [ 42, 43 ], [ 4, 44 ], [ 44, 45 ], [ 4, 46 ], [ 46, 47 ], [ 4, 48 ], [ 48, 49 ], [ 4, 50 ], [ 50, 51 ], [ 4, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 54, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 54, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 54, 73 ], [ 73, 74 ], [ 73, 75 ], [ 54, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 78, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 89, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 99, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 109, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 119, 124 ], [ 78, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 78, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 78, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 78, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 52, 146 ], [ 146, 147 ] ]
[ "import java.util.*;\n\nclass Main{\n\tstatic int a;\n\tstatic int b;\n\tstatic int c;\n\tstatic int d;\n\tstatic int e;\n\tstatic int p;\n\tstatic double f;\n\tstatic int g;\n\tstatic int h;\n\tstatic int i;\n\tstatic int j;\n\tstatic int k;\n\tstatic int l;\n\tstatic int m;\n\tstatic int o;\n\tstatic int q;\n\tstatic double r;\n\tstatic int s;\n\tstatic int t;\n\tstatic int u;\n\tstatic double x;\n\tstatic double y;\n\tprivate static Scanner sc;\n\tpublic static void main(String[]agrs){\n\t\tsc=new Scanner(System.in);\n\t\ta=sc.nextInt();\n\t\tString op=sc.next();\n\t\tb=sc.nextInt();\n\t\tint ans=0;\n\t\twhile(true){\n\t\t\tif(op.equals(\"+\"))ans=a+b;\n\t\t\tif(op.equals(\"-\"))ans=a-b;\n\t\t\telse if(op.equals(\"*\"))ans= a*b;\n\t\t\telse if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;\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\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tstatic int a;\n\tstatic int b;\n\tstatic int c;\n\tstatic int d;\n\tstatic int e;\n\tstatic int p;\n\tstatic double f;\n\tstatic int g;\n\tstatic int h;\n\tstatic int i;\n\tstatic int j;\n\tstatic int k;\n\tstatic int l;\n\tstatic int m;\n\tstatic int o;\n\tstatic int q;\n\tstatic double r;\n\tstatic int s;\n\tstatic int t;\n\tstatic int u;\n\tstatic double x;\n\tstatic double y;\n\tprivate static Scanner sc;\n\tpublic static void main(String[]agrs){\n\t\tsc=new Scanner(System.in);\n\t\ta=sc.nextInt();\n\t\tString op=sc.next();\n\t\tb=sc.nextInt();\n\t\tint ans=0;\n\t\twhile(true){\n\t\t\tif(op.equals(\"+\"))ans=a+b;\n\t\t\tif(op.equals(\"-\"))ans=a-b;\n\t\t\telse if(op.equals(\"*\"))ans= a*b;\n\t\t\telse if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;\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\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n}", "Main", "static int a;", "a", "static int b;", "b", "static int c;", "c", "static int d;", "d", "static int e;", "e", "static int p;", "p", "static double f;", "f", "static int g;", "g", "static int h;", "h", "static int i;", "i", "static int j;", "j", "static int k;", "k", "static int l;", "l", "static int m;", "m", "static int o;", "o", "static int q;", "q", "static double r;", "r", "static int s;", "s", "static int t;", "t", "static int u;", "u", "static double x;", "x", "static double y;", "y", "private static Scanner sc;", "sc", "public static void main(String[]agrs){\n\t\tsc=new Scanner(System.in);\n\t\ta=sc.nextInt();\n\t\tString op=sc.next();\n\t\tb=sc.nextInt();\n\t\tint ans=0;\n\t\twhile(true){\n\t\t\tif(op.equals(\"+\"))ans=a+b;\n\t\t\tif(op.equals(\"-\"))ans=a-b;\n\t\t\telse if(op.equals(\"*\"))ans= a*b;\n\t\t\telse if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;\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\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "main", "{\n\t\tsc=new Scanner(System.in);\n\t\ta=sc.nextInt();\n\t\tString op=sc.next();\n\t\tb=sc.nextInt();\n\t\tint ans=0;\n\t\twhile(true){\n\t\t\tif(op.equals(\"+\"))ans=a+b;\n\t\t\tif(op.equals(\"-\"))ans=a-b;\n\t\t\telse if(op.equals(\"*\"))ans= a*b;\n\t\t\telse if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;\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\t\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "sc=new Scanner(System.in)", "sc", "new Scanner(System.in)", "a=sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "String op=sc.next();", "op", "sc.next()", "sc.next", "sc", "b=sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "int ans=0;", "ans", "0", "while(true){\n\t\t\tif(op.equals(\"+\"))ans=a+b;\n\t\t\tif(op.equals(\"-\"))ans=a-b;\n\t\t\telse if(op.equals(\"*\"))ans= a*b;\n\t\t\telse if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;\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\t\n\t\t\t\n\t\t}", "true", "{\n\t\t\tif(op.equals(\"+\"))ans=a+b;\n\t\t\tif(op.equals(\"-\"))ans=a-b;\n\t\t\telse if(op.equals(\"*\"))ans= a*b;\n\t\t\telse if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;\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\t\n\t\t\t\n\t\t}", "if(op.equals(\"+\"))ans=a+b;", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "ans=a+b", "ans", "a+b", "a", "b", "if(op.equals(\"-\"))ans=a-b;\n\t\t\telse if(op.equals(\"*\"))ans= a*b;\n\t\t\telse if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "ans=a-b", "ans", "a-b", "a", "b", "if(op.equals(\"*\"))ans= a*b;\n\t\t\telse if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "ans= a*b", "ans", "a*b", "a", "b", "if(op.equals(\"/\"))ans=a/b;\n\t\t\telse if(op.equals(\"?\"))break;", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "ans=a/b", "ans", "a/b", "a", "b", "if(op.equals(\"?\"))break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "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[]agrs", "agrs" ]
import java.util.*; class Main{ static int a; static int b; static int c; static int d; static int e; static int p; static double f; static int g; static int h; static int i; static int j; static int k; static int l; static int m; static int o; static int q; static double r; static int s; static int t; static int u; static double x; static double y; private static Scanner sc; public static void main(String[]agrs){ sc=new Scanner(System.in); a=sc.nextInt(); String op=sc.next(); b=sc.nextInt(); int ans=0; while(true){ if(op.equals("+"))ans=a+b; if(op.equals("-"))ans=a-b; else if(op.equals("*"))ans= a*b; else if(op.equals("/"))ans=a/b; else if(op.equals("?"))break; System.out.println(ans); a=sc.nextInt(); op=sc.next(); b=sc.nextInt(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 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, 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, 3, 14, 4, 18, 13, 17, 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 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 15, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 25, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 25, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 25, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 25, 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 ], [ 25, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 109, 114 ], [ 114, 115 ], [ 6, 116 ], [ 116, 117 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main(String[] args){\n InputStreamReader sr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(sr);\n\n try{\n while(true){\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = str[1];\n int b = Integer.parseInt(str[2]);\n\n switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : break;\n }\n if(op.equals(\"?\")){\n break;\n }\n }\n }\n catch(IOException e) {\n e.printStackTrace();\n }\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String[] args){\n InputStreamReader sr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(sr);\n\n try{\n while(true){\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = str[1];\n int b = Integer.parseInt(str[2]);\n\n switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : break;\n }\n if(op.equals(\"?\")){\n break;\n }\n }\n }\n catch(IOException e) {\n e.printStackTrace();\n }\n }\n}", "Main", "public static void main(String[] args){\n InputStreamReader sr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(sr);\n\n try{\n while(true){\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = str[1];\n int b = Integer.parseInt(str[2]);\n\n switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : break;\n }\n if(op.equals(\"?\")){\n break;\n }\n }\n }\n catch(IOException e) {\n e.printStackTrace();\n }\n }", "main", "{\n InputStreamReader sr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(sr);\n\n try{\n while(true){\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = str[1];\n int b = Integer.parseInt(str[2]);\n\n switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : break;\n }\n if(op.equals(\"?\")){\n break;\n }\n }\n }\n catch(IOException e) {\n e.printStackTrace();\n }\n }", "InputStreamReader sr = new InputStreamReader(System.in);", "sr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(sr);", "br", "new BufferedReader(sr)", "try{\n while(true){\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = str[1];\n int b = Integer.parseInt(str[2]);\n\n switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : break;\n }\n if(op.equals(\"?\")){\n break;\n }\n }\n }\n catch(IOException e) {\n e.printStackTrace();\n }", "catch(IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n while(true){\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = str[1];\n int b = Integer.parseInt(str[2]);\n\n switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : break;\n }\n if(op.equals(\"?\")){\n break;\n }\n }\n }", "while(true){\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = str[1];\n int b = Integer.parseInt(str[2]);\n\n switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : break;\n }\n if(op.equals(\"?\")){\n break;\n }\n }", "true", "{\n String[] str = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n String op = str[1];\n int b = Integer.parseInt(str[2]);\n\n switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : break;\n }\n if(op.equals(\"?\")){\n break;\n }\n }", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "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", "switch(op){\n case \"+\" : System.out.println(a+b); break;\n case \"-\" : System.out.println(a-b); break;\n case \"*\" : System.out.println(a*b); break;\n case \"/\" : System.out.println(a/b); break;\n case \"?\" : 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;", "case \"?\" :", "\"?\"", "case \"?\" :", "break;", "if(op.equals(\"?\")){\n break;\n }", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n break;\n }", "break;", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args){ InputStreamReader sr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(sr); try{ while(true){ String[] str = br.readLine().split(" "); int a = Integer.parseInt(str[0]); String op = str[1]; int b = Integer.parseInt(str[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 "?" : break; } if(op.equals("?")){ break; } } } catch(IOException e) { 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, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 41, 13, 4, 18, 18, 13, 17, 14, 2, 18, 13, 17, 17, 3, 14, 2, 18, 13, 17, 17, 0, 13, 2, 13, 13, 14, 2, 18, 13, 17, 17, 0, 13, 2, 13, 13, 14, 2, 18, 13, 17, 17, 0, 13, 2, 13, 13, 14, 2, 18, 13, 17, 17, 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 ], [ 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 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 14, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 52, 58 ], [ 14, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 14, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 14, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 14, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 14, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 6, 109 ], [ 109, 110 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tString str=cin.nextLine();\n\t\t\tString data[]=str.split(\" \");\n\t\t\tint a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;\n\t\t\tchar op[]=data[1].toCharArray();\n\t\t\n\t\t\tif(op[0]=='?')break;\n\t\t\tif(op[0]=='+')res=a+b;\n\t\t\tif(op[0]=='*')res=a*b;\n\t\t\tif(op[0]=='-')res=a-b;\n\t\t\tif(op[0]=='/')res=a/b;\n\t\t\n\t\t\tSystem.out.println(res);\n\t\t}\n\t}\n\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tString str=cin.nextLine();\n\t\t\tString data[]=str.split(\" \");\n\t\t\tint a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;\n\t\t\tchar op[]=data[1].toCharArray();\n\t\t\n\t\t\tif(op[0]=='?')break;\n\t\t\tif(op[0]=='+')res=a+b;\n\t\t\tif(op[0]=='*')res=a*b;\n\t\t\tif(op[0]=='-')res=a-b;\n\t\t\tif(op[0]=='/')res=a/b;\n\t\t\n\t\t\tSystem.out.println(res);\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tString str=cin.nextLine();\n\t\t\tString data[]=str.split(\" \");\n\t\t\tint a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;\n\t\t\tchar op[]=data[1].toCharArray();\n\t\t\n\t\t\tif(op[0]=='?')break;\n\t\t\tif(op[0]=='+')res=a+b;\n\t\t\tif(op[0]=='*')res=a*b;\n\t\t\tif(op[0]=='-')res=a-b;\n\t\t\tif(op[0]=='/')res=a/b;\n\t\t\n\t\t\tSystem.out.println(res);\n\t\t}\n\t}", "main", "{\n\t\tScanner cin=new Scanner(System.in);\n\t\twhile(true){\n\t\t\tString str=cin.nextLine();\n\t\t\tString data[]=str.split(\" \");\n\t\t\tint a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;\n\t\t\tchar op[]=data[1].toCharArray();\n\t\t\n\t\t\tif(op[0]=='?')break;\n\t\t\tif(op[0]=='+')res=a+b;\n\t\t\tif(op[0]=='*')res=a*b;\n\t\t\tif(op[0]=='-')res=a-b;\n\t\t\tif(op[0]=='/')res=a/b;\n\t\t\n\t\t\tSystem.out.println(res);\n\t\t}\n\t}", "Scanner cin=new Scanner(System.in);", "cin", "new Scanner(System.in)", "while(true){\n\t\t\tString str=cin.nextLine();\n\t\t\tString data[]=str.split(\" \");\n\t\t\tint a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;\n\t\t\tchar op[]=data[1].toCharArray();\n\t\t\n\t\t\tif(op[0]=='?')break;\n\t\t\tif(op[0]=='+')res=a+b;\n\t\t\tif(op[0]=='*')res=a*b;\n\t\t\tif(op[0]=='-')res=a-b;\n\t\t\tif(op[0]=='/')res=a/b;\n\t\t\n\t\t\tSystem.out.println(res);\n\t\t}", "true", "{\n\t\t\tString str=cin.nextLine();\n\t\t\tString data[]=str.split(\" \");\n\t\t\tint a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;\n\t\t\tchar op[]=data[1].toCharArray();\n\t\t\n\t\t\tif(op[0]=='?')break;\n\t\t\tif(op[0]=='+')res=a+b;\n\t\t\tif(op[0]=='*')res=a*b;\n\t\t\tif(op[0]=='-')res=a-b;\n\t\t\tif(op[0]=='/')res=a/b;\n\t\t\n\t\t\tSystem.out.println(res);\n\t\t}", "String str=cin.nextLine();", "str", "cin.nextLine()", "cin.nextLine", "cin", "String data[]=str.split(\" \");", "data", "str.split(\" \")", "str.split", "str", "\" \"", "int a=Integer.parseInt(data[0])", "a", "Integer.parseInt(data[0])", "Integer.parseInt", "Integer", "data[0]", "data", "0", "b=Integer.parseInt(data[2])", "b", "Integer.parseInt(data[2])", "Integer.parseInt", "Integer", "data[2]", "data", "2", "res=0;", "res", "0", "char op[]=data[1].toCharArray();", "op", "data[1].toCharArray()", "data[1].toCharArray", "data[1]", "data", "1", "if(op[0]=='?')break;", "op[0]=='?'", "op[0]", "op", "0", "'?'", "break;", "if(op[0]=='+')res=a+b;", "op[0]=='+'", "op[0]", "op", "0", "'+'", "res=a+b", "res", "a+b", "a", "b", "if(op[0]=='*')res=a*b;", "op[0]=='*'", "op[0]", "op", "0", "'*'", "res=a*b", "res", "a*b", "a", "b", "if(op[0]=='-')res=a-b;", "op[0]=='-'", "op[0]", "op", "0", "'-'", "res=a-b", "res", "a-b", "a", "b", "if(op[0]=='/')res=a/b;", "op[0]=='/'", "op[0]", "op", "0", "'/'", "res=a/b", "res", "a/b", "a", "b", "System.out.println(res)", "System.out.println", "System.out", "System", "System.out", "res", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner cin=new Scanner(System.in); while(true){ String str=cin.nextLine(); String data[]=str.split(" "); int a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0; char op[]=data[1].toCharArray(); if(op[0]=='?')break; if(op[0]=='+')res=a+b; if(op[0]=='*')res=a*b; if(op[0]=='-')res=a-b; if(op[0]=='/')res=a/b; System.out.println(res); } } }
[ 7, 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, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 4, 18, 13, 17, 17, 30, 3, 30, 14, 2, 4, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 2, 4, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 2, 4, 18, 13, 17, 17, 30, 0, 13, 2, 13, 13, 14, 2, 4, 18, 13, 17, 17, 30, 0, 13, 2, 13, 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 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 21, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 25, 41 ], [ 41, 42 ], [ 41, 43 ], [ 25, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 44, 51 ], [ 51, 52 ], [ 44, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 53, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 67, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 53, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 81, 86 ], [ 80, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 53, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 94, 99 ], [ 93, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 53, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 14, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 110, 120 ], [ 120, 121 ], [ 121, 122 ], [ 110, 123 ], [ 124, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 12, 134 ], [ 134, 135 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\t//int a = Integer.parseInt(aa);\n\t\t\t//int b = Integer.parseInt(bb);\n\t\t\tint cal =0;\n\t\t\t\n\t\t\tif(op.charAt(0) == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}\n\t\t\t\tlist.add(cal);\t\t\t\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}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\t//int a = Integer.parseInt(aa);\n\t\t\t//int b = Integer.parseInt(bb);\n\t\t\tint cal =0;\n\t\t\t\n\t\t\tif(op.charAt(0) == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}\n\t\t\t\tlist.add(cal);\t\t\t\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}\n}", "Main", "public static void main(String[] args){\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\t//int a = Integer.parseInt(aa);\n\t\t\t//int b = Integer.parseInt(bb);\n\t\t\tint cal =0;\n\t\t\t\n\t\t\tif(op.charAt(0) == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}\n\t\t\t\tlist.add(cal);\t\t\t\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}", "main", "{\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\t//int a = Integer.parseInt(aa);\n\t\t\t//int b = Integer.parseInt(bb);\n\t\t\tint cal =0;\n\t\t\t\n\t\t\tif(op.charAt(0) == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}\n\t\t\t\tlist.add(cal);\t\t\t\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}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "while(scan.hasNextLine()){\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\t//int a = Integer.parseInt(aa);\n\t\t\t//int b = Integer.parseInt(bb);\n\t\t\tint cal =0;\n\t\t\t\n\t\t\tif(op.charAt(0) == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}\n\t\t\t\tlist.add(cal);\t\t\t\n\t\t\t}\n\t\t}", "scan.hasNextLine()", "scan.hasNextLine", "scan", "{\n\t\t\tint a = scan.nextInt();\n\t\t\tString op = scan.next();\n\t\t\tint b = scan.nextInt();\n\t\t\t//int a = Integer.parseInt(aa);\n\t\t\t//int b = Integer.parseInt(bb);\n\t\t\tint cal =0;\n\t\t\t\n\t\t\tif(op.charAt(0) == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}\n\t\t\t\tlist.add(cal);\t\t\t\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", "int cal =0;", "cal", "0", "if(op.charAt(0) == '?'){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}\n\t\t\t\tlist.add(cal);\t\t\t\n\t\t\t}", "op.charAt(0) == '?'", "op.charAt(0)", "op.charAt", "op", "0", "'?'", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "{\n\t\t\t\tif(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}\n\t\t\t\tif(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}\n\t\t\t\tlist.add(cal);\t\t\t\n\t\t\t}", "if(op.charAt(0) == '+'){\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}", "op.charAt(0) == '+'", "op.charAt(0)", "op.charAt", "op", "0", "'+'", "{\n\t\t\t\t\tcal = a + b;\n\t\t\t\t}", "cal = a + b", "cal", "a + b", "a", "b", "if(op.charAt(0) == '-'){\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}", "op.charAt(0) == '-'", "op.charAt(0)", "op.charAt", "op", "0", "'-'", "{\n\t\t\t\t\tcal = a - b;\n\t\t\t\t}", "cal = a - b", "cal", "a - b", "a", "b", "if(op.charAt(0) == '*'){\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}", "op.charAt(0) == '*'", "op.charAt(0)", "op.charAt", "op", "0", "'*'", "{\n\t\t\t\t\tcal = a * b;\n\t\t\t\t}", "cal = a * b", "cal", "a * b", "a", "b", "if(op.charAt(0) == '/'){\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}", "op.charAt(0) == '/'", "op.charAt(0)", "op.charAt", "op", "0", "'/'", "{\n\t\t\t\t\tcal = a / b;\n\t\t\t\t}", "cal = a / b", "cal", "a / b", "a", "b", "list.add(cal)", "list.add", "list", "cal", "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" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); while(scan.hasNextLine()){ int a = scan.nextInt(); String op = scan.next(); int b = scan.nextInt(); //int a = Integer.parseInt(aa); //int b = Integer.parseInt(bb); int cal =0; if(op.charAt(0) == '?'){ break; } else{ if(op.charAt(0) == '+'){ cal = a + b; } if(op.charAt(0) == '-'){ cal = a - b; } if(op.charAt(0) == '*'){ cal = a * b; } if(op.charAt(0) == '/'){ cal = a / b; } list.add(cal); } } for(int i=0;i<list.size();i++){ System.out.println(list.get(i)); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 38, 5, 13, 30, 4, 18, 13, 30, 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 ], [ 33, 11 ], [ 33, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 22, 29 ], [ 12, 30 ], [ 30, 31 ], [ 0, 32 ], [ 32, 33 ], [ 32, 34 ] ]
[ "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\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\ttry {\n\t\t\tloop: while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint a = Integer.parseInt(arrStr[0]);\n\t\t\t\tchar op = arrStr[1].charAt(0);\n\t\t\t\tint b = Integer.parseInt(arrStr[2]);\n\n\t\t\t\tint ans = 0;\n\t\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\tcase '?':\n\t\t\t\t\tbreak loop;\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\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", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\ttry {\n\t\t\tloop: while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint a = Integer.parseInt(arrStr[0]);\n\t\t\t\tchar op = arrStr[1].charAt(0);\n\t\t\t\tint b = Integer.parseInt(arrStr[2]);\n\n\t\t\t\tint ans = 0;\n\t\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\tcase '?':\n\t\t\t\t\tbreak loop;\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\ttry {\n\t\t\tloop: while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint a = Integer.parseInt(arrStr[0]);\n\t\t\t\tchar op = arrStr[1].charAt(0);\n\t\t\t\tint b = Integer.parseInt(arrStr[2]);\n\n\t\t\t\tint ans = 0;\n\t\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\tcase '?':\n\t\t\t\t\tbreak loop;\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\ttry {\n\t\t\tloop: while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint a = Integer.parseInt(arrStr[0]);\n\t\t\t\tchar op = arrStr[1].charAt(0);\n\t\t\t\tint b = Integer.parseInt(arrStr[2]);\n\n\t\t\t\tint ans = 0;\n\t\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\tcase '?':\n\t\t\t\t\tbreak loop;\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str;", "str", "String[] arrStr;", "arrStr", "try {\n\t\t\tloop: while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint a = Integer.parseInt(arrStr[0]);\n\t\t\t\tchar op = arrStr[1].charAt(0);\n\t\t\t\tint b = Integer.parseInt(arrStr[2]);\n\n\t\t\t\tint ans = 0;\n\t\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\tcase '?':\n\t\t\t\t\tbreak loop;\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\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\t\tloop: while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint a = Integer.parseInt(arrStr[0]);\n\t\t\t\tchar op = arrStr[1].charAt(0);\n\t\t\t\tint b = Integer.parseInt(arrStr[2]);\n\n\t\t\t\tint ans = 0;\n\t\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\tcase '?':\n\t\t\t\t\tbreak loop;\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\n\t\t\t}\n\t\t}", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\ttry {\n\t\t\tloop: while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint a = Integer.parseInt(arrStr[0]);\n\t\t\t\tchar op = arrStr[1].charAt(0);\n\t\t\t\tint b = Integer.parseInt(arrStr[2]);\n\n\t\t\t\tint ans = 0;\n\t\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\tcase '?':\n\t\t\t\t\tbreak loop;\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\ttry {\n\t\t\tloop: while (true) {\n\t\t\t\tstr = br.readLine();\n\t\t\t\tarrStr = str.split(\" \");\n\n\t\t\t\tint a = Integer.parseInt(arrStr[0]);\n\t\t\t\tchar op = arrStr[1].charAt(0);\n\t\t\t\tint b = Integer.parseInt(arrStr[2]);\n\n\t\t\t\tint ans = 0;\n\t\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\tcase '?':\n\t\t\t\t\tbreak loop;\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(ans);\n\n\t\t\t}\n\t\t} catch (IOException e) {\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 br = new BufferedReader(new InputStreamReader(System.in)); String str; String[] arrStr; try { loop: while (true) { str = br.readLine(); arrStr = str.split(" "); int a = Integer.parseInt(arrStr[0]); char op = arrStr[1].charAt(0); int b = Integer.parseInt(arrStr[2]); 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; case '?': break loop; } System.out.println(ans); } } catch (IOException e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 4, 18, 13, 17, 0, 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, 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 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 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 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 20, 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 ], [ 39, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 6, 96 ], [ 96, 97 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b;\n\t\tchar op;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\n\t\twhile(true) {\n\t\t\ta = stdIn.nextInt();\n\t\t\top = stdIn.next().charAt(0);\n\t\t\tb = stdIn.nextInt();\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\tcase '?':\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b;\n\t\tchar op;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\n\t\twhile(true) {\n\t\t\ta = stdIn.nextInt();\n\t\t\top = stdIn.next().charAt(0);\n\t\t\tb = stdIn.nextInt();\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\tcase '?':\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tint a,b;\n\t\tchar op;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\n\t\twhile(true) {\n\t\t\ta = stdIn.nextInt();\n\t\t\top = stdIn.next().charAt(0);\n\t\t\tb = stdIn.nextInt();\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\tcase '?':\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t}", "main", "{\n\n\t\tint a,b;\n\t\tchar op;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\n\t\twhile(true) {\n\t\t\ta = stdIn.nextInt();\n\t\t\top = stdIn.next().charAt(0);\n\t\t\tb = stdIn.nextInt();\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\tcase '?':\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\n\t}", "int a", "a", "b;", "b", "char op;", "op", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "while(true) {\n\t\t\ta = stdIn.nextInt();\n\t\t\top = stdIn.next().charAt(0);\n\t\t\tb = stdIn.nextInt();\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\tcase '?':\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "true", "{\n\t\t\ta = stdIn.nextInt();\n\t\t\top = stdIn.next().charAt(0);\n\t\t\tb = stdIn.nextInt();\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\tcase '?':\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "a = stdIn.nextInt()", "a", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "op = stdIn.next().charAt(0)", "op", "stdIn.next().charAt(0)", "stdIn.next().charAt", "stdIn.next()", "stdIn.next", "stdIn", "0", "b = stdIn.nextInt()", "b", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "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\tcase '?':\n\t\t\t\tSystem.exit(0);\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;", "case '?':", "'?'", "case '?':", "System.exit(0)", "System.exit", "System", "0", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { int a,b; char op; Scanner stdIn = new Scanner(System.in); while(true) { a = stdIn.nextInt(); op = stdIn.next().charAt(0); b = stdIn.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 '?': System.exit(0); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 42, 40, 4, 18, 0, 13, 4, 18, 13, 17, 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, 14, 4, 18, 13, 17, 30, 3, 41, 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, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 22, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 30, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 30, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 30, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 30, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 30, 65 ], [ 65, 66 ], [ 65, 67 ], [ 30, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 68, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 79, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 79, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 90, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 30, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 12, 118 ], [ 118, 119 ] ]
[ "//Simple Calculator\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\twhile (!(input = in.readLine()).equals(\"0 ? 0\")) {\n\t\t\tString[] aOpb = input.split(\" \");\n\t\t\t// String[] aOpb = \"1 ? 2\".split(\" \");\n\t\t\tint a = Integer.parseInt(aOpb[0]);\n\t\t\tString op = aOpb[1];\n\t\t\tint b = Integer.parseInt(aOpb[2]);\n\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = 0;\n\n\t\t\tif (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}\n\t\t\tSystem.out.println(ans);\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", "class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\twhile (!(input = in.readLine()).equals(\"0 ? 0\")) {\n\t\t\tString[] aOpb = input.split(\" \");\n\t\t\t// String[] aOpb = \"1 ? 2\".split(\" \");\n\t\t\tint a = Integer.parseInt(aOpb[0]);\n\t\t\tString op = aOpb[1];\n\t\t\tint b = Integer.parseInt(aOpb[2]);\n\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = 0;\n\n\t\t\tif (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}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\twhile (!(input = in.readLine()).equals(\"0 ? 0\")) {\n\t\t\tString[] aOpb = input.split(\" \");\n\t\t\t// String[] aOpb = \"1 ? 2\".split(\" \");\n\t\t\tint a = Integer.parseInt(aOpb[0]);\n\t\t\tString op = aOpb[1];\n\t\t\tint b = Integer.parseInt(aOpb[2]);\n\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = 0;\n\n\t\t\tif (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}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t}", "main", "{\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\twhile (!(input = in.readLine()).equals(\"0 ? 0\")) {\n\t\t\tString[] aOpb = input.split(\" \");\n\t\t\t// String[] aOpb = \"1 ? 2\".split(\" \");\n\t\t\tint a = Integer.parseInt(aOpb[0]);\n\t\t\tString op = aOpb[1];\n\t\t\tint b = Integer.parseInt(aOpb[2]);\n\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = 0;\n\n\t\t\tif (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}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "String input;", "input", "while (!(input = in.readLine()).equals(\"0 ? 0\")) {\n\t\t\tString[] aOpb = input.split(\" \");\n\t\t\t// String[] aOpb = \"1 ? 2\".split(\" \");\n\t\t\tint a = Integer.parseInt(aOpb[0]);\n\t\t\tString op = aOpb[1];\n\t\t\tint b = Integer.parseInt(aOpb[2]);\n\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = 0;\n\n\t\t\tif (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}\n\t\t\tSystem.out.println(ans);\n\t\t}", "!(input = in.readLine()).equals(\"0 ? 0\")", "(input = in.readLine()).equals(\"0 ? 0\")", "(input = in.readLine()).equals", "(input = in.readLine())", "input", "in.readLine()", "in.readLine", "in", "\"0 ? 0\"", "{\n\t\t\tString[] aOpb = input.split(\" \");\n\t\t\t// String[] aOpb = \"1 ? 2\".split(\" \");\n\t\t\tint a = Integer.parseInt(aOpb[0]);\n\t\t\tString op = aOpb[1];\n\t\t\tint b = Integer.parseInt(aOpb[2]);\n\n\t\t\tif (op.equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint ans = 0;\n\n\t\t\tif (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}\n\t\t\tSystem.out.println(ans);\n\t\t}", "String[] aOpb = input.split(\" \");", "aOpb", "input.split(\" \")", "input.split", "input", "\" \"", "int a = Integer.parseInt(aOpb[0]);", "a", "Integer.parseInt(aOpb[0])", "Integer.parseInt", "Integer", "aOpb[0]", "aOpb", "0", "String op = aOpb[1];", "op", "aOpb[1]", "aOpb", "1", "int b = Integer.parseInt(aOpb[2]);", "b", "Integer.parseInt(aOpb[2])", "Integer.parseInt", "Integer", "aOpb[2]", "aOpb", "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", "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}", "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}", "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}", "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}", "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" ]
//Simple Calculator import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String input; while (!(input = in.readLine()).equals("0 ? 0")) { String[] aOpb = input.split(" "); // String[] aOpb = "1 ? 2".split(" "); int a = Integer.parseInt(aOpb[0]); String op = aOpb[1]; int b = Integer.parseInt(aOpb[2]); if (op.equals("?")) { break; } int ans = 0; 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, 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, 14, 4, 18, 18, 13, 17, 17, 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 ], [ 121, 11 ], [ 121, 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 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 109, 116 ], [ 116, 117 ], [ 12, 118 ], [ 118, 119 ], [ 0, 120 ], [ 120, 121 ], [ 120, 122 ] ]
[ "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\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputNum[0]);\n\t\t\tint b = Integer.parseInt(inputNum[2]);\n\n\t\t\tif (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\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) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputNum[0]);\n\t\t\tint b = Integer.parseInt(inputNum[2]);\n\n\t\t\tif (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\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\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputNum[0]);\n\t\t\tint b = Integer.parseInt(inputNum[2]);\n\n\t\t\tif (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputNum[0]);\n\t\t\tint b = Integer.parseInt(inputNum[2]);\n\n\t\t\tif (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputNum[0]);\n\t\t\tint b = Integer.parseInt(inputNum[2]);\n\n\t\t\tif (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputNum[0]);\n\t\t\tint b = Integer.parseInt(inputNum[2]);\n\n\t\t\tif (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "String[] inputNum = br.readLine().split(\" \");", "inputNum", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(inputNum[0]);", "a", "Integer.parseInt(inputNum[0])", "Integer.parseInt", "Integer", "inputNum[0]", "inputNum", "0", "int b = Integer.parseInt(inputNum[2]);", "b", "Integer.parseInt(inputNum[2])", "Integer.parseInt", "Integer", "inputNum[2]", "inputNum", "2", "if (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "inputNum[1].equals(\"+\")", "inputNum[1].equals", "inputNum[1]", "inputNum", "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 (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "inputNum[1].equals(\"-\")", "inputNum[1].equals", "inputNum[1]", "inputNum", "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 (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "inputNum[1].equals(\"*\")", "inputNum[1].equals", "inputNum[1]", "inputNum", "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 (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "inputNum[1].equals(\"/\")", "inputNum[1].equals", "inputNum[1]", "inputNum", "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 (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}", "inputNum[1].equals(\"?\")", "inputNum[1].equals", "inputNum[1]", "inputNum", "1", "\"?\"", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "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\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputNum[0]);\n\t\t\tint b = Integer.parseInt(inputNum[2]);\n\n\t\t\tif (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\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\n\t\twhile (true) {\n\t\t\tString[] inputNum = br.readLine().split(\" \");\n\n\t\t\tint a = Integer.parseInt(inputNum[0]);\n\t\t\tint b = Integer.parseInt(inputNum[2]);\n\n\t\t\tif (inputNum[1].equals(\"+\")) {\n\t\t\t\tSystem.out.println(a + b);\n\t\t\t}else if (inputNum[1].equals(\"-\")) {\n\t\t\t\tSystem.out.println(a - b);\n\t\t\t}else if (inputNum[1].equals(\"*\")) {\n\t\t\t\tSystem.out.println(a * b);\n\t\t\t}else if (inputNum[1].equals(\"/\")) {\n\t\t\t\tSystem.out.println(a / b);\n\t\t\t}else if (inputNum[1].equals(\"?\")) {\n\t\t\t\tbreak;\n\t\t\t}\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) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String[] inputNum = br.readLine().split(" "); int a = Integer.parseInt(inputNum[0]); int b = Integer.parseInt(inputNum[2]); if (inputNum[1].equals("+")) { System.out.println(a + b); }else if (inputNum[1].equals("-")) { System.out.println(a - b); }else if (inputNum[1].equals("*")) { System.out.println(a * b); }else if (inputNum[1].equals("/")) { System.out.println(a / b); }else if (inputNum[1].equals("?")) { break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 17, 30, 41, 13, 20, 41, 13, 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, 41, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 13, 17, 30, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 4, 18, 13, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 4, 18, 13, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 4, 18, 13, 17, 2, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 4, 18, 13, 17, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 168, 14 ], [ 168, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 30, 31 ], [ 31, 32 ], [ 21, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 18, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 51, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 51, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 51, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 51, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 79, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 79, 89 ], [ 89, 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 ], [ 102, 103 ], [ 101, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 90, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 108, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 119, 123 ], [ 123, 124 ], [ 123, 125 ], [ 108, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 126, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 137, 141 ], [ 141, 142 ], [ 141, 143 ], [ 126, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 144, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 155, 159 ], [ 159, 160 ], [ 159, 161 ], [ 37, 162 ], [ 162, 163 ], [ 163, 164 ], [ 15, 165 ], [ 165, 166 ], [ 0, 167 ], [ 167, 168 ], [ 167, 169 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\nimport static java.lang.Math.PI;\n\npublic class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "import static java.lang.Math.PI;", "import static java.lang.Math.PI;", "import static java.lang.Math.PI;", "public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}", "Main", "public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }", "main", "{\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }", "try {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}", "catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}", "Exception e", "{\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}", "System.out.println(Arrays.toString(e.getStackTrace()))", "System.out.println", "System.out", "System", "System.out", "Arrays.toString(e.getStackTrace())", "Arrays.toString", "Arrays", "e.getStackTrace()", "e.getStackTrace", "e", "System.exit(0)", "System.exit", "System", "0", "{\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }\n\t stdReader.close();\n\t}", "BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));", "stdReader", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }", "(line = stdReader.readLine()) != null", "(line = stdReader.readLine())", "line", "stdReader.readLine()", "stdReader.readLine", "stdReader", "null", "{\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }", "String[] splits = line.split(\" \");", "splits", "line.split(\" \")", "line.split", "line", "\" \"", "Integer a = Integer.parseInt(splits[0]);", "a", "Integer.parseInt(splits[0])", "Integer.parseInt", "Integer", "splits[0]", "splits", "0", "Integer b = Integer.parseInt(splits[2]);", "b", "Integer.parseInt(splits[2])", "Integer.parseInt", "Integer", "splits[2]", "splits", "2", "String op = splits[1];", "op", "splits[1]", "splits", "1", "if (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "{\n\t\t System.exit(0);\n\t\t}", "System.exit(0)", "System.exit", "System", "0", "{\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}", "if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }", "op.equals(\"+\")", "op.equals", "op", "\"+\"", "{\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t }", "System.out.println( String.format(\"%d\", a + b) )", "System.out.println", "System.out", "System", "System.out", "String.format(\"%d\", a + b)", "String.format", "String", "\"%d\"", "a + b", "a", "b", "if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }", "op.equals(\"-\")", "op.equals", "op", "\"-\"", "{\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t }", "System.out.println( String.format(\"%d\", a - b) )", "System.out.println", "System.out", "System", "System.out", "String.format(\"%d\", a - b)", "String.format", "String", "\"%d\"", "a - b", "a", "b", "if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }", "op.equals(\"*\")", "op.equals", "op", "\"*\"", "{\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t }", "System.out.println( String.format(\"%d\", a * b) )", "System.out.println", "System.out", "System", "System.out", "String.format(\"%d\", a * b)", "String.format", "String", "\"%d\"", "a * b", "a", "b", "if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }", "op.equals(\"/\")", "op.equals", "op", "\"/\"", "{\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }", "System.out.println( String.format(\"%d\", a / b) )", "System.out.println", "System.out", "System", "System.out", "String.format(\"%d\", a / b)", "String.format", "String", "\"%d\"", "a / b", "a", "b", "stdReader.close()", "stdReader.close", "stdReader", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}", "public class Main{\n public static void main(String[] args) {\n\ttry {\n\t BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n\t String line;\n\t while ((line = stdReader.readLine()) != null) {\n\t\tString[] splits = line.split(\" \");\n\t\tInteger a = Integer.parseInt(splits[0]);\n\t\tInteger b = Integer.parseInt(splits[2]);\n\t\tString op = splits[1];\n\t\tif (op.equals(\"?\")) {\n\t\t System.exit(0);\n\t\t} else {\n\t\t if (op.equals(\"+\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a + b) );\n\t\t } else if (op.equals(\"-\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a - b) );\n\t\t } else if (op.equals(\"*\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a * b) );\n\t\t } else if (op.equals(\"/\")) {\n\t\t\tSystem.out.println( String.format(\"%d\", a / b) );\n\t\t }\n\t\t}\n\t }\n\t stdReader.close();\n\t} catch (Exception e) {\n\t System.out.println(Arrays.toString(e.getStackTrace()));\n\t System.exit(0);\n\t}\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Arrays; import static java.lang.Math.PI; public class Main{ public static void main(String[] args) { try { BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); String line; while ((line = stdReader.readLine()) != null) { String[] splits = line.split(" "); Integer a = Integer.parseInt(splits[0]); Integer b = Integer.parseInt(splits[2]); String op = splits[1]; if (op.equals("?")) { System.exit(0); } else { if (op.equals("+")) { System.out.println( String.format("%d", a + b) ); } else if (op.equals("-")) { System.out.println( String.format("%d", a - b) ); } else if (op.equals("*")) { System.out.println( String.format("%d", a * b) ); } else if (op.equals("/")) { System.out.println( String.format("%d", a / b) ); } } } stdReader.close(); } catch (Exception e) { System.out.println(Arrays.toString(e.getStackTrace())); System.exit(0); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 41, 13, 41, 13, 12, 13, 30, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 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, 14, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 9 ], [ 9, 10 ], [ 4, 11 ], [ 11, 12 ], [ 4, 13 ], [ 13, 14 ], [ 4, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 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 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 42, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 70, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 4, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 98, 104 ], [ 104, 105 ] ]
[ "import java.util.Scanner;\nclass Main{\n\t\n\tScanner sc = new Scanner(System.in);\n\tint a;\n\tString op;\n\tint b;\n\t\n\tvoid cp3(){\n\t\twhile(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\n\t\t\n\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}\n\t\t}\n\n\t\n\t}\n\t\t\n\t\tpublic static void main(String[]agrs){\n\t\t\tnew Main().cp3();\n\t\t}\n\t}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\t\n\tScanner sc = new Scanner(System.in);\n\tint a;\n\tString op;\n\tint b;\n\t\n\tvoid cp3(){\n\t\twhile(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\n\t\t\n\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}\n\t\t}\n\n\t\n\t}\n\t\t\n\t\tpublic static void main(String[]agrs){\n\t\t\tnew Main().cp3();\n\t\t}\n\t}", "Main", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a;", "a", "String op;", "op", "int b;", "b", "void cp3(){\n\t\twhile(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\n\t\t\n\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}\n\t\t}\n\n\t\n\t}", "cp3", "{\n\t\twhile(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\n\t\t\n\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}\n\t\t}\n\n\t\n\t}", "while(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\n\t\t\n\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}\n\t\t}", "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\n\t\t\n\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}\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;", "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}", "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}", "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}", "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", "public static void main(String[]agrs){\n\t\t\tnew Main().cp3();\n\t\t}", "main", "{\n\t\t\tnew Main().cp3();\n\t\t}", "new Main().cp3()", "new Main().cp3", "new Main()", "String[]agrs", "agrs" ]
import java.util.Scanner; class Main{ Scanner sc = new Scanner(System.in); int a; String op; int b; void cp3(){ while(true){ a = sc.nextInt(); op = sc.next(); 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 if ( op.equals("/")){ System.out.println(a/b); } } } public static void main(String[]agrs){ new Main().cp3(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 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, 13, 34, 17, 1, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 2, 13, 13, 3, 34, 17, 1, 4, 18, 13, 2, 13, 13, 3, 34, 1, 3, 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, 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, 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 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 223, 20 ], [ 223, 21 ], [ 21, 22 ], [ 223, 23 ], [ 23, 24 ], [ 223, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 40, 41 ], [ 41, 42 ], [ 25, 43 ], [ 43, 44 ], [ 223, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 52, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 52, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 82, 84 ], [ 78, 85 ], [ 74, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 92, 93 ], [ 92, 94 ], [ 88, 95 ], [ 74, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 102, 104 ], [ 98, 105 ], [ 74, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 112, 113 ], [ 112, 114 ], [ 108, 115 ], [ 74, 116 ], [ 116, 117 ], [ 117, 118 ], [ 223, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 119, 123 ], [ 123, 124 ], [ 119, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 125, 131 ], [ 131, 132 ], [ 119, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 136, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 135, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 153, 154 ], [ 154, 155 ], [ 119, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 159, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 158, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 176, 177 ], [ 177, 178 ], [ 119, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 182, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 181, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 119, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 202, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 201, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 216, 219 ], [ 219, 220 ], [ 220, 221 ], [ 0, 222 ], [ 222, 223 ], [ 222, 224 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }\n }\n}\n \n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\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.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }\n }\n}\n \n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "Main", "static InputReader in;", "in", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "main", "{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "in = new InputReader(System.in)", "in", "new InputReader(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "Solution solver = new Solution();", "solver", "new Solution()", "solver.solve()", "solver.solve", "solver", "out.close()", "out.close", "out", "String[] args", "args", "static class Solution {\n void solve() throws IOException {\n while (true) {\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }\n }\n}", "Solution", "void solve() throws IOException {\n while (true) {\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }\n }", "solve", "{\n while (true) {\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }\n }", "while (true) {\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }", "true", "{\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "String op = in.next();", "op", "in.next()", "in.next", "in", "int b = in.nextInt();", "b", "in.nextInt()", "in.nextInt", "in", "if (op.equals(\"?\")) break;", "op.equals(\"?\")", "op.equals", "op", "\"?\"", "break;", "switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }", "op", "case \"+\":", "\"+\"", "case \"+\":", "out.println(a+b)", "out.println", "out", "a+b", "a", "b", "break;", "case \"-\":", "\"-\"", "case \"-\":", "out.println(a-b)", "out.println", "out", "a-b", "a", "b", "break;", "case \"*\":", "\"*\"", "case \"*\":", "out.println(a*b)", "out.println", "out", "a*b", "a", "b", "break;", "case \"/\":", "\"/\"", "case \"/\":", "out.println(a/b)", "out.println", "out", "a/b", "a", "b", "break;", "default:", "default:", "break;", "static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }", "InputReader", "public BufferedReader br;", "br", "public StringTokenizer st;", "st", "public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }", "InputReader", "{\n br = new BufferedReader(new InputStreamReader(stream));\n }", "br = new BufferedReader(new InputStreamReader(stream))", "br", "new BufferedReader(new InputStreamReader(stream))", "InputStream stream", "stream", "public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "nextInt", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "nextLong", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Long.parseLong(st.nextToken());", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "nextDouble", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Double.parseDouble(st.nextToken());", "Double.parseDouble(st.nextToken())", "Double.parseDouble", "Double", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }\n }\n}\n \n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n \t int a = in.nextInt();\n \t String op = in.next();\n \t int b = in.nextInt();\n \t if (op.equals(\"?\")) break;\n \t \n \t switch (op) {\n \t \tcase \"+\":\n \t \t\tout.println(a+b);\n \t \t\tbreak;\n \t \tcase \"-\":\n \t \t\tout.println(a-b);\n \t \t\tbreak;\n \t \tcase \"*\":\n \t \t\tout.println(a*b);\n \t \t\tbreak;\n \t \tcase \"/\":\n \t \t\tout.println(a/b);\n \t \t\tbreak;\t\n \t default:\n \t \tbreak;\n \t }\n }\n }\n}\n \n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { static InputReader in; static PrintWriter out; static class Solution { void solve() throws IOException { while (true) { int a = in.nextInt(); String op = in.next(); int b = in.nextInt(); if (op.equals("?")) break; switch (op) { case "+": out.println(a+b); break; case "-": out.println(a-b); break; case "*": out.println(a*b); break; case "/": out.println(a/b); break; default: break; } } } } public static void main(String[] args) throws IOException { in = new InputReader(System.in); out = new PrintWriter(System.out); Solution solver = new Solution(); solver.solve(); out.close(); } static class InputReader { public BufferedReader br; public StringTokenizer st; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream)); } public int nextInt() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Integer.parseInt(st.nextToken()); } public long nextLong() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Long.parseLong(st.nextToken()); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } public double nextDouble() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Double.parseDouble(st.nextToken()); } } }