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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
38,
5,
13,
30,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
4,
18,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
30,
49
],
[
49,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tint i = 1;\n\t\ttry {\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tint i = 1;\n\t\ttry {\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException 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\tString line;\n\t\tint i = 1;\n\t\ttry {\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line;\n\t\tint i = 1;\n\t\ttry {\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"int i = 1;",
"i",
"1",
"try {\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t}",
"catch (IOException e) {\n\t\t}",
"IOException e",
"{\n\t\t}",
"{\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"while ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}",
"(line = reader.readLine()) != null",
"(line = reader.readLine())",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}",
"if (line.equals(\"0\"))\n\t\t\t\t\tbreak;",
"line.equals(\"0\")",
"line.equals",
"line",
"\"0\"",
"break;",
"System.out.println(\"Case \" + i + \": \" + line)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + line",
"\": \"",
"\"Case \" + i + \": \" + line",
"\"Case \"",
"i",
"\": \"",
"line",
"i++",
"i",
"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\tString line;\n\t\tint i = 1;\n\t\ttry {\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException 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\tString line;\n\t\tint i = 1;\n\t\ttry {\n\t\t\twhile ((line = reader.readLine()) != null) {\n\t\t\t\tif (line.equals(\"0\"))\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + line);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String line;
int i = 1;
try {
while ((line = reader.readLine()) != null) {
if (line.equals("0"))
break;
System.out.println("Case " + i + ": " + line);
i++;
}
} catch (IOException e) {
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
40,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
52,
8
],
[
52,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
9,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"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\tint x = 1;\n\t\tint i = 0;\n\n\t\t//xが0のとき、終了\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\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\tint x = 1;\n\t\tint i = 0;\n\n\t\t//xが0のとき、終了\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\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\tint x = 1;\n\t\tint i = 0;\n\n\t\t//xが0のとき、終了\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}",
"main",
"{\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = 1;\n\t\tint i = 0;\n\n\t\t//xが0のとき、終了\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = 1;",
"x",
"1",
"int i = 0;",
"i",
"0",
"while(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}",
"true",
"{\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"i++",
"i",
"if(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \" + i + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"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\tint x = 1;\n\t\tint i = 0;\n\n\t\t//xが0のとき、終了\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\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\tint x = 1;\n\t\tint i = 0;\n\n\t\t//xが0のとき、終了\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\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 x = 1;
int i = 0;
//xが0のとき、終了
while(true) {
x = sc.nextInt();
i++;
if(x == 0) {
break;
}
System.out.println("Case " + i + ": " + x);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
29,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
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,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
25,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
25,
49
],
[
49,
50
],
[
12,
51
],
[
51,
52
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String x;\n int i = 1;\n while(true){\n \tx = br.readLine();\n \tif (x.equals(\"0\"))\n \t\treturn;\n \tSystem.out.println(\"Case \" + i + \": \" + x);\n \ti++;\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String x;\n int i = 1;\n while(true){\n \tx = br.readLine();\n \tif (x.equals(\"0\"))\n \t\treturn;\n \tSystem.out.println(\"Case \" + i + \": \" + x);\n \ti++;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String x;\n int i = 1;\n while(true){\n \tx = br.readLine();\n \tif (x.equals(\"0\"))\n \t\treturn;\n \tSystem.out.println(\"Case \" + i + \": \" + x);\n \ti++;\n }\n }",
"main",
"{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String x;\n int i = 1;\n while(true){\n \tx = br.readLine();\n \tif (x.equals(\"0\"))\n \t\treturn;\n \tSystem.out.println(\"Case \" + i + \": \" + x);\n \ti++;\n }\n }",
"BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);",
"br",
"new BufferedReader(new InputStreamReader(System.in), 1)",
"String x;",
"x",
"int i = 1;",
"i",
"1",
"while(true){\n \tx = br.readLine();\n \tif (x.equals(\"0\"))\n \t\treturn;\n \tSystem.out.println(\"Case \" + i + \": \" + x);\n \ti++;\n }",
"true",
"{\n \tx = br.readLine();\n \tif (x.equals(\"0\"))\n \t\treturn;\n \tSystem.out.println(\"Case \" + i + \": \" + x);\n \ti++;\n }",
"x = br.readLine()",
"x",
"br.readLine()",
"br.readLine",
"br",
"if (x.equals(\"0\"))\n \t\treturn;",
"x.equals(\"0\")",
"x.equals",
"x",
"\"0\"",
"return;",
"System.out.println(\"Case \" + i + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"i++",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in), 1);
String x;
int i = 1;
while(true){
x = br.readLine();
if (x.equals("0"))
return;
System.out.println("Case " + i + ": " + x);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
0,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
13,
13,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
20,
21
],
[
14,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
34,
40
],
[
34,
41
],
[
29,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"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\tint i;\n\t\tfor (i = 1;; i++) {\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i;\n\t\tfor (i = 1;; i++) {\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i;\n\t\tfor (i = 1;; i++) {\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i;\n\t\tfor (i = 1;; i++) {\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i;",
"i",
"for (i = 1;; i++) {\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}",
"i = 1;",
"i = 1",
"i",
"1",
"i++",
"i++",
"i",
"{\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}",
"{\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}",
"x != 0",
"x",
"0",
"{\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t}",
"System.out.printf(\"Case %d: %d\\n\", i, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"i",
"x",
"{\n\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"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\tint i;\n\t\tfor (i = 1;; i++) {\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\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\tint i;\n\t\tfor (i = 1;; i++) {\n\n\t\t\tint x = sc.nextInt();\n\n\t\t\tif (x != 0) {\n\t\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n\t\t\t} else {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i;
for (i = 1;; i++) {
int x = sc.nextInt();
if (x != 0) {
System.out.printf("Case %d: %d\n", i, x);
} else {
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
13,
0,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
37,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
34,
42
],
[
37,
43
],
[
17,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arg){\n\n\t\t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//Caseナンバーを指定するための前準備\n\t\tint i = 1;\n\n\t\t/*while(true)で無限ループをセット\n\t\t *int x = scan.nextInt(); xに値を入れてる\n\t\t *そして一回ずつ表示させ0の時にbreakさせてる。\n\t\t */\n\t\twhile(true){\n\t\tint x = scan.nextInt();\n\t\tif ( x == 0 ) break;\n\n\t\t//最後は表示させる。あとCaseナンバーの加算をしてます。\n\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\ti = i+1;\n\t\t}\n\n\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] arg){\n\n\t\t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//Caseナンバーを指定するための前準備\n\t\tint i = 1;\n\n\t\t/*while(true)で無限ループをセット\n\t\t *int x = scan.nextInt(); xに値を入れてる\n\t\t *そして一回ずつ表示させ0の時にbreakさせてる。\n\t\t */\n\t\twhile(true){\n\t\tint x = scan.nextInt();\n\t\tif ( x == 0 ) break;\n\n\t\t//最後は表示させる。あとCaseナンバーの加算をしてます。\n\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\ti = i+1;\n\t\t}\n\n\n\n\t}\n}",
"Main",
"public static void main(String[] arg){\n\n\t\t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//Caseナンバーを指定するための前準備\n\t\tint i = 1;\n\n\t\t/*while(true)で無限ループをセット\n\t\t *int x = scan.nextInt(); xに値を入れてる\n\t\t *そして一回ずつ表示させ0の時にbreakさせてる。\n\t\t */\n\t\twhile(true){\n\t\tint x = scan.nextInt();\n\t\tif ( x == 0 ) break;\n\n\t\t//最後は表示させる。あとCaseナンバーの加算をしてます。\n\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\ti = i+1;\n\t\t}\n\n\n\n\t}",
"main",
"{\n\n\t\t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//Caseナンバーを指定するための前準備\n\t\tint i = 1;\n\n\t\t/*while(true)で無限ループをセット\n\t\t *int x = scan.nextInt(); xに値を入れてる\n\t\t *そして一回ずつ表示させ0の時にbreakさせてる。\n\t\t */\n\t\twhile(true){\n\t\tint x = scan.nextInt();\n\t\tif ( x == 0 ) break;\n\n\t\t//最後は表示させる。あとCaseナンバーの加算をしてます。\n\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\ti = i+1;\n\t\t}\n\n\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(true){\n\t\tint x = scan.nextInt();\n\t\tif ( x == 0 ) break;\n\n\t\t//最後は表示させる。あとCaseナンバーの加算をしてます。\n\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\ti = i+1;\n\t\t}",
"true",
"{\n\t\tint x = scan.nextInt();\n\t\tif ( x == 0 ) break;\n\n\t\t//最後は表示させる。あとCaseナンバーの加算をしてます。\n\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\ti = i+1;\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if ( x == 0 ) break;",
"x == 0",
"x",
"0",
"break;",
"System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\" + \" \" + i + \":\" + \" \" + x",
"\" \"",
"\":\"",
"i",
"\"Case\" + \" \" + i + \":\" + \" \" + x",
"\"Case\"",
"\" \"",
"i",
"\":\"",
"\" \"",
"x",
"i = i+1",
"i",
"i+1",
"i",
"1",
"String[] arg",
"arg",
"public class Main {\n\tpublic static void main(String[] arg){\n\n\t\t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//Caseナンバーを指定するための前準備\n\t\tint i = 1;\n\n\t\t/*while(true)で無限ループをセット\n\t\t *int x = scan.nextInt(); xに値を入れてる\n\t\t *そして一回ずつ表示させ0の時にbreakさせてる。\n\t\t */\n\t\twhile(true){\n\t\tint x = scan.nextInt();\n\t\tif ( x == 0 ) break;\n\n\t\t//最後は表示させる。あとCaseナンバーの加算をしてます。\n\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\ti = i+1;\n\t\t}\n\n\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] arg){\n\n\t\t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//Caseナンバーを指定するための前準備\n\t\tint i = 1;\n\n\t\t/*while(true)で無限ループをセット\n\t\t *int x = scan.nextInt(); xに値を入れてる\n\t\t *そして一回ずつ表示させ0の時にbreakさせてる。\n\t\t */\n\t\twhile(true){\n\t\tint x = scan.nextInt();\n\t\tif ( x == 0 ) break;\n\n\t\t//最後は表示させる。あとCaseナンバーの加算をしてます。\n\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\ti = i+1;\n\t\t}\n\n\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] arg){
/*Scanner = テキスト入力を扱うためのクラス
*キーボードからの入力を受けつける場合は
*System.inを使って下記のように記述
*/
Scanner scan = new Scanner(System.in);
//Caseナンバーを指定するための前準備
int i = 1;
/*while(true)で無限ループをセット
*int x = scan.nextInt(); xに値を入れてる
*そして一回ずつ表示させ0の時にbreakさせてる。
*/
while(true){
int x = scan.nextInt();
if ( x == 0 ) break;
//最後は表示させる。あとCaseナンバーの加算をしてます。
System.out.println("Case" + " " + i + ":" + " " + x);
i = i+1;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
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
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
22,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint count = 1,x=1;\n\t\twhile(x>0){\n\t\t\tx = scanner.nextInt();\n\t\t\tif(x==0){break;}\n\t\t\tSystem.out.println(\"Case \"+count+ \": \"+x);\n\t\t\tcount++;\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint count = 1,x=1;\n\t\twhile(x>0){\n\t\t\tx = scanner.nextInt();\n\t\t\tif(x==0){break;}\n\t\t\tSystem.out.println(\"Case \"+count+ \": \"+x);\n\t\t\tcount++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint count = 1,x=1;\n\t\twhile(x>0){\n\t\t\tx = scanner.nextInt();\n\t\t\tif(x==0){break;}\n\t\t\tSystem.out.println(\"Case \"+count+ \": \"+x);\n\t\t\tcount++;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint count = 1,x=1;\n\t\twhile(x>0){\n\t\t\tx = scanner.nextInt();\n\t\t\tif(x==0){break;}\n\t\t\tSystem.out.println(\"Case \"+count+ \": \"+x);\n\t\t\tcount++;\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int count = 1",
"count",
"1",
"x=1;",
"x",
"1",
"while(x>0){\n\t\t\tx = scanner.nextInt();\n\t\t\tif(x==0){break;}\n\t\t\tSystem.out.println(\"Case \"+count+ \": \"+x);\n\t\t\tcount++;\n\t\t}",
"x>0",
"x",
"0",
"{\n\t\t\tx = scanner.nextInt();\n\t\t\tif(x==0){break;}\n\t\t\tSystem.out.println(\"Case \"+count+ \": \"+x);\n\t\t\tcount++;\n\t\t}",
"x = scanner.nextInt()",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(x==0){break;}",
"x==0",
"x",
"0",
"{break;}",
"break;",
"System.out.println(\"Case \"+count+ \": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+count+ \": \"+x",
"\": \"",
"\"Case \"+count+ \": \"+x",
"\"Case \"",
"count",
"\": \"",
"x",
"count++",
"count",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
int count = 1,x=1;
while(x>0){
x = scanner.nextInt();
if(x==0){break;}
System.out.println("Case "+count+ ": "+x);
count++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
42,
17,
30,
40,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
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
],
[
17,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
38,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint i = 0;\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\ti++;\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + a);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint i = 0;\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\ti++;\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + a);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint i = 0;\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\ti++;\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + a);\n\t\t}\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tint i = 0;\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\ti++;\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + a);\n\t\t}\n\t\tscan.close();\n\t}",
"int i = 0;",
"i",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true) {\n\t\t\ti++;\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + a);\n\t\t}",
"true",
"{\n\t\t\ti++;\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + a);\n\t\t}",
"i++",
"i",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"a == 0",
"a",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \" + i + \": \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + a",
"\": \"",
"\"Case \" + i + \": \" + a",
"\"Case \"",
"i",
"\": \"",
"a",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint i = 0;\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\ti++;\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + a);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint i = 0;\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\ti++;\n\t\t\tint a = scan.nextInt();\n\t\t\tif(a == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + a);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int i = 0;
Scanner scan = new Scanner(System.in);;
while(true) {
i++;
int a = scan.nextInt();
if(a == 0) {
break;
}
System.out.println("Case " + i + ": " + a);
}
scan.close();
}
}
|
[
7,
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,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
30,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
4,
18,
13,
40,
13,
17,
4,
18,
13,
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
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
26
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
31,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
51,
64
],
[
49,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
47,
69
],
[
19,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\ttry{\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tStringBuilder sb = new StringBuilder();\n \t\t\tint i=1;\n \t\t\twhile(true){\n \t\t\t\tint data = Integer.parseInt(br.readLine());\n \t\t\t\tif(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}\n \t\t\t}\n \t\t\tSystem.out.print(sb);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\ttry{\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tStringBuilder sb = new StringBuilder();\n \t\t\tint i=1;\n \t\t\twhile(true){\n \t\t\t\tint data = Integer.parseInt(br.readLine());\n \t\t\t\tif(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}\n \t\t\t}\n \t\t\tSystem.out.print(sb);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\ttry{\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tStringBuilder sb = new StringBuilder();\n \t\t\tint i=1;\n \t\t\twhile(true){\n \t\t\t\tint data = Integer.parseInt(br.readLine());\n \t\t\t\tif(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}\n \t\t\t}\n \t\t\tSystem.out.print(sb);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"main",
"{\n\t\ttry{\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tStringBuilder sb = new StringBuilder();\n \t\t\tint i=1;\n \t\t\twhile(true){\n \t\t\t\tint data = Integer.parseInt(br.readLine());\n \t\t\t\tif(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}\n \t\t\t}\n \t\t\tSystem.out.print(sb);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"try{\n \t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tStringBuilder sb = new StringBuilder();\n \t\t\tint i=1;\n \t\t\twhile(true){\n \t\t\t\tint data = Integer.parseInt(br.readLine());\n \t\t\t\tif(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}\n \t\t\t}\n \t\t\tSystem.out.print(sb);\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch(Exception e){\n\t\t\tSystem.out.println(e);\n\t\t}",
"Exception 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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \t\t\tStringBuilder sb = new StringBuilder();\n \t\t\tint i=1;\n \t\t\twhile(true){\n \t\t\t\tint data = Integer.parseInt(br.readLine());\n \t\t\t\tif(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}\n \t\t\t}\n \t\t\tSystem.out.print(sb);\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int i=1;",
"i",
"1",
"while(true){\n \t\t\t\tint data = Integer.parseInt(br.readLine());\n \t\t\t\tif(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}\n \t\t\t}",
"true",
"{\n \t\t\t\tint data = Integer.parseInt(br.readLine());\n \t\t\t\tif(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}\n \t\t\t}",
"int data = Integer.parseInt(br.readLine());",
"data",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(data == 0){\n \t\t\t\t\tbreak;\n \t\t\t\t}\n \t\t\t\telse{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}",
"data == 0",
"data",
"0",
"{\n \t\t\t\t\tbreak;\n \t\t\t\t}",
"break;",
"{\n \t\t\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n \t\t\t\t}",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\")",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data))",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \")",
"sb.append(\"Case \").append(Integer.toString(i++)).append",
"sb.append(\"Case \").append(Integer.toString(i++))",
"sb.append(\"Case \").append",
"sb.append(\"Case \")",
"sb.append",
"sb",
"\"Case \"",
"Integer.toString(i++)",
"Integer.toString",
"Integer",
"i++",
"i",
"\": \"",
"Integer.toString(data)",
"Integer.toString",
"Integer",
"data",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int i=1;
while(true){
int data = Integer.parseInt(br.readLine());
if(data == 0){
break;
}
else{
sb.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data)).append("\n");
}
}
System.out.print(sb);
}
catch(Exception e){
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
0,
13,
20,
17,
41,
13,
17,
41,
13,
42,
17,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
3,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
2,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
28,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
58,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
67,
68
],
[
67,
69
],
[
9,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x;\n\t\tx = new int[100000];\n\t\tint i=0,j;\n\t\twhile(true)\n\t\t{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i]==0)break;\n\t\t\ti++;\n\t\t}\n\t\tfor(j=0;j<i;j++)\n\t\t{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x;\n\t\tx = new int[100000];\n\t\tint i=0,j;\n\t\twhile(true)\n\t\t{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i]==0)break;\n\t\t\ti++;\n\t\t}\n\t\tfor(j=0;j<i;j++)\n\t\t{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x;\n\t\tx = new int[100000];\n\t\tint i=0,j;\n\t\twhile(true)\n\t\t{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i]==0)break;\n\t\t\ti++;\n\t\t}\n\t\tfor(j=0;j<i;j++)\n\t\t{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x;\n\t\tx = new int[100000];\n\t\tint i=0,j;\n\t\twhile(true)\n\t\t{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i]==0)break;\n\t\t\ti++;\n\t\t}\n\t\tfor(j=0;j<i;j++)\n\t\t{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x;",
"x",
"x = new int[100000]",
"x",
"new int[100000]",
"100000",
"int i=0",
"i",
"0",
"j;",
"j",
"while(true)\n\t\t{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i]==0)break;\n\t\t\ti++;\n\t\t}",
"true",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i]==0)break;\n\t\t\ti++;\n\t\t}",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x[i]==0)break;",
"x[i]==0",
"x[i]",
"x",
"i",
"0",
"break;",
"i++",
"i",
"for(j=0;j<i;j++)\n\t\t{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}",
"j=0;",
"j=0",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}",
"System.out.printf(\"Case %d: %d\\n\",j+1,x[j])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"j+1",
"j",
"1",
"x[j]",
"x",
"j",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x;\n\t\tx = new int[100000];\n\t\tint i=0,j;\n\t\twhile(true)\n\t\t{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i]==0)break;\n\t\t\ti++;\n\t\t}\n\t\tfor(j=0;j<i;j++)\n\t\t{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x;\n\t\tx = new int[100000];\n\t\tint i=0,j;\n\t\twhile(true)\n\t\t{\n\t\t\tx[i] = sc.nextInt();\n\t\t\tif(x[i]==0)break;\n\t\t\ti++;\n\t\t}\n\t\tfor(j=0;j<i;j++)\n\t\t{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",j+1,x[j]);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int[] x;
x = new int[100000];
int i=0,j;
while(true)
{
x[i] = sc.nextInt();
if(x[i]==0)break;
i++;
}
for(j=0;j<i;j++)
{
System.out.printf("Case %d: %d\n",j+1,x[j]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
17,
0,
13,
4,
18,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
15,
30
],
[
30,
31
],
[
31,
32
],
[
15,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
42,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.io.*;\npublic class Main{\n\tpublic static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;0!=(t=Integer.parseInt(br.readLine()));i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;0!=(t=Integer.parseInt(br.readLine()));i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}}",
"Main",
"public static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;0!=(t=Integer.parseInt(br.readLine()));i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;0!=(t=Integer.parseInt(br.readLine()));i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int t=0;",
"t",
"0",
"for(int i=1;0!=(t=Integer.parseInt(br.readLine()));i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"0!=(t=Integer.parseInt(br.readLine()))",
"0",
"(t=Integer.parseInt(br.readLine()))",
"t",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}",
"System.out.println(\"Case \"+i+\": \"+t)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+t",
"\": \"",
"\"Case \"+i+\": \"+t",
"\"Case \"",
"i",
"\": \"",
"t",
"String [] args",
"args",
"public class Main{\n\tpublic static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;0!=(t=Integer.parseInt(br.readLine()));i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}}",
"public class Main{\n\tpublic static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;0!=(t=Integer.parseInt(br.readLine()));i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String [] args) throws NumberFormatException, IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int t=0;
for(int i=1;0!=(t=Integer.parseInt(br.readLine()));i++){
System.out.println("Case "+i+": "+t);
}}} |
[
7,
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,
14,
2,
13,
17,
30,
4,
18,
13,
13,
30,
3,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
75,
8
],
[
75,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
26,
35
],
[
35,
36
],
[
11,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
59,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
11,
69
],
[
69,
70
],
[
70,
71
],
[
9,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tint num = sc.nextInt();\n\t\t\tif(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList.size();i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tint num = sc.nextInt();\n\t\t\tif(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList.size();i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tint num = sc.nextInt();\n\t\t\tif(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList.size();i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tint num = sc.nextInt();\n\t\t\tif(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList.size();i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> numList = new ArrayList<Integer>();",
"numList",
"new ArrayList<Integer>()",
"while (true) {\n\t\t\tint num = sc.nextInt();\n\t\t\tif(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint num = sc.nextInt();\n\t\t\tif(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}",
"num != 0",
"num",
"0",
"{\n\t\t\t\tnumList.add(num);\n\t\t\t}",
"numList.add(num)",
"numList.add",
"numList",
"num",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 0;i < numList.size();i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numList.size()",
"i",
"numList.size()",
"numList.size",
"numList",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}",
"System.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + numList.get(i)",
"\": \"",
"\"Case \" + (i + 1) + \": \" + numList.get(i)",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"numList.get(i)",
"numList.get",
"numList",
"i",
"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\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tint num = sc.nextInt();\n\t\t\tif(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList.size();i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tint num = sc.nextInt();\n\t\t\tif(num != 0) {\n\t\t\t\tnumList.add(num);\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList.size();i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}\n\t\tsc.close();\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<Integer> numList = new ArrayList<Integer>();
while (true) {
int num = sc.nextInt();
if(num != 0) {
numList.add(num);
} else {
break;
}
}
for(int i = 0;i < numList.size();i++) {
System.out.println("Case " + (i + 1) + ": " + numList.get(i));
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
41,
13,
4,
18,
13,
2,
13,
17,
1,
40,
13,
0,
13,
4,
18,
13,
30,
30,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
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
],
[
56,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
22,
32
],
[
32,
33
],
[
32,
34
],
[
22,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
22,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
45,
51
],
[
45,
52
],
[
19,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"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 for (int i = 1, x = in.nextInt(); \n x != 0; \n i++, x = in.nextInt()) {\n System.out.printf(\"Case %d: %d\\n\", i, x);\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 for (int i = 1, x = in.nextInt(); \n x != 0; \n i++, x = in.nextInt()) {\n System.out.printf(\"Case %d: %d\\n\", i, x);\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 for (int i = 1, x = in.nextInt(); \n x != 0; \n i++, x = in.nextInt()) {\n System.out.printf(\"Case %d: %d\\n\", i, x);\n }\n }",
"solve",
"{\n for (int i = 1, x = in.nextInt(); \n x != 0; \n i++, x = in.nextInt()) {\n System.out.printf(\"Case %d: %d\\n\", i, x);\n }\n }",
"for (int i = 1, x = in.nextInt(); \n x != 0; \n i++, x = in.nextInt()) {\n System.out.printf(\"Case %d: %d\\n\", i, x);\n }",
"int i = 1, x = in.nextInt();",
"int i = 1",
"i",
"1",
"x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"x != 0",
"x",
"0",
"i++, x = in.nextInt()",
"i++",
"i",
"x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"{\n System.out.printf(\"Case %d: %d\\n\", i, x);\n }",
"{\n System.out.printf(\"Case %d: %d\\n\", i, x);\n }",
"System.out.printf(\"Case %d: %d\\n\", i, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"i",
"x",
"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 for (int i = 1, x = in.nextInt(); \n x != 0; \n i++, x = in.nextInt()) {\n System.out.printf(\"Case %d: %d\\n\", i, x);\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 for (int i = 1, x = in.nextInt(); \n x != 0; \n i++, x = in.nextInt()) {\n System.out.printf(\"Case %d: %d\\n\", i, x);\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) {
for (int i = 1, x = in.nextInt();
x != 0;
i++, x = in.nextInt()) {
System.out.printf("Case %d: %d\n", i, x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
20,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
4,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
84,
8
],
[
84,
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
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
30,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
71,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
63,
79
],
[
79,
80
],
[
9,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> num = new ArrayList<>();\n int x = 0;\n int a = 1;\n int data;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n\n data = Integer.parseInt(br.readLine());\n if (data == 0) {\n break;\n }\n num.add(data);\n\n } while (data != 0);\n\n \n for (int i = 0; i < num.size(); i++) {\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> num = new ArrayList<>();\n int x = 0;\n int a = 1;\n int data;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n\n data = Integer.parseInt(br.readLine());\n if (data == 0) {\n break;\n }\n num.add(data);\n\n } while (data != 0);\n\n \n for (int i = 0; i < num.size(); i++) {\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> num = new ArrayList<>();\n int x = 0;\n int a = 1;\n int data;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n\n data = Integer.parseInt(br.readLine());\n if (data == 0) {\n break;\n }\n num.add(data);\n\n } while (data != 0);\n\n \n for (int i = 0; i < num.size(); i++) {\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }\n }",
"main",
"{\n\n ArrayList<Integer> num = new ArrayList<>();\n int x = 0;\n int a = 1;\n int data;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n\n data = Integer.parseInt(br.readLine());\n if (data == 0) {\n break;\n }\n num.add(data);\n\n } while (data != 0);\n\n \n for (int i = 0; i < num.size(); i++) {\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }\n }",
"ArrayList<Integer> num = new ArrayList<>();",
"num",
"new ArrayList<>()",
"int x = 0;",
"x",
"0",
"int a = 1;",
"a",
"1",
"int data;",
"data",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"do {\n\n data = Integer.parseInt(br.readLine());\n if (data == 0) {\n break;\n }\n num.add(data);\n\n } while (data != 0);",
"data != 0",
"data",
"0",
"{\n\n data = Integer.parseInt(br.readLine());\n if (data == 0) {\n break;\n }\n num.add(data);\n\n }",
"data = Integer.parseInt(br.readLine())",
"data",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if (data == 0) {\n break;\n }",
"data == 0",
"data",
"0",
"{\n break;\n }",
"break;",
"num.add(data)",
"num.add",
"num",
"data",
"for (int i = 0; i < num.size(); i++) {\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num.size()",
"i",
"num.size()",
"num.size",
"num",
"i++",
"i++",
"i",
"{\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }",
"{\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }",
"System.out.println(\"Case \" + a + \": \" + num.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + a + \": \" + num.get(i)",
"\": \"",
"\"Case \" + a + \": \" + num.get(i)",
"\"Case \"",
"a",
"\": \"",
"num.get(i)",
"num.get",
"num",
"i",
"a++",
"a",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> num = new ArrayList<>();\n int x = 0;\n int a = 1;\n int data;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n\n data = Integer.parseInt(br.readLine());\n if (data == 0) {\n break;\n }\n num.add(data);\n\n } while (data != 0);\n\n \n for (int i = 0; i < num.size(); i++) {\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> num = new ArrayList<>();\n int x = 0;\n int a = 1;\n int data;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n\n data = Integer.parseInt(br.readLine());\n if (data == 0) {\n break;\n }\n num.add(data);\n\n } while (data != 0);\n\n \n for (int i = 0; i < num.size(); i++) {\n System.out.println(\"Case \" + a + \": \" + num.get(i));\n a++;\n }\n }\n\n}",
"Main"
] | import java.io.*;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws IOException {
ArrayList<Integer> num = new ArrayList<>();
int x = 0;
int a = 1;
int data;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
do {
data = Integer.parseInt(br.readLine());
if (data == 0) {
break;
}
num.add(data);
} while (data != 0);
for (int i = 0; i < num.size(); i++) {
System.out.println("Case " + a + ": " + num.get(i));
a++;
}
}
} |
[
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,
17,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
13,
40,
13,
41,
13,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
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
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
34,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
34,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
34,
56
],
[
56,
57
],
[
17,
58
],
[
58,
59
],
[
58,
60
],
[
17,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
81,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
15,
91
],
[
91,
92
]
] | [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i = 0;\n\t\tint num = 0;\n\t\tString str;\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tstr = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumList.add(num);\n\t\t\ti++;\n\t\t}\n\t\tint length = i;\n\t\tfor (i = 0; i < length; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i = 0;\n\t\tint num = 0;\n\t\tString str;\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tstr = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumList.add(num);\n\t\t\ti++;\n\t\t}\n\t\tint length = i;\n\t\tfor (i = 0; i < length; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\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\t\tint i = 0;\n\t\tint num = 0;\n\t\tString str;\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tstr = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumList.add(num);\n\t\t\ti++;\n\t\t}\n\t\tint length = i;\n\t\tfor (i = 0; i < length; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i = 0;\n\t\tint num = 0;\n\t\tString str;\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tstr = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumList.add(num);\n\t\t\ti++;\n\t\t}\n\t\tint length = i;\n\t\tfor (i = 0; i < length; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i = 0;",
"i",
"0",
"int num = 0;",
"num",
"0",
"String str;",
"str",
"ArrayList<Integer> numList = new ArrayList<Integer>();",
"numList",
"new ArrayList<Integer>()",
"while (true) {\n\t\t\tstr = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumList.add(num);\n\t\t\ti++;\n\t\t}",
"true",
"{\n\t\t\tstr = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumList.add(num);\n\t\t\ti++;\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"num = Integer.parseInt(str)",
"num",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"num == 0",
"num",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"numList.add(num)",
"numList.add",
"numList",
"num",
"i++",
"i",
"int length = i;",
"length",
"i",
"for (i = 0; i < length; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < length",
"i",
"length",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i));\n\t\t}",
"System.out.println(\"Case \" + (i + 1) + \": \" + numList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + numList.get(i)",
"\": \"",
"\"Case \" + (i + 1) + \": \" + numList.get(i)",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"numList.get(i)",
"numList.get",
"numList",
"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));
int i = 0;
int num = 0;
String str;
ArrayList<Integer> numList = new ArrayList<Integer>();
while (true) {
str = br.readLine();
num = Integer.parseInt(str);
if (num == 0) {
break;
}
numList.add(num);
i++;
}
int length = i;
for (i = 0; i < length; i++) {
System.out.println("Case " + (i + 1) + ": " + numList.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
11,
1,
0,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
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
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
21,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
30,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
30,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
54,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
54,
58
],
[
9,
59
],
[
59,
60
]
] | [
"import java.io.*;\nimport java.util.Arrays;\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i;\n\t\tint n;\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(i=1; ;i++){\n\t\t\tstr = in.readLine();\n\t\t\tn = Integer.parseInt(str);\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case \"+(i)+\": \"+n);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i;\n\t\tint n;\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(i=1; ;i++){\n\t\t\tstr = in.readLine();\n\t\t\tn = Integer.parseInt(str);\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case \"+(i)+\": \"+n);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tint i;\n\t\tint n;\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(i=1; ;i++){\n\t\t\tstr = in.readLine();\n\t\t\tn = Integer.parseInt(str);\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case \"+(i)+\": \"+n);\n\t\t}\n\t}",
"main",
"{\n\t\tint i;\n\t\tint n;\n\t\tString str;\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(i=1; ;i++){\n\t\t\tstr = in.readLine();\n\t\t\tn = Integer.parseInt(str);\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case \"+(i)+\": \"+n);\n\t\t}\n\t}",
"int i;",
"i",
"int n;",
"n",
"String str;",
"str",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"for(i=1; ;i++){\n\t\t\tstr = in.readLine();\n\t\t\tn = Integer.parseInt(str);\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case \"+(i)+\": \"+n);\n\t\t}",
"i=1;",
"i=1",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tstr = in.readLine();\n\t\t\tn = Integer.parseInt(str);\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case \"+(i)+\": \"+n);\n\t\t}",
"{\n\t\t\tstr = in.readLine();\n\t\t\tn = Integer.parseInt(str);\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case \"+(i)+\": \"+n);\n\t\t}",
"str = in.readLine()",
"str",
"in.readLine()",
"in.readLine",
"in",
"n = Integer.parseInt(str)",
"n",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if(n==0) break;",
"n==0",
"n",
"0",
"break;",
"System.out.println(\"Case \"+(i)+\": \"+n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(i)+\": \"+n",
"\": \"",
"\"Case \"+(i)+\": \"+n",
"\"Case \"",
"(i)",
"\": \"",
"n",
"String[] args",
"args"
] | import java.io.*;
import java.util.Arrays;
class Main{
public static void main(String[] args) throws IOException {
int i;
int n;
String str;
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for(i=1; ;i++){
str = in.readLine();
n = Integer.parseInt(str);
if(n==0) break;
System.out.println("Case "+(i)+": "+n);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
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
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
26,
31
],
[
31,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
40,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
40,
44
],
[
20,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\ti++;\n\t\t}//while\n\t\tbr.close();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\ti++;\n\t\t}//while\n\t\tbr.close();\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\tint i = 1;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\ti++;\n\t\t}//while\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\ti++;\n\t\t}//while\n\t\tbr.close();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = \"\";",
"str",
"\"\"",
"int i = 1;",
"i",
"1",
"while(true){\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\ti++;\n\t\t}//while",
"true",
"{\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\ti++;\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"if(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \" + i + \": \" + str)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + str",
"\": \"",
"\"Case \" + i + \": \" + str",
"\"Case \"",
"i",
"\": \"",
"str",
"i++",
"i",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\ti++;\n\t\t}//while\n\t\tbr.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = \"\";\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}//if\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\ti++;\n\t\t}//while\n\t\tbr.close();\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = "";
int i = 1;
while(true){
str = br.readLine();
if(str.equals("0")){
break;
}//if
System.out.println("Case " + i + ": " + str);
i++;
}//while
br.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
14,
2,
13,
17,
3,
14,
2,
2,
17,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
27,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
60,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
60,
64
],
[
52,
65
],
[
65,
66
],
[
27,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
9,
72
],
[
72,
73
]
] | [
"import java.io.*;\nimport java.util.StringTokenizer;\n\nclass Main{\n public static void main(String[] args) throws IOException{\n BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in)); \n String line = r.readLine(); \n \n int cnt=1;\n while(line!=null){ \n int buf = Integer.parseInt(line);\n if (buf == 0) break;\n if (cnt > 10000) break;\n if (1 <= buf && buf <= 10000){\n System.out.println(\"Case \"+cnt+\": \"+buf);\n cnt++;\n }\n line = r.readLine();\n } \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in)); \n String line = r.readLine(); \n \n int cnt=1;\n while(line!=null){ \n int buf = Integer.parseInt(line);\n if (buf == 0) break;\n if (cnt > 10000) break;\n if (1 <= buf && buf <= 10000){\n System.out.println(\"Case \"+cnt+\": \"+buf);\n cnt++;\n }\n line = r.readLine();\n } \n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in)); \n String line = r.readLine(); \n \n int cnt=1;\n while(line!=null){ \n int buf = Integer.parseInt(line);\n if (buf == 0) break;\n if (cnt > 10000) break;\n if (1 <= buf && buf <= 10000){\n System.out.println(\"Case \"+cnt+\": \"+buf);\n cnt++;\n }\n line = r.readLine();\n } \n }",
"main",
"{\n BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in)); \n String line = r.readLine(); \n \n int cnt=1;\n while(line!=null){ \n int buf = Integer.parseInt(line);\n if (buf == 0) break;\n if (cnt > 10000) break;\n if (1 <= buf && buf <= 10000){\n System.out.println(\"Case \"+cnt+\": \"+buf);\n cnt++;\n }\n line = r.readLine();\n } \n }",
"BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = r.readLine();",
"line",
"r.readLine()",
"r.readLine",
"r",
"int cnt=1;",
"cnt",
"1",
"while(line!=null){ \n int buf = Integer.parseInt(line);\n if (buf == 0) break;\n if (cnt > 10000) break;\n if (1 <= buf && buf <= 10000){\n System.out.println(\"Case \"+cnt+\": \"+buf);\n cnt++;\n }\n line = r.readLine();\n }",
"line!=null",
"line",
"null",
"{ \n int buf = Integer.parseInt(line);\n if (buf == 0) break;\n if (cnt > 10000) break;\n if (1 <= buf && buf <= 10000){\n System.out.println(\"Case \"+cnt+\": \"+buf);\n cnt++;\n }\n line = r.readLine();\n }",
"int buf = Integer.parseInt(line);",
"buf",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (buf == 0) break;",
"buf == 0",
"buf",
"0",
"break;",
"if (cnt > 10000) break;",
"cnt > 10000",
"cnt",
"10000",
"break;",
"if (1 <= buf && buf <= 10000){\n System.out.println(\"Case \"+cnt+\": \"+buf);\n cnt++;\n }",
"1 <= buf && buf <= 10000",
"1 <= buf",
"1",
"buf",
"buf <= 10000",
"buf",
"10000",
"{\n System.out.println(\"Case \"+cnt+\": \"+buf);\n cnt++;\n }",
"System.out.println(\"Case \"+cnt+\": \"+buf)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+cnt+\": \"+buf",
"\": \"",
"\"Case \"+cnt+\": \"+buf",
"\"Case \"",
"cnt",
"\": \"",
"buf",
"cnt++",
"cnt",
"line = r.readLine()",
"line",
"r.readLine()",
"r.readLine",
"r",
"String[] args",
"args"
] | import java.io.*;
import java.util.StringTokenizer;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader r =
new BufferedReader(new InputStreamReader(System.in));
String line = r.readLine();
int cnt=1;
while(line!=null){
int buf = Integer.parseInt(line);
if (buf == 0) break;
if (cnt > 10000) break;
if (1 <= buf && buf <= 10000){
System.out.println("Case "+cnt+": "+buf);
cnt++;
}
line = r.readLine();
}
}
} |
[
7,
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,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
80,
8
],
[
80,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
20,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
64,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
9,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText = scanner.nextLine();\n\n\n\t\t\tint x = Integer.parseInt( inputText );\n\t\t\tif ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnums.add( x );\n\t\t}\n\n\t\tfor ( int i = 0; i < nums.size(); i++ ) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}\n\n\t\tscanner.close();\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\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText = scanner.nextLine();\n\n\n\t\t\tint x = Integer.parseInt( inputText );\n\t\t\tif ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnums.add( x );\n\t\t}\n\n\t\tfor ( int i = 0; i < nums.size(); i++ ) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}\n\n\t\tscanner.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText = scanner.nextLine();\n\n\n\t\t\tint x = Integer.parseInt( inputText );\n\t\t\tif ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnums.add( x );\n\t\t}\n\n\t\tfor ( int i = 0; i < nums.size(); i++ ) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}\n\n\t\tscanner.close();\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText = scanner.nextLine();\n\n\n\t\t\tint x = Integer.parseInt( inputText );\n\t\t\tif ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnums.add( x );\n\t\t}\n\n\t\tfor ( int i = 0; i < nums.size(); i++ ) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}\n\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner( System.in );",
"scanner",
"new Scanner( System.in )",
"ArrayList<Integer> nums = new ArrayList<Integer>();",
"nums",
"new ArrayList<Integer>()",
"while ( true ) {\n\t\t\tString inputText = scanner.nextLine();\n\n\n\t\t\tint x = Integer.parseInt( inputText );\n\t\t\tif ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnums.add( x );\n\t\t}",
"true",
"{\n\t\t\tString inputText = scanner.nextLine();\n\n\n\t\t\tint x = Integer.parseInt( inputText );\n\t\t\tif ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnums.add( x );\n\t\t}",
"String inputText = scanner.nextLine();",
"inputText",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"int x = Integer.parseInt( inputText );",
"x",
"Integer.parseInt( inputText )",
"Integer.parseInt",
"Integer",
"inputText",
"if ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"nums.add( x )",
"nums.add",
"nums",
"x",
"for ( int i = 0; i < nums.size(); i++ ) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < nums.size()",
"i",
"nums.size()",
"nums.size",
"nums",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}",
"System.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + nums.get( i )",
"\": \"",
"\"Case \" + (i + 1) + \": \" + nums.get( i )",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"nums.get( i )",
"nums.get",
"nums",
"i",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText = scanner.nextLine();\n\n\n\t\t\tint x = Integer.parseInt( inputText );\n\t\t\tif ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnums.add( x );\n\t\t}\n\n\t\tfor ( int i = 0; i < nums.size(); i++ ) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}\n\n\t\tscanner.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText = scanner.nextLine();\n\n\n\t\t\tint x = Integer.parseInt( inputText );\n\t\t\tif ( x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnums.add( x );\n\t\t}\n\n\t\tfor ( int i = 0; i < nums.size(); i++ ) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + nums.get( i ) );\n\t\t}\n\n\t\tscanner.close();\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner( System.in );
ArrayList<Integer> nums = new ArrayList<Integer>();
while ( true ) {
String inputText = scanner.nextLine();
int x = Integer.parseInt( inputText );
if ( x == 0) {
break;
}
nums.add( x );
}
for ( int i = 0; i < nums.size(); i++ ) {
System.out.println("Case " + (i + 1) + ": " + nums.get( i ) );
}
scanner.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
18,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
33,
38
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
46,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
46,
50
],
[
12,
51
],
[
51,
52
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 1; ; i++) {\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0\"))\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+s);\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",
"class Main {\n\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 1; ; i++) {\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0\"))\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+s);\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\t\tfor (int i = 1; ; i++) {\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0\"))\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+s);\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tfor (int i = 1; ; i++) {\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0\"))\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+s);\n\t\t}\n\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for (int i = 1; ; i++) {\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0\"))\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+s);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0\"))\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+s);\n\t\t}",
"{\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0\"))\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+s);\n\t\t}",
"String s=br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"if(s.equals(\"0\"))\n\t\t\t\tbreak;",
"s.equals(\"0\")",
"s.equals",
"s",
"\"0\"",
"break;",
"System.out.println(\"Case \"+i+\": \"+s)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+s",
"\": \"",
"\"Case \"+i+\": \"+s",
"\"Case \"",
"i",
"\": \"",
"s",
"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));
for (int i = 1; ; i++) {
String s=br.readLine();
if(s.equals("0"))
break;
System.out.println("Case "+i+": "+s);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
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
],
[
59,
11
],
[
59,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
50,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
49,
54
],
[
50,
55
],
[
12,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n int c = 0;\n while ((readStr = reader.readLine()) != null) {\n int readInt = Integer.parseInt(readStr);\n if (readInt == 0) break;\n System.out.println(\"Case \" + ++c + \": \" + readInt);\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",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n int c = 0;\n while ((readStr = reader.readLine()) != null) {\n int readInt = Integer.parseInt(readStr);\n if (readInt == 0) break;\n System.out.println(\"Case \" + ++c + \": \" + readInt);\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n int c = 0;\n while ((readStr = reader.readLine()) != null) {\n int readInt = Integer.parseInt(readStr);\n if (readInt == 0) break;\n System.out.println(\"Case \" + ++c + \": \" + readInt);\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n int c = 0;\n while ((readStr = reader.readLine()) != null) {\n int readInt = Integer.parseInt(readStr);\n if (readInt == 0) break;\n System.out.println(\"Case \" + ++c + \": \" + readInt);\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String readStr;",
"readStr",
"int c = 0;",
"c",
"0",
"while ((readStr = reader.readLine()) != null) {\n int readInt = Integer.parseInt(readStr);\n if (readInt == 0) break;\n System.out.println(\"Case \" + ++c + \": \" + readInt);\n }",
"(readStr = reader.readLine()) != null",
"(readStr = reader.readLine())",
"readStr",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n int readInt = Integer.parseInt(readStr);\n if (readInt == 0) break;\n System.out.println(\"Case \" + ++c + \": \" + readInt);\n }",
"int readInt = Integer.parseInt(readStr);",
"readInt",
"Integer.parseInt(readStr)",
"Integer.parseInt",
"Integer",
"readStr",
"if (readInt == 0) break;",
"readInt == 0",
"readInt",
"0",
"break;",
"System.out.println(\"Case \" + ++c + \": \" + readInt)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + ++c + \": \" + readInt",
"\": \"",
"\"Case \" + ++c + \": \" + readInt",
"\"Case \"",
"++c",
"c",
"\": \"",
"readInt",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n int c = 0;\n while ((readStr = reader.readLine()) != null) {\n int readInt = Integer.parseInt(readStr);\n if (readInt == 0) break;\n System.out.println(\"Case \" + ++c + \": \" + readInt);\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n int c = 0;\n while ((readStr = reader.readLine()) != null) {\n int readInt = Integer.parseInt(readStr);\n if (readInt == 0) break;\n System.out.println(\"Case \" + ++c + \": \" + readInt);\n }\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String readStr;
int c = 0;
while ((readStr = reader.readLine()) != null) {
int readInt = Integer.parseInt(readStr);
if (readInt == 0) break;
System.out.println("Case " + ++c + ": " + readInt);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
40,
13,
14,
4,
18,
13,
17,
30,
29,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
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
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
42,
46
],
[
6,
47
],
[
47,
48
]
] | [
"import java.io.*;\n \nclass Main{\n public static void main(String[] args) throws Exception{\n \n String str;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while((str = br.readLine()) != null){\n i++;\n if (str.equals(\"0\")) {\n return;\n }\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args) throws Exception{\n \n String str;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while((str = br.readLine()) != null){\n i++;\n if (str.equals(\"0\")) {\n return;\n }\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n \n String str;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while((str = br.readLine()) != null){\n i++;\n if (str.equals(\"0\")) {\n return;\n }\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }",
"main",
"{\n \n String str;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while((str = br.readLine()) != null){\n i++;\n if (str.equals(\"0\")) {\n return;\n }\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }",
"String str;",
"str",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i = 0;",
"i",
"0",
"while((str = br.readLine()) != null){\n i++;\n if (str.equals(\"0\")) {\n return;\n }\n System.out.println(\"Case \" + i + \": \" + str);\n }",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n i++;\n if (str.equals(\"0\")) {\n return;\n }\n System.out.println(\"Case \" + i + \": \" + str);\n }",
"i++",
"i",
"if (str.equals(\"0\")) {\n return;\n }",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"{\n return;\n }",
"return;",
"System.out.println(\"Case \" + i + \": \" + str)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + str",
"\": \"",
"\"Case \" + i + \": \" + str",
"\"Case \"",
"i",
"\": \"",
"str",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws Exception{
String str;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int i = 0;
while((str = br.readLine()) != null){
i++;
if (str.equals("0")) {
return;
}
System.out.println("Case " + i + ": " + str);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
13,
40,
13,
30,
3,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
39,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
36,
44
],
[
39,
45
],
[
29,
46
],
[
46,
47
],
[
25,
48
],
[
48,
49
],
[
6,
50
],
[
50,
51
]
] | [
"import java.util.Scanner;\nclass Main\n{\n\tpublic static void main(String[] args)throws Exception\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\tint num;\n\t\tint i=1;\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\t\tnum=scan.nextInt();;\t\t\n\t\t\tif(num!=0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\tpublic static void main(String[] args)throws Exception\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\tint num;\n\t\tint i=1;\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\t\tnum=scan.nextInt();;\t\t\n\t\t\tif(num!=0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws Exception\n\t{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\tint num;\n\t\tint i=1;\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\t\tnum=scan.nextInt();;\t\t\n\t\t\tif(num!=0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(System.in);\n\t\t\n\t\tint num;\n\t\tint i=1;\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\t\tnum=scan.nextInt();;\t\t\n\t\t\tif(num!=0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num;",
"num",
"int i=1;",
"i",
"1",
"while(true)\n\t\t{\n\t\t\t\tnum=scan.nextInt();;\t\t\n\t\t\tif(num!=0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\t\tnum=scan.nextInt();;\t\t\n\t\t\tif(num!=0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"num=scan.nextInt()",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(num!=0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}",
"num!=0",
"num",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}",
"System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\"+\" \"+i+\":\"+\" \"+num",
"\" \"",
"\":\"",
"i",
"\"Case\"+\" \"+i+\":\"+\" \"+num",
"\"Case\"",
"\" \"",
"i",
"\":\"",
"\" \"",
"num",
"i++",
"i",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] args",
"args"
] | import java.util.Scanner;
class Main
{
public static void main(String[] args)throws Exception
{
Scanner scan=new Scanner(System.in);
int num;
int i=1;
while(true)
{
num=scan.nextInt();;
if(num!=0)
{
System.out.println("Case"+" "+i+":"+" "+num);
i++;
}
else
{
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
25,
30
],
[
30,
31
],
[
19,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
39,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
38,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint count = 1;\n\twhile(scan.hasNext()) {\n\t String input = scan.next();\n\t if (input.equals(\"0\")) {\n\t\tbreak;\n\t }\n\t System.out.println(\"Case \" + count++ + \": \" + input);\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint count = 1;\n\twhile(scan.hasNext()) {\n\t String input = scan.next();\n\t if (input.equals(\"0\")) {\n\t\tbreak;\n\t }\n\t System.out.println(\"Case \" + count++ + \": \" + input);\n\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint count = 1;\n\twhile(scan.hasNext()) {\n\t String input = scan.next();\n\t if (input.equals(\"0\")) {\n\t\tbreak;\n\t }\n\t System.out.println(\"Case \" + count++ + \": \" + input);\n\t}\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tint count = 1;\n\twhile(scan.hasNext()) {\n\t String input = scan.next();\n\t if (input.equals(\"0\")) {\n\t\tbreak;\n\t }\n\t System.out.println(\"Case \" + count++ + \": \" + input);\n\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int count = 1;",
"count",
"1",
"while(scan.hasNext()) {\n\t String input = scan.next();\n\t if (input.equals(\"0\")) {\n\t\tbreak;\n\t }\n\t System.out.println(\"Case \" + count++ + \": \" + input);\n\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t String input = scan.next();\n\t if (input.equals(\"0\")) {\n\t\tbreak;\n\t }\n\t System.out.println(\"Case \" + count++ + \": \" + input);\n\t}",
"String input = scan.next();",
"input",
"scan.next()",
"scan.next",
"scan",
"if (input.equals(\"0\")) {\n\t\tbreak;\n\t }",
"input.equals(\"0\")",
"input.equals",
"input",
"\"0\"",
"{\n\t\tbreak;\n\t }",
"break;",
"System.out.println(\"Case \" + count++ + \": \" + input)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + count++ + \": \" + input",
"\": \"",
"\"Case \" + count++ + \": \" + input",
"\"Case \"",
"count++",
"count",
"\": \"",
"input",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint count = 1;\n\twhile(scan.hasNext()) {\n\t String input = scan.next();\n\t if (input.equals(\"0\")) {\n\t\tbreak;\n\t }\n\t System.out.println(\"Case \" + count++ + \": \" + input);\n\t}\n }\n}",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint count = 1;\n\twhile(scan.hasNext()) {\n\t String input = scan.next();\n\t if (input.equals(\"0\")) {\n\t\tbreak;\n\t }\n\t System.out.println(\"Case \" + count++ + \": \" + input);\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 count = 1;
while(scan.hasNext()) {
String input = scan.next();
if (input.equals("0")) {
break;
}
System.out.println("Case " + count++ + ": " + input);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
0,
13,
4,
18,
13,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
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
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
20,
35
],
[
35,
36
],
[
36,
37
],
[
20,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
40,
46
],
[
40,
47
],
[
12,
48
],
[
48,
49
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint value;\n\t\tfor(int i = 1;(value = Integer.parseInt(in.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\",i,value);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint value;\n\t\tfor(int i = 1;(value = Integer.parseInt(in.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\",i,value);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint value;\n\t\tfor(int i = 1;(value = Integer.parseInt(in.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\",i,value);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tint value;\n\t\tfor(int i = 1;(value = Integer.parseInt(in.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\",i,value);\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"int value;",
"value",
"for(int i = 1;(value = Integer.parseInt(in.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\",i,value);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"(value = Integer.parseInt(in.readLine())) != 0",
"(value = Integer.parseInt(in.readLine()))",
"value",
"Integer.parseInt(in.readLine())",
"Integer.parseInt",
"Integer",
"in.readLine()",
"in.readLine",
"in",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d%n\",i,value);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d%n\",i,value);\n\t\t}",
"System.out.printf(\"Case %d: %d%n\",i,value)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d%n\"",
"i",
"value",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
int value;
for(int i = 1;(value = Integer.parseInt(in.readLine())) != 0;i++){
System.out.printf("Case %d: %d%n",i,value);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
13,
40,
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
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
25,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
42,
47
],
[
25,
48
],
[
48,
49
],
[
12,
50
],
[
50,
51
]
] | [
"import java.lang.Math;\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n int i = 1;\n while (sn.hasNext()) {\n int n = sn.nextInt();\n if (n == 0) {\n break;\n }\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\n }\n}",
"import java.lang.Math;",
"Math",
"java.lang",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n int i = 1;\n while (sn.hasNext()) {\n int n = sn.nextInt();\n if (n == 0) {\n break;\n }\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n int i = 1;\n while (sn.hasNext()) {\n int n = sn.nextInt();\n if (n == 0) {\n break;\n }\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\n }",
"main",
"{\n Scanner sn = new Scanner(System.in);\n int i = 1;\n while (sn.hasNext()) {\n int n = sn.nextInt();\n if (n == 0) {\n break;\n }\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\n }",
"Scanner sn = new Scanner(System.in);",
"sn",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while (sn.hasNext()) {\n int n = sn.nextInt();\n if (n == 0) {\n break;\n }\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }",
"sn.hasNext()",
"sn.hasNext",
"sn",
"{\n int n = sn.nextInt();\n if (n == 0) {\n break;\n }\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }",
"int n = sn.nextInt();",
"n",
"sn.nextInt()",
"sn.nextInt",
"sn",
"if (n == 0) {\n break;\n }",
"n == 0",
"n",
"0",
"{\n break;\n }",
"break;",
"System.out.println(String.format(\"Case %d: %d\", i, n))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"Case %d: %d\", i, n)",
"String.format",
"String",
"\"Case %d: %d\"",
"i",
"n",
"i++",
"i",
"String[] args",
"args"
] | import java.lang.Math;
import java.util.ArrayList;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sn = new Scanner(System.in);
int i = 1;
while (sn.hasNext()) {
int n = sn.nextInt();
if (n == 0) {
break;
}
System.out.println(String.format("Case %d: %d", i, n));
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
17,
13,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
21,
22
],
[
15,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
24,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
24,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
45,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
45,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.io.*;\npublic class Main{\n\tpublic static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;;i++){\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;;i++){\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}}",
"Main",
"public static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;;i++){\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;;i++){\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int t=0;",
"t",
"0",
"for(int i=1;;i++){\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}",
"{\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}",
"t=Integer.parseInt(br.readLine())",
"t",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(0==t)break;",
"0==t",
"0",
"t",
"break;",
"System.out.println(\"Case \"+i+\": \"+t)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+t",
"\": \"",
"\"Case \"+i+\": \"+t",
"\"Case \"",
"i",
"\": \"",
"t",
"String [] args",
"args",
"public class Main{\n\tpublic static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;;i++){\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}}",
"public class Main{\n\tpublic static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint t=0;\n\t\tfor(int i=1;;i++){\n\t\t\tt=Integer.parseInt(br.readLine());\n\t\t\tif(0==t)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+t);\n\t\t}}}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String [] args) throws NumberFormatException, IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int t=0;
for(int i=1;;i++){
t=Integer.parseInt(br.readLine());
if(0==t)break;
System.out.println("Case "+i+": "+t);
}}} |
[
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,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
2,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
17,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
6,
51
],
[
51,
52
]
] | [
"import java.util.Scanner;\nclass Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint a=1;\n\nwhile(true){\nString B=scan.next();\nint b=Integer.parseInt(B);\nif(b==0)\n\tbreak;\nSystem.out.println(\"Case \"+a+\": \"+b);\na=a+1;\n}\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint a=1;\n\nwhile(true){\nString B=scan.next();\nint b=Integer.parseInt(B);\nif(b==0)\n\tbreak;\nSystem.out.println(\"Case \"+a+\": \"+b);\na=a+1;\n}\n}\n}",
"Main",
"public static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint a=1;\n\nwhile(true){\nString B=scan.next();\nint b=Integer.parseInt(B);\nif(b==0)\n\tbreak;\nSystem.out.println(\"Case \"+a+\": \"+b);\na=a+1;\n}\n}",
"main",
"{\nScanner scan=new Scanner(System.in);\nint a=1;\n\nwhile(true){\nString B=scan.next();\nint b=Integer.parseInt(B);\nif(b==0)\n\tbreak;\nSystem.out.println(\"Case \"+a+\": \"+b);\na=a+1;\n}\n}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a=1;",
"a",
"1",
"while(true){\nString B=scan.next();\nint b=Integer.parseInt(B);\nif(b==0)\n\tbreak;\nSystem.out.println(\"Case \"+a+\": \"+b);\na=a+1;\n}",
"true",
"{\nString B=scan.next();\nint b=Integer.parseInt(B);\nif(b==0)\n\tbreak;\nSystem.out.println(\"Case \"+a+\": \"+b);\na=a+1;\n}",
"String B=scan.next();",
"B",
"scan.next()",
"scan.next",
"scan",
"int b=Integer.parseInt(B);",
"b",
"Integer.parseInt(B)",
"Integer.parseInt",
"Integer",
"B",
"if(b==0)\n\tbreak;",
"b==0",
"b",
"0",
"break;",
"System.out.println(\"Case \"+a+\": \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+a+\": \"+b",
"\": \"",
"\"Case \"+a+\": \"+b",
"\"Case \"",
"a",
"\": \"",
"b",
"a=a+1",
"a",
"a+1",
"a",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
int a=1;
while(true){
String B=scan.next();
int b=Integer.parseInt(B);
if(b==0)
break;
System.out.println("Case "+a+": "+b);
a=a+1;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
30,
29,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
40,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
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
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
37,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
29,
47
],
[
47,
48
],
[
29,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
61,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
61,
65
],
[
53,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
53,
71
],
[
71,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t/*\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString f = r.readLine();\n\t\tint a = Integer.parseInt(f);\n\t\tint d = 1;\n\t\tif(a == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+a);\n\t\t\td++;\n\t\t\twhile(a > 1){\n\t\t\t\tBufferedReader w = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString wf= r.readLine();\n\t\t\t\tint q = Integer.parseInt(wf);\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+q);\n\t\t\t\td++;\n\t\t\t}\n\t\t}*/\n\t\tScanner a = new Scanner(System.in);\n\t\tint b = a.nextInt();\n\t\tint d = 1;\n\t\tif(b == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\tb = a.nextInt();\n\t\t\td++;\n\t\t\twhile(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t/*\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString f = r.readLine();\n\t\tint a = Integer.parseInt(f);\n\t\tint d = 1;\n\t\tif(a == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+a);\n\t\t\td++;\n\t\t\twhile(a > 1){\n\t\t\t\tBufferedReader w = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString wf= r.readLine();\n\t\t\t\tint q = Integer.parseInt(wf);\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+q);\n\t\t\t\td++;\n\t\t\t}\n\t\t}*/\n\t\tScanner a = new Scanner(System.in);\n\t\tint b = a.nextInt();\n\t\tint d = 1;\n\t\tif(b == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\tb = a.nextInt();\n\t\t\td++;\n\t\t\twhile(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t/*\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString f = r.readLine();\n\t\tint a = Integer.parseInt(f);\n\t\tint d = 1;\n\t\tif(a == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+a);\n\t\t\td++;\n\t\t\twhile(a > 1){\n\t\t\t\tBufferedReader w = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString wf= r.readLine();\n\t\t\t\tint q = Integer.parseInt(wf);\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+q);\n\t\t\t\td++;\n\t\t\t}\n\t\t}*/\n\t\tScanner a = new Scanner(System.in);\n\t\tint b = a.nextInt();\n\t\tint d = 1;\n\t\tif(b == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\tb = a.nextInt();\n\t\t\td++;\n\t\t\twhile(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t/*\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString f = r.readLine();\n\t\tint a = Integer.parseInt(f);\n\t\tint d = 1;\n\t\tif(a == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+a);\n\t\t\td++;\n\t\t\twhile(a > 1){\n\t\t\t\tBufferedReader w = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString wf= r.readLine();\n\t\t\t\tint q = Integer.parseInt(wf);\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+q);\n\t\t\t\td++;\n\t\t\t}\n\t\t}*/\n\t\tScanner a = new Scanner(System.in);\n\t\tint b = a.nextInt();\n\t\tint d = 1;\n\t\tif(b == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\tb = a.nextInt();\n\t\t\td++;\n\t\t\twhile(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}\n\t\t}\n\t}",
"Scanner a = new Scanner(System.in);",
"a",
"new Scanner(System.in)",
"int b = a.nextInt();",
"b",
"a.nextInt()",
"a.nextInt",
"a",
"int d = 1;",
"d",
"1",
"if(b == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\tb = a.nextInt();\n\t\t\td++;\n\t\t\twhile(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}\n\t\t}",
"b == 0",
"b",
"0",
"{\n\t\t\treturn;\n\t\t}",
"return;",
"{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\tb = a.nextInt();\n\t\t\td++;\n\t\t\twhile(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}\n\t\t}",
"System.out.println(\"Case \"+d+\": \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+d+\": \"+b",
"\": \"",
"\"Case \"+d+\": \"+b",
"\"Case \"",
"d",
"\": \"",
"b",
"b = a.nextInt()",
"b",
"a.nextInt()",
"a.nextInt",
"a",
"d++",
"d",
"while(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}",
"b >0",
"b",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}",
"System.out.println(\"Case \"+d+\": \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+d+\": \"+b",
"\": \"",
"\"Case \"+d+\": \"+b",
"\"Case \"",
"d",
"\": \"",
"b",
"b = a.nextInt()",
"b",
"a.nextInt()",
"a.nextInt",
"a",
"d++",
"d",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t/*\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString f = r.readLine();\n\t\tint a = Integer.parseInt(f);\n\t\tint d = 1;\n\t\tif(a == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+a);\n\t\t\td++;\n\t\t\twhile(a > 1){\n\t\t\t\tBufferedReader w = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString wf= r.readLine();\n\t\t\t\tint q = Integer.parseInt(wf);\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+q);\n\t\t\t\td++;\n\t\t\t}\n\t\t}*/\n\t\tScanner a = new Scanner(System.in);\n\t\tint b = a.nextInt();\n\t\tint d = 1;\n\t\tif(b == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\tb = a.nextInt();\n\t\t\td++;\n\t\t\twhile(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t/*\tBufferedReader r = new BufferedReader(new InputStreamReader(System.in));\n\t\tString f = r.readLine();\n\t\tint a = Integer.parseInt(f);\n\t\tint d = 1;\n\t\tif(a == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+a);\n\t\t\td++;\n\t\t\twhile(a > 1){\n\t\t\t\tBufferedReader w = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString wf= r.readLine();\n\t\t\t\tint q = Integer.parseInt(wf);\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+q);\n\t\t\t\td++;\n\t\t\t}\n\t\t}*/\n\t\tScanner a = new Scanner(System.in);\n\t\tint b = a.nextInt();\n\t\tint d = 1;\n\t\tif(b == 0){\n\t\t\treturn;\n\t\t}else{\n\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\tb = a.nextInt();\n\t\t\td++;\n\t\t\twhile(b >0){\n\t\t\t\tSystem.out.println(\"Case \"+d+\": \"+b);\n\t\t\t\tb = a.nextInt();\n\t\t\t\td++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException{
/* BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
String f = r.readLine();
int a = Integer.parseInt(f);
int d = 1;
if(a == 0){
return;
}else{
System.out.println("Case "+d+": "+a);
d++;
while(a > 1){
BufferedReader w = new BufferedReader(new InputStreamReader(System.in));
String wf= r.readLine();
int q = Integer.parseInt(wf);
System.out.println("Case "+d+": "+q);
d++;
}
}*/
Scanner a = new Scanner(System.in);
int b = a.nextInt();
int d = 1;
if(b == 0){
return;
}else{
System.out.println("Case "+d+": "+b);
b = a.nextInt();
d++;
while(b >0){
System.out.println("Case "+d+": "+b);
b = a.nextInt();
d++;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
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,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
39,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
38,
43
],
[
39,
44
],
[
9,
45
],
[
45,
46
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main {\n public static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n int num = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) {\n \tbreak;\n \t}\n \n System.out.println(\"Case \" + num++ + \": \" + 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 int num = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) {\n \tbreak;\n \t}\n \n System.out.println(\"Case \" + num++ + \": \" + n);\n }\n }\n}",
"Main",
"public static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n int num = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) {\n \tbreak;\n \t}\n \n System.out.println(\"Case \" + num++ + \": \" + n);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int num = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) {\n \tbreak;\n \t}\n \n System.out.println(\"Case \" + num++ + \": \" + n);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num = 1;",
"num",
"1",
"while(true){\n int n = scan.nextInt();\n \n if(n == 0) {\n \tbreak;\n \t}\n \n System.out.println(\"Case \" + num++ + \": \" + n);\n }",
"true",
"{\n int n = scan.nextInt();\n \n if(n == 0) {\n \tbreak;\n \t}\n \n System.out.println(\"Case \" + num++ + \": \" + n);\n }",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(n == 0) {\n \tbreak;\n \t}",
"n == 0",
"n",
"0",
"{\n \tbreak;\n \t}",
"break;",
"System.out.println(\"Case \" + num++ + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + num++ + \": \" + n",
"\": \"",
"\"Case \" + num++ + \": \" + n",
"\"Case \"",
"num++",
"num",
"\": \"",
"n",
"String [] args",
"args"
] | import java.io.*;
import java.util.*;
class Main {
public static void main(String [] args){
Scanner scan = new Scanner(System.in);
int num = 1;
while(true){
int n = scan.nextInt();
if(n == 0) {
break;
}
System.out.println("Case " + num++ + ": " + n);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
40,
17,
41,
13,
20,
17,
41,
13,
41,
13,
20,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
52,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
52,
56
],
[
44,
57
],
[
57,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.io.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint x = -1;\n\t\tint a[] = new int[10000];\n\t\tString s;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\t\tint i = 1;\n\t\twhile(true) {\n\t\t\ts = br.readLine();\n\t\t\tx = Integer.parseInt(s);\n\t\t\tif(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint x = -1;\n\t\tint a[] = new int[10000];\n\t\tString s;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\t\tint i = 1;\n\t\twhile(true) {\n\t\t\ts = br.readLine();\n\t\t\tx = Integer.parseInt(s);\n\t\t\tif(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException\n\t{\n\t\tint x = -1;\n\t\tint a[] = new int[10000];\n\t\tString s;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\t\tint i = 1;\n\t\twhile(true) {\n\t\t\ts = br.readLine();\n\t\t\tx = Integer.parseInt(s);\n\t\t\tif(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tint x = -1;\n\t\tint a[] = new int[10000];\n\t\tString s;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\t\tint i = 1;\n\t\twhile(true) {\n\t\t\ts = br.readLine();\n\t\t\tx = Integer.parseInt(s);\n\t\t\tif(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}",
"int x = -1;",
"x",
"-1",
"1",
"int a[] = new int[10000];",
"a",
"new int[10000]",
"10000",
"String s;",
"s",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i = 1;",
"i",
"1",
"while(true) {\n\t\t\ts = br.readLine();\n\t\t\tx = Integer.parseInt(s);\n\t\t\tif(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\ts = br.readLine();\n\t\t\tx = Integer.parseInt(s);\n\t\t\tif(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"s = br.readLine()",
"s",
"br.readLine()",
"br.readLine",
"br",
"x = Integer.parseInt(s)",
"x",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"if(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}",
"x == 0",
"x",
"0",
"break;",
"{\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}",
"System.out.println(\"Case \"+i+\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+x",
"\": \"",
"\"Case \"+i+\": \"+x",
"\"Case \"",
"i",
"\": \"",
"x",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint x = -1;\n\t\tint a[] = new int[10000];\n\t\tString s;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\t\tint i = 1;\n\t\twhile(true) {\n\t\t\ts = br.readLine();\n\t\t\tx = Integer.parseInt(s);\n\t\t\tif(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint x = -1;\n\t\tint a[] = new int[10000];\n\t\tString s;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\n\t\tint i = 1;\n\t\twhile(true) {\n\t\t\ts = br.readLine();\n\t\t\tx = Integer.parseInt(s);\n\t\t\tif(x == 0) break;\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException
{
int x = -1;
int a[] = new int[10000];
String s;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int i = 1;
while(true) {
s = br.readLine();
x = Integer.parseInt(s);
if(x == 0) break;
else {
System.out.println("Case "+i+": "+x);
i++;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
19,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
19,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
42,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x;\n int i = 0;\n while(true){\n x = sc.nextInt();\n if ( x == 0 ) break;\n i = i + 1;\n System.out.println(\"Case \" + i + \": \" + x );\n \n }\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x;\n int i = 0;\n while(true){\n x = sc.nextInt();\n if ( x == 0 ) break;\n i = i + 1;\n System.out.println(\"Case \" + i + \": \" + x );\n \n }\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x;\n int i = 0;\n while(true){\n x = sc.nextInt();\n if ( x == 0 ) break;\n i = i + 1;\n System.out.println(\"Case \" + i + \": \" + x );\n \n }\n\t}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x;\n int i = 0;\n while(true){\n x = sc.nextInt();\n if ( x == 0 ) break;\n i = i + 1;\n System.out.println(\"Case \" + i + \": \" + x );\n \n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x;",
"x",
"int i = 0;",
"i",
"0",
"while(true){\n x = sc.nextInt();\n if ( x == 0 ) break;\n i = i + 1;\n System.out.println(\"Case \" + i + \": \" + x );\n \n }",
"true",
"{\n x = sc.nextInt();\n if ( x == 0 ) break;\n i = i + 1;\n System.out.println(\"Case \" + i + \": \" + x );\n \n }",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if ( x == 0 ) break;",
"x == 0",
"x",
"0",
"break;",
"i = i + 1",
"i",
"i + 1",
"i",
"1",
"System.out.println(\"Case \" + i + \": \" + x )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x;\n int i = 0;\n while(true){\n x = sc.nextInt();\n if ( x == 0 ) break;\n i = i + 1;\n System.out.println(\"Case \" + i + \": \" + x );\n \n }\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x;\n int i = 0;\n while(true){\n x = sc.nextInt();\n if ( x == 0 ) break;\n i = i + 1;\n System.out.println(\"Case \" + i + \": \" + x );\n \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);
int x;
int i = 0;
while(true){
x = sc.nextInt();
if ( x == 0 ) break;
i = i + 1;
System.out.println("Case " + i + ": " + x );
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
41,
13,
20,
41,
13,
20,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
13,
20,
40,
13,
0,
13,
13,
11,
1,
0,
13,
17,
2,
2,
13,
17,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
13,
17,
17,
4,
18,
13,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
84,
8
],
[
84,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
14,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
29,
44
],
[
44,
45
],
[
11,
46
],
[
46,
47
],
[
46,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
72,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
70,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
9,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"\nimport java.util.Scanner;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint x, i = 0, j;\n\t\tArrayList<Integer> t = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0)\n\t\t\t\tbreak;\n\t\t\tt.add(new Integer(x));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 1; i - 1 != j; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x, i = 0, j;\n\t\tArrayList<Integer> t = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0)\n\t\t\t\tbreak;\n\t\t\tt.add(new Integer(x));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 1; i - 1 != j; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint x, i = 0, j;\n\t\tArrayList<Integer> t = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0)\n\t\t\t\tbreak;\n\t\t\tt.add(new Integer(x));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 1; i - 1 != j; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tint x, i = 0, j;\n\t\tArrayList<Integer> t = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0)\n\t\t\t\tbreak;\n\t\t\tt.add(new Integer(x));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 1; i - 1 != j; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}\n\t\t\n\t}",
"int x",
"x",
"i = 0",
"i",
"0",
"j;",
"j",
"ArrayList<Integer> t = new ArrayList<Integer>();",
"t",
"new ArrayList<Integer>()",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0)\n\t\t\t\tbreak;\n\t\t\tt.add(new Integer(x));\n\t\t\ti++;\n\t\t}",
"i < 10000",
"i",
"10000",
"{\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0)\n\t\t\t\tbreak;\n\t\t\tt.add(new Integer(x));\n\t\t\ti++;\n\t\t}",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0)\n\t\t\t\tbreak;",
"x == 0",
"x",
"0",
"break;",
"t.add(new Integer(x))",
"t.add",
"t",
"new Integer(x)",
"i++",
"i",
"j = i",
"j",
"i",
"for(i = 1; i - 1 != j; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}",
"i = 1;",
"i = 1",
"i",
"1",
"i - 1 != j",
"i - 1",
"i",
"1",
"j",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}",
"System.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1))",
"\" \"",
"\":\"",
"\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1))",
"\"Case \"",
"i",
"\":\"",
"\" \"",
"t.get(new Integer(i - 1))",
"t.get",
"t",
"new Integer(i - 1)",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x, i = 0, j;\n\t\tArrayList<Integer> t = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0)\n\t\t\t\tbreak;\n\t\t\tt.add(new Integer(x));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 1; i - 1 != j; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x, i = 0, j;\n\t\tArrayList<Integer> t = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0)\n\t\t\t\tbreak;\n\t\t\tt.add(new Integer(x));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 1; i - 1 != j; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \":\" + \" \" + t.get(new Integer(i - 1)));\n\t\t}\n\t\t\n\t}\n}",
"Main"
] |
import java.util.Scanner;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
int x, i = 0, j;
ArrayList<Integer> t = new ArrayList<Integer>();
Scanner sc = new Scanner(System.in);
while(i < 10000){
x = sc.nextInt();
if(x == 0)
break;
t.add(new Integer(x));
i++;
}
j = i;
for(i = 1; i - 1 != j; i++){
System.out.println("Case " + i + ":" + " " + t.get(new Integer(i - 1)));
}
}
} |
[
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,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
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
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
30,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
49,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
49,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1; i<=10000; i++)\n\t\t{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1; i<=10000; i++)\n\t\t{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1; i<=10000; i++)\n\t\t{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1; i<=10000; i++)\n\t\t{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for(int i=1; i<=10000; i++)\n\t\t{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}",
"{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}",
"int n = scanner.nextInt();",
"n",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);",
"n == 0",
"n",
"0",
"{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"",
"break;",
"System.out.println(\"Case \"+i+\": \"+n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+n",
"\": \"",
"\"Case \"+i+\": \"+n",
"\"Case \"",
"i",
"\": \"",
"n",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1; i<=10000; i++)\n\t\t{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1; i<=10000; i++)\n\t\t{\t\t\n\t\t\tint n = scanner.nextInt();\n\t\t\t\n\t\t\tif(n == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
for(int i=1; i<=10000; i++)
{
int n = scanner.nextInt();
if(n == 0)
{
System.out.println("");
break;
}
else
System.out.println("Case "+i+": "+n);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
42,
17,
30,
14,
2,
13,
17,
3,
40,
13,
4,
18,
18,
13,
13,
17,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
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
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
41,
47
],
[
41,
48
],
[
33,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
33,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
6,
60
],
[
60,
61
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n int i = 0, x;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n \tx = Integer.parseInt(buf);\n \n while(true) {\n \tif (x == 0) break;\n i++;\n \tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n \tbuf = br.readLine();\n \t\tx = Integer.parseInt(buf);\n \t}\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n int i = 0, x;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n \tx = Integer.parseInt(buf);\n \n while(true) {\n \tif (x == 0) break;\n i++;\n \tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n \tbuf = br.readLine();\n \t\tx = Integer.parseInt(buf);\n \t}\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n int i = 0, x;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n \tx = Integer.parseInt(buf);\n \n while(true) {\n \tif (x == 0) break;\n i++;\n \tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n \tbuf = br.readLine();\n \t\tx = Integer.parseInt(buf);\n \t}\n }",
"main",
"{\n int i = 0, x;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n \tx = Integer.parseInt(buf);\n \n while(true) {\n \tif (x == 0) break;\n i++;\n \tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n \tbuf = br.readLine();\n \t\tx = Integer.parseInt(buf);\n \t}\n }",
"int i = 0",
"i",
"0",
"x;",
"x",
"InputStreamReader isr =new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br =new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"x = Integer.parseInt(buf)",
"x",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"while(true) {\n \tif (x == 0) break;\n i++;\n \tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n \tbuf = br.readLine();\n \t\tx = Integer.parseInt(buf);\n \t}",
"true",
"{\n \tif (x == 0) break;\n i++;\n \tSystem.out.printf(\"Case %d: %d\\n\", i, x);\n \tbuf = br.readLine();\n \t\tx = Integer.parseInt(buf);\n \t}",
"if (x == 0) break;",
"x == 0",
"x",
"0",
"break;",
"i++",
"i",
"System.out.printf(\"Case %d: %d\\n\", i, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"i",
"x",
"buf = br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"x = Integer.parseInt(buf)",
"x",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
int i = 0, x;
InputStreamReader isr =new InputStreamReader(System.in);
BufferedReader br =new BufferedReader(isr);
String buf = br.readLine();
x = Integer.parseInt(buf);
while(true) {
if (x == 0) break;
i++;
System.out.printf("Case %d: %d\n", i, x);
buf = br.readLine();
x = Integer.parseInt(buf);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
13,
17,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
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
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
37,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = 0;\n\t\twhile((input = sc.nextInt()) != 0) {\n\t\t\tcnt++;\n\t\t\tSystem.out.println(\"Case \" + cnt + \":\" + \" \" + input);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = 0;\n\t\twhile((input = sc.nextInt()) != 0) {\n\t\t\tcnt++;\n\t\t\tSystem.out.println(\"Case \" + cnt + \":\" + \" \" + input);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = 0;\n\t\twhile((input = sc.nextInt()) != 0) {\n\t\t\tcnt++;\n\t\t\tSystem.out.println(\"Case \" + cnt + \":\" + \" \" + input);\n\t\t}\n\t}",
"main",
"{\n\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = 0;\n\t\twhile((input = sc.nextInt()) != 0) {\n\t\t\tcnt++;\n\t\t\tSystem.out.println(\"Case \" + cnt + \":\" + \" \" + input);\n\t\t}\n\t}",
"int cnt = 0;",
"cnt",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int input = 0;",
"input",
"0",
"while((input = sc.nextInt()) != 0) {\n\t\t\tcnt++;\n\t\t\tSystem.out.println(\"Case \" + cnt + \":\" + \" \" + input);\n\t\t}",
"(input = sc.nextInt()) != 0",
"(input = sc.nextInt())",
"input",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n\t\t\tcnt++;\n\t\t\tSystem.out.println(\"Case \" + cnt + \":\" + \" \" + input);\n\t\t}",
"cnt++",
"cnt",
"System.out.println(\"Case \" + cnt + \":\" + \" \" + input)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + cnt + \":\" + \" \" + input",
"\" \"",
"\":\"",
"\"Case \" + cnt + \":\" + \" \" + input",
"\"Case \"",
"cnt",
"\":\"",
"\" \"",
"input",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = 0;\n\t\twhile((input = sc.nextInt()) != 0) {\n\t\t\tcnt++;\n\t\t\tSystem.out.println(\"Case \" + cnt + \":\" + \" \" + input);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint input = 0;\n\t\twhile((input = sc.nextInt()) != 0) {\n\t\t\tcnt++;\n\t\t\tSystem.out.println(\"Case \" + cnt + \":\" + \" \" + input);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int cnt = 0;
Scanner sc = new Scanner(System.in);
int input = 0;
while((input = sc.nextInt()) != 0) {
cnt++;
System.out.println("Case " + cnt + ":" + " " + input);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
40,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
32,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
32,
36
],
[
24,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
24,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int x = scan.nextInt();\n int i = 1;\n while (x != 0) {\n\n System.out.println(\"Case \" + i + \": \" + x);\n x = scan.nextInt();\n i++;\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int x = scan.nextInt();\n int i = 1;\n while (x != 0) {\n\n System.out.println(\"Case \" + i + \": \" + x);\n x = scan.nextInt();\n i++;\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int x = scan.nextInt();\n int i = 1;\n while (x != 0) {\n\n System.out.println(\"Case \" + i + \": \" + x);\n x = scan.nextInt();\n i++;\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n int x = scan.nextInt();\n int i = 1;\n while (x != 0) {\n\n System.out.println(\"Case \" + i + \": \" + x);\n x = scan.nextInt();\n i++;\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int i = 1;",
"i",
"1",
"while (x != 0) {\n\n System.out.println(\"Case \" + i + \": \" + x);\n x = scan.nextInt();\n i++;\n }",
"x != 0",
"x",
"0",
"{\n\n System.out.println(\"Case \" + i + \": \" + x);\n x = scan.nextInt();\n i++;\n }",
"System.out.println(\"Case \" + i + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"i++",
"i",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int i = 1;
while (x != 0) {
System.out.println("Case " + i + ": " + x);
x = scan.nextInt();
i++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
32,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
32,
36
],
[
24,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
24,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int count = 1;\n int a = scanner.nextInt();\n while( a > 0 ){\n System.out.println(\"Case \"+count+\": \"+a);\n a = scanner.nextInt();\n count++;\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int count = 1;\n int a = scanner.nextInt();\n while( a > 0 ){\n System.out.println(\"Case \"+count+\": \"+a);\n a = scanner.nextInt();\n count++;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int count = 1;\n int a = scanner.nextInt();\n while( a > 0 ){\n System.out.println(\"Case \"+count+\": \"+a);\n a = scanner.nextInt();\n count++;\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int count = 1;\n int a = scanner.nextInt();\n while( a > 0 ){\n System.out.println(\"Case \"+count+\": \"+a);\n a = scanner.nextInt();\n count++;\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int count = 1;",
"count",
"1",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"while( a > 0 ){\n System.out.println(\"Case \"+count+\": \"+a);\n a = scanner.nextInt();\n count++;\n }",
"a > 0",
"a",
"0",
"{\n System.out.println(\"Case \"+count+\": \"+a);\n a = scanner.nextInt();\n count++;\n }",
"System.out.println(\"Case \"+count+\": \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+count+\": \"+a",
"\": \"",
"\"Case \"+count+\": \"+a",
"\"Case \"",
"count",
"\": \"",
"a",
"a = scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"count++",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int count = 1;\n int a = scanner.nextInt();\n while( a > 0 ){\n System.out.println(\"Case \"+count+\": \"+a);\n a = scanner.nextInt();\n count++;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int count = 1;\n int a = scanner.nextInt();\n while( a > 0 ){\n System.out.println(\"Case \"+count+\": \"+a);\n a = scanner.nextInt();\n count++;\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int count = 1;
int a = scanner.nextInt();
while( a > 0 ){
System.out.println("Case "+count+": "+a);
a = scanner.nextInt();
count++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
43,
5
],
[
43,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
33,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
33,
37
],
[
25,
38
],
[
38,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
42,
43
],
[
42,
44
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int i = 1;\n int n;\n while ((n = sc.nextInt()) != 0) {\n System.out.println(\"Case \" + i + \": \" + n);\n i++;\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 int i = 1;\n int n;\n while ((n = sc.nextInt()) != 0) {\n System.out.println(\"Case \" + i + \": \" + n);\n i++;\n }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int i = 1;\n int n;\n while ((n = sc.nextInt()) != 0) {\n System.out.println(\"Case \" + i + \": \" + n);\n i++;\n }\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int i = 1;\n int n;\n while ((n = sc.nextInt()) != 0) {\n System.out.println(\"Case \" + i + \": \" + n);\n i++;\n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"int n;",
"n",
"while ((n = sc.nextInt()) != 0) {\n System.out.println(\"Case \" + i + \": \" + n);\n i++;\n }",
"(n = sc.nextInt()) != 0",
"(n = sc.nextInt())",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n System.out.println(\"Case \" + i + \": \" + n);\n i++;\n }",
"System.out.println(\"Case \" + i + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + n",
"\": \"",
"\"Case \" + i + \": \" + n",
"\"Case \"",
"i",
"\": \"",
"n",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int i = 1;\n int n;\n while ((n = sc.nextInt()) != 0) {\n System.out.println(\"Case \" + i + \": \" + n);\n i++;\n }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int i = 1;\n int n;\n while ((n = sc.nextInt()) != 0) {\n System.out.println(\"Case \" + i + \": \" + n);\n i++;\n }\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = 1;
int n;
while ((n = sc.nextInt()) != 0) {
System.out.println("Case " + i + ": " + n);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
17,
13,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
18,
19
],
[
12,
20
],
[
21,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
21,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
21,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
43,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
43,
47
],
[
6,
48
],
[
48,
49
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main (String[ ] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n\n\t\tfor(int i = 1;; i++)\n\t\t{\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tif(0 == n)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main (String[ ] args) throws Exception{\n\t\tBufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n\n\t\tfor(int i = 1;; i++)\n\t\t{\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tif(0 == n)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\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\n\t\tfor(int i = 1;; i++)\n\t\t{\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tif(0 == n)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n\n\t\tfor(int i = 1;; i++)\n\t\t{\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tif(0 == n)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader (new InputStreamReader (System.in));",
"br",
"new BufferedReader (new InputStreamReader (System.in))",
"for(int i = 1;; i++)\n\t\t{\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tif(0 == n)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tif(0 == n)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}",
"{\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tif(0 == n)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(0 == n)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}",
"0 == n",
"0",
"n",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \" + i + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + n",
"\": \"",
"\"Case \" + i + \": \" + n",
"\"Case \"",
"i",
"\": \"",
"n",
"String[ ] args",
"args"
] | import java.io.*;
class Main{
public static void main (String[ ] args) throws Exception{
BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
for(int i = 1;; i++)
{
int n = Integer.parseInt(br.readLine());
if(0 == n)
{
break;
}
System.out.println("Case " + i + ": " + n);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
13,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
0,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
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
],
[
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
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
35,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
52,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
52,
56
],
[
44,
57
],
[
57,
58
],
[
12,
59
],
[
59,
60
]
] | [
"import java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.io.IOException;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint i = 1;\n\t\tboolean b = true;\n\t\twhile (b) {\n\t\t\tString str = br.readLine();\n\t\t\tif (str.equals(\"0\")) {\n\t\t\t\tb = false;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint i = 1;\n\t\tboolean b = true;\n\t\twhile (b) {\n\t\t\tString str = br.readLine();\n\t\t\tif (str.equals(\"0\")) {\n\t\t\t\tb = false;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint i = 1;\n\t\tboolean b = true;\n\t\twhile (b) {\n\t\t\tString str = br.readLine();\n\t\t\tif (str.equals(\"0\")) {\n\t\t\t\tb = false;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\tint i = 1;\n\t\tboolean b = true;\n\t\twhile (b) {\n\t\t\tString str = br.readLine();\n\t\t\tif (str.equals(\"0\")) {\n\t\t\t\tb = false;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"int i = 1;",
"i",
"1",
"boolean b = true;",
"b",
"true",
"while (b) {\n\t\t\tString str = br.readLine();\n\t\t\tif (str.equals(\"0\")) {\n\t\t\t\tb = false;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"b",
"{\n\t\t\tString str = br.readLine();\n\t\t\tif (str.equals(\"0\")) {\n\t\t\t\tb = false;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"if (str.equals(\"0\")) {\n\t\t\t\tb = false;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"{\n\t\t\t\tb = false;\n\t\t\t}",
"b = false",
"b",
"false",
"{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}",
"System.out.println(\"Case \" + i + \": \" + str)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + str",
"\": \"",
"\"Case \" + i + \": \" + str",
"\"Case \"",
"i",
"\": \"",
"str",
"i++",
"i",
"String[] args",
"args"
] | import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;
class Main {
public static void main(String[] args) throws IOException {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
int i = 1;
boolean b = true;
while (b) {
String str = br.readLine();
if (str.equals("0")) {
b = false;
} else {
System.out.println("Case " + i + ": " + str);
i++;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
13,
40,
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
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
31,
38
],
[
38,
39
],
[
31,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
50,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
47,
55
],
[
50,
56
],
[
40,
57
],
[
57,
58
],
[
12,
59
],
[
59,
60
]
] | [
"import 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 br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 1;\n\n\t\tdo {\n\t\t\tString num = br.readLine();\n\n\t\t\tif(Integer.parseInt(num) == 0){\n\t\t\t\tbreak;\n\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\n\n\n\t\t} while (i !=0);\n\n\n\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",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 1;\n\n\t\tdo {\n\t\t\tString num = br.readLine();\n\n\t\t\tif(Integer.parseInt(num) == 0){\n\t\t\t\tbreak;\n\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\n\n\n\t\t} while (i !=0);\n\n\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 1;\n\n\t\tdo {\n\t\t\tString num = br.readLine();\n\n\t\t\tif(Integer.parseInt(num) == 0){\n\t\t\t\tbreak;\n\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\n\n\n\t\t} while (i !=0);\n\n\n\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint i = 1;\n\n\t\tdo {\n\t\t\tString num = br.readLine();\n\n\t\t\tif(Integer.parseInt(num) == 0){\n\t\t\t\tbreak;\n\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\n\n\n\t\t} while (i !=0);\n\n\n\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i = 1;",
"i",
"1",
"do {\n\t\t\tString num = br.readLine();\n\n\t\t\tif(Integer.parseInt(num) == 0){\n\t\t\t\tbreak;\n\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\n\n\n\t\t} while (i !=0);",
"i !=0",
"i",
"0",
"{\n\t\t\tString num = br.readLine();\n\n\t\t\tif(Integer.parseInt(num) == 0){\n\t\t\t\tbreak;\n\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}\n\n\n\n\t\t}",
"String num = br.readLine();",
"num",
"br.readLine()",
"br.readLine",
"br",
"if(Integer.parseInt(num) == 0){\n\t\t\t\tbreak;\n\n\t\t\t}else {\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}",
"Integer.parseInt(num) == 0",
"Integer.parseInt(num)",
"Integer.parseInt",
"Integer",
"num",
"0",
"{\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"{\n\t\t\t\tSystem.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num);\n\t\t\t\ti++;\n\t\t\t}",
"System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\"+\" \"+i+\":\"+\" \"+num",
"\" \"",
"\":\"",
"i",
"\"Case\"+\" \"+i+\":\"+\" \"+num",
"\"Case\"",
"\" \"",
"i",
"\":\"",
"\" \"",
"num",
"i++",
"i",
"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));
int i = 1;
do {
String num = br.readLine();
if(Integer.parseInt(num) == 0){
break;
}else {
System.out.println("Case"+" "+i+":"+" "+num);
i++;
}
} while (i !=0);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
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
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
36,
48
],
[
48,
49
],
[
36,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
58,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
57,
63
],
[
58,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in the editor.\n */\n\n/**\n *\n * @author otsuhata\n */\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n \n int count = 0;\n int x = 1;\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 10000; i ++) {\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }\n \n// while(x != 0) {\n// x = sc.nextInt();\n// count ++;\n// System.out.println(\"Case \" + count + \": \" + x);\n// }\n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n \n int count = 0;\n int x = 1;\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 10000; i ++) {\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }\n \n// while(x != 0) {\n// x = sc.nextInt();\n// count ++;\n// System.out.println(\"Case \" + count + \": \" + x);\n// }\n }\n \n}",
"Main",
"public static void main(String[] args) {\n \n int count = 0;\n int x = 1;\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 10000; i ++) {\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }\n \n// while(x != 0) {\n// x = sc.nextInt();\n// count ++;\n// System.out.println(\"Case \" + count + \": \" + x);\n// }\n }",
"main",
"{\n \n int count = 0;\n int x = 1;\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 10000; i ++) {\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }\n \n// while(x != 0) {\n// x = sc.nextInt();\n// count ++;\n// System.out.println(\"Case \" + count + \": \" + x);\n// }\n }",
"int count = 0;",
"count",
"0",
"int x = 1;",
"x",
"1",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 0; i < 10000; i ++) {\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10000",
"i",
"10000",
"i ++",
"i ++",
"i",
"{\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }",
"{\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }",
"x == 0 || x < 1 || x > 10000",
"x == 0 || x < 1 || x > 10000",
"x == 0",
"x",
"0",
"x < 1",
"x",
"1",
"x > 10000",
"x",
"10000",
"{\n break;\n }",
"break;",
"{\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }",
"System.out.println(\"Case \" + (i + 1) + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + x",
"\": \"",
"\"Case \" + (i + 1) + \": \" + x",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"x",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n \n int count = 0;\n int x = 1;\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 10000; i ++) {\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }\n \n// while(x != 0) {\n// x = sc.nextInt();\n// count ++;\n// System.out.println(\"Case \" + count + \": \" + x);\n// }\n }\n \n}",
"public class Main {\n public static void main(String[] args) {\n \n int count = 0;\n int x = 1;\n \n Scanner sc = new Scanner(System.in); \n \n for(int i = 0; i < 10000; i ++) {\n x = sc.nextInt();\n \n if(x == 0 || x < 1 || x > 10000) {\n break;\n }else {\n System.out.println(\"Case \" + (i + 1) + \": \" + x);\n }\n }\n \n// while(x != 0) {\n// x = sc.nextInt();\n// count ++;\n// System.out.println(\"Case \" + count + \": \" + x);\n// }\n }\n \n}",
"Main"
] | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
*
* @author otsuhata
*/
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int count = 0;
int x = 1;
Scanner sc = new Scanner(System.in);
for(int i = 0; i < 10000; i ++) {
x = sc.nextInt();
if(x == 0 || x < 1 || x > 10000) {
break;
}else {
System.out.println("Case " + (i + 1) + ": " + x);
}
}
// while(x != 0) {
// x = sc.nextInt();
// count ++;
// System.out.println("Case " + count + ": " + x);
// }
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
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,
2,
13,
17,
17,
30,
3,
41,
13,
4,
18,
13,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
98,
5
],
[
98,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
62,
71
],
[
71,
72
],
[
61,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
61,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
90,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
90,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[10001];\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 1; i < line.length; i++) {\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[10001];\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 1; i < line.length; i++) {\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[10001];\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 1; i < line.length; i++) {\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[10001];\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 1; i < line.length; i++) {\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] line = new String[10001];",
"line",
"new String[10001]",
"10001",
"for (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line.length",
"i",
"line.length",
"line",
"line.length",
"i++",
"i++",
"i",
"{\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"line[i] = sc.nextLine()",
"line[i]",
"line",
"i",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"line[i].equals(\"0\")",
"line[i].equals",
"line[i]",
"line",
"i",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 1; i < line.length; i++) {\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < line.length",
"i",
"line.length",
"line",
"line.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}",
"{\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}",
"if (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"line[i - 1].equals(\"0\")",
"line[i - 1].equals",
"line[i - 1]",
"line",
"i - 1",
"i",
"1",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"int v = Integer.parseInt(line[i - 1]);",
"v",
"Integer.parseInt(line[i - 1])",
"Integer.parseInt",
"Integer",
"line[i - 1]",
"line",
"i - 1",
"i",
"1",
"System.out.println(\"Case \" + i + \": \" + v)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + v",
"\": \"",
"\"Case \" + i + \": \" + v",
"\"Case \"",
"i",
"\": \"",
"v",
"String[] arges",
"arges",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[10001];\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 1; i < line.length; i++) {\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[10001];\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\t\t\tif (line[i].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 1; i < line.length; i++) {\n\t\t\tif (line[i - 1].equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint v = Integer.parseInt(line[i - 1]);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + v);\n\t\t}\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] arges) {
Scanner sc = new Scanner(System.in);
String[] line = new String[10001];
for (int i = 0; i < line.length; i++) {
line[i] = sc.nextLine();
if (line[i].equals("0")) {
break;
}
}
for (int i = 1; i < line.length; i++) {
if (line[i - 1].equals("0")) {
break;
}
int v = Integer.parseInt(line[i - 1]);
System.out.println("Case " + i + ": " + v);
}
}
} |
[
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,
14,
2,
17,
4,
18,
13,
30,
3,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
79,
11
],
[
79,
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
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
63,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
14,
73
],
[
73,
74
],
[
74,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> array = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tInteger n = sc.nextInt();\n\t\t\tif (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tarray.add(n);\n\t\t}\n\n\t\tfor (int i = 0; i < array.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}\n\n\t\tsc.close();\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> array = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tInteger n = sc.nextInt();\n\t\t\tif (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tarray.add(n);\n\t\t}\n\n\t\tfor (int i = 0; i < array.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}\n\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> array = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tInteger n = sc.nextInt();\n\t\t\tif (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tarray.add(n);\n\t\t}\n\n\t\tfor (int i = 0; i < array.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}\n\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> array = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tInteger n = sc.nextInt();\n\t\t\tif (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tarray.add(n);\n\t\t}\n\n\t\tfor (int i = 0; i < array.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<Integer> array = new ArrayList<Integer>();",
"array",
"new ArrayList<Integer>()",
"while (true) {\n\t\t\tInteger n = sc.nextInt();\n\t\t\tif (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tarray.add(n);\n\t\t}",
"true",
"{\n\t\t\tInteger n = sc.nextInt();\n\t\t\tif (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tarray.add(n);\n\t\t}",
"Integer n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}",
"0 == n.intValue()",
"0",
"n.intValue()",
"n.intValue",
"n",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"array.add(n)",
"array.add",
"array",
"n",
"for (int i = 0; i < array.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.size()",
"i",
"array.size()",
"array.size",
"array",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}",
"System.out.println(\"Case \" + (i + 1) + \": \" + array.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + array.get(i)",
"\": \"",
"\"Case \" + (i + 1) + \": \" + array.get(i)",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"array.get(i)",
"array.get",
"array",
"i",
"sc.close()",
"sc.close",
"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\tList<Integer> array = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tInteger n = sc.nextInt();\n\t\t\tif (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tarray.add(n);\n\t\t}\n\n\t\tfor (int i = 0; i < array.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}\n\n\t\tsc.close();\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\tList<Integer> array = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tInteger n = sc.nextInt();\n\t\t\tif (0 == n.intValue()) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tarray.add(n);\n\t\t}\n\n\t\tfor (int i = 0; i < array.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + array.get(i));\n\t\t}\n\n\t\tsc.close();\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<Integer> array = new ArrayList<Integer>();
while (true) {
Integer n = sc.nextInt();
if (0 == n.intValue()) {
break;
}
array.add(n);
}
for (int i = 0; i < array.size(); i++) {
System.out.println("Case " + (i + 1) + ": " + array.get(i));
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
40,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
30,
4,
18,
13,
2,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
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
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
25,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
54,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
51,
59
],
[
50,
60
],
[
54,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
]
] | [
"import java.util.Scanner; \n \nclass Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str = new String();\n StringBuilder sb = new StringBuilder();\n int i =0 ;\n while(in.hasNext()) {\n String buf = in.nextLine();\n i++;\n int j = Integer.parseInt(buf);\n if (j == 0){\n break;\n }else{\n sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\");\n }\n\n }\n System.out.print(sb);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str = new String();\n StringBuilder sb = new StringBuilder();\n int i =0 ;\n while(in.hasNext()) {\n String buf = in.nextLine();\n i++;\n int j = Integer.parseInt(buf);\n if (j == 0){\n break;\n }else{\n sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\");\n }\n\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str = new String();\n StringBuilder sb = new StringBuilder();\n int i =0 ;\n while(in.hasNext()) {\n String buf = in.nextLine();\n i++;\n int j = Integer.parseInt(buf);\n if (j == 0){\n break;\n }else{\n sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\");\n }\n\n }\n System.out.print(sb);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n String str = new String();\n StringBuilder sb = new StringBuilder();\n int i =0 ;\n while(in.hasNext()) {\n String buf = in.nextLine();\n i++;\n int j = Integer.parseInt(buf);\n if (j == 0){\n break;\n }else{\n sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\");\n }\n\n }\n System.out.print(sb);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String str = new String();",
"str",
"new String()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int i =0 ;",
"i",
"0",
"while(in.hasNext()) {\n String buf = in.nextLine();\n i++;\n int j = Integer.parseInt(buf);\n if (j == 0){\n break;\n }else{\n sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\");\n }\n\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n String buf = in.nextLine();\n i++;\n int j = Integer.parseInt(buf);\n if (j == 0){\n break;\n }else{\n sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\");\n }\n\n }",
"String buf = in.nextLine();",
"buf",
"in.nextLine()",
"in.nextLine",
"in",
"i++",
"i",
"int j = Integer.parseInt(buf);",
"j",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"if (j == 0){\n break;\n }else{\n sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\");\n }",
"j == 0",
"j",
"0",
"{\n break;\n }",
"break;",
"{\n sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\");\n }",
"sb.append(\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\")",
"sb.append",
"sb",
"\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\"",
"buf",
"\" \"",
"\":\"",
"i",
"\"Case\" + \" \" + i + \":\" + \" \" + buf + \"\\n\"",
"\"Case\"",
"\" \"",
"i",
"\":\"",
"\" \"",
"buf",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String str = new String();
StringBuilder sb = new StringBuilder();
int i =0 ;
while(in.hasNext()) {
String buf = in.nextLine();
i++;
int j = Integer.parseInt(buf);
if (j == 0){
break;
}else{
sb.append("Case" + " " + i + ":" + " " + buf + "\n");
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
4,
18,
13,
2,
13,
17,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
31,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
31,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
48,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
46,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tint[] data2 = new int[10000];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tint[] data2 = new int[10000];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tint[] data2 = new int[10000];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}",
"main",
"{\n\t\tint[] data2 = new int[10000];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}",
"int[] data2 = new int[10000];",
"data2",
"new int[10000]",
"10000",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"for(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}",
"{\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}",
"int data = Integer.parseInt(input.readLine());",
"data",
"Integer.parseInt(input.readLine())",
"Integer.parseInt",
"Integer",
"input.readLine()",
"input.readLine",
"input",
"if( data == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"data == 0",
"data",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\")",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data))",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \")",
"output.append(\"Case \").append(Integer.toString(i+1)).append",
"output.append(\"Case \").append(Integer.toString(i+1))",
"output.append(\"Case \").append",
"output.append(\"Case \")",
"output.append",
"output",
"\"Case \"",
"Integer.toString(i+1)",
"Integer.toString",
"Integer",
"i+1",
"i",
"1",
"\": \"",
"Integer.toString(data)",
"Integer.toString",
"Integer",
"data",
"\"\\n\"",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tint[] data2 = new int[10000];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tint[] data2 = new int[10000];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
int[] data2 = new int[10000];
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
StringBuilder output = new StringBuilder();
for(int i=0; i < 10001; i++){
int data = Integer.parseInt(input.readLine());
if( data == 0){
break;
}
output.append("Case ").append(Integer.toString(i+1)).append(": ").append(Integer.toString(data)).append("\n");
}
System.out.print(output);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
4,
18,
13,
40,
13,
17,
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
],
[
70,
8
],
[
70,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
23,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
45,
58
],
[
43,
59
],
[
41,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tint count=1;\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t //int a = Integer.parseInt(sc.nextLine());\n \t int a = sc.nextInt();\n \t\tif(a == 0){\n \t \tbreak;\n \t }\n String b = Integer.toString(a);\n sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\");\n\n \t}\n \tSystem.out.print(sb);\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tint count=1;\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t //int a = Integer.parseInt(sc.nextLine());\n \t int a = sc.nextInt();\n \t\tif(a == 0){\n \t \tbreak;\n \t }\n String b = Integer.toString(a);\n sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\");\n\n \t}\n \tSystem.out.print(sb);\n }\n}",
"Main",
"public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tint count=1;\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t //int a = Integer.parseInt(sc.nextLine());\n \t int a = sc.nextInt();\n \t\tif(a == 0){\n \t \tbreak;\n \t }\n String b = Integer.toString(a);\n sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\");\n\n \t}\n \tSystem.out.print(sb);\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tint count=1;\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t //int a = Integer.parseInt(sc.nextLine());\n \t int a = sc.nextInt();\n \t\tif(a == 0){\n \t \tbreak;\n \t }\n String b = Integer.toString(a);\n sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\");\n\n \t}\n \tSystem.out.print(sb);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count=1;",
"count",
"1",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n \t //int a = Integer.parseInt(sc.nextLine());\n \t int a = sc.nextInt();\n \t\tif(a == 0){\n \t \tbreak;\n \t }\n String b = Integer.toString(a);\n sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\");\n\n \t}",
"true",
"{\n \t //int a = Integer.parseInt(sc.nextLine());\n \t int a = sc.nextInt();\n \t\tif(a == 0){\n \t \tbreak;\n \t }\n String b = Integer.toString(a);\n sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\");\n\n \t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a == 0){\n \t \tbreak;\n \t }",
"a == 0",
"a",
"0",
"{\n \t \tbreak;\n \t }",
"break;",
"String b = Integer.toString(a);",
"b",
"Integer.toString(a)",
"Integer.toString",
"Integer",
"a",
"sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\")",
"sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append",
"sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b)",
"sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append",
"sb.append(\"Case \").append(Integer.toString(count++)).append(\": \")",
"sb.append(\"Case \").append(Integer.toString(count++)).append",
"sb.append(\"Case \").append(Integer.toString(count++))",
"sb.append(\"Case \").append",
"sb.append(\"Case \")",
"sb.append",
"sb",
"\"Case \"",
"Integer.toString(count++)",
"Integer.toString",
"Integer",
"count++",
"count",
"\": \"",
"b",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String args[]",
"args",
"public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tint count=1;\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t //int a = Integer.parseInt(sc.nextLine());\n \t int a = sc.nextInt();\n \t\tif(a == 0){\n \t \tbreak;\n \t }\n String b = Integer.toString(a);\n sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\");\n\n \t}\n \tSystem.out.print(sb);\n }\n}",
"public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tint count=1;\n \tStringBuilder sb = new StringBuilder();\n \twhile(true){\n \t //int a = Integer.parseInt(sc.nextLine());\n \t int a = sc.nextInt();\n \t\tif(a == 0){\n \t \tbreak;\n \t }\n String b = Integer.toString(a);\n sb.append(\"Case \").append(Integer.toString(count++)).append(\": \").append(b).append(\"\\n\");\n\n \t}\n \tSystem.out.print(sb);\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 count=1;
StringBuilder sb = new StringBuilder();
while(true){
//int a = Integer.parseInt(sc.nextLine());
int a = sc.nextInt();
if(a == 0){
break;
}
String b = Integer.toString(a);
sb.append("Case ").append(Integer.toString(count++)).append(": ").append(b).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
40,
17,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
77,
11
],
[
77,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
44,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
64,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
64,
68
],
[
44,
69
],
[
69,
70
],
[
27,
71
],
[
71,
72
],
[
72,
73
],
[
12,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Math;\n\npublic class Main{\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main{\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"main",
"{\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"Exception e",
"{\n e.getStackTrace();\n System.exit(-1);\n }",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }\n stdReader.close();\n }",
"BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"int count = 1;",
"count",
"1",
"while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }",
"(line = stdReader.readLine()) != null",
"(line = stdReader.readLine())",
"line",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }",
"int input = Integer.parseInt(line);",
"input",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if(input == 0) {\n break;\n }",
"input == 0",
"input",
"0",
"{\n break;\n }",
"break;",
"System.out.println(\"Case \" + count + \": \" + input)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + count + \": \" + input",
"\": \"",
"\"Case \" + count + \": \" + input",
"\"Case \"",
"count",
"\": \"",
"input",
"count++",
"count",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"public class Main{\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n int input = Integer.parseInt(line);\n \n // 0?????\\?????????????????????\n if(input == 0) {\n break;\n }\n \n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;
public class Main{
public static void main(String[] args) {
try {
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
String line;
int count = 1;
while((line = stdReader.readLine()) != null) {
int input = Integer.parseInt(line);
// 0?????\?????????????????????
if(input == 0) {
break;
}
System.out.println("Case " + count + ": " + input);
count++;
}
stdReader.close();
} catch(Exception e) {
e.getStackTrace();
System.exit(-1);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
30,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
4,
18,
13,
13,
17,
13,
17,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
17,
40,
13,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
108,
11
],
[
108,
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
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
47,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
54,
66
],
[
52,
67
],
[
50,
68
],
[
36,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
69,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
75,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
36,
88
],
[
88,
89
],
[
33,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
91,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
103,
104
],
[
12,
105
],
[
105,
106
],
[
0,
107
],
[
107,
108
],
[
107,
109
]
] | [
"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\tint idx = 1;\n\t\tString str;\n\n\t\tStringBuilder output = new StringBuilder();\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}\n\t\t\tif (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}\n\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\tint idx = 1;\n\t\tString str;\n\n\t\tStringBuilder output = new StringBuilder();\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}\n\t\t\tif (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}\n\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\tint idx = 1;\n\t\tString str;\n\n\t\tStringBuilder output = new StringBuilder();\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}\n\t\t\tif (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}\n\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\tint idx = 1;\n\t\tString str;\n\n\t\tStringBuilder output = new StringBuilder();\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}\n\t\t\tif (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}\n\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))",
"int idx = 1;",
"idx",
"1",
"String str;",
"str",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"try {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}\n\t\t\tif (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}\n\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\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}\n\t\t\tif (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}\n\n\t\t}",
"while(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}",
"true",
"{\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"if (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"{\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}",
"output.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\")",
"output.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append",
"output.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str)",
"output.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append",
"output.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \")",
"output.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append",
"output.append(\"Case \").append(String.valueOf(idx))",
"output.append(\"Case \").append",
"output.append(\"Case \")",
"output.append",
"output",
"\"Case \"",
"String.valueOf(idx)",
"String.valueOf",
"String",
"idx",
"\": \"",
"str",
"\"\\n\"",
"if (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}",
"idx % 100 == 0",
"idx % 100",
"idx",
"100",
"0",
"{\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}",
"System.out.print(output.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"output.toString()",
"output.toString",
"output",
"output.setLength(0)",
"output.setLength",
"output",
"0",
"idx++",
"idx",
"if (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}",
"output.length() > 0",
"output.length()",
"output.length",
"output",
"0",
"{\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}",
"System.out.print(output.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"output.toString()",
"output.toString",
"output",
"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\tint idx = 1;\n\t\tString str;\n\n\t\tStringBuilder output = new StringBuilder();\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}\n\t\t\tif (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}\n\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\tint idx = 1;\n\t\tString str;\n\n\t\tStringBuilder output = new StringBuilder();\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\t\t\t\tif (str.equals(\"0\")) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\toutput.append(\"Case \").append(String.valueOf(idx))\n\t\t\t\t\t\t\t.append(\": \").append(str).append(\"\\n\");\n\t\t\t\t}\n\t\t\t\tif (idx % 100 == 0) {\n\t\t\t\t\tSystem.out.print(output.toString());\n\t\t\t\t\toutput.setLength(0);\n\t\t\t\t}\n\t\t\t\tidx++;\n\t\t\t}\n\t\t\tif (output.length() > 0) {\n\t\t\t\tSystem.out.print(output.toString());\n\t\t\t}\n\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));
int idx = 1;
String str;
StringBuilder output = new StringBuilder();
try {
while(true){
str = br.readLine();
if (str.equals("0")) {
break;
} else {
output.append("Case ").append(String.valueOf(idx))
.append(": ").append(str).append("\n");
}
if (idx % 100 == 0) {
System.out.print(output.toString());
output.setLength(0);
}
idx++;
}
if (output.length() > 0) {
System.out.print(output.toString());
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
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,
4,
18,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
75,
8
],
[
75,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
45,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
38,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
62,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
9,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\n/**\n * Created 2017/06/01.\n */\n public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int input = Integer.parseInt(sc.next());\n ary.add(input);\n if (input == 0)break;\n }\n\n for(int i = 0; i < ary.size()-1; i++){\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\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 //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int input = Integer.parseInt(sc.next());\n ary.add(input);\n if (input == 0)break;\n }\n\n for(int i = 0; i < ary.size()-1; i++){\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\n }\n\n }\n }",
"Main",
"public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int input = Integer.parseInt(sc.next());\n ary.add(input);\n if (input == 0)break;\n }\n\n for(int i = 0; i < ary.size()-1; i++){\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\n }\n\n }",
"main",
"{\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int input = Integer.parseInt(sc.next());\n ary.add(input);\n if (input == 0)break;\n }\n\n for(int i = 0; i < ary.size()-1; i++){\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> ary = new ArrayList<>();",
"ary",
"new ArrayList<>()",
"while (true) {\n int input = Integer.parseInt(sc.next());\n ary.add(input);\n if (input == 0)break;\n }",
"true",
"{\n int input = Integer.parseInt(sc.next());\n ary.add(input);\n if (input == 0)break;\n }",
"int input = Integer.parseInt(sc.next());",
"input",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"ary.add(input)",
"ary.add",
"ary",
"input",
"if (input == 0)break;",
"input == 0",
"input",
"0",
"break;",
"for(int i = 0; i < ary.size()-1; i++){\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ary.size()-1",
"i",
"ary.size()-1",
"ary.size()",
"ary.size",
"ary",
"1",
"i++",
"i++",
"i",
"{\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\n }",
"{\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\n }",
"System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i+1) + \": \" +ary.get(i)",
"\": \"",
"\"Case \" + (i+1) + \": \" +ary.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"ary.get(i)",
"ary.get",
"ary",
"i",
"String[] args",
"args",
" public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int input = Integer.parseInt(sc.next());\n ary.add(input);\n if (input == 0)break;\n }\n\n for(int i = 0; i < ary.size()-1; i++){\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\n }\n\n }\n }",
" public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int input = Integer.parseInt(sc.next());\n ary.add(input);\n if (input == 0)break;\n }\n\n for(int i = 0; i < ary.size()-1; i++){\n System.out.println(\"Case \" + (i+1) + \": \" +ary.get(i));\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<Integer> ary = new ArrayList<>();
while (true) {
int input = Integer.parseInt(sc.next());
ary.add(input);
if (input == 0)break;
}
for(int i = 0; i < ary.size()-1; i++){
System.out.println("Case " + (i+1) + ": " +ary.get(i));
}
}
} |
[
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,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
4,
18,
13,
40,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
76,
11
],
[
76,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
26,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
48,
61
],
[
46,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
44,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
12,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n int i = 1;\n\n while(true){\n String input = br.readLine();\n int x = Integer.parseInt(input);\n\n if(x == 0){\n break;\n }\n output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n }\n System.out.print(output);\n// ??¢?????????????????????????????????????????????println???????????¨????¨??????????????????????????????¨????????????\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n int i = 1;\n\n while(true){\n String input = br.readLine();\n int x = Integer.parseInt(input);\n\n if(x == 0){\n break;\n }\n output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n }\n System.out.print(output);\n// ??¢?????????????????????????????????????????????println???????????¨????¨??????????????????????????????¨????????????\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n int i = 1;\n\n while(true){\n String input = br.readLine();\n int x = Integer.parseInt(input);\n\n if(x == 0){\n break;\n }\n output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n }\n System.out.print(output);\n// ??¢?????????????????????????????????????????????println???????????¨????¨??????????????????????????????¨????????????\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n int i = 1;\n\n while(true){\n String input = br.readLine();\n int x = Integer.parseInt(input);\n\n if(x == 0){\n break;\n }\n output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n }\n System.out.print(output);\n// ??¢?????????????????????????????????????????????println???????????¨????¨??????????????????????????????¨????????????\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"int i = 1;",
"i",
"1",
"while(true){\n String input = br.readLine();\n int x = Integer.parseInt(input);\n\n if(x == 0){\n break;\n }\n output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n }",
"true",
"{\n String input = br.readLine();\n int x = Integer.parseInt(input);\n\n if(x == 0){\n break;\n }\n output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n }",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"int x = Integer.parseInt(input);",
"x",
"Integer.parseInt(input)",
"Integer.parseInt",
"Integer",
"input",
"if(x == 0){\n break;\n }",
"x == 0",
"x",
"0",
"{\n break;\n }",
"break;",
"output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\")",
"output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append",
"output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x))",
"output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append",
"output.append(\"Case \").append(Integer.toString(i++)).append(\": \")",
"output.append(\"Case \").append(Integer.toString(i++)).append",
"output.append(\"Case \").append(Integer.toString(i++))",
"output.append(\"Case \").append",
"output.append(\"Case \")",
"output.append",
"output",
"\"Case \"",
"Integer.toString(i++)",
"Integer.toString",
"Integer",
"i++",
"i",
"\": \"",
"Integer.toString(x)",
"Integer.toString",
"Integer",
"x",
"\"\\n\"",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n int i = 1;\n\n while(true){\n String input = br.readLine();\n int x = Integer.parseInt(input);\n\n if(x == 0){\n break;\n }\n output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n }\n System.out.print(output);\n// ??¢?????????????????????????????????????????????println???????????¨????¨??????????????????????????????¨????????????\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n int i = 1;\n\n while(true){\n String input = br.readLine();\n int x = Integer.parseInt(input);\n\n if(x == 0){\n break;\n }\n output.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n }\n System.out.print(output);\n// ??¢?????????????????????????????????????????????println???????????¨????¨??????????????????????????????¨????????????\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder output = new StringBuilder();
int i = 1;
while(true){
String input = br.readLine();
int x = Integer.parseInt(input);
if(x == 0){
break;
}
output.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(x)).append("\n");
}
System.out.print(output);
// ??¢?????????????????????????????????????????????println???????????¨????¨??????????????????????????????¨????????????
}
} |
[
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,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
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
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
42,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }\n\t}\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }\n\t}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=1; i>0; i++){\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i>0",
"i",
"0",
"i++",
"i++",
"i",
"{\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }",
"{\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }",
"int iNum = scan.nextInt();",
"iNum",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(iNum == 0)\n break;",
"iNum == 0",
"iNum",
"0",
"break;",
"System.out.println(\"Case \" + i + \": \" + iNum)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + iNum",
"\": \"",
"\"Case \" + i + \": \" + iNum",
"\"Case \"",
"i",
"\": \"",
"iNum",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum = scan.nextInt();\n if(iNum == 0)\n break;\n System.out.println(\"Case \" + i + \": \" + iNum);\n }\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
for(int i=1; i>0; i++){
int iNum = scan.nextInt();
if(iNum == 0)
break;
System.out.println("Case " + i + ": " + iNum);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
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
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
12,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
32,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
67,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
67,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }",
"catch (IOException e) {\n System.out.println(e);\n }",
"IOException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch (NumberFormatException e) {\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }",
"NumberFormatException e",
"{\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }",
"System.out.println(\"??°????????¢????????£????????????????????????\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"??°????????¢????????£????????????????????????\"",
"{\n for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n }",
"for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }",
"{\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"int n = Integer.parseInt(line);",
"n",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }",
"n == 0",
"n",
"0",
"{\n break;\n }",
"break;",
"{\n System.out.println(\"Case \" + i + \": \" + n);\n }",
"System.out.println(\"Case \" + i + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + n",
"\": \"",
"\"Case \" + i + \": \" + n",
"\"Case \"",
"i",
"\": \"",
"n",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n for (int i = 1; ; i++) {\n String line = reader.readLine();\n int n = Integer.parseInt(line);\n if (n == 0) {\n break;\n } else {\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"??°????????¢????????£????????????????????????\");\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try {
for (int i = 1; ; i++) {
String line = reader.readLine();
int n = Integer.parseInt(line);
if (n == 0) {
break;
} else {
System.out.println("Case " + i + ": " + n);
}
}
} catch (IOException e) {
System.out.println(e);
} catch (NumberFormatException e) {
System.out.println("??°????????¢????????£????????????????????????");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
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
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
36,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
36,
40
],
[
17,
41
],
[
41,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int count = 1;\n while(true){\n int value = sc.nextInt();\n if (value == 0){\n break;\n }\n System.out.println(\"Case \" + count + \": \" + value);\n count++;\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 int count = 1;\n while(true){\n int value = sc.nextInt();\n if (value == 0){\n break;\n }\n System.out.println(\"Case \" + count + \": \" + value);\n count++;\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int count = 1;\n while(true){\n int value = sc.nextInt();\n if (value == 0){\n break;\n }\n System.out.println(\"Case \" + count + \": \" + value);\n count++;\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int count = 1;\n while(true){\n int value = sc.nextInt();\n if (value == 0){\n break;\n }\n System.out.println(\"Case \" + count + \": \" + value);\n count++;\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count = 1;",
"count",
"1",
"while(true){\n int value = sc.nextInt();\n if (value == 0){\n break;\n }\n System.out.println(\"Case \" + count + \": \" + value);\n count++;\n }",
"true",
"{\n int value = sc.nextInt();\n if (value == 0){\n break;\n }\n System.out.println(\"Case \" + count + \": \" + value);\n count++;\n }",
"int value = sc.nextInt();",
"value",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (value == 0){\n break;\n }",
"value == 0",
"value",
"0",
"{\n break;\n }",
"break;",
"System.out.println(\"Case \" + count + \": \" + value)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + count + \": \" + value",
"\": \"",
"\"Case \" + count + \": \" + value",
"\"Case \"",
"count",
"\": \"",
"value",
"count++",
"count",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int count = 1;
while(true){
int value = sc.nextInt();
if (value == 0){
break;
}
System.out.println("Case " + count + ": " + value);
count++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
20,
21
],
[
14,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint j;\n\t\tfor(int i=1;;i++){\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint j;\n\t\tfor(int i=1;;i++){\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint j;\n\t\tfor(int i=1;;i++){\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint j;\n\t\tfor(int i=1;;i++){\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int j;",
"j",
"for(int i=1;;i++){\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}",
"{\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}",
"j = scan.nextInt()",
"j",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(j==0)break;",
"j==0",
"j",
"0",
"break;",
"System.out.println(\"Case \"+i+\": \"+j)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+j",
"\": \"",
"\"Case \"+i+\": \"+j",
"\"Case \"",
"i",
"\": \"",
"j",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint j;\n\t\tfor(int i=1;;i++){\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint j;\n\t\tfor(int i=1;;i++){\n\t\t\tj = scan.nextInt();\n\t\t\tif(j==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+j);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
int j;
for(int i=1;;i++){
j = scan.nextInt();
if(j==0)break;
System.out.println("Case "+i+": "+j);
}
}
} |
[
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,
13,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
13,
14,
2,
13,
17,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
45,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
42,
50
],
[
45,
51
],
[
24,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"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\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int i = 1; i <= 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int n = Integer.parseInt(line);",
"n",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\" + \" \" + i + \":\" + \" \" + n",
"\" \"",
"\":\"",
"i",
"\"Case\" + \" \" + i + \":\" + \" \" + n",
"\"Case\"",
"\" \"",
"i",
"\":\"",
"\" \"",
"n",
"if (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"n == 0",
"n",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"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\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\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\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint n = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + n);\n\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\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);
for (int i = 1; i <= 10000; i++) {
String line = sc.nextLine();
int n = Integer.parseInt(line);
System.out.println("Case" + " " + i + ":" + " " + n);
if (n == 0) {
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
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
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
23,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"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\t\tint input,i;\n\t\t\n\t\ti = 1;\n\t\tdo{\n\t\t\tinput = scan.nextInt();\n\t\t\tif(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(input > 0);\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint input,i;\n\t\t\n\t\ti = 1;\n\t\tdo{\n\t\t\tinput = scan.nextInt();\n\t\t\tif(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(input > 0);\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint input,i;\n\t\t\n\t\ti = 1;\n\t\tdo{\n\t\t\tinput = scan.nextInt();\n\t\t\tif(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(input > 0);\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint input,i;\n\t\t\n\t\ti = 1;\n\t\tdo{\n\t\t\tinput = scan.nextInt();\n\t\t\tif(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(input > 0);\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int input",
"input",
"i;",
"i",
"i = 1",
"i",
"1",
"do{\n\t\t\tinput = scan.nextInt();\n\t\t\tif(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(input > 0);",
"input > 0",
"input",
"0",
"{\n\t\t\tinput = scan.nextInt();\n\t\t\tif(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"input = scan.nextInt()",
"input",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}",
"input > 0",
"input",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}",
"System.out.println(\"Case \"+i+\": \"+input)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+input",
"\": \"",
"\"Case \"+i+\": \"+input",
"\"Case \"",
"i",
"\": \"",
"input",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint input,i;\n\t\t\n\t\ti = 1;\n\t\tdo{\n\t\t\tinput = scan.nextInt();\n\t\t\tif(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(input > 0);\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint input,i;\n\t\t\n\t\ti = 1;\n\t\tdo{\n\t\t\tinput = scan.nextInt();\n\t\t\tif(input > 0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+input);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(input > 0);\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int input,i;
i = 1;
do{
input = scan.nextInt();
if(input > 0){
System.out.println("Case "+i+": "+input);
}
i++;
}while(input > 0);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
13,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
36,
41
],
[
37,
42
],
[
25,
43
],
[
43,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\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)",
"int i = 1;",
"i",
"1",
"while(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int value = sc.nextInt();",
"value",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}",
"value != 0",
"value",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}",
"System.out.println(\"Case \" + (i++) + \": \" + value)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i++) + \": \" + value",
"\": \"",
"\"Case \" + (i++) + \": \" + value",
"\"Case \"",
"(i++)",
"i",
"\": \"",
"value",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tSystem.out.println(\"Case \" + (i++) + \": \" + value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i = 1;
while(sc.hasNextInt()){
int value = sc.nextInt();
if(value != 0){
System.out.println("Case " + (i++) + ": " + value);
}
else{
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
0,
13,
4,
18,
13,
42,
40,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
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
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
43,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
43,
47
],
[
35,
48
],
[
48,
49
],
[
35,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
12,
55
],
[
55,
56
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n \nclass Main {\n public static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String t = \"\";\n int i = 1;\n t = reader.readLine();\n while(!t.equals(\"0\")){\n System.out.println(\"Case \" + i + \": \" + t);\n i++;\n t = reader.readLine();\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String t = \"\";\n int i = 1;\n t = reader.readLine();\n while(!t.equals(\"0\")){\n System.out.println(\"Case \" + i + \": \" + t);\n i++;\n t = reader.readLine();\n }\n }\n}",
"Main",
"public static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String t = \"\";\n int i = 1;\n t = reader.readLine();\n while(!t.equals(\"0\")){\n System.out.println(\"Case \" + i + \": \" + t);\n i++;\n t = reader.readLine();\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String t = \"\";\n int i = 1;\n t = reader.readLine();\n while(!t.equals(\"0\")){\n System.out.println(\"Case \" + i + \": \" + t);\n i++;\n t = reader.readLine();\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String t = \"\";",
"t",
"\"\"",
"int i = 1;",
"i",
"1",
"t = reader.readLine()",
"t",
"reader.readLine()",
"reader.readLine",
"reader",
"while(!t.equals(\"0\")){\n System.out.println(\"Case \" + i + \": \" + t);\n i++;\n t = reader.readLine();\n }",
"!t.equals(\"0\")",
"t.equals(\"0\")",
"t.equals",
"t",
"\"0\"",
"{\n System.out.println(\"Case \" + i + \": \" + t);\n i++;\n t = reader.readLine();\n }",
"System.out.println(\"Case \" + i + \": \" + t)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + t",
"\": \"",
"\"Case \" + i + \": \" + t",
"\"Case \"",
"i",
"\": \"",
"t",
"i++",
"i",
"t = reader.readLine()",
"t",
"reader.readLine()",
"reader.readLine",
"reader",
"String args[]",
"args"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main {
public static void main(String args[]) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String t = "";
int i = 1;
t = reader.readLine();
while(!t.equals("0")){
System.out.println("Case " + i + ": " + t);
i++;
t = reader.readLine();
}
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
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
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
37,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"import java.util.Scanner;\npublic class Main{\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n Scanner stdIn = new Scanner(System.in);\n \n for(int i = 1;i <= 10000;i++){\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }\n \n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n Scanner stdIn = new Scanner(System.in);\n \n for(int i = 1;i <= 10000;i++){\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }\n \n}\n}",
"Main",
"/**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n Scanner stdIn = new Scanner(System.in);\n \n for(int i = 1;i <= 10000;i++){\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }\n \n}",
"main",
"{\n // TODO code application logic here\n Scanner stdIn = new Scanner(System.in);\n \n for(int i = 1;i <= 10000;i++){\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }\n \n}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"for(int i = 1;i <= 10000;i++){\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }",
"{\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }",
"int x = stdIn.nextInt();",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"System.out.println(\"Case \"+i+\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+x",
"\": \"",
"\"Case \"+i+\": \"+x",
"\"Case \"",
"i",
"\": \"",
"x",
"String[] args",
"args",
"public class Main{\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n Scanner stdIn = new Scanner(System.in);\n \n for(int i = 1;i <= 10000;i++){\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }\n \n}\n}",
"public class Main{\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) {\n // TODO code application logic here\n Scanner stdIn = new Scanner(System.in);\n \n for(int i = 1;i <= 10000;i++){\n int x = stdIn.nextInt();\n System.out.println(\"Case \"+i+\": \"+x);\n }\n \n}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
Scanner stdIn = new Scanner(System.in);
for(int i = 1;i <= 10000;i++){
int x = stdIn.nextInt();
System.out.println("Case "+i+": "+x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
11,
1,
30,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
40,
13,
17,
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
],
[
66,
11
],
[
66,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
33,
38
],
[
38,
39
],
[
27,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
46,
52
],
[
52,
53
],
[
44,
54
],
[
42,
55
],
[
40,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
12,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint cnt = 1;\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint cnt = 1;\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint cnt = 1;\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\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\n\t\tint cnt = 1;\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\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()",
"int cnt = 1;",
"cnt",
"1",
"for(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\n\t\t}",
";",
"{\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\n\t\t}",
"{\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\n\t\t}",
"String num = br.readLine();",
"num",
"br.readLine()",
"br.readLine",
"br",
"if (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"num.equals(\"0\")",
"num.equals",
"num",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"sb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\")",
"sb.append(\"Case \").append(cnt++).append(\": \").append(num).append",
"sb.append(\"Case \").append(cnt++).append(\": \").append(num)",
"sb.append(\"Case \").append(cnt++).append(\": \").append",
"sb.append(\"Case \").append(cnt++).append(\": \")",
"sb.append(\"Case \").append(cnt++).append",
"sb.append(\"Case \").append(cnt++)",
"sb.append(\"Case \").append",
"sb.append(\"Case \")",
"sb.append",
"sb",
"\"Case \"",
"cnt++",
"cnt",
"\": \"",
"num",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint cnt = 1;\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint cnt = 1;\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tif (num.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(cnt++).append(\": \").append(num).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int cnt = 1;
for(;;) {
String num = br.readLine();
if (num.equals("0")) {
break;
}
sb.append("Case ").append(cnt++).append(": ").append(num).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
0,
13,
4,
18,
13,
9,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
32,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
32,
36
],
[
24,
37
],
[
37,
38
],
[
24,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
24,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint i=s.nextInt();\n\t\tint n=1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+i);\n\t\t\tn++;\n\t\t\ti=s.nextInt();\n\t\t\tcontinue;\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 s = new Scanner(System.in);\n\t\tint i=s.nextInt();\n\t\tint n=1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+i);\n\t\t\tn++;\n\t\t\ti=s.nextInt();\n\t\t\tcontinue;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint i=s.nextInt();\n\t\tint n=1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+i);\n\t\t\tn++;\n\t\t\ti=s.nextInt();\n\t\t\tcontinue;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint i=s.nextInt();\n\t\tint n=1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+i);\n\t\t\tn++;\n\t\t\ti=s.nextInt();\n\t\t\tcontinue;\n\t\t}\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int i=s.nextInt();",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"int n=1;",
"n",
"1",
"while(i!=0){\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+i);\n\t\t\tn++;\n\t\t\ti=s.nextInt();\n\t\t\tcontinue;\n\t\t}",
"i!=0",
"i",
"0",
"{\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+i);\n\t\t\tn++;\n\t\t\ti=s.nextInt();\n\t\t\tcontinue;\n\t\t}",
"System.out.println(\"Case \"+n+\": \"+i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+n+\": \"+i",
"\": \"",
"\"Case \"+n+\": \"+i",
"\"Case \"",
"n",
"\": \"",
"i",
"n++",
"n",
"i=s.nextInt()",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"continue;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint i=s.nextInt();\n\t\tint n=1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+i);\n\t\t\tn++;\n\t\t\ti=s.nextInt();\n\t\t\tcontinue;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint i=s.nextInt();\n\t\tint n=1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+i);\n\t\t\tn++;\n\t\t\ti=s.nextInt();\n\t\t\tcontinue;\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int i=s.nextInt();
int n=1;
while(i!=0){
System.out.println("Case "+n+": "+i);
n++;
i=s.nextInt();
continue;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
17,
13,
17,
13,
40,
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
],
[
18,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
37,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
37,
42
],
[
18,
43
],
[
43,
44
],
[
6,
45
],
[
45,
46
]
] | [
"\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint c=1;\n\t\tfor(;;){\n\t\t\tint n=sc.nextInt();\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case\"+\" \"+c+\": \"+n);\n\t\t\tc++;\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\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint c=1;\n\t\tfor(;;){\n\t\t\tint n=sc.nextInt();\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case\"+\" \"+c+\": \"+n);\n\t\t\tc++;\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint c=1;\n\t\tfor(;;){\n\t\t\tint n=sc.nextInt();\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case\"+\" \"+c+\": \"+n);\n\t\t\tc++;\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint c=1;\n\t\tfor(;;){\n\t\t\tint n=sc.nextInt();\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case\"+\" \"+c+\": \"+n);\n\t\t\tc++;\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int c=1;",
"c",
"1",
"for(;;){\n\t\t\tint n=sc.nextInt();\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case\"+\" \"+c+\": \"+n);\n\t\t\tc++;\n\t\t}",
";",
"{\n\t\t\tint n=sc.nextInt();\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case\"+\" \"+c+\": \"+n);\n\t\t\tc++;\n\t\t}",
"{\n\t\t\tint n=sc.nextInt();\n\t\t\tif(n==0) break;\n\t\t\tSystem.out.println(\"Case\"+\" \"+c+\": \"+n);\n\t\t\tc++;\n\t\t}",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n==0) break;",
"n==0",
"n",
"0",
"break;",
"System.out.println(\"Case\"+\" \"+c+\": \"+n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\"+\" \"+c+\": \"+n",
"\": \"",
"c",
"\"Case\"+\" \"+c+\": \"+n",
"\"Case\"",
"\" \"",
"c",
"\": \"",
"n",
"c++",
"c",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
int c=1;
for(;;){
int n=sc.nextInt();
if(n==0) break;
System.out.println("Case"+" "+c+": "+n);
c++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
35,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
35,
39
],
[
17,
40
],
[
40,
41
],
[
54,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
42,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\t\n\t\t\tif(x==0)break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\t\n\t\t\tif(x==0)break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}",
"Main",
"private void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\t\n\t\t\tif(x==0)break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}",
"calc",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\t\n\t\t\tif(x==0)break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"short i=1;",
"i",
"1",
"while(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\t\n\t\t\tif(x==0)break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\tint x=scanner.nextInt();\n\t\t\t\n\t\t\tif(x==0)break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t\t\n\t\t}",
"int x=scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(x==0)break;",
"x==0",
"x",
"0",
"break;",
"System.out.println(\"Case \"+i+\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+x",
"\": \"",
"\"Case \"+i+\": \"+x",
"\"Case \"",
"i",
"\": \"",
"x",
"i++",
"i",
"public static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}",
"main",
"{\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}",
"Main run =new Main();",
"run",
"new Main()",
"run.calc()",
"run.calc",
"run",
"String[] args",
"args",
"public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\t\n\t\t\tif(x==0)break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}",
"public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\t\n\t\t\tif(x==0)break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private void calc(){
Scanner scanner = new Scanner(System.in);
short i=1;
while(true){
int x=scanner.nextInt();
if(x==0)break;
System.out.println("Case "+i+": "+x);
i++;
}
}
public static void main(String[] args) {
Main run =new Main();
run.calc();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
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
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
23,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
32,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
32,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
54,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
54,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try {\n for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\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 for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }",
"for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"{\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"int x = Integer.parseInt(br.readLine());",
"x",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(x == 0) {\n break;\n }",
"x == 0",
"x",
"0",
"{\n break;\n }",
"break;",
"System.out.println(\"Case \" + i + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n for(int i = 1; ; i++) {\n int x = Integer.parseInt(br.readLine());\n if(x == 0) {\n break;\n }\n System.out.println(\"Case \" + i + \": \" + x);\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
for(int i = 1; ; i++) {
int x = Integer.parseInt(br.readLine());
if(x == 0) {
break;
}
System.out.println("Case " + i + ": " + x);
}
} catch(IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
3,
30,
4,
18,
13,
13,
14,
2,
4,
18,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
86,
8
],
[
86,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
73,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
9,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tintTemp = scan.nextInt();\n\t\t\tif(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}\n\t\t}\n\t\tif(list.size() != 0){\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tintTemp = scan.nextInt();\n\t\t\tif(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}\n\t\t}\n\t\tif(list.size() != 0){\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tintTemp = scan.nextInt();\n\t\t\tif(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}\n\t\t}\n\t\tif(list.size() != 0){\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tintTemp = scan.nextInt();\n\t\t\tif(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}\n\t\t}\n\t\tif(list.size() != 0){\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}\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>()",
"int intTemp;",
"intTemp",
"while(scan.hasNext()){\n\t\t\tintTemp = scan.nextInt();\n\t\t\tif(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tintTemp = scan.nextInt();\n\t\t\tif(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}\n\t\t}",
"intTemp = scan.nextInt()",
"intTemp",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}",
"intTemp == 0",
"intTemp",
"0",
"{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"break;",
"{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}",
"list.add(intTemp)",
"list.add",
"list",
"intTemp",
"if(list.size() != 0){\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}\n\t\t}",
"list.size() != 0",
"list.size()",
"list.size",
"list",
"0",
"{\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}\n\t\t}",
"for(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\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\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}",
"System.out.println(\"Case \" + (i + 1) + \": \" + list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + list.get(i)",
"\": \"",
"\"Case \" + (i + 1) + \": \" + list.get(i)",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tintTemp = scan.nextInt();\n\t\t\tif(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}\n\t\t}\n\t\tif(list.size() != 0){\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint intTemp;\n\t\twhile(scan.hasNext()){\n\t\t\tintTemp = scan.nextInt();\n\t\t\tif(intTemp == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tlist.add(intTemp);\n\t\t\t}\n\t\t}\n\t\tif(list.size() != 0){\n\t\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<Integer>();
int intTemp;
while(scan.hasNext()){
intTemp = scan.nextInt();
if(intTemp == 0){
scan.close();
break;
}else{
list.add(intTemp);
}
}
if(list.size() != 0){
for(int i = 0; i < list.size(); i++){
System.out.println("Case " + (i + 1) + ": " + list.get(i));
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
4,
18,
17,
13,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
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
],
[
61,
11
],
[
61,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
37,
42
],
[
42,
43
],
[
31,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
51,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
51,
55
],
[
31,
56
],
[
56,
57
],
[
12,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\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\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\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\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int i = 1;",
"i",
"1",
"while (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}",
"true",
"{\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}",
"String str = reader.readLine();",
"str",
"reader.readLine()",
"reader.readLine",
"reader",
"if (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"\"0\".equals(str)",
"\"0\".equals",
"\"0\"",
"str",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"System.out.println(\"Case \" + i + \": \" + str)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + str",
"\": \"",
"\"Case \" + i + \": \" + str",
"\"Case \"",
"i",
"\": \"",
"str",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tif (\"0\".equals(str)) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\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) {
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int i = 1;
while (true) {
String str = reader.readLine();
if ("0".equals(str)) {
break;
}
System.out.println("Case " + i + ": " + str);
i++;
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
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
],
[
90,
11
],
[
90,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
44,
45
],
[
33,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
57,
61
],
[
50,
62
],
[
62,
63
],
[
63,
64
],
[
50,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
66,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
82,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
82,
86
],
[
12,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"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// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (int j = 1; j < list.size()+1; j++) {\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (int j = 1; j < list.size()+1; j++) {\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (int j = 1; j < list.size()+1; j++) {\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (int j = 1; j < list.size()+1; j++) {\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"for (int i = 0; i < 10001; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"line.equals(\"0\")",
"line.equals",
"line",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"list.add(line)",
"list.add",
"list",
"line",
"for (int j = 1; j < list.size()+1; j++) {\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j < list.size()+1",
"j",
"list.size()+1",
"list.size()",
"list.size",
"list",
"1",
"j++",
"j++",
"j",
"{\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}",
"{\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}",
"String string = list.get(j - 1);",
"string",
"list.get(j - 1)",
"list.get",
"list",
"j - 1",
"j",
"1",
"System.out.println(\"Case \" + j + \": \" + string)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + j + \": \" + string",
"\": \"",
"\"Case \" + j + \": \" + string",
"\"Case \"",
"j",
"\": \"",
"string",
"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\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (int j = 1; j < list.size()+1; j++) {\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}\n\t}\n\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\n\t\tList<String> list = new ArrayList<String>();\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (int j = 1; j < list.size()+1; j++) {\n\t\t\tString string = list.get(j - 1);\n\t\t\tSystem.out.println(\"Case \" + j + \": \" + string);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
List<String> list = new ArrayList<String>();
for (int i = 0; i < 10001; i++) {
String line = sc.nextLine();
if (line.equals("0")) {
break;
}
list.add(line);
}
for (int j = 1; j < list.size()+1; j++) {
String string = list.get(j - 1);
System.out.println("Case " + j + ": " + string);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
26,
31
],
[
25,
32
],
[
32,
33
],
[
19,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
19,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}\n System.out.println(\"Case \"+ i +\": \"+ buf);\n i++;\n }\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}\n System.out.println(\"Case \"+ i +\": \"+ buf);\n i++;\n }\n\t}\n}",
"Main",
"public static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}\n System.out.println(\"Case \"+ i +\": \"+ buf);\n i++;\n }\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}\n System.out.println(\"Case \"+ i +\": \"+ buf);\n i++;\n }\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(in.hasNext()) {\n String buf = in.nextLine();\n if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}\n System.out.println(\"Case \"+ i +\": \"+ buf);\n i++;\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n String buf = in.nextLine();\n if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}\n System.out.println(\"Case \"+ i +\": \"+ buf);\n i++;\n }",
"String buf = in.nextLine();",
"buf",
"in.nextLine()",
"in.nextLine",
"in",
"if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}",
"Integer.parseInt(buf) == 0",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"0",
"{\n \tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \"+ i +\": \"+ buf)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ i +\": \"+ buf",
"\": \"",
"\"Case \"+ i +\": \"+ buf",
"\"Case \"",
"i",
"\": \"",
"buf",
"i++",
"i",
"String[] arg",
"arg",
"public class Main {\n\tpublic static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}\n System.out.println(\"Case \"+ i +\": \"+ buf);\n i++;\n }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(Integer.parseInt(buf) == 0){\n \tbreak;\n\t\t\t}\n System.out.println(\"Case \"+ i +\": \"+ buf);\n i++;\n }\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] arg){
Scanner in = new Scanner(System.in);
int i = 1;
while(in.hasNext()) {
String buf = in.nextLine();
if(Integer.parseInt(buf) == 0){
break;
}
System.out.println("Case "+ i +": "+ buf);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
0,
13,
4,
18,
4,
18,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
37,
41
],
[
29,
42
],
[
42,
43
],
[
29,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
6,
54
],
[
54,
55
]
] | [
"import java.io.*;\n\nclass Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int x = Integer.valueOf(br.readLine()).intValue();\n int i = 1;\n while (x != 0) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n x = Integer.valueOf(br.readLine()).intValue();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int x = Integer.valueOf(br.readLine()).intValue();\n int i = 1;\n while (x != 0) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n x = Integer.valueOf(br.readLine()).intValue();\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int x = Integer.valueOf(br.readLine()).intValue();\n int i = 1;\n while (x != 0) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n x = Integer.valueOf(br.readLine()).intValue();\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int x = Integer.valueOf(br.readLine()).intValue();\n int i = 1;\n while (x != 0) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n x = Integer.valueOf(br.readLine()).intValue();\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int x = Integer.valueOf(br.readLine()).intValue();",
"x",
"Integer.valueOf(br.readLine()).intValue()",
"Integer.valueOf(br.readLine()).intValue",
"Integer.valueOf(br.readLine())",
"Integer.valueOf",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"int i = 1;",
"i",
"1",
"while (x != 0) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n x = Integer.valueOf(br.readLine()).intValue();\n }",
"x != 0",
"x",
"0",
"{\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n x = Integer.valueOf(br.readLine()).intValue();\n }",
"System.out.println(\"Case \" + i + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"i++",
"i",
"x = Integer.valueOf(br.readLine()).intValue()",
"x",
"Integer.valueOf(br.readLine()).intValue()",
"Integer.valueOf(br.readLine()).intValue",
"Integer.valueOf(br.readLine())",
"Integer.valueOf",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.valueOf(br.readLine()).intValue();
int i = 1;
while (x != 0) {
System.out.println("Case " + i + ": " + x);
i++;
x = Integer.valueOf(br.readLine()).intValue();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
36,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n \npublic class Main{\n public static void main(String[] args){\n int x,t=1;\n Scanner sc = new Scanner(System.in);\n while(true){\n x=sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \"+ t++ +\": \"+x);\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n int x,t=1;\n Scanner sc = new Scanner(System.in);\n while(true){\n x=sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \"+ t++ +\": \"+x);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n int x,t=1;\n Scanner sc = new Scanner(System.in);\n while(true){\n x=sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \"+ t++ +\": \"+x);\n }\n }",
"main",
"{\n int x,t=1;\n Scanner sc = new Scanner(System.in);\n while(true){\n x=sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \"+ t++ +\": \"+x);\n }\n }",
"int x",
"x",
"t=1;",
"t",
"1",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n x=sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \"+ t++ +\": \"+x);\n }",
"true",
"{\n x=sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \"+ t++ +\": \"+x);\n }",
"x=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0) break;",
"x == 0",
"x",
"0",
"break;",
"System.out.println(\"Case \"+ t++ +\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ t++ +\": \"+x",
"\": \"",
"\"Case \"+ t++ +\": \"+x",
"\"Case \"",
"t++",
"t",
"\": \"",
"x",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n int x,t=1;\n Scanner sc = new Scanner(System.in);\n while(true){\n x=sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \"+ t++ +\": \"+x);\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n int x,t=1;\n Scanner sc = new Scanner(System.in);\n while(true){\n x=sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \"+ t++ +\": \"+x);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
int x,t=1;
Scanner sc = new Scanner(System.in);
while(true){
x=sc.nextInt();
if(x == 0) break;
System.out.println("Case "+ t++ +": "+x);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
41,
13,
20,
42,
17,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
3,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
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
],
[
80,
11
],
[
80,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
40,
47
],
[
47,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
68,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
67,
73
],
[
68,
74
],
[
74,
75
],
[
74,
76
],
[
12,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"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{\n\t\tint[] n = new int[65535];\n\t\tint i=0,j;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\twhile(true)\n\t\t{\n\t\t\tn[i] = Integer.parseInt(br.readLine() );\n\n\t\t\tif(n[i]==0) break;\n\t\t\telse i++;\n\t\t}\n\n\t\tfor(j=0; j<i; j++) System.out.println(\"Case \" + (j+1) + \": \" + n[j]);\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint[] n = new int[65535];\n\t\tint i=0,j;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\twhile(true)\n\t\t{\n\t\t\tn[i] = Integer.parseInt(br.readLine() );\n\n\t\t\tif(n[i]==0) break;\n\t\t\telse i++;\n\t\t}\n\n\t\tfor(j=0; j<i; j++) System.out.println(\"Case \" + (j+1) + \": \" + n[j]);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException\n\t{\n\t\tint[] n = new int[65535];\n\t\tint i=0,j;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\twhile(true)\n\t\t{\n\t\t\tn[i] = Integer.parseInt(br.readLine() );\n\n\t\t\tif(n[i]==0) break;\n\t\t\telse i++;\n\t\t}\n\n\t\tfor(j=0; j<i; j++) System.out.println(\"Case \" + (j+1) + \": \" + n[j]);\n\n\t}",
"main",
"{\n\t\tint[] n = new int[65535];\n\t\tint i=0,j;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\twhile(true)\n\t\t{\n\t\t\tn[i] = Integer.parseInt(br.readLine() );\n\n\t\t\tif(n[i]==0) break;\n\t\t\telse i++;\n\t\t}\n\n\t\tfor(j=0; j<i; j++) System.out.println(\"Case \" + (j+1) + \": \" + n[j]);\n\n\t}",
"int[] n = new int[65535];",
"n",
"new int[65535]",
"65535",
"int i=0",
"i",
"0",
"j;",
"j",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );",
"br",
"new BufferedReader(new InputStreamReader(System.in) )",
"while(true)\n\t\t{\n\t\t\tn[i] = Integer.parseInt(br.readLine() );\n\n\t\t\tif(n[i]==0) break;\n\t\t\telse i++;\n\t\t}",
"true",
"{\n\t\t\tn[i] = Integer.parseInt(br.readLine() );\n\n\t\t\tif(n[i]==0) break;\n\t\t\telse i++;\n\t\t}",
"n[i] = Integer.parseInt(br.readLine() )",
"n[i]",
"n",
"i",
"Integer.parseInt(br.readLine() )",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(n[i]==0) break;\n\t\t\telse i++;",
"n[i]==0",
"n[i]",
"n",
"i",
"0",
"break;",
"i++",
"i",
"for(j=0; j<i; j++) System.out.println(\"Case \" + (j+1) + \": \" + n[j]);",
"j=0;",
"j=0",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"System.out.println(\"Case \" + (j+1) + \": \" + n[j]);",
"System.out.println(\"Case \" + (j+1) + \": \" + n[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (j+1) + \": \" + n[j]",
"\": \"",
"\"Case \" + (j+1) + \": \" + n[j]",
"\"Case \"",
"(j+1)",
"j",
"1",
"\": \"",
"n[j]",
"n",
"j",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint[] n = new int[65535];\n\t\tint i=0,j;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\twhile(true)\n\t\t{\n\t\t\tn[i] = Integer.parseInt(br.readLine() );\n\n\t\t\tif(n[i]==0) break;\n\t\t\telse i++;\n\t\t}\n\n\t\tfor(j=0; j<i; j++) System.out.println(\"Case \" + (j+1) + \": \" + n[j]);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint[] n = new int[65535];\n\t\tint i=0,j;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\twhile(true)\n\t\t{\n\t\t\tn[i] = Integer.parseInt(br.readLine() );\n\n\t\t\tif(n[i]==0) break;\n\t\t\telse i++;\n\t\t}\n\n\t\tfor(j=0; j<i; j++) System.out.println(\"Case \" + (j+1) + \": \" + n[j]);\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException
{
int[] n = new int[65535];
int i=0,j;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );
while(true)
{
n[i] = Integer.parseInt(br.readLine() );
if(n[i]==0) break;
else i++;
}
for(j=0; j<i; j++) System.out.println("Case " + (j+1) + ": " + n[j]);
}
} |
[
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,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
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
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
18,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
47,
49
],
[
37,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
50,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
60,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
60,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
37,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
89,
93
],
[
82,
94
],
[
94,
95
],
[
95,
96
],
[
82,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
106,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
105,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
15,
116
],
[
116,
117
]
] | [
"/*\n * Lesson3B1つの整数 x を読み込み、それをそのまま出力するプログラム\n * x が 0 のとき入力の終わりを示し、このデータセットに対する出力を行ってはいけない\n * @author 前島佑介\n * @version 2014/12/2\n */\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\n// 1-B 1つの整数 x を読み込んで、x の3乗を計算し結果を出力するプログラム\nclass Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\tfor(int i = 0; true; i++) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//出力用にループさせる\n\t\t\tfor(int i = 0; i < strArray.size() - 1; i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\tfor(int i = 0; true; i++) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//出力用にループさせる\n\t\t\tfor(int i = 0; i < strArray.size() - 1; i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}\n}",
"Main",
"// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\tfor(int i = 0; true; i++) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//出力用にループさせる\n\t\t\tfor(int i = 0; i < strArray.size() - 1; i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}",
"main",
"{\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\tfor(int i = 0; true; i++) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//出力用にループさせる\n\t\t\tfor(int i = 0; i < strArray.size() - 1; i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}",
"try{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\tfor(int i = 0; true; i++) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//出力用にループさせる\n\t\t\tfor(int i = 0; i < strArray.size() - 1; i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"NumberFormatException e",
"{\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"System.out.println(\"数値で入力して下さい\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"数値で入力して下さい\"",
"{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\tfor(int i = 0; true; i++) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//出力用にループさせる\n\t\t\tfor(int i = 0; i < strArray.size() - 1; i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}",
"BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));",
"insBR",
"new BufferedReader(new InputStreamReader(System.in))",
"String strLine = \"\";",
"strLine",
"\"\"",
"int intNum = 1;",
"intNum",
"1",
"ArrayList<String> strArray = new ArrayList<String>();",
"strArray",
"new ArrayList<String>()",
"for(int i = 0; true; i++) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"true",
"i++",
"i++",
"i",
"{\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"{\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\n\t\t\t\t//読み込んだ文字列をint型へキャスト\n\t\t\t\tintNum = Integer.parseInt(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"strLine = insBR.readLine()",
"strLine",
"insBR.readLine()",
"insBR.readLine",
"insBR",
"strArray.add(strLine)",
"strArray.add",
"strArray",
"strLine",
"intNum = Integer.parseInt(strLine)",
"intNum",
"Integer.parseInt(strLine)",
"Integer.parseInt",
"Integer",
"strLine",
"if(intNum == 0) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"intNum == 0",
"intNum",
"0",
"{\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"for(int i = 0; i < strArray.size() - 1; i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strArray.size() - 1",
"i",
"strArray.size() - 1",
"strArray.size()",
"strArray.size",
"strArray",
"1",
"i++",
"i++",
"i",
"{\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}",
"{\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i));\n\t\t\t}",
"System.out.println(\"Case \" + (i+1) + \": \" + strArray.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i+1) + \": \" + strArray.get(i)",
"\": \"",
"\"Case \" + (i+1) + \": \" + strArray.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"strArray.get(i)",
"strArray.get",
"strArray",
"i",
"String[] args",
"args"
] | /*
* Lesson3B1つの整数 x を読み込み、それをそのまま出力するプログラム
* x が 0 のとき入力の終わりを示し、このデータセットに対する出力を行ってはいけない
* @author 前島佑介
* @version 2014/12/2
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
// 1-B 1つの整数 x を読み込んで、x の3乗を計算し結果を出力するプログラム
class Main {
// プログラムのエントリポイント
public static void main(String[] args) {
try{
//キーボードからの入力準備
BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));
//入力値を格納する場所を初期化
String strLine = "";
//入力値をint型に置き換える場所を0以外で初期化
int intNum = 1;
//入力値をint型で保存する場所
ArrayList<String> strArray = new ArrayList<String>();
//入力値の取得にループさせる
for(int i = 0; true; i++) {
//1行読み込む
strLine = insBR.readLine();
//入力値を保存
strArray.add(strLine);
//読み込んだ文字列をint型へキャスト
intNum = Integer.parseInt(strLine);
//入力値が0だったら
if(intNum == 0) {
//ループから抜ける
break;
}
}
//出力用にループさせる
for(int i = 0; i < strArray.size() - 1; i++) {
//出力
System.out.println("Case " + (i+1) + ": " + strArray.get(i));
}
//例外処理
}catch(IOException e) {
//例外時の出力
System.out.println(e);
}catch(NumberFormatException e) {
//数値以外の入力値で出力
System.out.println("数値で入力して下さい");
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
55,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
10,
17
],
[
17,
18
],
[
17,
19
],
[
10,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
42,
46
],
[
34,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.*;\n\npublic class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\tsc = new Scanner(System.in);\n\tint a = 1 ;\n\tint n =1;\n\twhile(a!=0){\n\t a =sc.nextInt();\n\t if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }\n\t\t\n\t\t\n \t}\n\t\n\n\n}\n\t\n}\n \t",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\tsc = new Scanner(System.in);\n\tint a = 1 ;\n\tint n =1;\n\twhile(a!=0){\n\t a =sc.nextInt();\n\t if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }\n\t\t\n\t\t\n \t}\n\t\n\n\n}\n\t\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(String[] args) {\n\tsc = new Scanner(System.in);\n\tint a = 1 ;\n\tint n =1;\n\twhile(a!=0){\n\t a =sc.nextInt();\n\t if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }\n\t\t\n\t\t\n \t}\n\t\n\n\n}",
"main",
"{\n\tsc = new Scanner(System.in);\n\tint a = 1 ;\n\tint n =1;\n\twhile(a!=0){\n\t a =sc.nextInt();\n\t if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }\n\t\t\n\t\t\n \t}\n\t\n\n\n}",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"int a = 1 ;",
"a",
"1",
"int n =1;",
"n",
"1",
"while(a!=0){\n\t a =sc.nextInt();\n\t if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }\n\t\t\n\t\t\n \t}",
"a!=0",
"a",
"0",
"{\n\t a =sc.nextInt();\n\t if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }\n\t\t\n\t\t\n \t}",
"a =sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }",
"a!=0",
"a",
"0",
"{\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }",
"System.out.println(\"Case \"+n+\": \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+n+\": \"+a",
"\": \"",
"\"Case \"+n+\": \"+a",
"\"Case \"",
"n",
"\": \"",
"a",
"n=n+1",
"n",
"n+1",
"n",
"1",
"String[] args",
"args",
"public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\tsc = new Scanner(System.in);\n\tint a = 1 ;\n\tint n =1;\n\twhile(a!=0){\n\t a =sc.nextInt();\n\t if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }\n\t\t\n\t\t\n \t}\n\t\n\n\n}\n\t\n}",
"public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\tsc = new Scanner(System.in);\n\tint a = 1 ;\n\tint n =1;\n\twhile(a!=0){\n\t a =sc.nextInt();\n\t if(a!=0){\n\t\tSystem.out.println(\"Case \"+n+\": \"+a);\n\t\tn=n+1;\n\t }\n\t\t\n\t\t\n \t}\n\t\n\n\n}\n\t\n}",
"Main"
] | import java.util.*;
public class Main {
private static Scanner sc;
public static void main(String[] args) {
sc = new Scanner(System.in);
int a = 1 ;
int n =1;
while(a!=0){
a =sc.nextInt();
if(a!=0){
System.out.println("Case "+n+": "+a);
n=n+1;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
40,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
40,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
37,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
29,
47
],
[
47,
48
],
[
9,
49
],
[
49,
50
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main{\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int i = 1;\n do {\n System.out.println(\"Case \"+i+\": \"+line);\n line = br.readLine();\n i++;\n } while (!(line.equals(\"0\")));\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int i = 1;\n do {\n System.out.println(\"Case \"+i+\": \"+line);\n line = br.readLine();\n i++;\n } while (!(line.equals(\"0\")));\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int i = 1;\n do {\n System.out.println(\"Case \"+i+\": \"+line);\n line = br.readLine();\n i++;\n } while (!(line.equals(\"0\")));\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int i = 1;\n do {\n System.out.println(\"Case \"+i+\": \"+line);\n line = br.readLine();\n i++;\n } while (!(line.equals(\"0\")));\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"int i = 1;",
"i",
"1",
"do {\n System.out.println(\"Case \"+i+\": \"+line);\n line = br.readLine();\n i++;\n } while (!(line.equals(\"0\")));",
"!(line.equals(\"0\"))",
"(line.equals(\"0\"))",
"line.equals",
"line",
"\"0\"",
"{\n System.out.println(\"Case \"+i+\": \"+line);\n line = br.readLine();\n i++;\n }",
"System.out.println(\"Case \"+i+\": \"+line)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+line",
"\": \"",
"\"Case \"+i+\": \"+line",
"\"Case \"",
"i",
"\": \"",
"line",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"i++",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
int i = 1;
do {
System.out.println("Case "+i+": "+line);
line = br.readLine();
i++;
} while (!(line.equals("0")));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
0,
13,
4,
18,
13,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
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
],
[
51,
11
],
[
51,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
20,
35
],
[
35,
36
],
[
36,
37
],
[
20,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
40,
46
],
[
40,
47
],
[
12,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong x;\n\t\tfor(int i = 1;(x = Long.parseLong(br.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\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 NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong x;\n\t\tfor(int i = 1;(x = Long.parseLong(br.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong x;\n\t\tfor(int i = 1;(x = Long.parseLong(br.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong x;\n\t\tfor(int i = 1;(x = Long.parseLong(br.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"long x;",
"x",
"for(int i = 1;(x = Long.parseLong(br.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"(x = Long.parseLong(br.readLine())) != 0",
"(x = Long.parseLong(br.readLine()))",
"x",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\n\t\t}",
"System.out.printf(\"Case %d: %d%n\", i, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d%n\"",
"i",
"x",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong x;\n\t\tfor(int i = 1;(x = Long.parseLong(br.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong x;\n\t\tfor(int i = 1;(x = Long.parseLong(br.readLine())) != 0;i++){\n\t\t\tSystem.out.printf(\"Case %d: %d%n\", i, x);\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 NumberFormatException, IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
long x;
for(int i = 1;(x = Long.parseLong(br.readLine())) != 0;i++){
System.out.printf("Case %d: %d%n", i, x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
4,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
57,
8
],
[
57,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
28,
35
],
[
35,
36
],
[
22,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
22,
52
],
[
52,
53
],
[
9,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String x;\n int i=1;\n \n while(true){\n x = reader.readLine();\n if(Integer.parseInt(x)==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x));\n i++;\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 // Here your code !\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String x;\n int i=1;\n \n while(true){\n x = reader.readLine();\n if(Integer.parseInt(x)==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x));\n i++;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String x;\n int i=1;\n \n while(true){\n x = reader.readLine();\n if(Integer.parseInt(x)==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x));\n i++;\n }\n }",
"main",
"{\n // Here your code !\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String x;\n int i=1;\n \n while(true){\n x = reader.readLine();\n if(Integer.parseInt(x)==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x));\n i++;\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String x;",
"x",
"int i=1;",
"i",
"1",
"while(true){\n x = reader.readLine();\n if(Integer.parseInt(x)==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x));\n i++;\n }",
"true",
"{\n x = reader.readLine();\n if(Integer.parseInt(x)==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x));\n i++;\n }",
"x = reader.readLine()",
"x",
"reader.readLine()",
"reader.readLine",
"reader",
"if(Integer.parseInt(x)==0){\n break;\n }",
"Integer.parseInt(x)==0",
"Integer.parseInt(x)",
"Integer.parseInt",
"Integer",
"x",
"0",
"{\n break;\n }",
"break;",
"System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+Integer.parseInt(x)",
"\": \"",
"\"Case \"+i+\": \"+Integer.parseInt(x)",
"\"Case \"",
"i",
"\": \"",
"Integer.parseInt(x)",
"Integer.parseInt",
"Integer",
"x",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String x;\n int i=1;\n \n while(true){\n x = reader.readLine();\n if(Integer.parseInt(x)==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x));\n i++;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String x;\n int i=1;\n \n while(true){\n x = reader.readLine();\n if(Integer.parseInt(x)==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+Integer.parseInt(x));\n i++;\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String x;
int i=1;
while(true){
x = reader.readLine();
if(Integer.parseInt(x)==0){
break;
}
System.out.println("Case "+i+": "+Integer.parseInt(x));
i++;
}
}
} |
[
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,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
24,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
48,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
48,
52
],
[
6,
53
],
[
53,
54
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i=1; i>0; i++)\n\t\t{\n\t\t\tString str = br.readLine();\n\t\t\tint num = Integer.parseInt(str);\n\t\t\tif(num==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+ i + \": \" + num);\n\t\t}\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i=1; i>0; i++)\n\t\t{\n\t\t\tString str = br.readLine();\n\t\t\tint num = Integer.parseInt(str);\n\t\t\tif(num==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+ i + \": \" + num);\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i=1; i>0; i++)\n\t\t{\n\t\t\tString str = br.readLine();\n\t\t\tint num = Integer.parseInt(str);\n\t\t\tif(num==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+ i + \": \" + num);\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(int i=1; i>0; i++)\n\t\t{\n\t\t\tString str = br.readLine();\n\t\t\tint num = Integer.parseInt(str);\n\t\t\tif(num==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+ i + \": \" + num);\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=1; i>0; i++)\n\t\t{\n\t\t\tString str = br.readLine();\n\t\t\tint num = Integer.parseInt(str);\n\t\t\tif(num==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+ i + \": \" + num);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i>0",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tString str = br.readLine();\n\t\t\tint num = Integer.parseInt(str);\n\t\t\tif(num==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+ i + \": \" + num);\n\t\t}",
"{\n\t\t\tString str = br.readLine();\n\t\t\tint num = Integer.parseInt(str);\n\t\t\tif(num==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \"+ i + \": \" + num);\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int num = Integer.parseInt(str);",
"num",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if(num==0)\n\t\t\t\tbreak;",
"num==0",
"num",
"0",
"break;",
"System.out.println(\"Case \"+ i + \": \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ i + \": \" + num",
"\": \"",
"\"Case \"+ i + \": \" + num",
"\"Case \"",
"i",
"\": \"",
"num",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
for(int i=1; i>0; i++)
{
String str = br.readLine();
int num = Integer.parseInt(str);
if(num==0)
break;
System.out.println("Case "+ i + ": " + num);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
35,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
34,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n int c = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) break;\n \n System.out.println(\"Case \" + c++ + \": \" + n);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n int c = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) break;\n \n System.out.println(\"Case \" + c++ + \": \" + n);\n }\n }\n}",
"Main",
"public static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n int c = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) break;\n \n System.out.println(\"Case \" + c++ + \": \" + n);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int c = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) break;\n \n System.out.println(\"Case \" + c++ + \": \" + n);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int c = 1;",
"c",
"1",
"while(true){\n int n = scan.nextInt();\n \n if(n == 0) break;\n \n System.out.println(\"Case \" + c++ + \": \" + n);\n }",
"true",
"{\n int n = scan.nextInt();\n \n if(n == 0) break;\n \n System.out.println(\"Case \" + c++ + \": \" + n);\n }",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(n == 0) break;",
"n == 0",
"n",
"0",
"break;",
"System.out.println(\"Case \" + c++ + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + c++ + \": \" + n",
"\": \"",
"\"Case \" + c++ + \": \" + n",
"\"Case \"",
"c++",
"c",
"\": \"",
"n",
"String [] args",
"args",
"public class Main {\n\tpublic static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n int c = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) break;\n \n System.out.println(\"Case \" + c++ + \": \" + n);\n }\n }\n}",
"public class Main {\n\tpublic static void main(String [] args){\n Scanner scan = new Scanner(System.in);\n int c = 1;\n \n while(true){\n int n = scan.nextInt();\n \n if(n == 0) break;\n \n System.out.println(\"Case \" + c++ + \": \" + n);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String [] args){
Scanner scan = new Scanner(System.in);
int c = 1;
while(true){
int n = scan.nextInt();
if(n == 0) break;
System.out.println("Case " + c++ + ": " + n);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
40,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
38,
5
],
[
38,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
26,
32
],
[
32,
33
],
[
26,
34
],
[
6,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp,case_num = 1;\n while((tmp = sc.nextInt()) != 0){\n System.out.printf(\"Case %d: %d\\n\",case_num++, tmp);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp,case_num = 1;\n while((tmp = sc.nextInt()) != 0){\n System.out.printf(\"Case %d: %d\\n\",case_num++, tmp);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp,case_num = 1;\n while((tmp = sc.nextInt()) != 0){\n System.out.printf(\"Case %d: %d\\n\",case_num++, tmp);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int tmp,case_num = 1;\n while((tmp = sc.nextInt()) != 0){\n System.out.printf(\"Case %d: %d\\n\",case_num++, tmp);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int tmp",
"tmp",
"case_num = 1;",
"case_num",
"1",
"while((tmp = sc.nextInt()) != 0){\n System.out.printf(\"Case %d: %d\\n\",case_num++, tmp);\n }",
"(tmp = sc.nextInt()) != 0",
"(tmp = sc.nextInt())",
"tmp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n System.out.printf(\"Case %d: %d\\n\",case_num++, tmp);\n }",
"System.out.printf(\"Case %d: %d\\n\",case_num++, tmp)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"case_num++",
"case_num",
"tmp",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp,case_num = 1;\n while((tmp = sc.nextInt()) != 0){\n System.out.printf(\"Case %d: %d\\n\",case_num++, tmp);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp,case_num = 1;\n while((tmp = sc.nextInt()) != 0){\n System.out.printf(\"Case %d: %d\\n\",case_num++, tmp);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int tmp,case_num = 1;
while((tmp = sc.nextInt()) != 0){
System.out.printf("Case %d: %d\n",case_num++, tmp);
}
}
}
|
[
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,
14,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
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
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for (int x = 1; x <= 10000; x++) {\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for (int x = 1; x <= 10000; x++) {\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for (int x = 1; x <= 10000; x++) {\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n for (int x = 1; x <= 10000; x++) {\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for (int x = 1; x <= 10000; x++) {\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }",
"int x = 1;",
"int x = 1;",
"x",
"1",
"x <= 10000",
"x",
"10000",
"x++",
"x++",
"x",
"{\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }",
"{\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }",
"int i = scanner.nextInt();",
"i",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }",
"i == 0",
"i",
"0",
"{\n break;\n }",
"break;",
"{\n System.out.println(\"Case \" + x + \": \" + i);\n }",
"System.out.println(\"Case \" + x + \": \" + i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + x + \": \" + i",
"\": \"",
"\"Case \" + x + \": \" + i",
"\"Case \"",
"x",
"\": \"",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for (int x = 1; x <= 10000; x++) {\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for (int x = 1; x <= 10000; x++) {\n int i = scanner.nextInt();\n if (i == 0) {\n break;\n } else {\n System.out.println(\"Case \" + x + \": \" + i);\n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
for (int x = 1; x <= 10000; x++) {
int i = scanner.nextInt();
if (i == 0) {
break;
} else {
System.out.println("Case " + x + ": " + i);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
42,
13,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
40,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
40,
44
],
[
22,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tboolean bl = true;\n\t\tint n = 1;\n\t\tint x;\n\t\twhile(bl){\n\t\t\tx = stdIn.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + x);\n\t\t\tn++;\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tboolean bl = true;\n\t\tint n = 1;\n\t\tint x;\n\t\twhile(bl){\n\t\t\tx = stdIn.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + x);\n\t\t\tn++;\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tboolean bl = true;\n\t\tint n = 1;\n\t\tint x;\n\t\twhile(bl){\n\t\t\tx = stdIn.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + x);\n\t\t\tn++;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tboolean bl = true;\n\t\tint n = 1;\n\t\tint x;\n\t\twhile(bl){\n\t\t\tx = stdIn.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + x);\n\t\t\tn++;\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"boolean bl = true;",
"bl",
"true",
"int n = 1;",
"n",
"1",
"int x;",
"x",
"while(bl){\n\t\t\tx = stdIn.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + x);\n\t\t\tn++;\n\t\t}",
"bl",
"{\n\t\t\tx = stdIn.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + x);\n\t\t\tn++;\n\t\t}",
"x = stdIn.nextInt()",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(x == 0) break;",
"x == 0",
"x",
"0",
"break;",
"System.out.println(\"Case \" + n + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + n + \": \" + x",
"\": \"",
"\"Case \" + n + \": \" + x",
"\"Case \"",
"n",
"\": \"",
"x",
"n++",
"n",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
boolean bl = true;
int n = 1;
int x;
while(bl){
x = stdIn.nextInt();
if(x == 0) break;
System.out.println("Case " + n + ": " + x);
n++;
}
}
} |
[
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,
20,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
18,
13,
13,
13,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
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
],
[
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,
30
],
[
30,
31
],
[
30,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
37,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
37,
54
],
[
54,
55
],
[
54,
56
],
[
22,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
79,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
79,
85
],
[
85,
86
],
[
85,
87
],
[
6,
88
],
[
88,
89
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] args){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n int x = 0;\n int[] b = new int[100000];\n int a = 1;\n\n while(a != 0){\n String line = reader.readLine();\n a = Integer.parseInt(line);\n b[x] = a;\n x += 1;\n }\n\n for(int i = 0; i < (x - 1); i++){\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n int x = 0;\n int[] b = new int[100000];\n int a = 1;\n\n while(a != 0){\n String line = reader.readLine();\n a = Integer.parseInt(line);\n b[x] = a;\n x += 1;\n }\n\n for(int i = 0; i < (x - 1); i++){\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n int x = 0;\n int[] b = new int[100000];\n int a = 1;\n\n while(a != 0){\n String line = reader.readLine();\n a = Integer.parseInt(line);\n b[x] = a;\n x += 1;\n }\n\n for(int i = 0; i < (x - 1); i++){\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try {\n int x = 0;\n int[] b = new int[100000];\n int a = 1;\n\n while(a != 0){\n String line = reader.readLine();\n a = Integer.parseInt(line);\n b[x] = a;\n x += 1;\n }\n\n for(int i = 0; i < (x - 1); i++){\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n int x = 0;\n int[] b = new int[100000];\n int a = 1;\n\n while(a != 0){\n String line = reader.readLine();\n a = Integer.parseInt(line);\n b[x] = a;\n x += 1;\n }\n\n for(int i = 0; i < (x - 1); i++){\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }",
"catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }",
"IOException e",
"{\n //TODO: handle exception\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n int x = 0;\n int[] b = new int[100000];\n int a = 1;\n\n while(a != 0){\n String line = reader.readLine();\n a = Integer.parseInt(line);\n b[x] = a;\n x += 1;\n }\n\n for(int i = 0; i < (x - 1); i++){\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }\n \n }",
"int x = 0;",
"x",
"0",
"int[] b = new int[100000];",
"b",
"new int[100000]",
"100000",
"int a = 1;",
"a",
"1",
"while(a != 0){\n String line = reader.readLine();\n a = Integer.parseInt(line);\n b[x] = a;\n x += 1;\n }",
"a != 0",
"a",
"0",
"{\n String line = reader.readLine();\n a = Integer.parseInt(line);\n b[x] = a;\n x += 1;\n }",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"a = Integer.parseInt(line)",
"a",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"b[x] = a",
"b[x]",
"b",
"x",
"a",
"x += 1",
"x",
"1",
"for(int i = 0; i < (x - 1); i++){\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < (x - 1)",
"i",
"(x - 1)",
"x",
"1",
"i++",
"i++",
"i",
"{\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }",
"{\n System.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n }",
"System.out.println(\"Case \" + (i+1) + \": \" + b[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i+1) + \": \" + b[i]",
"\": \"",
"\"Case \" + (i+1) + \": \" + b[i]",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"b[i]",
"b",
"i",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try {
int x = 0;
int[] b = new int[100000];
int a = 1;
while(a != 0){
String line = reader.readLine();
a = Integer.parseInt(line);
b[x] = a;
x += 1;
}
for(int i = 0; i < (x - 1); i++){
System.out.println("Case " + (i+1) + ": " + b[i]);
}
} catch (IOException e) {
//TODO: handle exception
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
4,
18,
17,
0,
13,
4,
13,
3,
4,
18,
13,
2,
2,
2,
17,
13,
17,
13,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
4,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
0,
18,
36,
13,
13,
4,
13,
23,
13,
12,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
2,
4,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
0,
13,
4,
13,
29,
40,
4,
18,
13,
12,
13,
30,
14,
4,
18,
13,
37,
20,
29,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
161,
11
],
[
161,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
12,
18
],
[
18,
19
],
[
161,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
38,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
52,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
52,
56
],
[
161,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
58,
62
],
[
62,
63
],
[
58,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
67,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
58,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
84,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
81,
98
],
[
98,
99
],
[
58,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
102,
108
],
[
108,
109
],
[
100,
110
],
[
110,
111
],
[
58,
112
],
[
112,
113
],
[
58,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
58,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
58,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
58,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
139,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
58,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
152,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
0,
160
],
[
160,
161
],
[
160,
162
]
] | [
"import static java.lang.System.out;\nimport java.io.File;\nimport java.util.Scanner;\n\npublic class Main extends BaseExe {\n\n public static void main(String[] args) {\n new Main().exeSysIn();\n }\n\n @Override\n protected void execute() throws Exception {\n String data;\n for (int count = 1; count <= 10000; count++) {\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }\n }\n}\n\nabstract class BaseExe {\n\n private Scanner scan;\n\n private String inData;\n\n public void exeSysIn() {\n try (Scanner scan = new Scanner(System.in)) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public void exeFileIn(String inDataPath) {\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private void exeCtrl(Scanner scan) throws Exception {\n this.scan = scan;\n execute();\n }\n\n protected abstract void execute() throws Exception;\n\n protected String nextLine() {\n return scan.nextLine();\n }\n\n protected boolean judgeInData() {\n return hasNextLine() && isNotEmptyInData();\n }\n\n protected boolean hasNextLine() {\n return scan.hasNextLine();\n }\n\n protected boolean isNotEmptyInData() {\n inData = nextLine();\n return !inData.isEmpty();\n }\n\n protected String getInData() throws Exception {\n if (inData.isEmpty())\n throw new Exception(\"inData is Empty.\");\n return inData;\n }\n}",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import java.io.File;",
"File",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main extends BaseExe {\n\n public static void main(String[] args) {\n new Main().exeSysIn();\n }\n\n @Override\n protected void execute() throws Exception {\n String data;\n for (int count = 1; count <= 10000; count++) {\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n new Main().exeSysIn();\n }",
"main",
"{\n new Main().exeSysIn();\n }",
"new Main().exeSysIn()",
"new Main().exeSysIn",
"new Main()",
"String[] args",
"args",
"@Override\n protected void execute() throws Exception {\n String data;\n for (int count = 1; count <= 10000; count++) {\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }\n }",
"execute",
"{\n String data;\n for (int count = 1; count <= 10000; count++) {\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }\n }",
"String data;",
"data",
"for (int count = 1; count <= 10000; count++) {\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }",
"int count = 1;",
"int count = 1;",
"count",
"1",
"count <= 10000",
"count",
"10000",
"count++",
"count++",
"count",
"{\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }",
"{\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }",
"if (\"0\".equals(data = nextLine()))\n break;",
"\"0\".equals(data = nextLine())",
"\"0\".equals",
"\"0\"",
"data = nextLine()",
"data",
"nextLine()",
"nextLine",
"break;",
"out.println(\"Case \" + count + \": \" + data)",
"out.println",
"out",
"\"Case \" + count + \": \" + data",
"\": \"",
"\"Case \" + count + \": \" + data",
"\"Case \"",
"count",
"\": \"",
"data",
"BaseExe",
"abstract class BaseExe {\n\n private Scanner scan;\n\n private String inData;\n\n public void exeSysIn() {\n try (Scanner scan = new Scanner(System.in)) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n public void exeFileIn(String inDataPath) {\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private void exeCtrl(Scanner scan) throws Exception {\n this.scan = scan;\n execute();\n }\n\n protected abstract void execute() throws Exception;\n\n protected String nextLine() {\n return scan.nextLine();\n }\n\n protected boolean judgeInData() {\n return hasNextLine() && isNotEmptyInData();\n }\n\n protected boolean hasNextLine() {\n return scan.hasNextLine();\n }\n\n protected boolean isNotEmptyInData() {\n inData = nextLine();\n return !inData.isEmpty();\n }\n\n protected String getInData() throws Exception {\n if (inData.isEmpty())\n throw new Exception(\"inData is Empty.\");\n return inData;\n }\n}",
"BaseExe",
"private Scanner scan;",
"scan",
"private String inData;",
"inData",
"public void exeSysIn() {\n try (Scanner scan = new Scanner(System.in)) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"exeSysIn",
"{\n try (Scanner scan = new Scanner(System.in)) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try (Scanner scan = new Scanner(System.in)) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n exeCtrl(scan);\n }",
"Scanner scan = new Scanner(System.in)",
"Scanner scan = new Scanner(System.in)",
"new Scanner(System.in)",
"exeCtrl(scan)",
"exeCtrl",
"scan",
"public void exeFileIn(String inDataPath) {\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"exeFileIn",
"{\n try (Scanner scan = new Scanner(new File(inDataPath))) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try (Scanner scan = new Scanner(new File(inDataPath))) {\n exeCtrl(scan);\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n exeCtrl(scan);\n }",
"Scanner scan = new Scanner(new File(inDataPath))",
"Scanner scan = new Scanner(new File(inDataPath))",
"new Scanner(new File(inDataPath))",
"exeCtrl(scan)",
"exeCtrl",
"scan",
"String inDataPath",
"inDataPath",
"private void exeCtrl(Scanner scan) throws Exception {\n this.scan = scan;\n execute();\n }",
"exeCtrl",
"{\n this.scan = scan;\n execute();\n }",
"this.scan = scan",
"this.scan",
"this",
"this.scan",
"scan",
"execute()",
"execute",
"Scanner scan",
"scan",
"protected abstract void execute() throws Exception;",
"execute",
"protected String nextLine() {\n return scan.nextLine();\n }",
"nextLine",
"{\n return scan.nextLine();\n }",
"return scan.nextLine();",
"scan.nextLine()",
"scan.nextLine",
"scan",
"protected boolean judgeInData() {\n return hasNextLine() && isNotEmptyInData();\n }",
"judgeInData",
"{\n return hasNextLine() && isNotEmptyInData();\n }",
"return hasNextLine() && isNotEmptyInData();",
"hasNextLine() && isNotEmptyInData()",
"hasNextLine()",
"hasNextLine",
"isNotEmptyInData()",
"isNotEmptyInData",
"protected boolean hasNextLine() {\n return scan.hasNextLine();\n }",
"hasNextLine",
"{\n return scan.hasNextLine();\n }",
"return scan.hasNextLine();",
"scan.hasNextLine()",
"scan.hasNextLine",
"scan",
"protected boolean isNotEmptyInData() {\n inData = nextLine();\n return !inData.isEmpty();\n }",
"isNotEmptyInData",
"{\n inData = nextLine();\n return !inData.isEmpty();\n }",
"inData = nextLine()",
"inData",
"nextLine()",
"nextLine",
"return !inData.isEmpty();",
"!inData.isEmpty()",
"inData.isEmpty()",
"inData.isEmpty",
"inData",
"protected String getInData() throws Exception {\n if (inData.isEmpty())\n throw new Exception(\"inData is Empty.\");\n return inData;\n }",
"getInData",
"{\n if (inData.isEmpty())\n throw new Exception(\"inData is Empty.\");\n return inData;\n }",
"if (inData.isEmpty())\n throw new Exception(\"inData is Empty.\");",
"inData.isEmpty()",
"inData.isEmpty",
"inData",
"throw new Exception(\"inData is Empty.\");",
"new Exception(\"inData is Empty.\")",
"return inData;",
"inData",
"public class Main extends BaseExe {\n\n public static void main(String[] args) {\n new Main().exeSysIn();\n }\n\n @Override\n protected void execute() throws Exception {\n String data;\n for (int count = 1; count <= 10000; count++) {\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }\n }\n}",
"public class Main extends BaseExe {\n\n public static void main(String[] args) {\n new Main().exeSysIn();\n }\n\n @Override\n protected void execute() throws Exception {\n String data;\n for (int count = 1; count <= 10000; count++) {\n if (\"0\".equals(data = nextLine()))\n break;\n out.println(\"Case \" + count + \": \" + data);\n }\n }\n}",
"Main"
] | import static java.lang.System.out;
import java.io.File;
import java.util.Scanner;
public class Main extends BaseExe {
public static void main(String[] args) {
new Main().exeSysIn();
}
@Override
protected void execute() throws Exception {
String data;
for (int count = 1; count <= 10000; count++) {
if ("0".equals(data = nextLine()))
break;
out.println("Case " + count + ": " + data);
}
}
}
abstract class BaseExe {
private Scanner scan;
private String inData;
public void exeSysIn() {
try (Scanner scan = new Scanner(System.in)) {
exeCtrl(scan);
} catch (Exception e) {
e.printStackTrace();
}
}
public void exeFileIn(String inDataPath) {
try (Scanner scan = new Scanner(new File(inDataPath))) {
exeCtrl(scan);
} catch (Exception e) {
e.printStackTrace();
}
}
private void exeCtrl(Scanner scan) throws Exception {
this.scan = scan;
execute();
}
protected abstract void execute() throws Exception;
protected String nextLine() {
return scan.nextLine();
}
protected boolean judgeInData() {
return hasNextLine() && isNotEmptyInData();
}
protected boolean hasNextLine() {
return scan.hasNextLine();
}
protected boolean isNotEmptyInData() {
inData = nextLine();
return !inData.isEmpty();
}
protected String getInData() throws Exception {
if (inData.isEmpty())
throw new Exception("inData is Empty.");
return inData;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
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
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
54,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
54,
58
],
[
46,
59
],
[
59,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.io.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n\n int cnt = 1;\n final int END = 0;\n \n while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }\n\n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n\n int cnt = 1;\n final int END = 0;\n \n while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }\n\n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n\n int cnt = 1;\n final int END = 0;\n \n while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }\n\n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n }",
"main",
"{\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n\n int cnt = 1;\n final int END = 0;\n \n while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }\n\n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\n int cnt = 1;\n final int END = 0;\n \n while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }\n\n } catch (IOException e) {\n\n e.printStackTrace();\n\n }",
"catch (IOException e) {\n\n e.printStackTrace();\n\n }",
"IOException e",
"{\n\n e.printStackTrace();\n\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\n int cnt = 1;\n final int END = 0;\n \n while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }\n\n }",
"int cnt = 1;",
"cnt",
"1",
"final int END = 0;",
"END",
"0",
"while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }",
"true",
"{\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"int num = Integer.parseInt(line);",
"num",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }",
"num == END",
"num",
"END",
"{\n break;\n }",
"break;",
"{\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }",
"System.out.println(\"Case \" + cnt + \": \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + cnt + \": \" + num",
"\": \"",
"\"Case \" + cnt + \": \" + num",
"\"Case \"",
"cnt",
"\": \"",
"num",
"cnt++",
"cnt",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n\n int cnt = 1;\n final int END = 0;\n \n while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }\n\n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n\n int cnt = 1;\n final int END = 0;\n \n while (true) {\n String line = reader.readLine();\n int num = Integer.parseInt(line);\n \n if (num == END) {\n break;\n } else {\n System.out.println(\"Case \" + cnt + \": \" + num);\n cnt++;\n }\n }\n\n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n }\n\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try {
int cnt = 1;
final int END = 0;
while (true) {
String line = reader.readLine();
int num = Integer.parseInt(line);
if (num == END) {
break;
} else {
System.out.println("Case " + cnt + ": " + num);
cnt++;
}
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
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,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
60,
8
],
[
60,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
47,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
47,
51
],
[
29,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
9,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0){\n \tx = sc.nextInt();\n \tif(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}\n \ty = y+1;\n }\n\t}\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) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0){\n \tx = sc.nextInt();\n \tif(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}\n \ty = y+1;\n }\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0){\n \tx = sc.nextInt();\n \tif(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}\n \ty = y+1;\n }\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0){\n \tx = sc.nextInt();\n \tif(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}\n \ty = y+1;\n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x",
"x",
"y;",
"y",
"x = 1",
"x",
"1",
"y = 1",
"y",
"1",
"while(x != 0){\n \tx = sc.nextInt();\n \tif(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}\n \ty = y+1;\n }",
"x != 0",
"x",
"0",
"{\n \tx = sc.nextInt();\n \tif(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}\n \ty = y+1;\n }",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}",
"x!=0",
"x",
"0",
"{\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}",
"System.out.println(\"Case \"+y+\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+y+\": \"+x",
"\": \"",
"\"Case \"+y+\": \"+x",
"\"Case \"",
"y",
"\": \"",
"x",
"y = y+1",
"y",
"y+1",
"y",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0){\n \tx = sc.nextInt();\n \tif(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}\n \ty = y+1;\n }\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0){\n \tx = sc.nextInt();\n \tif(x!=0){\n \t\tSystem.out.println(\"Case \"+y+\": \"+x);\n \t}\n \ty = y+1;\n }\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
int x,y;
x = 1;
y = 1;
while(x != 0){
x = sc.nextInt();
if(x!=0){
System.out.println("Case "+y+": "+x);
}
y = y+1;
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
13,
0,
13,
2,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
13,
17,
17,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
68,
8
],
[
8,
9
],
[
68,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
12,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
21,
32
],
[
32,
33
],
[
21,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
68,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
50,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
50,
55
],
[
68,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
56,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.Scanner;\npublic class Main{\n\n int data,x;\n\n\n\n public void input(){\n\tScanner scan = new Scanner(System.in);\n\tx = 1;\n while(true){\n\t data = scan.nextInt();\n\t if ( data == 0 ) break;\n\t output();\n\t x = x + 1;\n\t}\n }\n public void output(){\n\tSystem.out.println(\"Case \"+x+\":\"+\" \"+data);\n }\n \n\n\n\n public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t//\tp.output();\n }\n}\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n int data,x;\n\n\n\n public void input(){\n\tScanner scan = new Scanner(System.in);\n\tx = 1;\n while(true){\n\t data = scan.nextInt();\n\t if ( data == 0 ) break;\n\t output();\n\t x = x + 1;\n\t}\n }\n public void output(){\n\tSystem.out.println(\"Case \"+x+\":\"+\" \"+data);\n }\n \n\n\n\n public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t//\tp.output();\n }\n}",
"Main",
"int data",
"data",
"x;",
"x",
"public void input(){\n\tScanner scan = new Scanner(System.in);\n\tx = 1;\n while(true){\n\t data = scan.nextInt();\n\t if ( data == 0 ) break;\n\t output();\n\t x = x + 1;\n\t}\n }",
"input",
"{\n\tScanner scan = new Scanner(System.in);\n\tx = 1;\n while(true){\n\t data = scan.nextInt();\n\t if ( data == 0 ) break;\n\t output();\n\t x = x + 1;\n\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"x = 1",
"x",
"1",
"while(true){\n\t data = scan.nextInt();\n\t if ( data == 0 ) break;\n\t output();\n\t x = x + 1;\n\t}",
"true",
"{\n\t data = scan.nextInt();\n\t if ( data == 0 ) break;\n\t output();\n\t x = x + 1;\n\t}",
"data = scan.nextInt()",
"data",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if ( data == 0 ) break;",
"data == 0",
"data",
"0",
"break;",
"output()",
"output",
"x = x + 1",
"x",
"x + 1",
"x",
"1",
"public void output(){\n\tSystem.out.println(\"Case \"+x+\":\"+\" \"+data);\n }",
"output",
"{\n\tSystem.out.println(\"Case \"+x+\":\"+\" \"+data);\n }",
"System.out.println(\"Case \"+x+\":\"+\" \"+data)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+x+\":\"+\" \"+data",
"\" \"",
"\":\"",
"\"Case \"+x+\":\"+\" \"+data",
"\"Case \"",
"x",
"\":\"",
"\" \"",
"data",
"public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t//\tp.output();\n }",
"main",
"{\n\tMain p = new Main();\n\tp.input();\n\t//\tp.output();\n }",
"Main p = new Main();",
"p",
"new Main()",
"p.input()",
"p.input",
"p",
"String[] args",
"args",
"public class Main{\n\n int data,x;\n\n\n\n public void input(){\n\tScanner scan = new Scanner(System.in);\n\tx = 1;\n while(true){\n\t data = scan.nextInt();\n\t if ( data == 0 ) break;\n\t output();\n\t x = x + 1;\n\t}\n }\n public void output(){\n\tSystem.out.println(\"Case \"+x+\":\"+\" \"+data);\n }\n \n\n\n\n public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t//\tp.output();\n }\n}",
"public class Main{\n\n int data,x;\n\n\n\n public void input(){\n\tScanner scan = new Scanner(System.in);\n\tx = 1;\n while(true){\n\t data = scan.nextInt();\n\t if ( data == 0 ) break;\n\t output();\n\t x = x + 1;\n\t}\n }\n public void output(){\n\tSystem.out.println(\"Case \"+x+\":\"+\" \"+data);\n }\n \n\n\n\n public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t//\tp.output();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
int data,x;
public void input(){
Scanner scan = new Scanner(System.in);
x = 1;
while(true){
data = scan.nextInt();
if ( data == 0 ) break;
output();
x = x + 1;
}
}
public void output(){
System.out.println("Case "+x+":"+" "+data);
}
public static void main(String[] args){
Main p = new Main();
p.input();
// p.output();
}
}
|
[
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,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
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
],
[
79,
11
],
[
79,
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
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
30,
40
],
[
40,
41
],
[
14,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
49,
53
],
[
42,
54
],
[
54,
55
],
[
55,
56
],
[
42,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
66,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
65,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> ArrayList = new ArrayList<Integer>();\n\t\tint lastAdd;\n\t\tint counter = 0;\n\t\tdo {\n\t\t\tlastAdd = stdIn.nextInt();\n\t\t\tArrayList.add(lastAdd);\n\t\t\tcounter++;\n\t\t\t\n\t\t}while(lastAdd != 0);\n\t\t\n\t\tfor(int i = 0; i < ArrayList.size()-1; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> ArrayList = new ArrayList<Integer>();\n\t\tint lastAdd;\n\t\tint counter = 0;\n\t\tdo {\n\t\t\tlastAdd = stdIn.nextInt();\n\t\t\tArrayList.add(lastAdd);\n\t\t\tcounter++;\n\t\t\t\n\t\t}while(lastAdd != 0);\n\t\t\n\t\tfor(int i = 0; i < ArrayList.size()-1; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> ArrayList = new ArrayList<Integer>();\n\t\tint lastAdd;\n\t\tint counter = 0;\n\t\tdo {\n\t\t\tlastAdd = stdIn.nextInt();\n\t\t\tArrayList.add(lastAdd);\n\t\t\tcounter++;\n\t\t\t\n\t\t}while(lastAdd != 0);\n\t\t\n\t\tfor(int i = 0; i < ArrayList.size()-1; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> ArrayList = new ArrayList<Integer>();\n\t\tint lastAdd;\n\t\tint counter = 0;\n\t\tdo {\n\t\t\tlastAdd = stdIn.nextInt();\n\t\t\tArrayList.add(lastAdd);\n\t\t\tcounter++;\n\t\t\t\n\t\t}while(lastAdd != 0);\n\t\t\n\t\tfor(int i = 0; i < ArrayList.size()-1; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"List<Integer> ArrayList = new ArrayList<Integer>();",
"ArrayList",
"new ArrayList<Integer>()",
"int lastAdd;",
"lastAdd",
"int counter = 0;",
"counter",
"0",
"do {\n\t\t\tlastAdd = stdIn.nextInt();\n\t\t\tArrayList.add(lastAdd);\n\t\t\tcounter++;\n\t\t\t\n\t\t}while(lastAdd != 0);",
"lastAdd != 0",
"lastAdd",
"0",
"{\n\t\t\tlastAdd = stdIn.nextInt();\n\t\t\tArrayList.add(lastAdd);\n\t\t\tcounter++;\n\t\t\t\n\t\t}",
"lastAdd = stdIn.nextInt()",
"lastAdd",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"ArrayList.add(lastAdd)",
"ArrayList.add",
"ArrayList",
"lastAdd",
"counter++",
"counter",
"for(int i = 0; i < ArrayList.size()-1; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ArrayList.size()-1",
"i",
"ArrayList.size()-1",
"ArrayList.size()",
"ArrayList.size",
"ArrayList",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\n\t\t}",
"System.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i+1) + \": \" + ArrayList.get(i)",
"\": \"",
"\"Case \" + (i+1) + \": \" + ArrayList.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"ArrayList.get(i)",
"ArrayList.get",
"ArrayList",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> ArrayList = new ArrayList<Integer>();\n\t\tint lastAdd;\n\t\tint counter = 0;\n\t\tdo {\n\t\t\tlastAdd = stdIn.nextInt();\n\t\t\tArrayList.add(lastAdd);\n\t\t\tcounter++;\n\t\t\t\n\t\t}while(lastAdd != 0);\n\t\t\n\t\tfor(int i = 0; i < ArrayList.size()-1; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> ArrayList = new ArrayList<Integer>();\n\t\tint lastAdd;\n\t\tint counter = 0;\n\t\tdo {\n\t\t\tlastAdd = stdIn.nextInt();\n\t\t\tArrayList.add(lastAdd);\n\t\t\tcounter++;\n\t\t\t\n\t\t}while(lastAdd != 0);\n\t\t\n\t\tfor(int i = 0; i < ArrayList.size()-1; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + ArrayList.get(i));\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> ArrayList = new ArrayList<Integer>();
int lastAdd;
int counter = 0;
do {
lastAdd = stdIn.nextInt();
ArrayList.add(lastAdd);
counter++;
}while(lastAdd != 0);
for(int i = 0; i < ArrayList.size()-1; i++) {
System.out.println("Case " + (i+1) + ": " + ArrayList.get(i));
}
}
} |
[
7,
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,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
40,
13,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
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
],
[
71,
11
],
[
71,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
37,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
37,
54
],
[
54,
55
],
[
37,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
63,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
63,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tint i=0;\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}\n\n\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",
"public class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tint i=0;\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}\n\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tint i=0;\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}\n\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }",
"main",
"{\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tint i=0;\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}\n\n\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\tint i=0;\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}\n\n\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\tint i=0;\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}\n\n\n \t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"int i=0;",
"i",
"0",
"while(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}",
"true",
"{\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"int x = Integer.parseInt(buf);",
"x",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"if(x == 0) break;",
"x == 0",
"x",
"0",
"break;",
"i++",
"i",
"System.out.println(\"Case \"+i+\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+x",
"\": \"",
"\"Case \"+i+\": \"+x",
"\"Case \"",
"i",
"\": \"",
"x",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tint i=0;\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}\n\n\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\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tint i=0;\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tint x = Integer.parseInt(buf);\n\t\t\t\tif(x == 0) break;\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n \t\t}\n\n\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;
public class Main {
public static void main(String[] args) {
try{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
int i=0;
while(true){
String buf = br.readLine();
int x = Integer.parseInt(buf);
if(x == 0) break;
i++;
System.out.println("Case "+i+": "+x);
}
} catch(IOException e) {
System.err.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
2,
0,
13,
4,
18,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
20,
21
],
[
14,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
24,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i;\n\t\t\n\t\tfor(int j=1; ; j++){\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}\n\t\t\n\t\tin.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i;\n\t\t\n\t\tfor(int j=1; ; j++){\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}\n\t\t\n\t\tin.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i;\n\t\t\n\t\tfor(int j=1; ; j++){\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}\n\t\t\n\t\tin.close();\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint i;\n\t\t\n\t\tfor(int j=1; ; j++){\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}\n\t\t\n\t\tin.close();\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int i;",
"i",
"for(int j=1; ; j++){\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}",
"int j=1;",
"int j=1;",
"j",
"1",
"j++",
"j++",
"j",
"{\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}",
"{\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}",
"if((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"(i=in.nextInt()) == 0",
"(i=in.nextInt())",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \"+j+\": \"+i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+j+\": \"+i",
"\": \"",
"\"Case \"+j+\": \"+i",
"\"Case \"",
"j",
"\": \"",
"i",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i;\n\t\t\n\t\tfor(int j=1; ; j++){\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}\n\t\t\n\t\tin.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i;\n\t\t\n\t\tfor(int j=1; ; j++){\n\t\t\tif((i=in.nextInt()) == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+i);\n\t\t}\n\t\t\n\t\tin.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int i;
for(int j=1; ; j++){
if((i=in.nextInt()) == 0){
break;
}
System.out.println("Case "+j+": "+i);
}
in.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
13,
40,
13,
42,
2,
13,
17,
30,
4,
18,
13,
0,
13,
4,
18,
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,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
91,
8
],
[
91,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
11,
32
],
[
32,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
38,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
38,
51
],
[
51,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
53,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
75,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
11,
85
],
[
85,
86
],
[
86,
87
],
[
9,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\ttmp = sc.nextInt();\n\t\tx.add(tmp);\n\t\tcnt++;\n\n\t\twhile(tmp!=0){\n\t\t\tsc.hasNext();\n\t\t\ttmp = sc.nextInt();\n\t\t\tx.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(\"Case \"+ (i+1) +\": \"+ x.get(i));\n\t\t}\n\t\tsc.close();\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\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\ttmp = sc.nextInt();\n\t\tx.add(tmp);\n\t\tcnt++;\n\n\t\twhile(tmp!=0){\n\t\t\tsc.hasNext();\n\t\t\ttmp = sc.nextInt();\n\t\t\tx.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(\"Case \"+ (i+1) +\": \"+ x.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\ttmp = sc.nextInt();\n\t\tx.add(tmp);\n\t\tcnt++;\n\n\t\twhile(tmp!=0){\n\t\t\tsc.hasNext();\n\t\t\ttmp = sc.nextInt();\n\t\t\tx.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(\"Case \"+ (i+1) +\": \"+ x.get(i));\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\ttmp = sc.nextInt();\n\t\tx.add(tmp);\n\t\tcnt++;\n\n\t\twhile(tmp!=0){\n\t\t\tsc.hasNext();\n\t\t\ttmp = sc.nextInt();\n\t\t\tx.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(\"Case \"+ (i+1) +\": \"+ x.get(i));\n\t\t}\n\t\tsc.close();\n\t}",
"ArrayList<Integer> x = new ArrayList<Integer>();",
"x",
"new ArrayList<Integer>()",
"int tmp;",
"tmp",
"int cnt = 0;",
"cnt",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"tmp = sc.nextInt()",
"tmp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"x.add(tmp)",
"x.add",
"x",
"tmp",
"cnt++",
"cnt",
"while(tmp!=0){\n\t\t\tsc.hasNext();\n\t\t\ttmp = sc.nextInt();\n\t\t\tx.add(tmp);\n\t\t\tcnt++;\n\t\t}",
"tmp!=0",
"tmp",
"0",
"{\n\t\t\tsc.hasNext();\n\t\t\ttmp = sc.nextInt();\n\t\t\tx.add(tmp);\n\t\t\tcnt++;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"tmp = sc.nextInt()",
"tmp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"x.add(tmp)",
"x.add",
"x",
"tmp",
"cnt++",
"cnt",
"for(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(\"Case \"+ (i+1) +\": \"+ x.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(\"Case \"+ (i+1) +\": \"+ x.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+ (i+1) +\": \"+ x.get(i));\n\t\t}",
"System.out.println(\"Case \"+ (i+1) +\": \"+ x.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ (i+1) +\": \"+ x.get(i)",
"\": \"",
"\"Case \"+ (i+1) +\": \"+ x.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"x.get(i)",
"x.get",
"x",
"i",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\ttmp = sc.nextInt();\n\t\tx.add(tmp);\n\t\tcnt++;\n\n\t\twhile(tmp!=0){\n\t\t\tsc.hasNext();\n\t\t\ttmp = sc.nextInt();\n\t\t\tx.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(\"Case \"+ (i+1) +\": \"+ x.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint tmp;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\ttmp = sc.nextInt();\n\t\tx.add(tmp);\n\t\tcnt++;\n\n\t\twhile(tmp!=0){\n\t\t\tsc.hasNext();\n\t\t\ttmp = sc.nextInt();\n\t\t\tx.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(\"Case \"+ (i+1) +\": \"+ x.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
ArrayList<Integer> x = new ArrayList<Integer>();
int tmp;
int cnt = 0;
Scanner sc = new Scanner(System.in);
// sc.useDelimiter("\\r\\n");
tmp = sc.nextInt();
x.add(tmp);
cnt++;
while(tmp!=0){
sc.hasNext();
tmp = sc.nextInt();
x.add(tmp);
cnt++;
}
for(int i=0;i<cnt-1;i++){
System.out.println("Case "+ (i+1) +": "+ x.get(i));
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
4,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
81,
14
],
[
81,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
37,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
17,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
68,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
15,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tArrayList<Integer> l = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString inputNum = br.readLine();\n\t\t\tif (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tl.add(Integer.parseInt(inputNum));\n\t\t}\n\n\t\tfor (int i = 1; i <= l.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}\n\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tArrayList<Integer> l = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString inputNum = br.readLine();\n\t\t\tif (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tl.add(Integer.parseInt(inputNum));\n\t\t}\n\n\t\tfor (int i = 1; i <= l.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tArrayList<Integer> l = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString inputNum = br.readLine();\n\t\t\tif (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tl.add(Integer.parseInt(inputNum));\n\t\t}\n\n\t\tfor (int i = 1; i <= l.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}\n\n\n\t}",
"main",
"{\n\n\t\tArrayList<Integer> l = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString inputNum = br.readLine();\n\t\t\tif (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tl.add(Integer.parseInt(inputNum));\n\t\t}\n\n\t\tfor (int i = 1; i <= l.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}\n\n\n\t}",
"ArrayList<Integer> l = new ArrayList<Integer>();",
"l",
"new ArrayList<Integer>()",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\tString inputNum = br.readLine();\n\t\t\tif (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tl.add(Integer.parseInt(inputNum));\n\t\t}",
"true",
"{\n\t\t\tString inputNum = br.readLine();\n\t\t\tif (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tl.add(Integer.parseInt(inputNum));\n\t\t}",
"String inputNum = br.readLine();",
"inputNum",
"br.readLine()",
"br.readLine",
"br",
"if (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"inputNum.equals(\"0\")",
"inputNum.equals",
"inputNum",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"l.add(Integer.parseInt(inputNum))",
"l.add",
"l",
"Integer.parseInt(inputNum)",
"Integer.parseInt",
"Integer",
"inputNum",
"for (int i = 1; i <= l.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= l.size()",
"i",
"l.size()",
"l.size",
"l",
"i++",
"i++",
"i",
"{\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}",
"{\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}",
"System.out.println(\"Case \" + i + \": \" + l.get(i-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + l.get(i-1)",
"\": \"",
"\"Case \" + i + \": \" + l.get(i-1)",
"\"Case \"",
"i",
"\": \"",
"l.get(i-1)",
"l.get",
"l",
"i-1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tArrayList<Integer> l = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString inputNum = br.readLine();\n\t\t\tif (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tl.add(Integer.parseInt(inputNum));\n\t\t}\n\n\t\tfor (int i = 1; i <= l.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}\n\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tArrayList<Integer> l = new ArrayList<Integer>();\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString inputNum = br.readLine();\n\t\t\tif (inputNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tl.add(Integer.parseInt(inputNum));\n\t\t}\n\n\t\tfor (int i = 1; i <= l.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + l.get(i-1));\n\t\t}\n\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws IOException{
ArrayList<Integer> l = new ArrayList<Integer>();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String inputNum = br.readLine();
if (inputNum.equals("0")) {
break;
}
l.add(Integer.parseInt(inputNum));
}
for (int i = 1; i <= l.size(); i++) {
System.out.println("Case " + i + ": " + l.get(i-1));
}
}
} |
[
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,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
13,
2,
2,
2,
2,
17,
13,
17,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
40,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tint i=1;\n\t while(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \t\ti++;\n }\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tint i=1;\n\t while(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \t\ti++;\n }\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\tint i=1;\n\t while(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \t\ti++;\n }\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\tint i=1;\n\t while(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \t\ti++;\n }\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()",
"int i=1;",
"i",
"1",
"while(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \t\ti++;\n }",
"true",
"{\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \t\ti++;\n }",
"int x=Integer.parseInt(br.readLine());",
"x",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(x==0) break;",
"x==0",
"x",
"0",
"break;",
"sb.append(\"Case \"+i+\": \"+x+\"\\n\")",
"sb.append",
"sb",
"\"Case \"+i+\": \"+x+\"\\n\"",
"x",
"\": \"",
"\"Case \"+i+\": \"+x+\"\\n\"",
"\"Case \"",
"i",
"\": \"",
"x",
"\"\\n\"",
"i++",
"i",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb=new StringBuilder();
int i=1;
while(true){
int x=Integer.parseInt(br.readLine());
if(x==0) break;
sb.append("Case "+i+": "+x+"\n");
i++;
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
0,
13,
4,
18,
13,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
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
],
[
60,
11
],
[
60,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
20,
35
],
[
35,
36
],
[
36,
37
],
[
20,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
47,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
46,
52
],
[
47,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
12,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"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\tint dataSet;\n\t\tfor (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}\n\t\tbr.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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint dataSet;\n\t\tfor (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}\n\t\tbr.close();\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint dataSet;\n\t\tfor (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}\n\t\tbr.close();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint dataSet;\n\t\tfor (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}\n\t\tbr.close();\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int dataSet;",
"dataSet",
"for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"(dataSet = Integer.parseInt(br.readLine())) != 0",
"(dataSet = Integer.parseInt(br.readLine()))",
"dataSet",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}",
"System.out.println(\"Case \" + (i + 1) + \": \" + dataSet)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + dataSet",
"\": \"",
"\"Case \" + (i + 1) + \": \" + dataSet",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"dataSet",
"br.close()",
"br.close",
"br",
"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\tint dataSet;\n\t\tfor (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}\n\t\tbr.close();\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\tint dataSet;\n\t\tfor (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + dataSet);\n\t\t}\n\t\tbr.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 {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int dataSet;
for (int i = 0; (dataSet = Integer.parseInt(br.readLine())) != 0; i++) {
System.out.println("Case " + (i + 1) + ": " + dataSet);
}
br.close();
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
13,
17,
13,
17,
40,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
58,
2
],
[
58,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
12,
14
],
[
5,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
35,
41
],
[
33,
42
],
[
31,
43
],
[
29,
44
],
[
17,
45
],
[
45,
46
],
[
5,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
3,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i = 1;\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break; }\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t\ti++;\n\t\t} while (true);\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i = 1;\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break; }\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t\ti++;\n\t\t} while (true);\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i = 1;\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break; }\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t\ti++;\n\t\t} while (true);\n\t\tSystem.out.print(sb.toString());\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i = 1;\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break; }\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t\ti++;\n\t\t} while (true);\n\t\tSystem.out.print(sb.toString());\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int i = 1;",
"i",
"1",
"do {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break; }\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t\ti++;\n\t\t} while (true);",
"true",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break; }\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t\ti++;\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 0) { break; }",
"x == 0",
"x",
"0",
"{ break; }",
"break;",
"sb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\")",
"sb.append(\"Case \").append(i).append(\": \").append(x).append",
"sb.append(\"Case \").append(i).append(\": \").append(x)",
"sb.append(\"Case \").append(i).append(\": \").append",
"sb.append(\"Case \").append(i).append(\": \")",
"sb.append(\"Case \").append(i).append",
"sb.append(\"Case \").append(i)",
"sb.append(\"Case \").append",
"sb.append(\"Case \")",
"sb.append",
"sb",
"\"Case \"",
"i",
"\": \"",
"x",
"\"\\n\"",
"i++",
"i",
"System.out.print(sb.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i = 1;\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break; }\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t\ti++;\n\t\t} while (true);\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i = 1;\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break; }\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t\ti++;\n\t\t} while (true);\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner sc = new java.util.Scanner(System.in);
StringBuilder sb = new StringBuilder();
int i = 1;
do {
int x = sc.nextInt();
if (x == 0) { break; }
sb.append("Case ").append(i).append(": ").append(x).append("\n");
i++;
} while (true);
System.out.print(sb.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
17,
0,
13,
4,
18,
13,
30,
40,
13,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
37,
43
],
[
35,
44
],
[
33,
45
],
[
31,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import 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\tStringBuilder sb = new StringBuilder();\n\n\t\tint x;\n\t\tint i = 0;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) ) {\n\t\t\ti++;\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\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\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x;\n\t\tint i = 0;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) ) {\n\t\t\ti++;\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x;\n\t\tint i = 0;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) ) {\n\t\t\ti++;\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x;\n\t\tint i = 0;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) ) {\n\t\t\ti++;\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int x;",
"x",
"int i = 0;",
"i",
"0",
"while ( 0 != ( x = sc.nextInt() ) ) {\n\t\t\ti++;\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t}",
"0 != ( x = sc.nextInt() )",
"0",
"( x = sc.nextInt() )",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"{\n\t\t\ti++;\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t}",
"i++",
"i",
"sb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\")",
"sb.append(\"Case \").append(i).append(\": \").append(x).append",
"sb.append(\"Case \").append(i).append(\": \").append(x)",
"sb.append(\"Case \").append(i).append(\": \").append",
"sb.append(\"Case \").append(i).append(\": \")",
"sb.append(\"Case \").append(i).append",
"sb.append(\"Case \").append(i)",
"sb.append(\"Case \").append",
"sb.append(\"Case \")",
"sb.append",
"sb",
"\"Case \"",
"i",
"\": \"",
"x",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x;\n\t\tint i = 0;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) ) {\n\t\t\ti++;\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}\n\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\tStringBuilder sb = new StringBuilder();\n\n\t\tint x;\n\t\tint i = 0;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) ) {\n\t\t\ti++;\n\t\t\tsb.append(\"Case \").append(i).append(\": \").append(x).append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
int x;
int i = 0;
while ( 0 != ( x = sc.nextInt() ) ) {
i++;
sb.append("Case ").append(i).append(": ").append(x).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
30,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
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
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
34,
39
],
[
28,
40
],
[
40,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tif (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\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 scanner = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tif (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tif (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tif (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tif (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tif (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"int num1 = scanner.nextInt();",
"num1",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\n\t\t\t}",
"num1 == 0",
"num1",
"0",
"break;",
"{\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\n\t\t\t}",
"System.out.println(String.format(\"Case %s: %s\", i, num1))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"Case %s: %s\", i, num1)",
"String.format",
"String",
"\"Case %s: %s\"",
"i",
"num1",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tif (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tif (num1 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tSystem.out.println(String.format(\"Case %s: %s\", i, num1));\n\t\t\t\ti++;\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 scanner = new Scanner(System.in);
int i = 1;
while (true) {
int num1 = scanner.nextInt();
if (num1 == 0)
break;
else {
System.out.println(String.format("Case %s: %s", i, num1));
i++;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
2,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
17,
30,
40,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
75,
11
],
[
75,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
25,
38
],
[
38,
39
],
[
39,
40
],
[
14,
41
],
[
41,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
63,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"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\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a[] = new int[20000],i=0;\n\t\twhile((a[i]=Integer.parseInt(br.readLine()))!=0){\n\t\t\ti++;\n\t\t}\n\t\tint j;\n\t\tfor(j=1;j<=i;j++){\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\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\tint a[] = new int[20000],i=0;\n\t\twhile((a[i]=Integer.parseInt(br.readLine()))!=0){\n\t\t\ti++;\n\t\t}\n\t\tint j;\n\t\tfor(j=1;j<=i;j++){\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\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\tint a[] = new int[20000],i=0;\n\t\twhile((a[i]=Integer.parseInt(br.readLine()))!=0){\n\t\t\ti++;\n\t\t}\n\t\tint j;\n\t\tfor(j=1;j<=i;j++){\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint a[] = new int[20000],i=0;\n\t\twhile((a[i]=Integer.parseInt(br.readLine()))!=0){\n\t\t\ti++;\n\t\t}\n\t\tint j;\n\t\tfor(j=1;j<=i;j++){\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\n\t\t}\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a[] = new int[20000]",
"a",
"new int[20000]",
"20000",
"i=0;",
"i",
"0",
"while((a[i]=Integer.parseInt(br.readLine()))!=0){\n\t\t\ti++;\n\t\t}",
"(a[i]=Integer.parseInt(br.readLine()))!=0",
"(a[i]=Integer.parseInt(br.readLine()))",
"a[i]",
"a",
"i",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"0",
"{\n\t\t\ti++;\n\t\t}",
"i++",
"i",
"int j;",
"j",
"for(j=1;j<=i;j++){\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\n\t\t}",
"j=1;",
"j=1",
"j",
"1",
"j<=i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\n\t\t}",
"System.out.println(\"Case \"+j+\": \"+a[j-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+j+\": \"+a[j-1]",
"\": \"",
"\"Case \"+j+\": \"+a[j-1]",
"\"Case \"",
"j",
"\": \"",
"a[j-1]",
"a",
"j-1",
"j",
"1",
"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\tint a[] = new int[20000],i=0;\n\t\twhile((a[i]=Integer.parseInt(br.readLine()))!=0){\n\t\t\ti++;\n\t\t}\n\t\tint j;\n\t\tfor(j=1;j<=i;j++){\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\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\tint a[] = new int[20000],i=0;\n\t\twhile((a[i]=Integer.parseInt(br.readLine()))!=0){\n\t\t\ti++;\n\t\t}\n\t\tint j;\n\t\tfor(j=1;j<=i;j++){\n\t\t\tSystem.out.println(\"Case \"+j+\": \"+a[j-1]);;\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));
int a[] = new int[20000],i=0;
while((a[i]=Integer.parseInt(br.readLine()))!=0){
i++;
}
int j;
for(j=1;j<=i;j++){
System.out.println("Case "+j+": "+a[j-1]);;
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
11,
1,
41,
13,
17,
41,
13,
2,
0,
13,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
46,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
12,
26
],
[
26,
27
],
[
27,
28
],
[
12,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
38,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
38,
42
],
[
9,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n for(int i = 1, x; (x = scn.nextInt()) != 0; i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n for(int i = 1, x; (x = scn.nextInt()) != 0; i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n for(int i = 1, x; (x = scn.nextInt()) != 0; i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }",
"main",
"{\n for(int i = 1, x; (x = scn.nextInt()) != 0; i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }",
"for(int i = 1, x; (x = scn.nextInt()) != 0; i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"int i = 1, x;",
"int i = 1",
"i",
"1",
"x;",
"x",
"(x = scn.nextInt()) != 0",
"(x = scn.nextInt())",
"x",
"scn.nextInt()",
"scn.nextInt",
"scn",
"0",
"i++",
"i++",
"i",
"{\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"{\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"System.out.println(\"Case \" + i + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"String[] args",
"args",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n for(int i = 1, x; (x = scn.nextInt()) != 0; i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n for(int i = 1, x; (x = scn.nextInt()) != 0; i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
for(int i = 1, x; (x = scn.nextInt()) != 0; i++) {
System.out.println("Case " + i + ": " + x);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
30,
3,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
20,
21
],
[
14,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
29,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
]
] | [
"import java.util.Scanner;\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tint data;\n\t\tfor( int i=1; ; i++ ) {\n\t\t\tdata=kb.nextInt();\n\t\t\tif( 0 != data ) {\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tint data;\n\t\tfor( int i=1; ; i++ ) {\n\t\t\tdata=kb.nextInt();\n\t\t\tif( 0 != data ) {\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tint data;\n\t\tfor( int i=1; ; i++ ) {\n\t\t\tdata=kb.nextInt();\n\t\t\tif( 0 != data ) {\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner kb = new Scanner( System.in);\t\n\t\tint data;\n\t\tfor( int i=1; ; i++ ) {\n\t\t\tdata=kb.nextInt();\n\t\t\tif( 0 != data ) {\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner kb = new Scanner( System.in);",
"kb",
"new Scanner( System.in)",
"int data;",
"data",
"for( int i=1; ; i++ ) {\n\t\t\tdata=kb.nextInt();\n\t\t\tif( 0 != data ) {\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tdata=kb.nextInt();\n\t\t\tif( 0 != data ) {\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tdata=kb.nextInt();\n\t\t\tif( 0 != data ) {\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"data=kb.nextInt()",
"data",
"kb.nextInt()",
"kb.nextInt",
"kb",
"if( 0 != data ) {\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}",
"0 != data",
"0",
"data",
"{\n\t\t\t\tSystem.out.println( \"Case \"+i+\": \"+data );\n\t\t\t}",
"System.out.println( \"Case \"+i+\": \"+data )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+data",
"\": \"",
"\"Case \"+i+\": \"+data",
"\"Case \"",
"i",
"\": \"",
"data",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner kb = new Scanner( System.in);
int data;
for( int i=1; ; i++ ) {
data=kb.nextInt();
if( 0 != data ) {
System.out.println( "Case "+i+": "+data );
} else {
break;
}
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.