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,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
12,
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
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
33,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
4,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
]
] | [
"import java.util.Scanner;\n\nclass Main{\n int i, x;\n public void aaaa(){\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n for(i = 1; x != 0; i++){\n System.out.println(\"Case \" + i + \": \" + x);\n x = sc.nextInt();\n }\n }\n public static void main(String[] args){\n new Main().aaaa();\n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n int i, x;\n public void aaaa(){\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n for(i = 1; x != 0; i++){\n System.out.println(\"Case \" + i + \": \" + x);\n x = sc.nextInt();\n }\n }\n public static void main(String[] args){\n new Main().aaaa();\n }\n \n}",
"Main",
"int i",
"i",
"x;",
"x",
"public void aaaa(){\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n for(i = 1; x != 0; i++){\n System.out.println(\"Case \" + i + \": \" + x);\n x = sc.nextInt();\n }\n }",
"aaaa",
"{\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n for(i = 1; x != 0; i++){\n System.out.println(\"Case \" + i + \": \" + x);\n x = sc.nextInt();\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i = 1; x != 0; i++){\n System.out.println(\"Case \" + i + \": \" + x);\n x = sc.nextInt();\n }",
"i = 1;",
"i = 1",
"i",
"1",
"x != 0",
"x",
"0",
"i++",
"i++",
"i",
"{\n System.out.println(\"Case \" + i + \": \" + x);\n x = sc.nextInt();\n }",
"{\n System.out.println(\"Case \" + i + \": \" + x);\n x = sc.nextInt();\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 = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void main(String[] args){\n new Main().aaaa();\n }",
"main",
"{\n new Main().aaaa();\n }",
"new Main().aaaa()",
"new Main().aaaa",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
int i, x;
public void aaaa(){
Scanner sc = new Scanner(System.in);
x = sc.nextInt();
for(i = 1; x != 0; i++){
System.out.println("Case " + i + ": " + x);
x = sc.nextInt();
}
}
public static void main(String[] args){
new Main().aaaa();
}
} |
[
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,
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
],
[
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
],
[
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
]
] | [
"import java.util.*;\nclass Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, c = 0;\n\t\twhile(true) {\n\t\t\ta = sc.nextInt();\n\t\t\tif(a == 0) break;\n\t\t\tSystem.out.println(\"Case \" + (++c) + \": \" + a);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, c = 0;\n\t\twhile(true) {\n\t\t\ta = sc.nextInt();\n\t\t\tif(a == 0) break;\n\t\t\tSystem.out.println(\"Case \" + (++c) + \": \" + a);\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, c = 0;\n\t\twhile(true) {\n\t\t\ta = sc.nextInt();\n\t\t\tif(a == 0) break;\n\t\t\tSystem.out.println(\"Case \" + (++c) + \": \" + a);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, c = 0;\n\t\twhile(true) {\n\t\t\ta = sc.nextInt();\n\t\t\tif(a == 0) break;\n\t\t\tSystem.out.println(\"Case \" + (++c) + \": \" + a);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"c = 0;",
"c",
"0",
"while(true) {\n\t\t\ta = sc.nextInt();\n\t\t\tif(a == 0) break;\n\t\t\tSystem.out.println(\"Case \" + (++c) + \": \" + a);\n\t\t}",
"true",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tif(a == 0) break;\n\t\t\tSystem.out.println(\"Case \" + (++c) + \": \" + a);\n\t\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a == 0) break;",
"a == 0",
"a",
"0",
"break;",
"System.out.println(\"Case \" + (++c) + \": \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (++c) + \": \" + a",
"\": \"",
"\"Case \" + (++c) + \": \" + a",
"\"Case \"",
"(++c)",
"c",
"\": \"",
"a",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main (String[] args) throws java.lang.Exception {
Scanner sc = new Scanner(System.in);
int a, c = 0;
while(true) {
a = sc.nextInt();
if(a == 0) break;
System.out.println("Case " + (++c) + ": " + a);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
18,
13,
17,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
13,
40,
13,
41,
13,
4,
18,
13,
20,
17,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
124,
11
],
[
124,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
16,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
16,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
29,
37
],
[
37,
38
],
[
37,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
49,
54
],
[
54,
55
],
[
16,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
16,
63
],
[
63,
64
],
[
63,
65
],
[
66,
67
],
[
67,
68
],
[
16,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
69,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
16,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
91,
101
],
[
101,
102
],
[
102,
103
],
[
91,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
111,
118
],
[
118,
119
],
[
118,
120
],
[
12,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tList<Integer> lst = new ArrayList<Integer>();\n\t\t\tint input;\n\t\t\tint cnt=0;\n\t\t\twhile((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tInteger[] aaa = lst.toArray(new Integer[0]);\n\t\t\tint[] ary = new int[lst.size()];\n\t\t\tfor(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tList<Integer> lst = new ArrayList<Integer>();\n\t\t\tint input;\n\t\t\tint cnt=0;\n\t\t\twhile((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tInteger[] aaa = lst.toArray(new Integer[0]);\n\t\t\tint[] ary = new int[lst.size()];\n\t\t\tfor(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tList<Integer> lst = new ArrayList<Integer>();\n\t\t\tint input;\n\t\t\tint cnt=0;\n\t\t\twhile((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tInteger[] aaa = lst.toArray(new Integer[0]);\n\t\t\tint[] ary = new int[lst.size()];\n\t\t\tfor(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tList<Integer> lst = new ArrayList<Integer>();\n\t\t\tint input;\n\t\t\tint cnt=0;\n\t\t\twhile((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tInteger[] aaa = lst.toArray(new Integer[0]);\n\t\t\tint[] ary = new int[lst.size()];\n\t\t\tfor(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)){\n\n\t\t\tList<Integer> lst = new ArrayList<Integer>();\n\t\t\tint input;\n\t\t\tint cnt=0;\n\t\t\twhile((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tInteger[] aaa = lst.toArray(new Integer[0]);\n\t\t\tint[] ary = new int[lst.size()];\n\t\t\tfor(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tList<Integer> lst = new ArrayList<Integer>();\n\t\t\tint input;\n\t\t\tint cnt=0;\n\t\t\twhile((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tInteger[] aaa = lst.toArray(new Integer[0]);\n\t\t\tint[] ary = new int[lst.size()];\n\t\t\tfor(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"List<Integer> lst = new ArrayList<Integer>();",
"lst",
"new ArrayList<Integer>()",
"int input;",
"input",
"int cnt=0;",
"cnt",
"0",
"while((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}",
"(input = sc.nextInt())!=0 && cnt < 10000",
"(input = sc.nextInt())!=0",
"(input = sc.nextInt())",
"input",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"cnt < 10000",
"cnt",
"10000",
"{\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}",
"if(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}",
"input>=0 && input <=10000",
"input>=0",
"input",
"0",
"input <=10000",
"input",
"10000",
"{\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}",
"lst.add(input)",
"lst.add",
"lst",
"input",
"cnt++",
"cnt",
"Integer[] aaa = lst.toArray(new Integer[0]);",
"aaa",
"lst.toArray(new Integer[0])",
"lst.toArray",
"lst",
"new Integer[0]",
"0",
"int[] ary = new int[lst.size()];",
"ary",
"new int[lst.size()]",
"lst.size()",
"lst.size",
"lst",
"for(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<lst.size()",
"i",
"lst.size()",
"lst.size",
"lst",
"i++",
"i++",
"i",
"{\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}",
"{\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}",
"ary[i] = aaa[i]",
"ary[i]",
"ary",
"i",
"aaa[i]",
"aaa",
"i",
"for(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i< ary.length",
"i",
"ary.length",
"ary",
"ary.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}",
"System.out.println(String.format(\"Case %d: %d\",i+1,ary[i]))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"Case %d: %d\",i+1,ary[i])",
"String.format",
"String",
"\"Case %d: %d\"",
"i+1",
"i",
"1",
"ary[i]",
"ary",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tList<Integer> lst = new ArrayList<Integer>();\n\t\t\tint input;\n\t\t\tint cnt=0;\n\t\t\twhile((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tInteger[] aaa = lst.toArray(new Integer[0]);\n\t\t\tint[] ary = new int[lst.size()];\n\t\t\tfor(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tList<Integer> lst = new ArrayList<Integer>();\n\t\t\tint input;\n\t\t\tint cnt=0;\n\t\t\twhile((input = sc.nextInt())!=0 && cnt < 10000) {\n\t\t\t\tif(input>=0 && input <=10000){\n\t\t\t\t\tlst.add(input);\n\t\t\t\t\tcnt++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tInteger[] aaa = lst.toArray(new Integer[0]);\n\t\t\tint[] ary = new int[lst.size()];\n\t\t\tfor(int i = 0; i<lst.size(); i++) {\n\t\t\t\tary[i] = aaa[i];\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i=0; i< ary.length ; i++) {\n\t\t\t\tSystem.out.println(String.format(\"Case %d: %d\",i+1,ary[i]));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try(Scanner sc = new Scanner(System.in)){
List<Integer> lst = new ArrayList<Integer>();
int input;
int cnt=0;
while((input = sc.nextInt())!=0 && cnt < 10000) {
if(input>=0 && input <=10000){
lst.add(input);
cnt++;
}
}
Integer[] aaa = lst.toArray(new Integer[0]);
int[] ary = new int[lst.size()];
for(int i = 0; i<lst.size(); i++) {
ary[i] = aaa[i];
}
for(int i=0; i< ary.length ; i++) {
System.out.println(String.format("Case %d: %d",i+1,ary[i]));
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
30,
4,
18,
13,
2,
2,
2,
2,
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
],
[
57,
5
],
[
57,
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
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
41,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
40,
45
],
[
39,
46
],
[
41,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"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\tStringBuilder sb = new StringBuilder();\n\t\tint num;\n\t\tint i = 0;\n\t\twhile(true) {\n\t\t\tnum = in.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(sb);\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\tStringBuilder sb = new StringBuilder();\n\t\tint num;\n\t\tint i = 0;\n\t\twhile(true) {\n\t\t\tnum = in.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint num;\n\t\tint i = 0;\n\t\twhile(true) {\n\t\t\tnum = in.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint num;\n\t\tint i = 0;\n\t\twhile(true) {\n\t\t\tnum = in.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(sb);\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int num;",
"num",
"int i = 0;",
"i",
"0",
"while(true) {\n\t\t\tnum = in.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tnum = in.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}\n\t\t}",
"num = in.nextInt()",
"num",
"in.nextInt()",
"in.nextInt",
"in",
"if (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}",
"num == 0",
"num",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}",
"sb.append(\"Case \" + (++i) + \": \" + num + \"\\n\")",
"sb.append",
"sb",
"\"Case \" + (++i) + \": \" + num + \"\\n\"",
"num",
"\": \"",
"\"Case \" + (++i) + \": \" + num + \"\\n\"",
"\"Case \"",
"(++i)",
"i",
"\": \"",
"num",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint num;\n\t\tint i = 0;\n\t\twhile(true) {\n\t\t\tnum = in.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint num;\n\t\tint i = 0;\n\t\twhile(true) {\n\t\t\tnum = in.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tsb.append(\"Case \" + (++i) + \": \" + num + \"\\n\");\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
int num;
int i = 0;
while(true) {
num = in.nextInt();
if (num == 0) {
break;
} else {
sb.append("Case " + (++i) + ": " + num + "\n");
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
2,
2,
2,
17,
40,
13,
17,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
194,
32
],
[
194,
33
],
[
33,
34
],
[
194,
35
],
[
35,
36
],
[
194,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
37,
55
],
[
55,
56
],
[
194,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
67,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
84,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
83,
88
],
[
84,
89
],
[
194,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
90,
94
],
[
94,
95
],
[
90,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
96,
102
],
[
102,
103
],
[
90,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
107,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
106,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
124,
125
],
[
125,
126
],
[
90,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
130,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
129,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
147,
148
],
[
148,
149
],
[
90,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
153,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
152,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
90,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
173,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
172,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
191,
192
],
[
0,
193
],
[
193,
194
],
[
193,
195
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\nimport java.math.BigInteger;\nimport java.time.chrono.MinguoChronology;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException { \n int i = 0;\n while (true) {\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }\n }\n }\n\n public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }\n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.time.chrono.MinguoChronology;",
"MinguoChronology",
"java.time.chrono",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException { \n int i = 0;\n while (true) {\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }\n }\n }\n\n public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }\n \n}",
"Main",
"static InputReader in;",
"in",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"main",
"{\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"in = new InputReader(System.in)",
"in",
"new InputReader(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve()",
"solver.solve",
"solver",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solution {\n void solve() throws IOException { \n int i = 0;\n while (true) {\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }\n }\n }",
"Solution",
"void solve() throws IOException { \n int i = 0;\n while (true) {\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }\n }",
"solve",
"{ \n int i = 0;\n while (true) {\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }\n }",
"int i = 0;",
"i",
"0",
"while (true) {\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }",
"true",
"{\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"if (x == 0) {\n break;\n }",
"x == 0",
"x",
"0",
"{\n break;\n }",
"break;",
"out.println(\"Case \"+(++i)+\": \"+x)",
"out.println",
"out",
"\"Case \"+(++i)+\": \"+x",
"\": \"",
"\"Case \"+(++i)+\": \"+x",
"\"Case \"",
"(++i)",
"i",
"\": \"",
"x",
"static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }",
"InputReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"br = new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"nextInt",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }",
"nextLong",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"nextDouble",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException { \n int i = 0;\n while (true) {\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }\n }\n }\n\n public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }\n \n}",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException { \n int i = 0;\n while (true) {\n int x = in.nextInt();\n if (x == 0) {\n break;\n }\n out.println(\"Case \"+(++i)+\": \"+x);\n }\n }\n }\n\n public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }\n \n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.StringTokenizer;
import java.math.BigInteger;
import java.time.chrono.MinguoChronology;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
int i = 0;
while (true) {
int x = in.nextInt();
if (x == 0) {
break;
}
out.println("Case "+(++i)+": "+x);
}
}
}
public static void main(String[] args) throws IOException {
// ??????
in = new InputReader(System.in);
out = new PrintWriter(System.out);
Solution solver = new Solution();
solver.solve();
out.close();
}
static class InputReader {
public BufferedReader br;
public StringTokenizer st;
public InputReader(InputStream stream) {
br = new BufferedReader(new InputStreamReader(stream));
}
public int nextInt() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Integer.parseInt(st.nextToken());
}
public long nextLong() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Long.parseLong(st.nextToken());
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public double nextDouble() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Double.parseDouble(st.nextToken());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
38,
5,
13,
30,
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,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
13,
13,
17,
13,
13,
40,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
79,
8
],
[
79,
9
],
[
9,
10
],
[
9,
11
],
[
79,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
24,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
64,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
61,
69
],
[
64,
70
],
[
41,
71
],
[
71,
72
],
[
24,
73
],
[
73,
74
],
[
74,
75
],
[
12,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n private final static String SPACE = \" \";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n\n String sStr;\n int i=1;\n while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n private final static String SPACE = \" \";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n\n String sStr;\n int i=1;\n while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }\n}",
"Main",
"private final static String SPACE = \" \";",
"SPACE",
"\" \"",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n\n String sStr;\n int i=1;\n while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }",
"main",
"{\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n\n String sStr;\n int i=1;\n while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }",
"try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n\n String sStr;\n int i=1;\n while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }",
"catch (Exception e) {\n System.exit(-1);\n }",
"Exception e",
"{\n System.exit(-1);\n }",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n\n String sStr;\n int i=1;\n while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }\n\n stdReader.close();\n }",
"BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader( new InputStreamReader(System.in))",
"String sStr;",
"sStr",
"int i=1;",
"i",
"1",
"while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }",
"(sStr = stdReader.readLine()) != null",
"(sStr = stdReader.readLine())",
"sStr",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }",
"int input=Integer.valueOf(sStr);",
"input",
"Integer.valueOf(sStr)",
"Integer.valueOf",
"Integer",
"sStr",
"if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }",
"input==0",
"input",
"0",
"{\n // nothing to do..\n break;\n }",
"break;",
"{\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }",
"System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\" + SPACE + i + \":\" + SPACE + input",
"SPACE",
"\":\"",
"i",
"\"Case\" + SPACE + i + \":\" + SPACE + input",
"\"Case\"",
"SPACE",
"i",
"\":\"",
"SPACE",
"input",
"++i",
"i",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main {\n\n private final static String SPACE = \" \";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n\n String sStr;\n int i=1;\n while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }\n}",
"public class Main {\n\n private final static String SPACE = \" \";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = \n new BufferedReader( new InputStreamReader(System.in));\n\n String sStr;\n int i=1;\n while ( (sStr = stdReader.readLine()) != null) {\n int input=Integer.valueOf(sStr);\n if (input==0) {\n // nothing to do..\n break;\n } else {\n System.out.println(\"Case\" + SPACE + i + \":\" + SPACE + input );\n }\n ++i;\n }\n\n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n } \n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
private final static String SPACE = " ";
public static void main(String[] args) {
try {
BufferedReader stdReader =
new BufferedReader( new InputStreamReader(System.in));
String sStr;
int i=1;
while ( (sStr = stdReader.readLine()) != null) {
int input=Integer.valueOf(sStr);
if (input==0) {
// nothing to do..
break;
} else {
System.out.println("Case" + SPACE + i + ":" + SPACE + input );
}
++i;
}
stdReader.close();
} catch (Exception e) {
System.exit(-1);
}
}
} |
[
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,
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
],
[
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
],
[
33,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
33,
37
],
[
25,
38
],
[
38,
39
],
[
6,
40
],
[
40,
41
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int get,num = 1;\n while ((get=sc.nextInt()) != 0){\n System.out.println(\"Case \"+num+\": \"+get);\n num++;\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int get,num = 1;\n while ((get=sc.nextInt()) != 0){\n System.out.println(\"Case \"+num+\": \"+get);\n num++;\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int get,num = 1;\n while ((get=sc.nextInt()) != 0){\n System.out.println(\"Case \"+num+\": \"+get);\n num++;\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int get,num = 1;\n while ((get=sc.nextInt()) != 0){\n System.out.println(\"Case \"+num+\": \"+get);\n num++;\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int get",
"get",
"num = 1;",
"num",
"1",
"while ((get=sc.nextInt()) != 0){\n System.out.println(\"Case \"+num+\": \"+get);\n num++;\n }",
"(get=sc.nextInt()) != 0",
"(get=sc.nextInt())",
"get",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n System.out.println(\"Case \"+num+\": \"+get);\n num++;\n }",
"System.out.println(\"Case \"+num+\": \"+get)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+num+\": \"+get",
"\": \"",
"\"Case \"+num+\": \"+get",
"\"Case \"",
"num",
"\": \"",
"get",
"num++",
"num",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int get,num = 1;
while ((get=sc.nextInt()) != 0){
System.out.println("Case "+num+": "+get);
num++;
}
}
}
|
[
7,
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,
18,
13,
13,
13,
30,
42,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
13,
17,
3,
40,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
17,
3,
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
],
[
102,
8
],
[
102,
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
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
36,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
49,
56
],
[
36,
57
],
[
57,
58
],
[
33,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
59,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
75,
80
],
[
74,
81
],
[
73,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
89,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
88,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
9,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] | [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tArrayList<Integer> cases = new ArrayList<Integer>();\n\t\tint count = 0;\n\t\tString line;\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tfor (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tArrayList<Integer> cases = new ArrayList<Integer>();\n\t\tint count = 0;\n\t\tString line;\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tfor (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tArrayList<Integer> cases = new ArrayList<Integer>();\n\t\tint count = 0;\n\t\tString line;\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tfor (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tArrayList<Integer> cases = new ArrayList<Integer>();\n\t\tint count = 0;\n\t\tString line;\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tfor (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}",
"ArrayList<Integer> cases = new ArrayList<Integer>();",
"cases",
"new ArrayList<Integer>()",
"int count = 0;",
"count",
"0",
"String line;",
"line",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\twhile (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tfor (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\t\t\twhile (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tfor (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}\n\t\t}",
"while (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}",
"true",
"{\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}",
"line = buf.readLine()",
"line",
"buf.readLine()",
"buf.readLine",
"buf",
"cases.add(Integer.parseInt(line))",
"cases.add",
"cases",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (cases.get(count) == 0)\n\t\t\t\t\tbreak;",
"cases.get(count) == 0",
"cases.get(count)",
"cases.get",
"cases",
"count",
"0",
"break;",
"count++",
"count",
"for (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cases.size()",
"i",
"cases.size()",
"cases.size",
"cases",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}",
"{\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}",
"if (cases.get(i) == 0)\n\t\t\t\t\tbreak;",
"cases.get(i) == 0",
"cases.get(i)",
"cases.get",
"cases",
"i",
"0",
"break;",
"System.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + cases.get(i)",
"\": \"",
"\"Case \" + (i + 1) + \": \" + cases.get(i)",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"cases.get(i)",
"cases.get",
"cases",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tArrayList<Integer> cases = new ArrayList<Integer>();\n\t\tint count = 0;\n\t\tString line;\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tfor (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tArrayList<Integer> cases = new ArrayList<Integer>();\n\t\tint count = 0;\n\t\tString line;\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tline = buf.readLine();\n\t\t\t\tcases.add(Integer.parseInt(line));\n\t\t\t\tif (cases.get(count) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tfor (int i = 0; i < cases.size(); i++) {\n\t\t\t\tif (cases.get(i) == 0)\n\t\t\t\t\tbreak;\n\t\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + cases.get(i));\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
ArrayList<Integer> cases = new ArrayList<Integer>();
int count = 0;
String line;
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
try {
while (true) {
line = buf.readLine();
cases.add(Integer.parseInt(line));
if (cases.get(count) == 0)
break;
count++;
}
for (int i = 0; i < cases.size(); i++) {
if (cases.get(i) == 0)
break;
System.out.println("Case " + (i + 1) + ": " + cases.get(i));
}
} catch (IOException e) {
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
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,
41,
13,
0,
13,
4,
18,
13,
0,
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
] | [
[
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
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
27,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
27,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
57,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
57,
61
],
[
9,
62
],
[
62,
63
]
] | [
"import java.io.*;\nimport java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main (String[] args) throws IOException\n\t{\n \t\tScanner in = new Scanner(System.in);\n\n\t\tfor(int i = 1; i > 0; i++){\n\n\t \tString X;\n\t \t\tint x;\n\t\n\t \t\tX = in.nextLine();\n\t \t\tx = Integer.parseInt(X);\n\t\n\t \tif(x == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \t\t}\n \t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\tpublic static void main (String[] args) throws IOException\n\t{\n \t\tScanner in = new Scanner(System.in);\n\n\t\tfor(int i = 1; i > 0; i++){\n\n\t \tString X;\n\t \t\tint x;\n\t\n\t \t\tX = in.nextLine();\n\t \t\tx = Integer.parseInt(X);\n\t\n\t \tif(x == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \t\t}\n \t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws IOException\n\t{\n \t\tScanner in = new Scanner(System.in);\n\n\t\tfor(int i = 1; i > 0; i++){\n\n\t \tString X;\n\t \t\tint x;\n\t\n\t \t\tX = in.nextLine();\n\t \t\tx = Integer.parseInt(X);\n\t\n\t \tif(x == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \t\t}\n \t}\n\t}",
"main",
"{\n \t\tScanner in = new Scanner(System.in);\n\n\t\tfor(int i = 1; i > 0; i++){\n\n\t \tString X;\n\t \t\tint x;\n\t\n\t \t\tX = in.nextLine();\n\t \t\tx = Integer.parseInt(X);\n\t\n\t \tif(x == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \t\t}\n \t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"for(int i = 1; i > 0; i++){\n\n\t \tString X;\n\t \t\tint x;\n\t\n\t \t\tX = in.nextLine();\n\t \t\tx = Integer.parseInt(X);\n\t\n\t \tif(x == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \t\t}\n \t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i > 0",
"i",
"0",
"i++",
"i++",
"i",
"{\n\n\t \tString X;\n\t \t\tint x;\n\t\n\t \t\tX = in.nextLine();\n\t \t\tx = Integer.parseInt(X);\n\t\n\t \tif(x == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \t\t}\n \t}",
"{\n\n\t \tString X;\n\t \t\tint x;\n\t\n\t \t\tX = in.nextLine();\n\t \t\tx = Integer.parseInt(X);\n\t\n\t \tif(x == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \t\t}\n \t}",
"String X;",
"X",
"int x;",
"x",
"X = in.nextLine()",
"X",
"in.nextLine()",
"in.nextLine",
"in",
"x = Integer.parseInt(X)",
"x",
"Integer.parseInt(X)",
"Integer.parseInt",
"Integer",
"X",
"if(x == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \t\t}",
"x == 0",
"x",
"0",
"{\n\t \tbreak;\n\t \t}",
"break;",
"{\n\t\t \t\tSystem.out.println(\"Case \" + i + \": \" + x);\n \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",
"String[] args",
"args"
] | import java.io.*;
import java.util.Scanner;
class Main
{
public static void main (String[] args) throws IOException
{
Scanner in = new Scanner(System.in);
for(int i = 1; i > 0; i++){
String X;
int x;
X = in.nextLine();
x = Integer.parseInt(X);
if(x == 0){
break;
}else{
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,
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,
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
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
40,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
40,
44
],
[
32,
45
],
[
45,
46
],
[
32,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
12,
52
],
[
52,
53
]
] | [
"/* ITP1_9-B */\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tint count = 1;\n\t\twhile(!str.equals(\"0\")) {\n\t\t\tSystem.out.println( \"Case \" + count + \": \" + str );\n\t\t\tcount++;\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\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\tpublic static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tint count = 1;\n\t\twhile(!str.equals(\"0\")) {\n\t\t\tSystem.out.println( \"Case \" + count + \": \" + str );\n\t\t\tcount++;\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tint count = 1;\n\t\twhile(!str.equals(\"0\")) {\n\t\t\tSystem.out.println( \"Case \" + count + \": \" + str );\n\t\t\tcount++;\n\t\t\tstr = br.readLine();\n\t\t}\n\t}",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tint count = 1;\n\t\twhile(!str.equals(\"0\")) {\n\t\t\tSystem.out.println( \"Case \" + count + \": \" + str );\n\t\t\tcount++;\n\t\t\tstr = br.readLine();\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int count = 1;",
"count",
"1",
"while(!str.equals(\"0\")) {\n\t\t\tSystem.out.println( \"Case \" + count + \": \" + str );\n\t\t\tcount++;\n\t\t\tstr = br.readLine();\n\t\t}",
"!str.equals(\"0\")",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"{\n\t\t\tSystem.out.println( \"Case \" + count + \": \" + str );\n\t\t\tcount++;\n\t\t\tstr = br.readLine();\n\t\t}",
"System.out.println( \"Case \" + count + \": \" + str )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + count + \": \" + str",
"\": \"",
"\"Case \" + count + \": \" + str",
"\"Case \"",
"count",
"\": \"",
"str",
"count++",
"count",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] args",
"args"
] | /* ITP1_9-B */
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
int count = 1;
while(!str.equals("0")) {
System.out.println( "Case " + count + ": " + str );
count++;
str = br.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
2,
2,
2,
2,
17,
13,
17,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
23,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
44,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
44,
49
],
[
23,
50
],
[
50,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\n public static void main (String[] args){\n Scanner in = new Scanner(System.in);\n StringBuilder bu = new StringBuilder();\n \n int num = 0;\n int i = 1;\n \n while(true){\n num = Integer.parseInt(in.next());\n if(num == 0){\n break;\n }\n\n bu.append (\"Case \" + i + \": \"+ num + \"\\n\");\n i++;\n }\n System.out.print(bu);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n public static void main (String[] args){\n Scanner in = new Scanner(System.in);\n StringBuilder bu = new StringBuilder();\n \n int num = 0;\n int i = 1;\n \n while(true){\n num = Integer.parseInt(in.next());\n if(num == 0){\n break;\n }\n\n bu.append (\"Case \" + i + \": \"+ num + \"\\n\");\n i++;\n }\n System.out.print(bu);\n }\n}",
"Main",
"public static void main (String[] args){\n Scanner in = new Scanner(System.in);\n StringBuilder bu = new StringBuilder();\n \n int num = 0;\n int i = 1;\n \n while(true){\n num = Integer.parseInt(in.next());\n if(num == 0){\n break;\n }\n\n bu.append (\"Case \" + i + \": \"+ num + \"\\n\");\n i++;\n }\n System.out.print(bu);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n StringBuilder bu = new StringBuilder();\n \n int num = 0;\n int i = 1;\n \n while(true){\n num = Integer.parseInt(in.next());\n if(num == 0){\n break;\n }\n\n bu.append (\"Case \" + i + \": \"+ num + \"\\n\");\n i++;\n }\n System.out.print(bu);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"StringBuilder bu = new StringBuilder();",
"bu",
"new StringBuilder()",
"int num = 0;",
"num",
"0",
"int i = 1;",
"i",
"1",
"while(true){\n num = Integer.parseInt(in.next());\n if(num == 0){\n break;\n }\n\n bu.append (\"Case \" + i + \": \"+ num + \"\\n\");\n i++;\n }",
"true",
"{\n num = Integer.parseInt(in.next());\n if(num == 0){\n break;\n }\n\n bu.append (\"Case \" + i + \": \"+ num + \"\\n\");\n i++;\n }",
"num = Integer.parseInt(in.next())",
"num",
"Integer.parseInt(in.next())",
"Integer.parseInt",
"Integer",
"in.next()",
"in.next",
"in",
"if(num == 0){\n break;\n }",
"num == 0",
"num",
"0",
"{\n break;\n }",
"break;",
"bu.append (\"Case \" + i + \": \"+ num + \"\\n\")",
"bu.append",
"bu",
"\"Case \" + i + \": \"+ num + \"\\n\"",
"num",
"\": \"",
"\"Case \" + i + \": \"+ num + \"\\n\"",
"\"Case \"",
"i",
"\": \"",
"num",
"\"\\n\"",
"i++",
"i",
"System.out.print(bu)",
"System.out.print",
"System.out",
"System",
"System.out",
"bu",
"String[] args",
"args",
"public class Main{\n\n public static void main (String[] args){\n Scanner in = new Scanner(System.in);\n StringBuilder bu = new StringBuilder();\n \n int num = 0;\n int i = 1;\n \n while(true){\n num = Integer.parseInt(in.next());\n if(num == 0){\n break;\n }\n\n bu.append (\"Case \" + i + \": \"+ num + \"\\n\");\n i++;\n }\n System.out.print(bu);\n }\n}",
"public class Main{\n\n public static void main (String[] args){\n Scanner in = new Scanner(System.in);\n StringBuilder bu = new StringBuilder();\n \n int num = 0;\n int i = 1;\n \n while(true){\n num = Integer.parseInt(in.next());\n if(num == 0){\n break;\n }\n\n bu.append (\"Case \" + i + \": \"+ num + \"\\n\");\n i++;\n }\n System.out.print(bu);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main (String[] args){
Scanner in = new Scanner(System.in);
StringBuilder bu = new StringBuilder();
int num = 0;
int i = 1;
while(true){
num = Integer.parseInt(in.next());
if(num == 0){
break;
}
bu.append ("Case " + i + ": "+ num + "\n");
i++;
}
System.out.print(bu);
}
} |
[
7,
15,
13,
17,
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,
4,
18,
13,
17,
3,
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
],
[
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
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
23,
46
],
[
46,
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\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n int count = 1;\n while (true) {\n final String str = br.readLine();\n if (str.equals(\"0\"))\n break;\n System.out.println(String.format(\"Case %d: %s\", count, str));\n count++;\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 br = new BufferedReader(\n new InputStreamReader(System.in));\n int count = 1;\n while (true) {\n final String str = br.readLine();\n if (str.equals(\"0\"))\n break;\n System.out.println(String.format(\"Case %d: %s\", count, str));\n count++;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n int count = 1;\n while (true) {\n final String str = br.readLine();\n if (str.equals(\"0\"))\n break;\n System.out.println(String.format(\"Case %d: %s\", count, str));\n count++;\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n int count = 1;\n while (true) {\n final String str = br.readLine();\n if (str.equals(\"0\"))\n break;\n System.out.println(String.format(\"Case %d: %s\", count, str));\n count++;\n }\n }",
"BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));",
"br",
"new BufferedReader(\n new InputStreamReader(System.in))",
"int count = 1;",
"count",
"1",
"while (true) {\n final String str = br.readLine();\n if (str.equals(\"0\"))\n break;\n System.out.println(String.format(\"Case %d: %s\", count, str));\n count++;\n }",
"true",
"{\n final String str = br.readLine();\n if (str.equals(\"0\"))\n break;\n System.out.println(String.format(\"Case %d: %s\", count, str));\n count++;\n }",
"final String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"if (str.equals(\"0\"))\n break;",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"break;",
"System.out.println(String.format(\"Case %d: %s\", count, str))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"Case %d: %s\", count, str)",
"String.format",
"String",
"\"Case %d: %s\"",
"count",
"str",
"count++",
"count",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n int count = 1;\n while (true) {\n final String str = br.readLine();\n if (str.equals(\"0\"))\n break;\n System.out.println(String.format(\"Case %d: %s\", count, str));\n count++;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n int count = 1;\n while (true) {\n final String str = br.readLine();\n if (str.equals(\"0\"))\n break;\n System.out.println(String.format(\"Case %d: %s\", count, str));\n count++;\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(
new InputStreamReader(System.in));
int count = 1;
while (true) {
final String str = br.readLine();
if (str.equals("0"))
break;
System.out.println(String.format("Case %d: %s", count, str));
count++;
}
}
} |
[
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,
40,
13,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
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
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
34,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
34,
38
],
[
24,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"\t\timport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=0;\n\t\tint x = sc.nextInt();\n\t\twhile(x!=0){\n\t\t\tn++;\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=0;\n\t\tint x = sc.nextInt();\n\t\twhile(x!=0){\n\t\t\tn++;\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=0;\n\t\tint x = sc.nextInt();\n\t\twhile(x!=0){\n\t\t\tn++;\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=0;\n\t\tint x = sc.nextInt();\n\t\twhile(x!=0){\n\t\t\tn++;\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=0;",
"n",
"0",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(x!=0){\n\t\t\tn++;\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}",
"x!=0",
"x",
"0",
"{\n\t\t\tn++;\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}",
"n++",
"n",
"System.out.println(\"Case \"+n+\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+n+\": \"+x",
"\": \"",
"\"Case \"+n+\": \"+x",
"\"Case \"",
"n",
"\": \"",
"x",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=0;\n\t\tint x = sc.nextInt();\n\t\twhile(x!=0){\n\t\t\tn++;\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=0;\n\t\tint x = sc.nextInt();\n\t\twhile(x!=0){\n\t\t\tn++;\n\t\t\tSystem.out.println(\"Case \"+n+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int n=0;
int x = sc.nextInt();
while(x!=0){
n++;
System.out.println("Case "+n+": "+x);
x = sc.nextInt();
}
}
} |
[
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,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
17,
13,
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
],
[
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
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
21,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
33,
39
],
[
33,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i=1;;i++){\n int x = sc.nextInt();\n if(x==0){\n break;\n}\n System.out.printf(\"Case %d: %d\\n\",i,x);\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 for(int i=1;;i++){\n int x = sc.nextInt();\n if(x==0){\n break;\n}\n System.out.printf(\"Case %d: %d\\n\",i,x);\n}\n}\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i=1;;i++){\n int x = sc.nextInt();\n if(x==0){\n break;\n}\n System.out.printf(\"Case %d: %d\\n\",i,x);\n}\n}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n for(int i=1;;i++){\n int x = sc.nextInt();\n if(x==0){\n break;\n}\n System.out.printf(\"Case %d: %d\\n\",i,x);\n}\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=1;;i++){\n int x = sc.nextInt();\n if(x==0){\n break;\n}\n System.out.printf(\"Case %d: %d\\n\",i,x);\n}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n int x = sc.nextInt();\n if(x==0){\n break;\n}\n System.out.printf(\"Case %d: %d\\n\",i,x);\n}",
"{\n int x = sc.nextInt();\n if(x==0){\n break;\n}\n System.out.printf(\"Case %d: %d\\n\",i,x);\n}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0){\n break;\n}",
"x==0",
"x",
"0",
"{\n break;\n}",
"break;",
"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 public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i=1;;i++){\n int x = sc.nextInt();\n if(x==0){\n break;\n}\n System.out.printf(\"Case %d: %d\\n\",i,x);\n}\n}\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i=1;;i++){\n int x = sc.nextInt();\n if(x==0){\n break;\n}\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){
Scanner sc = new Scanner(System.in);
for(int i=1;;i++){
int x = sc.nextInt();
if(x==0){
break;
}
System.out.printf("Case %d: %d\n",i,x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
3,
4,
18,
13,
2,
2,
2,
17,
13,
17,
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
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
18,
19
],
[
18,
20
],
[
13,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
24,
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
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
50,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
50,
54
],
[
23,
55
],
[
55,
56
],
[
56,
57
],
[
21,
58
],
[
58,
59
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\nclass Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] args) throws IOException {\n for (int i = 1;; i++) {\n String x = br.readLine();\n if(x.equals(\"0\")) break;\n out.println(\"Case \"+i+\": \"+x);\n }\n out.flush();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"class Main {\n private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] args) throws IOException {\n for (int i = 1;; i++) {\n String x = br.readLine();\n if(x.equals(\"0\")) break;\n out.println(\"Case \"+i+\": \"+x);\n }\n out.flush();\n }\n}",
"Main",
"private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"private static final PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] args) throws IOException {\n for (int i = 1;; i++) {\n String x = br.readLine();\n if(x.equals(\"0\")) break;\n out.println(\"Case \"+i+\": \"+x);\n }\n out.flush();\n }",
"main",
"{\n for (int i = 1;; i++) {\n String x = br.readLine();\n if(x.equals(\"0\")) break;\n out.println(\"Case \"+i+\": \"+x);\n }\n out.flush();\n }",
"for (int i = 1;; i++) {\n String x = br.readLine();\n if(x.equals(\"0\")) break;\n out.println(\"Case \"+i+\": \"+x);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n String x = br.readLine();\n if(x.equals(\"0\")) break;\n out.println(\"Case \"+i+\": \"+x);\n }",
"{\n String x = br.readLine();\n if(x.equals(\"0\")) break;\n out.println(\"Case \"+i+\": \"+x);\n }",
"String x = br.readLine();",
"x",
"br.readLine()",
"br.readLine",
"br",
"if(x.equals(\"0\")) break;",
"x.equals(\"0\")",
"x.equals",
"x",
"\"0\"",
"break;",
"out.println(\"Case \"+i+\": \"+x)",
"out.println",
"out",
"\"Case \"+i+\": \"+x",
"\": \"",
"\"Case \"+i+\": \"+x",
"\"Case \"",
"i",
"\": \"",
"x",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
class Main {
private static final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
private static final PrintWriter out = new PrintWriter(System.out);
public static void main(String[] args) throws IOException {
for (int i = 1;; i++) {
String x = br.readLine();
if(x.equals("0")) break;
out.println("Case "+i+": "+x);
}
out.flush();
}
} |
[
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,
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
],
[
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
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x=5;\n int i=1;\n while(x!=0){\n \n x= scanner .nextInt();\n if(x==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+x);\n i++;\n \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 int x=5;\n int i=1;\n while(x!=0){\n \n x= scanner .nextInt();\n if(x==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+x);\n i++;\n \n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x=5;\n int i=1;\n while(x!=0){\n \n x= scanner .nextInt();\n if(x==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+x);\n i++;\n \n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int x=5;\n int i=1;\n while(x!=0){\n \n x= scanner .nextInt();\n if(x==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+x);\n i++;\n \n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int x=5;",
"x",
"5",
"int i=1;",
"i",
"1",
"while(x!=0){\n \n x= scanner .nextInt();\n if(x==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+x);\n i++;\n \n }",
"x!=0",
"x",
"0",
"{\n \n x= scanner .nextInt();\n if(x==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+x);\n i++;\n \n }",
"x= scanner .nextInt()",
"x",
"scanner .nextInt()",
"scanner .nextInt",
"scanner",
"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",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x=5;\n int i=1;\n while(x!=0){\n \n x= scanner .nextInt();\n if(x==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+x);\n i++;\n \n }\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x=5;\n int i=1;\n while(x!=0){\n \n x= scanner .nextInt();\n if(x==0){\n break;\n }\n System.out.println(\"Case \"+i+\": \"+x);\n i++;\n \n }\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int x=5;
int i=1;
while(x!=0){
x= scanner .nextInt();
if(x==0){
break;
}
System.out.println("Case "+i+": "+x);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
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
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
8,
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
],
[
33,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
33,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
33,
57
],
[
57,
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) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tint i=0;\n int y = 1;\n String buf = br.readLine();\n //String[] x = buf.split(\"\",0);\n int z = Integer.parseInt(buf);\n while(z!=0){\n \t\n \tSystem.out.println(\"Case \"+ y + \": \" + z);\n \tbuf = br.readLine();\n \tz = Integer.parseInt(buf);\n \ty++;\n }\n }\n \n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tint i=0;\n int y = 1;\n String buf = br.readLine();\n //String[] x = buf.split(\"\",0);\n int z = Integer.parseInt(buf);\n while(z!=0){\n \t\n \tSystem.out.println(\"Case \"+ y + \": \" + z);\n \tbuf = br.readLine();\n \tz = Integer.parseInt(buf);\n \ty++;\n }\n }\n \n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tint i=0;\n int y = 1;\n String buf = br.readLine();\n //String[] x = buf.split(\"\",0);\n int z = Integer.parseInt(buf);\n while(z!=0){\n \t\n \tSystem.out.println(\"Case \"+ y + \": \" + z);\n \tbuf = br.readLine();\n \tz = Integer.parseInt(buf);\n \ty++;\n }\n }",
"main",
"{\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tint i=0;\n int y = 1;\n String buf = br.readLine();\n //String[] x = buf.split(\"\",0);\n int z = Integer.parseInt(buf);\n while(z!=0){\n \t\n \tSystem.out.println(\"Case \"+ y + \": \" + z);\n \tbuf = br.readLine();\n \tz = Integer.parseInt(buf);\n \ty++;\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i=0;",
"i",
"0",
"int y = 1;",
"y",
"1",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"int z = Integer.parseInt(buf);",
"z",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"while(z!=0){\n \t\n \tSystem.out.println(\"Case \"+ y + \": \" + z);\n \tbuf = br.readLine();\n \tz = Integer.parseInt(buf);\n \ty++;\n }",
"z!=0",
"z",
"0",
"{\n \t\n \tSystem.out.println(\"Case \"+ y + \": \" + z);\n \tbuf = br.readLine();\n \tz = Integer.parseInt(buf);\n \ty++;\n }",
"System.out.println(\"Case \"+ y + \": \" + z)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ y + \": \" + z",
"\": \"",
"\"Case \"+ y + \": \" + z",
"\"Case \"",
"y",
"\": \"",
"z",
"buf = br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"z = Integer.parseInt(buf)",
"z",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"y++",
"y",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tint i=0;\n int y = 1;\n String buf = br.readLine();\n //String[] x = buf.split(\"\",0);\n int z = Integer.parseInt(buf);\n while(z!=0){\n \t\n \tSystem.out.println(\"Case \"+ y + \": \" + z);\n \tbuf = br.readLine();\n \tz = Integer.parseInt(buf);\n \ty++;\n }\n }\n \n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tint i=0;\n int y = 1;\n String buf = br.readLine();\n //String[] x = buf.split(\"\",0);\n int z = Integer.parseInt(buf);\n while(z!=0){\n \t\n \tSystem.out.println(\"Case \"+ y + \": \" + z);\n \tbuf = br.readLine();\n \tz = Integer.parseInt(buf);\n \ty++;\n }\n }\n \n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int i=0;
int y = 1;
String buf = br.readLine();
//String[] x = buf.split("",0);
int z = Integer.parseInt(buf);
while(z!=0){
System.out.println("Case "+ y + ": " + z);
buf = br.readLine();
z = Integer.parseInt(buf);
y++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
4,
11
],
[
11,
12
],
[
4,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
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
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
33,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
4,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
]
] | [
"import java.util.Scanner;\nclass Main{\n\t\n\tScanner sc = new Scanner(System.in);\n\tint x;\n\tint i;\n\t\n\tvoid rp2(){\n\t\t\n\t\tx = sc.nextInt();\n\t\n\t\tfor(i=1; x!=0; i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}\n\t\n\tpublic static void main(String[]agrs){\n\t\tnew Main().rp2();\n\t}\n}\n\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\t\n\tScanner sc = new Scanner(System.in);\n\tint x;\n\tint i;\n\t\n\tvoid rp2(){\n\t\t\n\t\tx = sc.nextInt();\n\t\n\t\tfor(i=1; x!=0; i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}\n\t\n\tpublic static void main(String[]agrs){\n\t\tnew Main().rp2();\n\t}\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x;",
"x",
"int i;",
"i",
"void rp2(){\n\t\t\n\t\tx = sc.nextInt();\n\t\n\t\tfor(i=1; x!=0; i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}",
"rp2",
"{\n\t\t\n\t\tx = sc.nextInt();\n\t\n\t\tfor(i=1; x!=0; i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}\n\t}",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(i=1; x!=0; i++){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}",
"i=1;",
"i=1",
"i",
"1",
"x!=0",
"x",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\tx = sc.nextInt();\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\tx = sc.nextInt();\n\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",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void main(String[]agrs){\n\t\tnew Main().rp2();\n\t}",
"main",
"{\n\t\tnew Main().rp2();\n\t}",
"new Main().rp2()",
"new Main().rp2",
"new Main()",
"String[]agrs",
"agrs"
] | import java.util.Scanner;
class Main{
Scanner sc = new Scanner(System.in);
int x;
int i;
void rp2(){
x = sc.nextInt();
for(i=1; x!=0; i++){
System.out.println("Case "+i+": "+x);
x = sc.nextInt();
}
}
public static void main(String[]agrs){
new Main().rp2();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
69,
11
],
[
69,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
40,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
40,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
61,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
61,
65
],
[
12,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\tfor(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"System.out.println(\"??¨??????:\"+e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"??¨??????:\"+e",
"\"??¨??????:\"",
"e",
"{\n\t\tfor(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}\n\t\t}",
"for(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}",
"{\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}",
"int x=Integer.parseInt(reader.readLine());",
"x",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"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",
"String[] args",
"args",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(int i=1;;i++){\n\t\t\tint x=Integer.parseInt(reader.readLine());\n\t\t\tif(x==0)break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args){
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
try{
for(int i=1;;i++){
int x=Integer.parseInt(reader.readLine());
if(x==0)break;
System.out.println("Case "+i+": "+x);
}
}catch(IOException e){
System.out.println("??¨??????:"+e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
30,
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,
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
],
[
28,
29
],
[
29,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
48,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
70,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
12,
80
],
[
80,
81
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n\tint x =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> list = new ArrayList<Integer>();\n\tint ii = 0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlist.add(x);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+list.get(i));\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\tint x =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> list = new ArrayList<Integer>();\n\tint ii = 0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlist.add(x);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+list.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\tint x =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> list = new ArrayList<Integer>();\n\tint ii = 0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlist.add(x);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+list.get(i));\n\t\t}\n\t}",
"main",
"{\n\tint x =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> list = new ArrayList<Integer>();\n\tint ii = 0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlist.add(x);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+list.get(i));\n\t\t}\n\t}",
"int x =0;",
"x",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"int ii = 0;",
"ii",
"0",
"while(scan.hasNextInt()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlist.add(x);\n\t\t\t}\n\t\t}",
"scan.hasNextInt()",
"scan.hasNextInt",
"scan",
"{\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlist.add(x);\n\t\t\t}\n\t\t}",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tlist.add(x);\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tlist.add(x);\n\t\t\t}",
"list.add(x)",
"list.add",
"list",
"x",
"for(int i=0;i<list.size();i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+list.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+list.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+list.get(i));\n\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"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
public static void main(String[] args){
int x =0;
Scanner scan = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<Integer>();
int ii = 0;
while(scan.hasNextInt()){
x = scan.nextInt();
if(x == 0){
break;
}
else{
list.add(x);
}
}
for(int i=0;i<list.size();i++){
System.out.println("Case "+(i+1)+": "+list.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
17,
41,
13,
42,
17,
30,
40,
13,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
29,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
19,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
35,
41
],
[
35,
42
],
[
9,
43
],
[
43,
44
]
] | [
"import java.util.*;\nclass Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint cnt=0,in;\n\t\twhile(true) {\n\t\t\tcnt++;\n\t\t\tin = Integer.parseInt(s.next());\n\t\t\tif(in==0)\n\t\t\t\treturn;\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",cnt,in);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint cnt=0,in;\n\t\twhile(true) {\n\t\t\tcnt++;\n\t\t\tin = Integer.parseInt(s.next());\n\t\t\tif(in==0)\n\t\t\t\treturn;\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",cnt,in);\n\t\t}\n\t}\n}",
"Main",
"static Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\tint cnt=0,in;\n\t\twhile(true) {\n\t\t\tcnt++;\n\t\t\tin = Integer.parseInt(s.next());\n\t\t\tif(in==0)\n\t\t\t\treturn;\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",cnt,in);\n\t\t}\n\t}",
"main",
"{\n\t\tint cnt=0,in;\n\t\twhile(true) {\n\t\t\tcnt++;\n\t\t\tin = Integer.parseInt(s.next());\n\t\t\tif(in==0)\n\t\t\t\treturn;\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",cnt,in);\n\t\t}\n\t}",
"int cnt=0",
"cnt",
"0",
"in;",
"in",
"while(true) {\n\t\t\tcnt++;\n\t\t\tin = Integer.parseInt(s.next());\n\t\t\tif(in==0)\n\t\t\t\treturn;\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",cnt,in);\n\t\t}",
"true",
"{\n\t\t\tcnt++;\n\t\t\tin = Integer.parseInt(s.next());\n\t\t\tif(in==0)\n\t\t\t\treturn;\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",cnt,in);\n\t\t}",
"cnt++",
"cnt",
"in = Integer.parseInt(s.next())",
"in",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"if(in==0)\n\t\t\t\treturn;",
"in==0",
"in",
"0",
"return;",
"System.out.printf(\"Case %d: %d\\n\",cnt,in)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"cnt",
"in",
"String[] args",
"args"
] | import java.util.*;
class Main{
static Scanner s = new Scanner(System.in);
public static void main(String[] args) {
int cnt=0,in;
while(true) {
cnt++;
in = Integer.parseInt(s.next());
if(in==0)
return;
System.out.printf("Case %d: %d\n",cnt,in);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
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
],
[
48,
8
],
[
48,
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
],
[
20,
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
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint t =0;\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x =sc.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tt++;\n\t\t\tSystem.out.println(\"Case \"+ t + \": \" + x );\n\t\t}\n \n \n\t}\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\tint t =0;\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x =sc.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tt++;\n\t\t\tSystem.out.println(\"Case \"+ t + \": \" + x );\n\t\t}\n \n \n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tint t =0;\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x =sc.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tt++;\n\t\t\tSystem.out.println(\"Case \"+ t + \": \" + x );\n\t\t}\n \n \n\t}",
"main",
"{\n\t\tint t =0;\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x =sc.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tt++;\n\t\t\tSystem.out.println(\"Case \"+ t + \": \" + x );\n\t\t}\n \n \n\t}",
"int t =0;",
"t",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t\t\tint x =sc.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tt++;\n\t\t\tSystem.out.println(\"Case \"+ t + \": \" + x );\n\t\t}",
"true",
"{\n\t\t\tint x =sc.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tt++;\n\t\t\tSystem.out.println(\"Case \"+ t + \": \" + x );\n\t\t}",
"int x =sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0) break;",
"x == 0",
"x",
"0",
"break;",
"t++",
"t",
"System.out.println(\"Case \"+ t + \": \" + x )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ t + \": \" + x",
"\": \"",
"\"Case \"+ t + \": \" + x",
"\"Case \"",
"t",
"\": \"",
"x",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint t =0;\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x =sc.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tt++;\n\t\t\tSystem.out.println(\"Case \"+ t + \": \" + x );\n\t\t}\n \n \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tint t =0;\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x =sc.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tt++;\n\t\t\tSystem.out.println(\"Case \"+ t + \": \" + x );\n\t\t}\n \n \n\t}\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException{
int t =0;
Scanner sc = new Scanner(System.in);
while(true){
int x =sc.nextInt();
if(x == 0) break;
t++;
System.out.println("Case "+ t + ": " + x );
}
}
} |
[
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,
2,
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
],
[
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
],
[
8,
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
],
[
38,
42
],
[
39,
43
],
[
20,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int in_num = 1;\n int scan_num = 0;\n\n while(true) {\n scan_num = stdIn.nextInt();\n if (scan_num == 0) {\n break;\n }\n System.out.println(\"Case \"+ in_num + \": \" + scan_num);\n in_num++;\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int in_num = 1;\n int scan_num = 0;\n\n while(true) {\n scan_num = stdIn.nextInt();\n if (scan_num == 0) {\n break;\n }\n System.out.println(\"Case \"+ in_num + \": \" + scan_num);\n in_num++;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int in_num = 1;\n int scan_num = 0;\n\n while(true) {\n scan_num = stdIn.nextInt();\n if (scan_num == 0) {\n break;\n }\n System.out.println(\"Case \"+ in_num + \": \" + scan_num);\n in_num++;\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n int in_num = 1;\n int scan_num = 0;\n\n while(true) {\n scan_num = stdIn.nextInt();\n if (scan_num == 0) {\n break;\n }\n System.out.println(\"Case \"+ in_num + \": \" + scan_num);\n in_num++;\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int in_num = 1;",
"in_num",
"1",
"int scan_num = 0;",
"scan_num",
"0",
"while(true) {\n scan_num = stdIn.nextInt();\n if (scan_num == 0) {\n break;\n }\n System.out.println(\"Case \"+ in_num + \": \" + scan_num);\n in_num++;\n }",
"true",
"{\n scan_num = stdIn.nextInt();\n if (scan_num == 0) {\n break;\n }\n System.out.println(\"Case \"+ in_num + \": \" + scan_num);\n in_num++;\n }",
"scan_num = stdIn.nextInt()",
"scan_num",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if (scan_num == 0) {\n break;\n }",
"scan_num == 0",
"scan_num",
"0",
"{\n break;\n }",
"break;",
"System.out.println(\"Case \"+ in_num + \": \" + scan_num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ in_num + \": \" + scan_num",
"\": \"",
"\"Case \"+ in_num + \": \" + scan_num",
"\"Case \"",
"in_num",
"\": \"",
"scan_num",
"in_num++",
"in_num",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int in_num = 1;\n int scan_num = 0;\n\n while(true) {\n scan_num = stdIn.nextInt();\n if (scan_num == 0) {\n break;\n }\n System.out.println(\"Case \"+ in_num + \": \" + scan_num);\n in_num++;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n int in_num = 1;\n int scan_num = 0;\n\n while(true) {\n scan_num = stdIn.nextInt();\n if (scan_num == 0) {\n break;\n }\n System.out.println(\"Case \"+ in_num + \": \" + scan_num);\n in_num++;\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int in_num = 1;
int scan_num = 0;
while(true) {
scan_num = stdIn.nextInt();
if (scan_num == 0) {
break;
}
System.out.println("Case "+ in_num + ": " + scan_num);
in_num++;
}
}
} |
[
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,
4,
18,
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
] | [
[
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
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
26,
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
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
41,
63
],
[
14,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
12,
70
],
[
70,
71
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int caseNum = 1;\n while(true) {\n int data = Integer.parseInt(br.readLine());\n if(data == 0) {\n break;\n }\n sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int caseNum = 1;\n while(true) {\n int data = Integer.parseInt(br.readLine());\n if(data == 0) {\n break;\n }\n sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int caseNum = 1;\n while(true) {\n int data = Integer.parseInt(br.readLine());\n if(data == 0) {\n break;\n }\n sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int caseNum = 1;\n while(true) {\n int data = Integer.parseInt(br.readLine());\n if(data == 0) {\n break;\n }\n sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int caseNum = 1;",
"caseNum",
"1",
"while(true) {\n int data = Integer.parseInt(br.readLine());\n if(data == 0) {\n break;\n }\n sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n }",
"true",
"{\n int data = Integer.parseInt(br.readLine());\n if(data == 0) {\n break;\n }\n sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n }",
"int 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;",
"sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data)).append(\"\\n\")",
"sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data)).append",
"sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append(Integer.toString(data))",
"sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \").append",
"sb.append(\"Case \").append(Integer.toString(caseNum++)).append(\": \")",
"sb.append(\"Case \").append(Integer.toString(caseNum++)).append",
"sb.append(\"Case \").append(Integer.toString(caseNum++))",
"sb.append(\"Case \").append",
"sb.append(\"Case \")",
"sb.append",
"sb",
"\"Case \"",
"Integer.toString(caseNum++)",
"Integer.toString",
"Integer",
"caseNum++",
"caseNum",
"\": \"",
"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.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int caseNum = 1;
while(true) {
int data = Integer.parseInt(br.readLine());
if(data == 0) {
break;
}
sb.append("Case ").append(Integer.toString(caseNum++)).append(": ").append(Integer.toString(data)).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
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
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
36,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
59,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
59,
63
],
[
51,
64
],
[
64,
65
],
[
12,
66
],
[
66,
67
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint num, i = 1;\n\t\t\tdo {\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t\tif (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint num, i = 1;\n\t\t\tdo {\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t\tif (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint num, i = 1;\n\t\t\tdo {\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t\tif (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint num, i = 1;\n\t\t\tdo {\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t\tif (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try {\n\t\t\tint num, i = 1;\n\t\t\tdo {\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t\tif (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tint num, i = 1;\n\t\t\tdo {\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t\tif (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t}",
"int num",
"num",
"i = 1;",
"i",
"1",
"do {\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t\tif (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t} while (true);",
"true",
"{\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t\tif (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}",
"num = Integer.parseInt(br.readLine())",
"num",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if (num == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}",
"num == 0",
"num",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"{\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t\ti++;\n\t\t\t\t}",
"System.out.println(\"Case \" + i + \": \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + num",
"\": \"",
"\"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) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
int num, i = 1;
do {
num = Integer.parseInt(br.readLine());
if (num == 0) {
break;
} else {
System.out.println("Case " + i + ": " + num);
i++;
}
} while (true);
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
13,
41,
13,
17,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
17,
40,
13,
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
],
[
18,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
42,
48
],
[
48,
49
],
[
42,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> numbers = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}\n\n\t\tint i = 0;\n\t\tfor(Integer n : numbers){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> numbers = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}\n\n\t\tint i = 0;\n\t\tfor(Integer n : numbers){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tList<Integer> numbers = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}\n\n\t\tint i = 0;\n\t\tfor(Integer n : numbers){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}\n\t}",
"main",
"{\n\t\tList<Integer> numbers = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}\n\n\t\tint i = 0;\n\t\tfor(Integer n : numbers){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}\n\t}",
"List<Integer> numbers = new ArrayList<Integer>();",
"numbers",
"new ArrayList<Integer>()",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(;;){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}",
";",
"{\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}",
"{\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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;",
"numbers.add(n)",
"numbers.add",
"numbers",
"n",
"int i = 0;",
"i",
"0",
"for(Integer n : numbers){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}",
"Integer n",
"numbers",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}",
"System.out.printf(\"Case %d: %d\\n\", ++i, n)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"++i",
"i",
"n",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> numbers = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}\n\n\t\tint i = 0;\n\t\tfor(Integer n : numbers){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> numbers = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tint n = scan.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumbers.add(n);\n\t\t}\n\n\t\tint i = 0;\n\t\tfor(Integer n : numbers){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", ++i, n);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
List<Integer> numbers = new ArrayList<Integer>();
Scanner scan = new Scanner(System.in);
for(;;){
int n = scan.nextInt();
if(n == 0){
break;
}
numbers.add(n);
}
int i = 0;
for(Integer n : numbers){
System.out.printf("Case %d: %d\n", ++i, n);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
14,
4,
18,
17,
4,
18,
13,
13,
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,
13,
17,
4,
18,
13,
2,
13,
17,
3,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
77,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
54,
87
],
[
15,
88
],
[
88,
89
]
] | [
"import 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\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tArrayList<String> list = new ArrayList<String>();\n\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tlist.add(br.readLine());\n\t\t\tif (\"0\".equals(list.get(i))) {\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"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\n\t\tArrayList<String> list = new ArrayList<String>();\n\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tlist.add(br.readLine());\n\t\t\tif (\"0\".equals(list.get(i))) {\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tArrayList<String> list = new ArrayList<String>();\n\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tlist.add(br.readLine());\n\t\t\tif (\"0\".equals(list.get(i))) {\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\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\n\t\tArrayList<String> list = new ArrayList<String>();\n\n\t\tfor (int i = 0; i < 10001; i++) {\n\t\t\tlist.add(br.readLine());\n\t\t\tif (\"0\".equals(list.get(i))) {\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\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)",
"ArrayList<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"for (int i = 0; i < 10001; i++) {\n\t\t\tlist.add(br.readLine());\n\t\t\tif (\"0\".equals(list.get(i))) {\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tlist.add(br.readLine());\n\t\t\tif (\"0\".equals(list.get(i))) {\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tlist.add(br.readLine());\n\t\t\tif (\"0\".equals(list.get(i))) {\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"list.add(br.readLine())",
"list.add",
"list",
"br.readLine()",
"br.readLine",
"br",
"if (\"0\".equals(list.get(i))) {\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}",
"\"0\".equals(list.get(i))",
"\"0\".equals",
"\"0\"",
"list.get(i)",
"list.get",
"list",
"i",
"{\n\t\t\t\tfor (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}",
"for (int j = 1; j < list.size(); j++) {\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j < list.size()",
"j",
"list.size()",
"list.size",
"list",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}",
"{\n\t\t\t\t\tSystem.out.println(\"Case \"+j+\": \"+list.get(j-1));\n\t\t\t\t}",
"System.out.println(\"Case \"+j+\": \"+list.get(j-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+j+\": \"+list.get(j-1)",
"\": \"",
"\"Case \"+j+\": \"+list.get(j-1)",
"\"Case \"",
"j",
"\": \"",
"list.get(j-1)",
"list.get",
"list",
"j-1",
"j",
"1",
"break;",
"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 {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
ArrayList<String> list = new ArrayList<String>();
for (int i = 0; i < 10001; i++) {
list.add(br.readLine());
if ("0".equals(list.get(i))) {
for (int j = 1; j < list.size(); j++) {
System.out.println("Case "+j+": "+list.get(j-1));
}
break;
}
}
}
} |
[
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,
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
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
19,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
40,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
40,
44
],
[
19,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num, i = 1;\n while (true) {\n num = Integer.parseInt(br.readLine());\n if (num == 0) break;\n System.out.println(\"Case \"+i+\": \"+num);\n i++;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num, i = 1;\n while (true) {\n num = Integer.parseInt(br.readLine());\n if (num == 0) break;\n System.out.println(\"Case \"+i+\": \"+num);\n i++;\n }\n }\n}",
"Main",
"public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num, i = 1;\n while (true) {\n num = Integer.parseInt(br.readLine());\n if (num == 0) break;\n System.out.println(\"Case \"+i+\": \"+num);\n i++;\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num, i = 1;\n while (true) {\n num = Integer.parseInt(br.readLine());\n if (num == 0) break;\n System.out.println(\"Case \"+i+\": \"+num);\n i++;\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int num",
"num",
"i = 1;",
"i",
"1",
"while (true) {\n num = Integer.parseInt(br.readLine());\n if (num == 0) break;\n System.out.println(\"Case \"+i+\": \"+num);\n i++;\n }",
"true",
"{\n num = Integer.parseInt(br.readLine());\n if (num == 0) break;\n System.out.println(\"Case \"+i+\": \"+num);\n i++;\n }",
"num = Integer.parseInt(br.readLine())",
"num",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if (num == 0) break;",
"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",
"i++",
"i",
"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 num, i = 1;
while (true) {
num = Integer.parseInt(br.readLine());
if (num == 0) break;
System.out.println("Case "+i+": "+num);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
3,
30,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
13,
17,
13,
17,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
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
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
30,
49
],
[
26,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
57,
63
],
[
55,
64
],
[
53,
65
],
[
51,
66
],
[
50,
67
],
[
67,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\tint count = 1;\n\t\twhile (true) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\tint count = 1;\n\t\twhile (true) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\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\tStringBuilder text = new StringBuilder();\n\t\tint count = 1;\n\t\twhile (true) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\tint count = 1;\n\t\twhile (true) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder text = new StringBuilder();",
"text",
"new StringBuilder()",
"int count = 1;",
"count",
"1",
"while (true) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\n\t\t\t}",
"num == 0",
"num",
"0",
"{\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"text.deleteCharAt(text.lastIndexOf(\"\\n\"))",
"text.deleteCharAt",
"text",
"text.lastIndexOf(\"\\n\")",
"text.lastIndexOf",
"text",
"\"\\n\"",
"System.out.println(text.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"text.toString()",
"text.toString",
"text",
"break;",
"{\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\n\t\t\t}",
"text.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\")",
"text.append(\"Case \").append(count).append(\": \").append(num).append",
"text.append(\"Case \").append(count).append(\": \").append(num)",
"text.append(\"Case \").append(count).append(\": \").append",
"text.append(\"Case \").append(count).append(\": \")",
"text.append(\"Case \").append(count).append",
"text.append(\"Case \").append(count)",
"text.append(\"Case \").append",
"text.append(\"Case \")",
"text.append",
"text",
"\"Case \"",
"count",
"\": \"",
"num",
"\"\\n\"",
"count++",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\tint count = 1;\n\t\twhile (true) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\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\tStringBuilder text = new StringBuilder();\n\t\tint count = 1;\n\t\twhile (true) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\ttext.append(\"Case \").append(count).append(\": \").append(num).append(\"\\n\");\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
StringBuilder text = new StringBuilder();
int count = 1;
while (true) {
int num = scan.nextInt();
if (num == 0) {
scan.close();
text.deleteCharAt(text.lastIndexOf("\n"));
System.out.println(text.toString());
break;
} else {
text.append("Case ").append(count).append(": ").append(num).append("\n");
count++;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
4,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
0,
13,
4,
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,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
127,
23
],
[
127,
24
],
[
24,
25
],
[
127,
26
],
[
26,
27
],
[
127,
28
],
[
28,
29
],
[
127,
30
],
[
30,
31
],
[
127,
32
],
[
32,
33
],
[
127,
34
],
[
34,
35
],
[
127,
36
],
[
36,
37
],
[
127,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
127,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
46,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
53,
64
],
[
64,
65
],
[
64,
66
],
[
53,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
79,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
79,
83
],
[
71,
84
],
[
84,
85
],
[
71,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
127,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
127,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
102,
111
],
[
111,
112
],
[
111,
113
],
[
101,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
127,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
118,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w,h,x,y,r;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tw = nextInt();\n\t\t\tint i = 1;\n\t\t\twhile (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\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",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w,h,x,y,r;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tw = nextInt();\n\t\t\tint i = 1;\n\t\t\twhile (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"Main",
"private StringTokenizer st;",
"st",
"private BufferedReader bf;",
"bf",
"private int w",
"w",
"h",
"h",
"x",
"x",
"y",
"y",
"r;",
"r",
"Main() {\n\t\treadData();\n\t\t\n\n\n\t}",
"Main",
"{\n\t\treadData();\n\t\t\n\n\n\t}",
"readData()",
"readData",
"private void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tw = nextInt();\n\t\t\tint i = 1;\n\t\t\twhile (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"readData",
"{\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tw = nextInt();\n\t\t\tint i = 1;\n\t\t\twhile (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tw = nextInt();\n\t\t\tint i = 1;\n\t\t\twhile (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tw = nextInt();\n\t\t\tint i = 1;\n\t\t\twhile (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}\n\n\t\t\t\n\t\t}",
"bf = new BufferedReader(new InputStreamReader(System.in))",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"st = new StringTokenizer(bf.readLine())",
"st",
"new StringTokenizer(bf.readLine())",
"w = nextInt()",
"w",
"nextInt()",
"nextInt",
"int i = 1;",
"i",
"1",
"while (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}",
"w != 0",
"w",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}",
"System.out.println(\"Case \"+i+\": \"+w)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+w",
"\": \"",
"\"Case \"+i+\": \"+w",
"\"Case \"",
"i",
"\": \"",
"w",
"i++",
"i",
"w = nextInt()",
"w",
"nextInt()",
"nextInt",
"private int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"private String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}",
"if (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(bf.readLine())",
"st",
"new StringTokenizer(bf.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w,h,x,y,r;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tw = nextInt();\n\t\t\tint i = 1;\n\t\t\twhile (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"public class Main {\n\tprivate StringTokenizer st;\n\tprivate BufferedReader bf;\n\tprivate int w,h,x,y,r;\n\t\n\tMain() {\n\t\treadData();\n\t\t\n\n\n\t}\n\t\n\n\tprivate void readData() {\n\t\ttry {\n\t\t\tbf = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\t\t\n\t\t\tw = nextInt();\n\t\t\tint i = 1;\n\t\t\twhile (w != 0) {\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+w);\n\t\t\t\ti++;\n\t\t\t\tw = nextInt();\n\t\t\t}\n\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tprivate int nextInt() throws IOException {\n\t\treturn Integer.parseInt(next());\n\t}\n\t\n\tprivate String next() throws IOException {\n\t\tif (st == null || !st.hasMoreTokens())\n\t\t\tst = new StringTokenizer(bf.readLine());\n\t\treturn st.nextToken();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tMain m = new Main();\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.StringTokenizer;
public class Main {
private StringTokenizer st;
private BufferedReader bf;
private int w,h,x,y,r;
Main() {
readData();
}
private void readData() {
try {
bf = new BufferedReader(new InputStreamReader(System.in));
st = new StringTokenizer(bf.readLine());
w = nextInt();
int i = 1;
while (w != 0) {
System.out.println("Case "+i+": "+w);
i++;
w = nextInt();
}
} catch (Exception e) {
e.printStackTrace();
}
}
private int nextInt() throws IOException {
return Integer.parseInt(next());
}
private String next() throws IOException {
if (st == null || !st.hasMoreTokens())
st = new StringTokenizer(bf.readLine());
return st.nextToken();
}
public static void main(String[] args) {
// TODO Auto-generated method stub
Main m = new Main();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
14,
2,
2,
17,
13,
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
],
[
68,
5
],
[
68,
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
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
30,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
58,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
58,
62
],
[
50,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] arg) {\n try {\n Scanner scan = new Scanner(System.in);\n int i = 1;\n while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }\n } catch (InputMismatchException ex) {\n System.out.println(\"??´??°?????\\?????????????????????\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] arg) {\n try {\n Scanner scan = new Scanner(System.in);\n int i = 1;\n while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }\n } catch (InputMismatchException ex) {\n System.out.println(\"??´??°?????\\?????????????????????\");\n }\n }\n}",
"Main",
"public static void main(String[] arg) {\n try {\n Scanner scan = new Scanner(System.in);\n int i = 1;\n while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }\n } catch (InputMismatchException ex) {\n System.out.println(\"??´??°?????\\?????????????????????\");\n }\n }",
"main",
"{\n try {\n Scanner scan = new Scanner(System.in);\n int i = 1;\n while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }\n } catch (InputMismatchException ex) {\n System.out.println(\"??´??°?????\\?????????????????????\");\n }\n }",
"try {\n Scanner scan = new Scanner(System.in);\n int i = 1;\n while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }\n } catch (InputMismatchException ex) {\n System.out.println(\"??´??°?????\\?????????????????????\");\n }",
"catch (InputMismatchException ex) {\n System.out.println(\"??´??°?????\\?????????????????????\");\n }",
"InputMismatchException ex",
"{\n System.out.println(\"??´??°?????\\?????????????????????\");\n }",
"System.out.println(\"??´??°?????\\?????????????????????\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"??´??°?????\\?????????????????????\"",
"{\n Scanner scan = new Scanner(System.in);\n int i = 1;\n while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (i > 10000) {\n break;\n }",
"i > 10000",
"i",
"10000",
"{\n break;\n }",
"break;",
"if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }",
"0 < x && x < 10001",
"0 < x",
"0",
"x",
"x < 10001",
"x",
"10001",
"{\n System.out.println(\"Case \" + i + \": \" + x);\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",
"i++",
"i",
"String[] arg",
"arg",
"public class Main {\n\n public static void main(String[] arg) {\n try {\n Scanner scan = new Scanner(System.in);\n int i = 1;\n while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }\n } catch (InputMismatchException ex) {\n System.out.println(\"??´??°?????\\?????????????????????\");\n }\n }\n}",
"public class Main {\n\n public static void main(String[] arg) {\n try {\n Scanner scan = new Scanner(System.in);\n int i = 1;\n while (scan.hasNext()) {\n int x = scan.nextInt();\n if (i > 10000) {\n break;\n }\n if (0 < x && x < 10001) {\n System.out.println(\"Case \" + i + \": \" + x);\n i++;\n }\n }\n } catch (InputMismatchException ex) {\n System.out.println(\"??´??°?????\\?????????????????????\");\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] arg) {
try {
Scanner scan = new Scanner(System.in);
int i = 1;
while (scan.hasNext()) {
int x = scan.nextInt();
if (i > 10000) {
break;
}
if (0 < x && x < 10001) {
System.out.println("Case " + i + ": " + x);
i++;
}
}
} catch (InputMismatchException ex) {
System.out.println("??´??°?????\?????????????????????");
}
}
} |
[
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,
3,
30,
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
],
[
49,
5
],
[
49,
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
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
31,
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;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n\n Scanner stdId = new Scanner(System.in);\n int a;\n int cnt = 0;\n\n while (true) {\n a = stdId.nextInt();\n if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n Scanner stdId = new Scanner(System.in);\n int a;\n int cnt = 0;\n\n while (true) {\n a = stdId.nextInt();\n if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n Scanner stdId = new Scanner(System.in);\n int a;\n int cnt = 0;\n\n while (true) {\n a = stdId.nextInt();\n if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }\n }\n }",
"main",
"{\n\n Scanner stdId = new Scanner(System.in);\n int a;\n int cnt = 0;\n\n while (true) {\n a = stdId.nextInt();\n if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }\n }\n }",
"Scanner stdId = new Scanner(System.in);",
"stdId",
"new Scanner(System.in)",
"int a;",
"a",
"int cnt = 0;",
"cnt",
"0",
"while (true) {\n a = stdId.nextInt();\n if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }\n }",
"true",
"{\n a = stdId.nextInt();\n if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }\n }",
"a = stdId.nextInt()",
"a",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }",
"a == 0",
"a",
"0",
"{\n break;\n }",
"break;",
"{\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }",
"cnt++",
"cnt",
"System.out.println(\"Case \" + cnt + \": \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + cnt + \": \" + a",
"\": \"",
"\"Case \" + cnt + \": \" + a",
"\"Case \"",
"cnt",
"\": \"",
"a",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n Scanner stdId = new Scanner(System.in);\n int a;\n int cnt = 0;\n\n while (true) {\n a = stdId.nextInt();\n if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n Scanner stdId = new Scanner(System.in);\n int a;\n int cnt = 0;\n\n while (true) {\n a = stdId.nextInt();\n if (a == 0) {\n break;\n } else {\n cnt++;\n System.out.println(\"Case \" + cnt + \": \" + a);\n //Case 1: 3\n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner stdId = new Scanner(System.in);
int a;
int cnt = 0;
while (true) {
a = stdId.nextInt();
if (a == 0) {
break;
} else {
cnt++;
System.out.println("Case " + cnt + ": " + a);
//Case 1: 3
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
30,
3,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
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
],
[
30,
43
],
[
43,
44
],
[
26,
45
],
[
45,
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\t Scanner std = new Scanner(System.in);\n\t int num = 1;\n\t while(true){\n\t \tint n = Integer.parseInt(std.next());\n\t \tif(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t Scanner std = new Scanner(System.in);\n\t int num = 1;\n\t while(true){\n\t \tint n = Integer.parseInt(std.next());\n\t \tif(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t Scanner std = new Scanner(System.in);\n\t int num = 1;\n\t while(true){\n\t \tint n = Integer.parseInt(std.next());\n\t \tif(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}",
"main",
"{\n\t Scanner std = new Scanner(System.in);\n\t int num = 1;\n\t while(true){\n\t \tint n = Integer.parseInt(std.next());\n\t \tif(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}",
"Scanner std = new Scanner(System.in);",
"std",
"new Scanner(System.in)",
"int num = 1;",
"num",
"1",
"while(true){\n\t \tint n = Integer.parseInt(std.next());\n\t \tif(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }",
"true",
"{\n\t \tint n = Integer.parseInt(std.next());\n\t \tif(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }",
"int n = Integer.parseInt(std.next());",
"n",
"Integer.parseInt(std.next())",
"Integer.parseInt",
"Integer",
"std.next()",
"std.next",
"std",
"if(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}",
"n!=0",
"n",
"0",
"{\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}",
"System.out.println(\"Case \"+num+\": \"+n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+num+\": \"+n",
"\": \"",
"\"Case \"+num+\": \"+n",
"\"Case \"",
"num",
"\": \"",
"n",
"num++",
"num",
"{\n\t \t\tbreak;\n\t \t}",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t Scanner std = new Scanner(System.in);\n\t int num = 1;\n\t while(true){\n\t \tint n = Integer.parseInt(std.next());\n\t \tif(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t Scanner std = new Scanner(System.in);\n\t int num = 1;\n\t while(true){\n\t \tint n = Integer.parseInt(std.next());\n\t \tif(n!=0){\n\t \t\tSystem.out.println(\"Case \"+num+\": \"+n);\n\t \t\tnum++;\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner std = new Scanner(System.in);
int num = 1;
while(true){
int n = Integer.parseInt(std.next());
if(n!=0){
System.out.println("Case "+num+": "+n);
num++;
}else{
break;
}
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
17,
14,
2,
2,
17,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
14,
2,
13,
17,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
55,
2
],
[
55,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
11,
13
],
[
5,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
16,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
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
],
[
16,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
3,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"public class Main {\n\t\t\t\n\t\t\t\t\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint i = 0;\n\t\twhile(true){\n\t\tx = scan.nextInt();\n\t\ti+= 1;\n\t\t\tif(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}\n\t\tif(x == 0){\n\t\t\tbreak;\n\t\t}\n\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t}",
"public class Main {\n\t\t\t\n\t\t\t\t\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint i = 0;\n\t\twhile(true){\n\t\tx = scan.nextInt();\n\t\ti+= 1;\n\t\t\tif(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}\n\t\tif(x == 0){\n\t\t\tbreak;\n\t\t}\n\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint i = 0;\n\t\twhile(true){\n\t\tx = scan.nextInt();\n\t\ti+= 1;\n\t\t\tif(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}\n\t\tif(x == 0){\n\t\t\tbreak;\n\t\t}\n\t\t}\n\t\t}",
"main",
"{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint i = 0;\n\t\twhile(true){\n\t\tx = scan.nextInt();\n\t\ti+= 1;\n\t\t\tif(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}\n\t\tif(x == 0){\n\t\t\tbreak;\n\t\t}\n\t\t}\n\t\t}",
"java.util.Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"int x;",
"x",
"int i = 0;",
"i",
"0",
"while(true){\n\t\tx = scan.nextInt();\n\t\ti+= 1;\n\t\t\tif(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}\n\t\tif(x == 0){\n\t\t\tbreak;\n\t\t}\n\t\t}",
"true",
"{\n\t\tx = scan.nextInt();\n\t\ti+= 1;\n\t\t\tif(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}\n\t\tif(x == 0){\n\t\t\tbreak;\n\t\t}\n\t\t}",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"i+= 1",
"i",
"1",
"if(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}",
"1<=x && x<= 10000",
"1<=x",
"1",
"x",
"x<= 10000",
"x",
"10000",
"{\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\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",
"if(x == 0){\n\t\t\tbreak;\n\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\tbreak;\n\t\t}",
"break;",
"String[] args",
"args",
"public class Main {\n\t\t\t\n\t\t\t\t\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint i = 0;\n\t\twhile(true){\n\t\tx = scan.nextInt();\n\t\ti+= 1;\n\t\t\tif(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}\n\t\tif(x == 0){\n\t\t\tbreak;\n\t\t}\n\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t}",
"public class Main {\n\t\t\t\n\t\t\t\t\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint i = 0;\n\t\twhile(true){\n\t\tx = scan.nextInt();\n\t\ti+= 1;\n\t\t\tif(1<=x && x<= 10000){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t\n\t\t\t}\n\t\tif(x == 0){\n\t\t\tbreak;\n\t\t}\n\t\t}\n\t\t}\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner scan = new java.util.Scanner(System.in);
int x;
int i = 0;
while(true){
x = scan.nextInt();
i+= 1;
if(1<=x && x<= 10000){
System.out.println("Case "+i+": "+x);
}
if(x == 0){
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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
],
[
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
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
24,
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.*; \n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 1; i <= 10000; i++) {\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n } \n } \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 1; i <= 10000; i++) {\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n } \n } \n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 1; i <= 10000; i++) {\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n } \n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 1; i <= 10000; i++) {\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n } \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 1; i <= 10000; i++) {\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n }",
"{\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n }",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int x = Integer.parseInt(line);",
"x",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"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\n Scanner sc = new Scanner(System.in);\n\n for(int i = 1; i <= 10000; i++) {\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n } \n } \n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 1; i <= 10000; i++) {\n String line = sc.nextLine();\n int x = Integer.parseInt(line);\n\n if(x == 0) {\n break;\n } \n\n System.out.println(\"Case \" + i + \": \" + x); \n } \n } \n}",
"Main"
] | import java.util.*;
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 x = Integer.parseInt(line);
if(x == 0) {
break;
}
System.out.println("Case " + i + ": " + x);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
42,
2,
4,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
0,
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
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
22,
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
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"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 n;\n\t\tint i=1;\n\t\tn=br.readLine();\n\t\twhile(n.equals(\"0\")==false){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t\ti++;\n\t\t\tn=br.readLine();\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\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString n;\n\t\tint i=1;\n\t\tn=br.readLine();\n\t\twhile(n.equals(\"0\")==false){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t\ti++;\n\t\t\tn=br.readLine();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString n;\n\t\tint i=1;\n\t\tn=br.readLine();\n\t\twhile(n.equals(\"0\")==false){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t\ti++;\n\t\t\tn=br.readLine();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString n;\n\t\tint i=1;\n\t\tn=br.readLine();\n\t\twhile(n.equals(\"0\")==false){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t\ti++;\n\t\t\tn=br.readLine();\n\t\t}\n\t}",
"BufferedReader br =new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String n;",
"n",
"int i=1;",
"i",
"1",
"n=br.readLine()",
"n",
"br.readLine()",
"br.readLine",
"br",
"while(n.equals(\"0\")==false){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t\ti++;\n\t\t\tn=br.readLine();\n\t\t}",
"n.equals(\"0\")==false",
"n.equals(\"0\")",
"n.equals",
"n",
"\"0\"",
"false",
"{\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t\ti++;\n\t\t\tn=br.readLine();\n\t\t}",
"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",
"n=br.readLine()",
"n",
"br.readLine()",
"br.readLine",
"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 n;\n\t\tint i=1;\n\t\tn=br.readLine();\n\t\twhile(n.equals(\"0\")==false){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t\ti++;\n\t\t\tn=br.readLine();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString n;\n\t\tint i=1;\n\t\tn=br.readLine();\n\t\twhile(n.equals(\"0\")==false){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+n);\n\t\t\ti++;\n\t\t\tn=br.readLine();\n\t\t}\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 n;
int i=1;
n=br.readLine();
while(n.equals("0")==false){
System.out.println("Case "+i+": "+n);
i++;
n=br.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
0,
13,
4,
18,
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
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
19,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
40,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
40,
44
],
[
32,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
]
] | [
"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\tString s;\n\t\tint i = 1;\n\t\tint x;\n\n\t\twhile((x = Integer.parseInt(s = br.readLine())) != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\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\tString s;\n\t\tint i = 1;\n\t\tint x;\n\n\t\twhile((x = Integer.parseInt(s = br.readLine())) != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint i = 1;\n\t\tint x;\n\n\t\twhile((x = Integer.parseInt(s = br.readLine())) != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint i = 1;\n\t\tint x;\n\n\t\twhile((x = Integer.parseInt(s = br.readLine())) != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int i = 1;",
"i",
"1",
"int x;",
"x",
"while((x = Integer.parseInt(s = br.readLine())) != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}",
"(x = Integer.parseInt(s = br.readLine())) != 0",
"(x = Integer.parseInt(s = br.readLine()))",
"x",
"Integer.parseInt(s = br.readLine())",
"Integer.parseInt",
"Integer",
"s = br.readLine()",
"s",
"br.readLine()",
"br.readLine",
"br",
"0",
"{\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\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"
] | import java.io.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s;
int i = 1;
int x;
while((x = Integer.parseInt(s = br.readLine())) != 0){
System.out.println("Case " + i + ": " + x);
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,
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
],
[
18,
19
],
[
12,
20
],
[
21,
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
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
39,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
39,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.*;\nclass Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(int i = 1; ; i++) {\n int x = sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(int i = 1; ; i++) {\n int x = sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }\n}",
"Main",
"public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(int i = 1; ; i++) {\n int x = sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n for(int i = 1; ; i++) {\n int x = sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 1; ; i++) {\n int x = sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n int x = sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"{\n int x = sc.nextInt();\n if(x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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",
"String[]args",
"args"
] | import java.util.*;
class Main {
public static void main(String[]args)throws Exception {
Scanner sc = new Scanner(System.in);
for(int i = 1; ; i++) {
int x = sc.nextInt();
if(x == 0) break;
System.out.println("Case " + i + ": " + x);
}
}
} |
[
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,
14,
4,
18,
13,
17,
3,
4,
18,
13,
2,
2,
2,
2,
17,
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,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
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
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
38,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
38,
43
],
[
20,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
50,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
20,
63
],
[
63,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
6,
73
],
[
73,
74
]
] | [
"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\twhile(true){\n \tString x=br.readLine();\n \tif(x.equals(\"0\")) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \tif(i%100==0){\n \t\tSystem.out.print(sb.toString());\n \t\tsb.setLength(0);\n \t}\n \t\ti++;\n }\n\t\tSystem.out.print(sb.toString());\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\twhile(true){\n \tString x=br.readLine();\n \tif(x.equals(\"0\")) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \tif(i%100==0){\n \t\tSystem.out.print(sb.toString());\n \t\tsb.setLength(0);\n \t}\n \t\ti++;\n }\n\t\tSystem.out.print(sb.toString());\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\twhile(true){\n \tString x=br.readLine();\n \tif(x.equals(\"0\")) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \tif(i%100==0){\n \t\tSystem.out.print(sb.toString());\n \t\tsb.setLength(0);\n \t}\n \t\ti++;\n }\n\t\tSystem.out.print(sb.toString());\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\twhile(true){\n \tString x=br.readLine();\n \tif(x.equals(\"0\")) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \tif(i%100==0){\n \t\tSystem.out.print(sb.toString());\n \t\tsb.setLength(0);\n \t}\n \t\ti++;\n }\n\t\tSystem.out.print(sb.toString());\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 \tString x=br.readLine();\n \tif(x.equals(\"0\")) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \tif(i%100==0){\n \t\tSystem.out.print(sb.toString());\n \t\tsb.setLength(0);\n \t}\n \t\ti++;\n }",
"true",
"{\n \tString x=br.readLine();\n \tif(x.equals(\"0\")) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\n \tif(i%100==0){\n \t\tSystem.out.print(sb.toString());\n \t\tsb.setLength(0);\n \t}\n \t\ti++;\n }",
"String x=br.readLine();",
"x",
"br.readLine()",
"br.readLine",
"br",
"if(x.equals(\"0\")) break;",
"x.equals(\"0\")",
"x.equals",
"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\"",
"if(i%100==0){\n \t\tSystem.out.print(sb.toString());\n \t\tsb.setLength(0);\n \t}",
"i%100==0",
"i%100",
"i",
"100",
"0",
"{\n \t\tSystem.out.print(sb.toString());\n \t\tsb.setLength(0);\n \t}",
"System.out.print(sb.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"sb.setLength(0)",
"sb.setLength",
"sb",
"0",
"i++",
"i",
"System.out.print(sb.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"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){
String x=br.readLine();
if(x.equals("0")) break;
sb.append("Case "+i+": "+x+"\n");
if(i%100==0){
System.out.print(sb.toString());
sb.setLength(0);
}
i++;
}
System.out.print(sb.toString());
}
} |
[
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,
3,
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
],
[
47,
5
],
[
47,
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
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
36,
41
],
[
19,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"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 while (sc.hasNext()) {\n int n = sc.nextInt();\n if (n == 0) {\n break;\n }\n\t\t\t\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\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 while (sc.hasNext()) {\n int n = sc.nextInt();\n if (n == 0) {\n break;\n }\n\t\t\t\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int i = 1;\n while (sc.hasNext()) {\n int n = sc.nextInt();\n if (n == 0) {\n break;\n }\n\t\t\t\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int i = 1;\n while (sc.hasNext()) {\n int n = sc.nextInt();\n if (n == 0) {\n break;\n }\n\t\t\t\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while (sc.hasNext()) {\n int n = sc.nextInt();\n if (n == 0) {\n break;\n }\n\t\t\t\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int n = sc.nextInt();\n if (n == 0) {\n break;\n }\n\t\t\t\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int i = 1;\n while (sc.hasNext()) {\n int n = sc.nextInt();\n if (n == 0) {\n break;\n }\n\t\t\t\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\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 while (sc.hasNext()) {\n int n = sc.nextInt();\n if (n == 0) {\n break;\n }\n\t\t\t\n System.out.println(String.format(\"Case %d: %d\", i, n));\n i++;\n }\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;
while (sc.hasNext()) {
int n = sc.nextInt();
if (n == 0) {
break;
}
System.out.println(String.format("Case %d: %d", i, n));
i++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
4,
18,
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
],
[
70,
11
],
[
70,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
46,
53
],
[
53,
54
],
[
46,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
62,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
62,
66
],
[
12,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\tint i = 0;\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\tint i = 0;\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\tint i = 0;\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\tint i = 0;\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\tint i = 0;\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"NumberFormatException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tint i = 0;\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}\n\t\t}",
"int i = 0;",
"i",
"0",
"while ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}",
"(str = in.readLine()) != null",
"(str = in.readLine())",
"str",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}",
"if (str.equals(\"0\")) break;",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"break;",
"i++",
"i",
"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",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\tint i = 0;\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\tint i = 0;\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0\")) break;\n\t\t\t\t\n\t\t\t\ti++;\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String str = "";
try {
int i = 0;
while ((str = in.readLine()) != null) {
if (str.equals("0")) break;
i++;
System.out.println("Case " + i + ": " + str);
}
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
3,
0,
13,
2,
13,
17,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
34,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
34,
38
],
[
23,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint c=1;\n\twhile(true){\n\tint a = sc.nextInt();\n\tif(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;\n\tc = c + 1;\n\t}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint c=1;\n\twhile(true){\n\tint a = sc.nextInt();\n\tif(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;\n\tc = c + 1;\n\t}\n}\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint c=1;\n\twhile(true){\n\tint a = sc.nextInt();\n\tif(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;\n\tc = c + 1;\n\t}\n}",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tint c=1;\n\twhile(true){\n\tint a = sc.nextInt();\n\tif(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;\n\tc = c + 1;\n\t}\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int c=1;",
"c",
"1",
"while(true){\n\tint a = sc.nextInt();\n\tif(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;\n\tc = c + 1;\n\t}",
"true",
"{\n\tint a = sc.nextInt();\n\tif(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;\n\tc = c + 1;\n\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;",
"a!=0",
"a",
"0",
"System.out.println(\"Case \"+c+\": \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+c+\": \"+a",
"\": \"",
"\"Case \"+c+\": \"+a",
"\"Case \"",
"c",
"\": \"",
"a",
"break;",
"c = c + 1",
"c",
"c + 1",
"c",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint c=1;\n\twhile(true){\n\tint a = sc.nextInt();\n\tif(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;\n\tc = c + 1;\n\t}\n}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint c=1;\n\twhile(true){\n\tint a = sc.nextInt();\n\tif(a!=0) System.out.println(\"Case \"+c+\": \"+a);\n\telse break;\n\tc = c + 1;\n\t}\n}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int c=1;
while(true){
int a = sc.nextInt();
if(a!=0) System.out.println("Case "+c+": "+a);
else break;
c = c + 1;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
41,
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,
2,
13,
17,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
57,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
56,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n ArrayList<Integer> n = new ArrayList<Integer>();\n\n while(scanner.hasNextInt()){\n int x = scanner.nextInt();\n if(x == 0){\n break;\n }\n n.add(x);\n }\n for (int i = 0; i < n.size(); i++){\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n ArrayList<Integer> n = new ArrayList<Integer>();\n\n while(scanner.hasNextInt()){\n int x = scanner.nextInt();\n if(x == 0){\n break;\n }\n n.add(x);\n }\n for (int i = 0; i < n.size(); i++){\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n ArrayList<Integer> n = new ArrayList<Integer>();\n\n while(scanner.hasNextInt()){\n int x = scanner.nextInt();\n if(x == 0){\n break;\n }\n n.add(x);\n }\n for (int i = 0; i < n.size(); i++){\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n ArrayList<Integer> n = new ArrayList<Integer>();\n\n while(scanner.hasNextInt()){\n int x = scanner.nextInt();\n if(x == 0){\n break;\n }\n n.add(x);\n }\n for (int i = 0; i < n.size(); i++){\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"ArrayList<Integer> n = new ArrayList<Integer>();",
"n",
"new ArrayList<Integer>()",
"while(scanner.hasNextInt()){\n int x = scanner.nextInt();\n if(x == 0){\n break;\n }\n n.add(x);\n }",
"scanner.hasNextInt()",
"scanner.hasNextInt",
"scanner",
"{\n int x = scanner.nextInt();\n if(x == 0){\n break;\n }\n n.add(x);\n }",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(x == 0){\n break;\n }",
"x == 0",
"x",
"0",
"{\n break;\n }",
"break;",
"n.add(x)",
"n.add",
"n",
"x",
"for (int i = 0; i < n.size(); i++){\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n.size()",
"i",
"n.size()",
"n.size",
"n",
"i++",
"i++",
"i",
"{\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }",
"{\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }",
"System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + n.get(i)",
"\": \"",
"\"Case \" + (i + 1) + \": \" + n.get(i)",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"n.get(i)",
"n.get",
"n",
"i",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n ArrayList<Integer> n = new ArrayList<Integer>();\n\n while(scanner.hasNextInt()){\n int x = scanner.nextInt();\n if(x == 0){\n break;\n }\n n.add(x);\n }\n for (int i = 0; i < n.size(); i++){\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n ArrayList<Integer> n = new ArrayList<Integer>();\n\n while(scanner.hasNextInt()){\n int x = scanner.nextInt();\n if(x == 0){\n break;\n }\n n.add(x);\n }\n for (int i = 0; i < n.size(); i++){\n System.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
ArrayList<Integer> n = new ArrayList<Integer>();
while(scanner.hasNextInt()){
int x = scanner.nextInt();
if(x == 0){
break;
}
n.add(x);
}
for (int i = 0; i < n.size(); i++){
System.out.println("Case " + (i + 1) + ": " + n.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
42,
17,
30,
40,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
53,
8
],
[
53,
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
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
22,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
42,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
9,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main (String args[]){\n\t\tScanner sc=new Scanner(new InputStreamReader(System.in));\n\t\tint i=0,x;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx=sc.nextInt();\n\t\t\tif(x==0) break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\tsc.close();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main (String args[]){\n\t\tScanner sc=new Scanner(new InputStreamReader(System.in));\n\t\tint i=0,x;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx=sc.nextInt();\n\t\t\tif(x==0) break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\tsc.close();\n\t}\n}",
"Main",
"public static void main (String args[]){\n\t\tScanner sc=new Scanner(new InputStreamReader(System.in));\n\t\tint i=0,x;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx=sc.nextInt();\n\t\t\tif(x==0) break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(new InputStreamReader(System.in));\n\t\tint i=0,x;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx=sc.nextInt();\n\t\t\tif(x==0) break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\tsc.close();\n\t}",
"Scanner sc=new Scanner(new InputStreamReader(System.in));",
"sc",
"new Scanner(new InputStreamReader(System.in))",
"int i=0",
"i",
"0",
"x;",
"x",
"while(true){\n\t\t\ti++;\n\t\t\tx=sc.nextInt();\n\t\t\tif(x==0) break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}",
"true",
"{\n\t\t\ti++;\n\t\t\tx=sc.nextInt();\n\t\t\tif(x==0) break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}",
"i++",
"i",
"x=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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",
"sc.close()",
"sc.close",
"sc",
"String args[]",
"args",
"public class Main {\n\tpublic static void main (String args[]){\n\t\tScanner sc=new Scanner(new InputStreamReader(System.in));\n\t\tint i=0,x;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx=sc.nextInt();\n\t\t\tif(x==0) break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main (String args[]){\n\t\tScanner sc=new Scanner(new InputStreamReader(System.in));\n\t\tint i=0,x;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx=sc.nextInt();\n\t\t\tif(x==0) break;\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\tsc.close();\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main {
public static void main (String args[]){
Scanner sc=new Scanner(new InputStreamReader(System.in));
int i=0,x;
while(true){
i++;
x=sc.nextInt();
if(x==0) break;
System.out.println("Case "+i+": "+x);
}
sc.close();
}
} |
[
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,
3,
4,
18,
18,
13,
13,
17,
40,
13,
13,
4,
18,
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
],
[
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
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
30,
36
],
[
36,
37
],
[
30,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int i = 1;\n while(sc.hasNextInt()){\n int n = sc.nextInt();\n if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);\n }\n sc.close();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int i = 1;\n while(sc.hasNextInt()){\n int n = sc.nextInt();\n if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);\n }\n sc.close();\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int i = 1;\n while(sc.hasNextInt()){\n int n = sc.nextInt();\n if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int i = 1;\n while(sc.hasNextInt()){\n int n = sc.nextInt();\n if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(sc.hasNextInt()){\n int n = sc.nextInt();\n if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n int n = sc.nextInt();\n if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);\n }",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);",
"n == 0",
"n",
"0",
"break;",
"System.out.printf(\"Case %d: %d\\n\",i++,n)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"i++",
"i",
"n",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int i = 1;\n while(sc.hasNextInt()){\n int n = sc.nextInt();\n if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);\n }\n sc.close();\n }\n\n}",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int i = 1;\n while(sc.hasNextInt()){\n int n = sc.nextInt();\n if(n == 0) break;\n else System.out.printf(\"Case %d: %d\\n\",i++,n);\n }\n sc.close();\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i = 1;
while(sc.hasNextInt()){
int n = sc.nextInt();
if(n == 0) break;
else System.out.printf("Case %d: %d\n",i++,n);
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
14,
2,
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
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
19,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
19,
49
],
[
49,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 10001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint x = Integer.parseInt(line);\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\ti++;\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 10001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint x = Integer.parseInt(line);\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\ti++;\n\t\t}\n\n\t}\n\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 (i < 10001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint x = Integer.parseInt(line);\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\ti++;\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 10001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint x = Integer.parseInt(line);\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\ti++;\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while (i < 10001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint x = Integer.parseInt(line);\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\ti++;\n\t\t}",
"i < 10001",
"i",
"10001",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tint x = Integer.parseInt(line);\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\ti++;\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"int x = Integer.parseInt(line);",
"x",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"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",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 10001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint x = Integer.parseInt(line);\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\ti++;\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 10001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tint x = Integer.parseInt(line);\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\ti++;\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);
int i = 1;
while (i < 10001) {
String line = sc.nextLine();
int x = Integer.parseInt(line);
if (x == 0) {
break;
}
System.out.println("Case " + i + ": " + x);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
42,
17,
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
],
[
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
],
[
36,
40
],
[
37,
41
],
[
19,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.Scanner;\n\n class Main {\n\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x;\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\tif(x == 0)break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x;\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\tif(x == 0)break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\t}\n}",
"Main",
"@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x;\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\tif(x == 0)break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x;\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\tif(x == 0)break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"int x;",
"x",
"while(true){\n\t\t\tx = scan.nextInt();\n\t\t\tif(x == 0)break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}",
"true",
"{\n\t\t\tx = scan.nextInt();\n\t\t\tif(x == 0)break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}",
"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",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"i++",
"i",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int i = 1;
int x;
while(true){
x = scan.nextInt();
if(x == 0)break;
System.out.println("Case " + i + ": " + x);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
0,
13,
20,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
42,
2,
13,
17,
30,
0,
18,
13,
13,
4,
18,
13,
14,
4,
18,
18,
13,
13,
17,
3,
40,
13,
0,
13,
17,
42,
2,
13,
17,
30,
14,
4,
18,
18,
13,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
21,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
21,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
53,
60
],
[
45,
61
],
[
61,
62
],
[
40,
63
],
[
63,
64
],
[
63,
65
],
[
40,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
71,
78
],
[
70,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
86,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
85,
91
],
[
86,
92
],
[
92,
93
],
[
92,
94
],
[
70,
95
],
[
95,
96
],
[
6,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.io.*;\npublic class Main{\n public static void main(String args[]){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int i=0;\n String[] line;\n line = new String[10000];\n try{\n while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }\n i=0;\n while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }\n }catch(IOException e){\n System.out.println(e);\n }catch(NumberFormatException e){\n System.out.println(e);\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 int i=0;\n String[] line;\n line = new String[10000];\n try{\n while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }\n i=0;\n while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }\n }catch(IOException e){\n System.out.println(e);\n }catch(NumberFormatException e){\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 int i=0;\n String[] line;\n line = new String[10000];\n try{\n while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }\n i=0;\n while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }\n }catch(IOException e){\n System.out.println(e);\n }catch(NumberFormatException e){\n System.out.println(e);\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int i=0;\n String[] line;\n line = new String[10000];\n try{\n while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }\n i=0;\n while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }\n }catch(IOException e){\n System.out.println(e);\n }catch(NumberFormatException e){\n System.out.println(e);\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int i=0;",
"i",
"0",
"String[] line;",
"line",
"line = new String[10000]",
"line",
"new String[10000]",
"10000",
"try{\n while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }\n i=0;\n while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }\n }catch(IOException e){\n System.out.println(e);\n }catch(NumberFormatException e){\n System.out.println(e);\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(e);\n }",
"NumberFormatException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }\n i=0;\n while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }\n }",
"while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }",
"i<10000",
"i",
"10000",
"{\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }",
"line[i] = reader.readLine()",
"line[i]",
"line",
"i",
"reader.readLine()",
"reader.readLine",
"reader",
"if(line[i].equals(\"0\")) break;",
"line[i].equals(\"0\")",
"line[i].equals",
"line[i]",
"line",
"i",
"\"0\"",
"break;",
"i++",
"i",
"i=0",
"i",
"0",
"while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }",
"i<10000",
"i",
"10000",
"{\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }",
"if(line[i].equals(\"0\")) break;",
"line[i].equals(\"0\")",
"line[i].equals",
"line[i]",
"line",
"i",
"\"0\"",
"break;",
"System.out.println(\"Case \"+(i+1)+\": \"+line[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(i+1)+\": \"+line[i]",
"\": \"",
"\"Case \"+(i+1)+\": \"+line[i]",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"line[i]",
"line",
"i",
"i++",
"i",
"String args[]",
"args",
"public class Main{\n public static void main(String args[]){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int i=0;\n String[] line;\n line = new String[10000];\n try{\n while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }\n i=0;\n while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }\n }catch(IOException e){\n System.out.println(e);\n }catch(NumberFormatException e){\n System.out.println(e);\n }\n }\n}",
"public class Main{\n public static void main(String args[]){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int i=0;\n String[] line;\n line = new String[10000];\n try{\n while(i<10000){\n line[i] = reader.readLine();\n if(line[i].equals(\"0\")) break;\n i++;\n }\n i=0;\n while(i<10000){\n if(line[i].equals(\"0\")) break;\n System.out.println(\"Case \"+(i+1)+\": \"+line[i]);\n i++;\n }\n }catch(IOException e){\n System.out.println(e);\n }catch(NumberFormatException e){\n System.out.println(e);\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String args[]){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int i=0;
String[] line;
line = new String[10000];
try{
while(i<10000){
line[i] = reader.readLine();
if(line[i].equals("0")) break;
i++;
}
i=0;
while(i<10000){
if(line[i].equals("0")) break;
System.out.println("Case "+(i+1)+": "+line[i]);
i++;
}
}catch(IOException e){
System.out.println(e);
}catch(NumberFormatException e){
System.out.println(e);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
14,
4,
18,
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
],
[
51,
5
],
[
51,
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
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
22,
34
],
[
34,
35
],
[
22,
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
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\tint counter = 0;\n\t\twhile(scan.hasNext()){\n\t\t\tstr = scan.next();\n\t\t\tif(str.equals(\"0\")) break;\n\t\t\tcounter++;\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + str);\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\tint counter = 0;\n\t\twhile(scan.hasNext()){\n\t\t\tstr = scan.next();\n\t\t\tif(str.equals(\"0\")) break;\n\t\t\tcounter++;\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + str);\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\tint counter = 0;\n\t\twhile(scan.hasNext()){\n\t\t\tstr = scan.next();\n\t\t\tif(str.equals(\"0\")) break;\n\t\t\tcounter++;\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + str);\n\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\tint counter = 0;\n\t\twhile(scan.hasNext()){\n\t\t\tstr = scan.next();\n\t\t\tif(str.equals(\"0\")) break;\n\t\t\tcounter++;\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + str);\n\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = \"\";",
"str",
"\"\"",
"int counter = 0;",
"counter",
"0",
"while(scan.hasNext()){\n\t\t\tstr = scan.next();\n\t\t\tif(str.equals(\"0\")) break;\n\t\t\tcounter++;\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + str);\n\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tstr = scan.next();\n\t\t\tif(str.equals(\"0\")) break;\n\t\t\tcounter++;\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + str);\n\n\t\t}",
"str = scan.next()",
"str",
"scan.next()",
"scan.next",
"scan",
"if(str.equals(\"0\")) break;",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"break;",
"counter++",
"counter",
"System.out.println(\"Case \" + counter + \": \" + str)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + counter + \": \" + str",
"\": \"",
"\"Case \" + counter + \": \" + str",
"\"Case \"",
"counter",
"\": \"",
"str",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\tint counter = 0;\n\t\twhile(scan.hasNext()){\n\t\t\tstr = scan.next();\n\t\t\tif(str.equals(\"0\")) break;\n\t\t\tcounter++;\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + str);\n\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str = \"\";\n\t\tint counter = 0;\n\t\twhile(scan.hasNext()){\n\t\t\tstr = scan.next();\n\t\t\tif(str.equals(\"0\")) break;\n\t\t\tcounter++;\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + str);\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String str = "";
int counter = 0;
while(scan.hasNext()){
str = scan.next();
if(str.equals("0")) break;
counter++;
System.out.println("Case " + counter + ": " + str);
}
}
} |
[
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,
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
],
[
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
],
[
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 kbScanner = new Scanner(System.in);\n\t\tint input, count = 1;\n\t\t\n\t\twhile((input = kbScanner.nextInt()) != 0){\n\t\t\tSystem.out.println(\"Case \" + count + \": \" + input);\n\t\t\tcount++;\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 kbScanner = new Scanner(System.in);\n\t\tint input, count = 1;\n\t\t\n\t\twhile((input = kbScanner.nextInt()) != 0){\n\t\t\tSystem.out.println(\"Case \" + count + \": \" + input);\n\t\t\tcount++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input, count = 1;\n\t\t\n\t\twhile((input = kbScanner.nextInt()) != 0){\n\t\t\tSystem.out.println(\"Case \" + count + \": \" + input);\n\t\t\tcount++;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input, count = 1;\n\t\t\n\t\twhile((input = kbScanner.nextInt()) != 0){\n\t\t\tSystem.out.println(\"Case \" + count + \": \" + input);\n\t\t\tcount++;\n\t\t}\n\t}",
"Scanner kbScanner = new Scanner(System.in);",
"kbScanner",
"new Scanner(System.in)",
"int input",
"input",
"count = 1;",
"count",
"1",
"while((input = kbScanner.nextInt()) != 0){\n\t\t\tSystem.out.println(\"Case \" + count + \": \" + input);\n\t\t\tcount++;\n\t\t}",
"(input = kbScanner.nextInt()) != 0",
"(input = kbScanner.nextInt())",
"input",
"kbScanner.nextInt()",
"kbScanner.nextInt",
"kbScanner",
"0",
"{\n\t\t\tSystem.out.println(\"Case \" + count + \": \" + input);\n\t\t\tcount++;\n\t\t}",
"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",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input, count = 1;\n\t\t\n\t\twhile((input = kbScanner.nextInt()) != 0){\n\t\t\tSystem.out.println(\"Case \" + count + \": \" + input);\n\t\t\tcount++;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input, count = 1;\n\t\t\n\t\twhile((input = kbScanner.nextInt()) != 0){\n\t\t\tSystem.out.println(\"Case \" + count + \": \" + input);\n\t\t\tcount++;\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner kbScanner = new Scanner(System.in);
int input, count = 1;
while((input = kbScanner.nextInt()) != 0){
System.out.println("Case " + count + ": " + input);
count++;
}
}
} |
[
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,
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
],
[
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
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner n=new Scanner(System.in);\n\t\tint a = n.nextInt();\n\t\tint b = 1;\n\t\twhile (a != 0){\n\t\t\tSystem.out.println(\"Case \"+b+\": \"+a);\n\t\t\tb++;\n\t\t\ta = n.nextInt();\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 n=new Scanner(System.in);\n\t\tint a = n.nextInt();\n\t\tint b = 1;\n\t\twhile (a != 0){\n\t\t\tSystem.out.println(\"Case \"+b+\": \"+a);\n\t\t\tb++;\n\t\t\ta = n.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner n=new Scanner(System.in);\n\t\tint a = n.nextInt();\n\t\tint b = 1;\n\t\twhile (a != 0){\n\t\t\tSystem.out.println(\"Case \"+b+\": \"+a);\n\t\t\tb++;\n\t\t\ta = n.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner n=new Scanner(System.in);\n\t\tint a = n.nextInt();\n\t\tint b = 1;\n\t\twhile (a != 0){\n\t\t\tSystem.out.println(\"Case \"+b+\": \"+a);\n\t\t\tb++;\n\t\t\ta = n.nextInt();\n\t\t}\n\t}",
"Scanner n=new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"int a = n.nextInt();",
"a",
"n.nextInt()",
"n.nextInt",
"n",
"int b = 1;",
"b",
"1",
"while (a != 0){\n\t\t\tSystem.out.println(\"Case \"+b+\": \"+a);\n\t\t\tb++;\n\t\t\ta = n.nextInt();\n\t\t}",
"a != 0",
"a",
"0",
"{\n\t\t\tSystem.out.println(\"Case \"+b+\": \"+a);\n\t\t\tb++;\n\t\t\ta = n.nextInt();\n\t\t}",
"System.out.println(\"Case \"+b+\": \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+b+\": \"+a",
"\": \"",
"\"Case \"+b+\": \"+a",
"\"Case \"",
"b",
"\": \"",
"a",
"b++",
"b",
"a = n.nextInt()",
"a",
"n.nextInt()",
"n.nextInt",
"n",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner n=new Scanner(System.in);\n\t\tint a = n.nextInt();\n\t\tint b = 1;\n\t\twhile (a != 0){\n\t\t\tSystem.out.println(\"Case \"+b+\": \"+a);\n\t\t\tb++;\n\t\t\ta = n.nextInt();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner n=new Scanner(System.in);\n\t\tint a = n.nextInt();\n\t\tint b = 1;\n\t\twhile (a != 0){\n\t\t\tSystem.out.println(\"Case \"+b+\": \"+a);\n\t\t\tb++;\n\t\t\ta = n.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner n=new Scanner(System.in);
int a = n.nextInt();
int b = 1;
while (a != 0){
System.out.println("Case "+b+": "+a);
b++;
a = n.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
14,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
40,
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
],
[
86,
12
],
[
12,
13
],
[
12,
14
],
[
86,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
39,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
39,
54
],
[
54,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
54,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
66,
73
],
[
39,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
74,
80
],
[
80,
81
],
[
74,
82
],
[
15,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.NoSuchElementException;\nimport java.util.Scanner;\n\npublic class Main {\n private static int MAX = 10000;\n private static int MIN = 1;\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int i = 1;\n while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}\n",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static int MAX = 10000;\n private static int MIN = 1;\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int i = 1;\n while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}",
"Main",
"private static int MAX = 10000;",
"MAX",
"10000",
"private static int MIN = 1;",
"MIN",
"1",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int i = 1;\n while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n try {\n int i = 1;\n while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"try {\n int i = 1;\n while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }",
"catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }",
"NoSuchElementException\n | NumberFormatException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n int i = 1;\n while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n }",
"int i = 1;",
"i",
"1",
"while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }",
"int x = Integer.parseInt(sc.nextLine());",
"x",
"Integer.parseInt(sc.nextLine())",
"Integer.parseInt",
"Integer",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (x == 0) {\n break;\n }",
"x == 0",
"x",
"0",
"{\n break;\n }",
"break;",
"if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }",
"x > MAX || x < MIN || i > MAX",
"x > MAX || x < MIN || i > MAX",
"x > MAX",
"x",
"MAX",
"x < MIN",
"x",
"MIN",
"i > MAX",
"i",
"MAX",
"{\n System.out.println(\"Condition is invalid.\");\n return;\n }",
"System.out.println(\"Condition is invalid.\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Condition is invalid.\"",
"return;",
"System.out.printf(\"Case %d: %d\\n\", i++, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"i++",
"i",
"x",
"String[] args",
"args",
"public class Main {\n private static int MAX = 10000;\n private static int MIN = 1;\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int i = 1;\n while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}",
"public class Main {\n private static int MAX = 10000;\n private static int MIN = 1;\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int i = 1;\n while (sc.hasNext()) {\n int x = Integer.parseInt(sc.nextLine());\n if (x == 0) {\n break;\n }\n if (x > MAX || x < MIN || i > MAX) {\n System.out.println(\"Condition is invalid.\");\n return;\n }\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}",
"Main"
] | import java.util.NoSuchElementException;
import java.util.Scanner;
public class Main {
private static int MAX = 10000;
private static int MIN = 1;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
try {
int i = 1;
while (sc.hasNext()) {
int x = Integer.parseInt(sc.nextLine());
if (x == 0) {
break;
}
if (x > MAX || x < MIN || i > MAX) {
System.out.println("Condition is invalid.");
return;
}
System.out.printf("Case %d: %d\n", i++, x);
}
} catch (NoSuchElementException
| NumberFormatException e) {
System.out.println(e);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
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,
17,
2,
13,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
65,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
18,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
11,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
49,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}\n\t}\n}",
"Main",
"private static final Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}\n\t}",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for(;;){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}",
";",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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;",
"list.add(x)",
"list.add",
"list",
"x",
"for(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}",
"System.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"i + 1",
"i",
"1",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}\n\t}\n}",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor(;;){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(x);\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i + 1, list.get(i));\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
List<Integer> list = new ArrayList<Integer>();
for(;;){
int x = scan.nextInt();
if(x == 0){
break;
}
list.add(x);
}
for(int i = 0; i < list.size(); i++){
System.out.printf("Case %d: %d\n", i + 1, list.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
13,
30,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
17,
2,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
116,
14
],
[
116,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
33,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
33,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
52,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
17,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
77,
87
],
[
87,
88
],
[
88,
89
],
[
77,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
98,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
91,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
15,
113
],
[
113,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
] | [
"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) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tBoolean isContinue = true;\n\n\t\twhile(isContinue){\n\n\t\t\tint intNum = 0;\n\t\t\ttry {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.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) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tBoolean isContinue = true;\n\n\t\twhile(isContinue){\n\n\t\t\tint intNum = 0;\n\t\t\ttry {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tBoolean isContinue = true;\n\n\t\twhile(isContinue){\n\n\t\t\tint intNum = 0;\n\t\t\ttry {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tBoolean isContinue = true;\n\n\t\twhile(isContinue){\n\n\t\t\tint intNum = 0;\n\t\t\ttry {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}",
"BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));",
"insBR",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"Boolean isContinue = true;",
"isContinue",
"true",
"while(isContinue){\n\n\t\t\tint intNum = 0;\n\t\t\ttry {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\n\t\t}",
"isContinue",
"{\n\n\t\t\tint intNum = 0;\n\t\t\ttry {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\n\t\t}",
"int intNum = 0;",
"intNum",
"0",
"try {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}",
"catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}",
"IOException e",
"{\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}",
"NumberFormatException e",
"{\n\t\t\t\tSystem.out.println(e);\n\t\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}",
"String strIn = insBR.readLine();",
"strIn",
"insBR.readLine()",
"insBR.readLine",
"insBR",
"intNum = Integer.parseInt(strIn)",
"intNum",
"Integer.parseInt(strIn)",
"Integer.parseInt",
"Integer",
"strIn",
"if(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}",
"intNum != 0",
"intNum",
"0",
"{\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}",
"list.add(intNum)",
"list.add",
"list",
"intNum",
"{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}",
"isContinue = false",
"isContinue",
"false",
"for(int i = 0; i < list.size(); i++){\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"{\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}",
"System.out.print(\"Case \" + (i + 1) + \": \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \"",
"\"Case \" + (i + 1) + \": \"",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"System.out.println(list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tBoolean isContinue = true;\n\n\t\twhile(isContinue){\n\n\t\t\tint intNum = 0;\n\t\t\ttry {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tBoolean isContinue = true;\n\n\t\twhile(isContinue){\n\n\t\t\tint intNum = 0;\n\t\t\ttry {\n\n\t\t\t\tString strIn = insBR.readLine();\n\t\t\t\tintNum = Integer.parseInt(strIn);\n\n\t\t\t\tif(intNum != 0 ){\n\t\t\t\t\tlist.add(intNum);\n\n\t\t\t\t}else{\n\t\t\t\t\tisContinue = false;\n\t\t\t\t}\n\n\t\t\t}catch(IOException e){\n\t\t\t\tSystem.out.println(e);\n\n\t\t\t}catch(NumberFormatException e){\n\t\t\t\tSystem.out.println(e);\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tSystem.out.print(\"Case \" + (i + 1) + \": \");\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\t}\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) {
// TODO ?????????????????????????????????????????????
BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> list = new ArrayList<Integer>();
Boolean isContinue = true;
while(isContinue){
int intNum = 0;
try {
String strIn = insBR.readLine();
intNum = Integer.parseInt(strIn);
if(intNum != 0 ){
list.add(intNum);
}else{
isContinue = false;
}
}catch(IOException e){
System.out.println(e);
}catch(NumberFormatException e){
System.out.println(e);
}
}
for(int i = 0; i < list.size(); i++){
System.out.print("Case " + (i + 1) + ": ");
System.out.println(list.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
42,
17,
30,
40,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
30,
4,
18,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
24,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
24,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
50,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
50,
54
],
[
38,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
9,
60
],
[
60,
61
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main {\n public static void main(String[] args) throws Exception {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strArr;\n int a;\n int times=0;\n\n while(true){\n \ttimes++;\n \tstrArr = br.readLine();\n a=Integer.parseInt(strArr);\n\n if(a!=0){\n \tSystem.out.println(\"Case \"+times+\": \"+a);\n }\n else{\n \tSystem.exit(0);\n }\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(String[] args) throws Exception {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strArr;\n int a;\n int times=0;\n\n while(true){\n \ttimes++;\n \tstrArr = br.readLine();\n a=Integer.parseInt(strArr);\n\n if(a!=0){\n \tSystem.out.println(\"Case \"+times+\": \"+a);\n }\n else{\n \tSystem.exit(0);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strArr;\n int a;\n int times=0;\n\n while(true){\n \ttimes++;\n \tstrArr = br.readLine();\n a=Integer.parseInt(strArr);\n\n if(a!=0){\n \tSystem.out.println(\"Case \"+times+\": \"+a);\n }\n else{\n \tSystem.exit(0);\n }\n }\n }",
"main",
"{\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strArr;\n int a;\n int times=0;\n\n while(true){\n \ttimes++;\n \tstrArr = br.readLine();\n a=Integer.parseInt(strArr);\n\n if(a!=0){\n \tSystem.out.println(\"Case \"+times+\": \"+a);\n }\n else{\n \tSystem.exit(0);\n }\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String strArr;",
"strArr",
"int a;",
"a",
"int times=0;",
"times",
"0",
"while(true){\n \ttimes++;\n \tstrArr = br.readLine();\n a=Integer.parseInt(strArr);\n\n if(a!=0){\n \tSystem.out.println(\"Case \"+times+\": \"+a);\n }\n else{\n \tSystem.exit(0);\n }\n }",
"true",
"{\n \ttimes++;\n \tstrArr = br.readLine();\n a=Integer.parseInt(strArr);\n\n if(a!=0){\n \tSystem.out.println(\"Case \"+times+\": \"+a);\n }\n else{\n \tSystem.exit(0);\n }\n }",
"times++",
"times",
"strArr = br.readLine()",
"strArr",
"br.readLine()",
"br.readLine",
"br",
"a=Integer.parseInt(strArr)",
"a",
"Integer.parseInt(strArr)",
"Integer.parseInt",
"Integer",
"strArr",
"if(a!=0){\n \tSystem.out.println(\"Case \"+times+\": \"+a);\n }\n else{\n \tSystem.exit(0);\n }",
"a!=0",
"a",
"0",
"{\n \tSystem.out.println(\"Case \"+times+\": \"+a);\n }",
"System.out.println(\"Case \"+times+\": \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+times+\": \"+a",
"\": \"",
"\"Case \"+times+\": \"+a",
"\"Case \"",
"times",
"\": \"",
"a",
"{\n \tSystem.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"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 strArr;
int a;
int times=0;
while(true){
times++;
strArr = br.readLine();
a=Integer.parseInt(strArr);
if(a!=0){
System.out.println("Case "+times+": "+a);
}
else{
System.exit(0);
}
}
}
} |
[
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,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
3,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
2,
13,
17,
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
],
[
84,
14
],
[
84,
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
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
26,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
17,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
47,
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
],
[
78,
79
],
[
78,
80
],
[
15,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\twhile (true ){\n\t\tString str = br.readLine();\n\t\tint a = Integer.parseInt(str);\n\t\tif (a == 0 ) break;\n\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tfor (int i = 1 ; i-1 < list.size() ; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\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",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\twhile (true ){\n\t\tString str = br.readLine();\n\t\tint a = Integer.parseInt(str);\n\t\tif (a == 0 ) break;\n\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tfor (int i = 1 ; i-1 < list.size() ; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\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\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\twhile (true ){\n\t\tString str = br.readLine();\n\t\tint a = Integer.parseInt(str);\n\t\tif (a == 0 ) break;\n\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tfor (int i = 1 ; i-1 < list.size() ; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\twhile (true ){\n\t\tString str = br.readLine();\n\t\tint a = Integer.parseInt(str);\n\t\tif (a == 0 ) break;\n\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tfor (int i = 1 ; i-1 < list.size() ; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\n\t\t}\n\n\t}",
"BufferedReader br =new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"while (true ){\n\t\tString str = br.readLine();\n\t\tint a = Integer.parseInt(str);\n\t\tif (a == 0 ) break;\n\t\tlist.add(a);\n\t\t}",
"true",
"{\n\t\tString str = br.readLine();\n\t\tint a = Integer.parseInt(str);\n\t\tif (a == 0 ) break;\n\t\tlist.add(a);\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int a = Integer.parseInt(str);",
"a",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if (a == 0 ) break;",
"a == 0",
"a",
"0",
"break;",
"list.add(a)",
"list.add",
"list",
"a",
"for (int i = 1 ; i-1 < list.size() ; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\n\t\t}",
"int i = 1 ;",
"int i = 1 ;",
"i",
"1",
"i-1 < list.size()",
"i-1",
"i",
"1",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\n\t\t}",
"System.out.println(\"Case \" + i + \": \" + list.get(i-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + list.get(i-1)",
"\": \"",
"\"Case \" + i + \": \" + list.get(i-1)",
"\"Case \"",
"i",
"\": \"",
"list.get(i-1)",
"list.get",
"list",
"i-1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\twhile (true ){\n\t\tString str = br.readLine();\n\t\tint a = Integer.parseInt(str);\n\t\tif (a == 0 ) break;\n\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tfor (int i = 1 ; i-1 < list.size() ; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\twhile (true ){\n\t\tString str = br.readLine();\n\t\tint a = Integer.parseInt(str);\n\t\tif (a == 0 ) break;\n\t\tlist.add(a);\n\t\t}\n\t\t\n\t\tfor (int i = 1 ; i-1 < list.size() ; i++){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + list.get(i-1));\n\t\t}\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{
BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> list = new ArrayList<Integer>();
while (true ){
String str = br.readLine();
int a = Integer.parseInt(str);
if (a == 0 ) break;
list.add(a);
}
for (int i = 1 ; i-1 < list.size() ; i++){
System.out.println("Case " + i + ": " + list.get(i-1));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
30,
41,
13,
20,
41,
13,
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,
0,
13,
4,
18,
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
],
[
61,
8
],
[
61,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
16,
28
],
[
28,
29
],
[
28,
30
],
[
16,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
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
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
35,
56
],
[
56,
57
],
[
9,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tint x = Integer.parseInt(buf.readLine());\n\tint count = 1;\n\t\n\twhile(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }\n }",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tint x = Integer.parseInt(buf.readLine());\n\tint count = 1;\n\t\n\twhile(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }\n }",
"Main",
"public static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tint x = Integer.parseInt(buf.readLine());\n\tint count = 1;\n\t\n\twhile(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }",
"main",
"{\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tint x = Integer.parseInt(buf.readLine());\n\tint count = 1;\n\t\n\twhile(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }",
"try {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tint x = Integer.parseInt(buf.readLine());\n\tint count = 1;\n\t\n\twhile(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}",
"catch (Exception e) {\n\t// TODO: handle exception\n}",
"Exception e",
"{\n\t// TODO: handle exception\n}",
"{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tint x = Integer.parseInt(buf.readLine());\n\tint count = 1;\n\t\n\twhile(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}\n}",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"int x = Integer.parseInt(buf.readLine());",
"x",
"Integer.parseInt(buf.readLine())",
"Integer.parseInt",
"Integer",
"buf.readLine()",
"buf.readLine",
"buf",
"int count = 1;",
"count",
"1",
"while(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}",
"x != 0",
"x",
"0",
"{\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}",
"System.out.println(\"Case \" + count + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + count + \": \" + x",
"\": \"",
"\"Case \" + count + \": \" + x",
"\"Case \"",
"count",
"\": \"",
"x",
"x = Integer.parseInt(buf.readLine())",
"x",
"Integer.parseInt(buf.readLine())",
"Integer.parseInt",
"Integer",
"buf.readLine()",
"buf.readLine",
"buf",
"count ++",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tint x = Integer.parseInt(buf.readLine());\n\tint count = 1;\n\t\n\twhile(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }\n }",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tint x = Integer.parseInt(buf.readLine());\n\tint count = 1;\n\t\n\twhile(x != 0){\n\t\tSystem.out.println(\"Case \" + count + \": \" + x);\n\t\tx = Integer.parseInt(buf.readLine());\n\t\tcount ++;\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }\n }",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
try {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
int x = Integer.parseInt(buf.readLine());
int count = 1;
while(x != 0){
System.out.println("Case " + count + ": " + x);
x = Integer.parseInt(buf.readLine());
count ++;
}
} catch (Exception e) {
// TODO: handle exception
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
0,
13,
17,
42,
17,
30,
40,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
20,
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
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
27,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
27,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
27,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
27,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
27,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\t//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder b = new StringBuilder();\n\n\n\t\t\n\t\tint i,s;\n\t\ti = 0;\n\n\t\twhile(true){\n\t\t\ti++;\n\t\t\ts = scan.nextInt();\n\t\t\t//s = Integer.parseInt(br.readLine());\n\t\t\tif(s == 0){break;}\n\t\t\t\n\t\t\t//str = str+ \"Case \" + Integer.toString(i) + \": \" + str + \"\\n\";\n\t\t\t\n\t\t\tb.append(\"Case \");\n\t\t\tb.append(Integer.toString(i));\n\t\t\tb.append(\": \");\n\t\t\tb.append(Integer.toString(s));\n\t\t\tb.append(\"\\n\");\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(new String(b));\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\t//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder b = new StringBuilder();\n\n\n\t\t\n\t\tint i,s;\n\t\ti = 0;\n\n\t\twhile(true){\n\t\t\ti++;\n\t\t\ts = scan.nextInt();\n\t\t\t//s = Integer.parseInt(br.readLine());\n\t\t\tif(s == 0){break;}\n\t\t\t\n\t\t\t//str = str+ \"Case \" + Integer.toString(i) + \": \" + str + \"\\n\";\n\t\t\t\n\t\t\tb.append(\"Case \");\n\t\t\tb.append(Integer.toString(i));\n\t\t\tb.append(\": \");\n\t\t\tb.append(Integer.toString(s));\n\t\t\tb.append(\"\\n\");\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(new String(b));\n\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\t\t//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder b = new StringBuilder();\n\n\n\t\t\n\t\tint i,s;\n\t\ti = 0;\n\n\t\twhile(true){\n\t\t\ti++;\n\t\t\ts = scan.nextInt();\n\t\t\t//s = Integer.parseInt(br.readLine());\n\t\t\tif(s == 0){break;}\n\t\t\t\n\t\t\t//str = str+ \"Case \" + Integer.toString(i) + \": \" + str + \"\\n\";\n\t\t\t\n\t\t\tb.append(\"Case \");\n\t\t\tb.append(Integer.toString(i));\n\t\t\tb.append(\": \");\n\t\t\tb.append(Integer.toString(s));\n\t\t\tb.append(\"\\n\");\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(new String(b));\n\n\t}",
"main",
"{\n\t\t//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder b = new StringBuilder();\n\n\n\t\t\n\t\tint i,s;\n\t\ti = 0;\n\n\t\twhile(true){\n\t\t\ti++;\n\t\t\ts = scan.nextInt();\n\t\t\t//s = Integer.parseInt(br.readLine());\n\t\t\tif(s == 0){break;}\n\t\t\t\n\t\t\t//str = str+ \"Case \" + Integer.toString(i) + \": \" + str + \"\\n\";\n\t\t\t\n\t\t\tb.append(\"Case \");\n\t\t\tb.append(Integer.toString(i));\n\t\t\tb.append(\": \");\n\t\t\tb.append(Integer.toString(s));\n\t\t\tb.append(\"\\n\");\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(new String(b));\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder b = new StringBuilder();",
"b",
"new StringBuilder()",
"int i",
"i",
"s;",
"s",
"i = 0",
"i",
"0",
"while(true){\n\t\t\ti++;\n\t\t\ts = scan.nextInt();\n\t\t\t//s = Integer.parseInt(br.readLine());\n\t\t\tif(s == 0){break;}\n\t\t\t\n\t\t\t//str = str+ \"Case \" + Integer.toString(i) + \": \" + str + \"\\n\";\n\t\t\t\n\t\t\tb.append(\"Case \");\n\t\t\tb.append(Integer.toString(i));\n\t\t\tb.append(\": \");\n\t\t\tb.append(Integer.toString(s));\n\t\t\tb.append(\"\\n\");\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\ti++;\n\t\t\ts = scan.nextInt();\n\t\t\t//s = Integer.parseInt(br.readLine());\n\t\t\tif(s == 0){break;}\n\t\t\t\n\t\t\t//str = str+ \"Case \" + Integer.toString(i) + \": \" + str + \"\\n\";\n\t\t\t\n\t\t\tb.append(\"Case \");\n\t\t\tb.append(Integer.toString(i));\n\t\t\tb.append(\": \");\n\t\t\tb.append(Integer.toString(s));\n\t\t\tb.append(\"\\n\");\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}",
"i++",
"i",
"s = scan.nextInt()",
"s",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(s == 0){break;}",
"s == 0",
"s",
"0",
"{break;}",
"break;",
"b.append(\"Case \")",
"b.append",
"b",
"\"Case \"",
"b.append(Integer.toString(i))",
"b.append",
"b",
"Integer.toString(i)",
"Integer.toString",
"Integer",
"i",
"b.append(\": \")",
"b.append",
"b",
"\": \"",
"b.append(Integer.toString(s))",
"b.append",
"b",
"Integer.toString(s)",
"Integer.toString",
"Integer",
"s",
"b.append(\"\\n\")",
"b.append",
"b",
"\"\\n\"",
"System.out.print(new String(b))",
"System.out.print",
"System.out",
"System",
"System.out",
"new String(b)",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\t//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder b = new StringBuilder();\n\n\n\t\t\n\t\tint i,s;\n\t\ti = 0;\n\n\t\twhile(true){\n\t\t\ti++;\n\t\t\ts = scan.nextInt();\n\t\t\t//s = Integer.parseInt(br.readLine());\n\t\t\tif(s == 0){break;}\n\t\t\t\n\t\t\t//str = str+ \"Case \" + Integer.toString(i) + \": \" + str + \"\\n\";\n\t\t\t\n\t\t\tb.append(\"Case \");\n\t\t\tb.append(Integer.toString(i));\n\t\t\tb.append(\": \");\n\t\t\tb.append(Integer.toString(s));\n\t\t\tb.append(\"\\n\");\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(new String(b));\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\t//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder b = new StringBuilder();\n\n\n\t\t\n\t\tint i,s;\n\t\ti = 0;\n\n\t\twhile(true){\n\t\t\ti++;\n\t\t\ts = scan.nextInt();\n\t\t\t//s = Integer.parseInt(br.readLine());\n\t\t\tif(s == 0){break;}\n\t\t\t\n\t\t\t//str = str+ \"Case \" + Integer.toString(i) + \": \" + str + \"\\n\";\n\t\t\t\n\t\t\tb.append(\"Case \");\n\t\t\tb.append(Integer.toString(i));\n\t\t\tb.append(\": \");\n\t\t\tb.append(Integer.toString(s));\n\t\t\tb.append(\"\\n\");\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t}\n\n\t\tSystem.out.print(new String(b));\n\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String args[]) throws IOException {
//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
Scanner scan = new Scanner(System.in);
StringBuilder b = new StringBuilder();
int i,s;
i = 0;
while(true){
i++;
s = scan.nextInt();
//s = Integer.parseInt(br.readLine());
if(s == 0){break;}
//str = str+ "Case " + Integer.toString(i) + ": " + str + "\n";
b.append("Case ");
b.append(Integer.toString(i));
b.append(": ");
b.append(Integer.toString(s));
b.append("\n");
}
System.out.print(new String(b));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
18,
13,
13,
17,
30,
40,
13,
0,
18,
13,
13,
4,
18,
13,
42,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
2,
13,
17,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
61,
62
],
[
61,
63
],
[
51,
64
],
[
64,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Scanner;\n\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[20000];\n\t\tx[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",i+1,x[i]);\n\t\t\ti++;\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[20000];\n\t\tx[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",i+1,x[i]);\n\t\t\ti++;\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[20000];\n\t\tx[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",i+1,x[i]);\n\t\t\ti++;\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[20000];\n\t\tx[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",i+1,x[i]);\n\t\t\ti++;\n\t\t}\n\n\t}",
"Scanner kb=new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"int x[]=new int[20000];",
"x",
"new int[20000]",
"20000",
"x[0]=kb.nextInt()",
"x[0]",
"x",
"0",
"kb.nextInt()",
"kb.nextInt",
"kb",
"int h=0;",
"h",
"0",
"int i=0;",
"i",
"0",
"while(x[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\n\t\t}",
"x[h]!=0",
"x[h]",
"x",
"h",
"0",
"{\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\n\t\t}",
"h++",
"h",
"x[h]=kb.nextInt()",
"x[h]",
"x",
"h",
"kb.nextInt()",
"kb.nextInt",
"kb",
"while(x[i]!=0){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",i+1,x[i]);\n\t\t\ti++;\n\t\t}",
"x[i]!=0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",i+1,x[i]);\n\t\t\ti++;\n\t\t}",
"System.out.printf(\"Case %d: %d\\n\",i+1,x[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"i+1",
"i",
"1",
"x[i]",
"x",
"i",
"i++",
"i",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[20000];\n\t\tx[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",i+1,x[i]);\n\t\t\ti++;\n\t\t}\n\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[20000];\n\t\tx[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0){\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\",i+1,x[i]);\n\t\t\ti++;\n\t\t}\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
int x[]=new int[20000];
x[0]=kb.nextInt();
int h=0;
int i=0;
while(x[h]!=0){
h++;
x[h]=kb.nextInt();
}
while(x[i]!=0){
System.out.printf("Case %d: %d\n",i+1,x[i]);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
42,
17,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
3,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
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
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
21,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
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
],
[
64,
65
],
[
64,
66
],
[
6,
67
],
[
67,
68
]
] | [
"\nimport java.util.Scanner;\n class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint result[] = new int[1000000],i = 0;\n\t\twhile(true){\n\t\t\tresult[i] = sc.nextInt();\n\t\t\tif(result[i] == 0) break;\n\t\t\ti++;\n\t\t}\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(\"Case \"+(j+1)+\": \"+result[j]);\n\t\t}\n\t}\n }\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint result[] = new int[1000000],i = 0;\n\t\twhile(true){\n\t\t\tresult[i] = sc.nextInt();\n\t\t\tif(result[i] == 0) break;\n\t\t\ti++;\n\t\t}\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(\"Case \"+(j+1)+\": \"+result[j]);\n\t\t}\n\t}\n }",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint result[] = new int[1000000],i = 0;\n\t\twhile(true){\n\t\t\tresult[i] = sc.nextInt();\n\t\t\tif(result[i] == 0) break;\n\t\t\ti++;\n\t\t}\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(\"Case \"+(j+1)+\": \"+result[j]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint result[] = new int[1000000],i = 0;\n\t\twhile(true){\n\t\t\tresult[i] = sc.nextInt();\n\t\t\tif(result[i] == 0) break;\n\t\t\ti++;\n\t\t}\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(\"Case \"+(j+1)+\": \"+result[j]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int result[] = new int[1000000]",
"result",
"new int[1000000]",
"1000000",
"i = 0;",
"i",
"0",
"while(true){\n\t\t\tresult[i] = sc.nextInt();\n\t\t\tif(result[i] == 0) break;\n\t\t\ti++;\n\t\t}",
"true",
"{\n\t\t\tresult[i] = sc.nextInt();\n\t\t\tif(result[i] == 0) break;\n\t\t\ti++;\n\t\t}",
"result[i] = sc.nextInt()",
"result[i]",
"result",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(result[i] == 0) break;",
"result[i] == 0",
"result[i]",
"result",
"i",
"0",
"break;",
"i++",
"i",
"for(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(\"Case \"+(j+1)+\": \"+result[j]);\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.println(\"Case \"+(j+1)+\": \"+result[j]);\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+(j+1)+\": \"+result[j]);\n\t\t}",
"System.out.println(\"Case \"+(j+1)+\": \"+result[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(j+1)+\": \"+result[j]",
"\": \"",
"\"Case \"+(j+1)+\": \"+result[j]",
"\"Case \"",
"(j+1)",
"j",
"1",
"\": \"",
"result[j]",
"result",
"j",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int result[] = new int[1000000],i = 0;
while(true){
result[i] = sc.nextInt();
if(result[i] == 0) break;
i++;
}
for(int j = 0; j < i; j++){
System.out.println("Case "+(j+1)+": "+result[j]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
0,
13,
4,
18,
13,
17,
1,
40,
13,
30,
30,
14,
4,
18,
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
],
[
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
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
15,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
31,
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.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n for (int i = 1; (str = br.readLine()) != null; i++) {\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n for (int i = 1; (str = br.readLine()) != null; i++) {\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n for (int i = 1; (str = br.readLine()) != null; i++) {\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n for (int i = 1; (str = br.readLine()) != null; i++) {\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = null;",
"str",
"null",
"for (int i = 1; (str = br.readLine()) != null; i++) {\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"i++",
"i++",
"i",
"{\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }",
"{\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }",
"if (str.equals(\"0\")) break;",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"break;",
"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",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n for (int i = 1; (str = br.readLine()) != null; i++) {\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n for (int i = 1; (str = br.readLine()) != null; i++) {\n if (str.equals(\"0\")) break;\n System.out.println(\"Case \" + i + \": \" + str);\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = null;
for (int i = 1; (str = br.readLine()) != null; i++) {
if (str.equals("0")) break;
System.out.println("Case " + i + ": " + str);
}
}
} |
[
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,
13,
40,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
74,
11
],
[
74,
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
],
[
43,
45
],
[
45,
46
],
[
43,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
12,
52
],
[
52,
53
],
[
74,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
64,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
64,
68
],
[
54,
69
],
[
69,
70
],
[
54,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"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 Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tint in = Integer.valueOf(s);\n\t\t\tif (in == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int in) {\n\t\tSystem.out.println(\"Case \" + inCnt + \": \" + in);\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 Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tint in = Integer.valueOf(s);\n\t\t\tif (in == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int in) {\n\t\tSystem.out.println(\"Case \" + inCnt + \": \" + in);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tint in = Integer.valueOf(s);\n\t\t\tif (in == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"main",
"{\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tint in = Integer.valueOf(s);\n\t\t\tif (in == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));",
"stdIn",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int inCnt = 0;",
"inCnt",
"0",
"while ((s = stdIn.readLine()) != null) {\n\t\t\tint in = Integer.valueOf(s);\n\t\t\tif (in == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in);\n\t\t}",
"(s = stdIn.readLine()) != null",
"(s = stdIn.readLine())",
"s",
"stdIn.readLine()",
"stdIn.readLine",
"stdIn",
"null",
"{\n\t\t\tint in = Integer.valueOf(s);\n\t\t\tif (in == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in);\n\t\t}",
"int in = Integer.valueOf(s);",
"in",
"Integer.valueOf(s)",
"Integer.valueOf",
"Integer",
"s",
"if (in == 0)\n\t\t\t\tbreak;",
"in == 0",
"in",
"0",
"break;",
"doMain(++inCnt, in)",
"doMain",
"++inCnt",
"inCnt",
"in",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"private static void doMain(int inCnt, int in) {\n\t\tSystem.out.println(\"Case \" + inCnt + \": \" + in);\n\n\t}",
"doMain",
"{\n\t\tSystem.out.println(\"Case \" + inCnt + \": \" + in);\n\n\t}",
"System.out.println(\"Case \" + inCnt + \": \" + in)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + inCnt + \": \" + in",
"\": \"",
"\"Case \" + inCnt + \": \" + in",
"\"Case \"",
"inCnt",
"\": \"",
"in",
"int inCnt",
"inCnt",
"int in",
"in",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tint in = Integer.valueOf(s);\n\t\t\tif (in == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int in) {\n\t\tSystem.out.println(\"Case \" + inCnt + \": \" + in);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tint in = Integer.valueOf(s);\n\t\t\tif (in == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int in) {\n\t\tSystem.out.println(\"Case \" + inCnt + \": \" + in);\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 Exception {
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String s;
int inCnt = 0;
while ((s = stdIn.readLine()) != null) {
int in = Integer.valueOf(s);
if (in == 0)
break;
doMain(++inCnt, in);
}
System.exit(0);
}
private static void doMain(int inCnt, int in) {
System.out.println("Case " + inCnt + ": " + in);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
17,
42,
4,
18,
13,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
49,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
10,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
17,
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
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
39,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
39,
43
],
[
21,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static Scanner sc;\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n int n = 1;\n while (sc.hasNext()) {\n int i = sc.nextInt();\n if (i == 0) break;\n \n System.out.println(\"Case \" + n + \": \" + i);\n n++;\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static Scanner sc;\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n int n = 1;\n while (sc.hasNext()) {\n int i = sc.nextInt();\n if (i == 0) break;\n \n System.out.println(\"Case \" + n + \": \" + i);\n n++;\n }\n }\n}",
"Main",
"public static Scanner sc;",
"sc",
"public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n int n = 1;\n while (sc.hasNext()) {\n int i = sc.nextInt();\n if (i == 0) break;\n \n System.out.println(\"Case \" + n + \": \" + i);\n n++;\n }\n }",
"main",
"{\n sc = new Scanner(System.in);\n int n = 1;\n while (sc.hasNext()) {\n int i = sc.nextInt();\n if (i == 0) break;\n \n System.out.println(\"Case \" + n + \": \" + i);\n n++;\n }\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"int n = 1;",
"n",
"1",
"while (sc.hasNext()) {\n int i = sc.nextInt();\n if (i == 0) break;\n \n System.out.println(\"Case \" + n + \": \" + i);\n n++;\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int i = sc.nextInt();\n if (i == 0) break;\n \n System.out.println(\"Case \" + n + \": \" + i);\n n++;\n }",
"int i = sc.nextInt();",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (i == 0) break;",
"i == 0",
"i",
"0",
"break;",
"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",
"String[] args",
"args",
"public class Main {\n public static Scanner sc;\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n int n = 1;\n while (sc.hasNext()) {\n int i = sc.nextInt();\n if (i == 0) break;\n \n System.out.println(\"Case \" + n + \": \" + i);\n n++;\n }\n }\n}",
"public class Main {\n public static Scanner sc;\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n int n = 1;\n while (sc.hasNext()) {\n int i = sc.nextInt();\n if (i == 0) break;\n \n System.out.println(\"Case \" + n + \": \" + i);\n n++;\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static Scanner sc;
public static void main(String[] args) throws Exception {
sc = new Scanner(System.in);
int n = 1;
while (sc.hasNext()) {
int i = sc.nextInt();
if (i == 0) break;
System.out.println("Case " + n + ": " + i);
n++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
66,
17
],
[
66,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
29,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
56,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
56,
60
],
[
44,
61
],
[
61,
62
],
[
18,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.io.BufferedInputStream;\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader bis=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(bis);\n\t\t\n\t\t\n\t int data;\n\t for(int i =1;;i++){data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}\n\t\n\t\t\n\t}\n}",
"import java.io.BufferedInputStream;",
"BufferedInputStream",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader bis=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(bis);\n\t\t\n\t\t\n\t int data;\n\t for(int i =1;;i++){data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}\n\t\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader bis=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(bis);\n\t\t\n\t\t\n\t int data;\n\t for(int i =1;;i++){data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}\n\t\n\t\t\n\t}",
"main",
"{\n\t\t\t\t\n\t\tBufferedReader bis=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(bis);\n\t\t\n\t\t\n\t int data;\n\t for(int i =1;;i++){data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}\n\t\n\t\t\n\t}",
"BufferedReader bis=new BufferedReader(new InputStreamReader(System.in));",
"bis",
"new BufferedReader(new InputStreamReader(System.in))",
"Scanner sc = new Scanner(bis);",
"sc",
"new Scanner(bis)",
"int data;",
"data",
"for(int i =1;;i++){data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}",
"int i =1;",
"int i =1;",
"i",
"1",
"i++",
"i++",
"i",
"{data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}",
"{data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}",
"data=sc.nextInt()",
"data",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}",
"data!=0",
"data",
"0",
"{\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }",
"System.out.println(\"Case \"+i+\": \"+data)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+data",
"\": \"",
"\"Case \"+i+\": \"+data",
"\"Case \"",
"i",
"\": \"",
"data",
"{break;}",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader bis=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(bis);\n\t\t\n\t\t\n\t int data;\n\t for(int i =1;;i++){data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}\n\t\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader bis=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(bis);\n\t\t\n\t\t\n\t int data;\n\t for(int i =1;;i++){data=sc.nextInt();\n\t \n\t if(data!=0){\n\t \tSystem.out.println(\"Case \"+i+\": \"+data);\n\t }else{break;}}\n\t\n\t\t\n\t}\n}",
"Main"
] | import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader bis=new BufferedReader(new InputStreamReader(System.in));
Scanner sc = new Scanner(bis);
int data;
for(int i =1;;i++){data=sc.nextInt();
if(data!=0){
System.out.println("Case "+i+": "+data);
}else{break;}}
}
} |
[
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,
13,
2,
2,
2,
2,
17,
13,
17,
13,
17,
4,
18,
18,
13,
13,
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
],
[
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
],
[
31,
34
],
[
37,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
37,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"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 \" + i + \": \" + x + \"\\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 \" + i + \": \" + x + \"\\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 \" + i + \": \" + x + \"\\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 \" + i + \": \" + x + \"\\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 \" + i + \": \" + x + \"\\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 \" + i + \": \" + x + \"\\n\");\n\t\t}",
"i++",
"i",
"sb.append(\"Case \" + i + \": \" + x + \"\\n\")",
"sb.append",
"sb",
"\"Case \" + i + \": \" + x + \"\\n\"",
"x",
"\": \"",
"\"Case \" + i + \": \" + x + \"\\n\"",
"\"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 \" + i + \": \" + x + \"\\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 \" + i + \": \" + x + \"\\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 " + i + ": " + x + "\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
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,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
40,
41
],
[
29,
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
],
[
70,
71
],
[
70,
72
],
[
67,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
15,
78
],
[
78,
79
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> numArray = new ArrayList<String>();\n\t\twhile(true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (strNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumArray.add(strNum);\n\t\t}\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) +\": \" + numArray.get(i));\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> numArray = new ArrayList<String>();\n\t\twhile(true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (strNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumArray.add(strNum);\n\t\t}\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) +\": \" + numArray.get(i));\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> numArray = new ArrayList<String>();\n\t\twhile(true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (strNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumArray.add(strNum);\n\t\t}\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) +\": \" + numArray.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> numArray = new ArrayList<String>();\n\t\twhile(true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (strNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumArray.add(strNum);\n\t\t}\n\t\tfor (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) +\": \" + numArray.get(i));\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String strNum = \"\";",
"strNum",
"\"\"",
"ArrayList<String> numArray = new ArrayList<String>();",
"numArray",
"new ArrayList<String>()",
"while(true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (strNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumArray.add(strNum);\n\t\t}",
"true",
"{\n\t\t\tstrNum = br.readLine();\n\t\t\tif (strNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnumArray.add(strNum);\n\t\t}",
"strNum = br.readLine()",
"strNum",
"br.readLine()",
"br.readLine",
"br",
"if (strNum.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"strNum.equals(\"0\")",
"strNum.equals",
"strNum",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"numArray.add(strNum)",
"numArray.add",
"numArray",
"strNum",
"for (int i = 0; i < numArray.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) +\": \" + numArray.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numArray.size()",
"i",
"numArray.size()",
"numArray.size",
"numArray",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i+1) +\": \" + numArray.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i+1) +\": \" + numArray.get(i));\n\t\t}",
"System.out.println(\"Case \" + (i+1) +\": \" + numArray.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i+1) +\": \" + numArray.get(i)",
"\": \"",
"\"Case \" + (i+1) +\": \" + numArray.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"numArray.get(i)",
"numArray.get",
"numArray",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String strNum = "";
ArrayList<String> numArray = new ArrayList<String>();
while(true) {
strNum = br.readLine();
if (strNum.equals("0")) {
break;
}
numArray.add(strNum);
}
for (int i = 0; i < numArray.size(); i++) {
System.out.println("Case " + (i+1) +": " + numArray.get(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,
40,
13,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
34,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
34,
38
],
[
24,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint count = 0;\n\tint i=sc.nextInt();\n\twhile(i!=0){\n\t count++;\n\t System.out.println(\"Case \"+count+\": \"+i);\n\t i=sc.nextInt();\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint count = 0;\n\tint i=sc.nextInt();\n\twhile(i!=0){\n\t count++;\n\t System.out.println(\"Case \"+count+\": \"+i);\n\t i=sc.nextInt();\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint count = 0;\n\tint i=sc.nextInt();\n\twhile(i!=0){\n\t count++;\n\t System.out.println(\"Case \"+count+\": \"+i);\n\t i=sc.nextInt();\n\t}\n }",
"main",
"{\n\tfinal Scanner sc=new Scanner(System.in);\n\tint count = 0;\n\tint i=sc.nextInt();\n\twhile(i!=0){\n\t count++;\n\t System.out.println(\"Case \"+count+\": \"+i);\n\t i=sc.nextInt();\n\t}\n }",
"final Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count = 0;",
"count",
"0",
"int i=sc.nextInt();",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(i!=0){\n\t count++;\n\t System.out.println(\"Case \"+count+\": \"+i);\n\t i=sc.nextInt();\n\t}",
"i!=0",
"i",
"0",
"{\n\t count++;\n\t System.out.println(\"Case \"+count+\": \"+i);\n\t i=sc.nextInt();\n\t}",
"count++",
"count",
"System.out.println(\"Case \"+count+\": \"+i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+count+\": \"+i",
"\": \"",
"\"Case \"+count+\": \"+i",
"\"Case \"",
"count",
"\": \"",
"i",
"i=sc.nextInt()",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
final Scanner sc=new Scanner(System.in);
int count = 0;
int i=sc.nextInt();
while(i!=0){
count++;
System.out.println("Case "+count+": "+i);
i=sc.nextInt();
}
}
} |
[
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,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
6,
13,
12,
13,
30,
4,
18,
13,
23,
13,
10,
6,
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
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
32,
38
],
[
32,
39
],
[
6,
40
],
[
40,
41
],
[
0,
42
],
[
53,
43
],
[
53,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.*;\n\nclass PrintTestCases {\n public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n for (int t = 1; ; t++) {\n final int x = sc.nextInt();\n if(x == 0)\n break;\n System.out.printf(\"Case %d: %d\\n\", t, x);\n }\n }\n}\npublic class Main {\n public static void main(String... args) {\n PrintTestCases.main();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class PrintTestCases {\n public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n for (int t = 1; ; t++) {\n final int x = sc.nextInt();\n if(x == 0)\n break;\n System.out.printf(\"Case %d: %d\\n\", t, x);\n }\n }\n}",
"PrintTestCases",
"public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n for (int t = 1; ; t++) {\n final int x = sc.nextInt();\n if(x == 0)\n break;\n System.out.printf(\"Case %d: %d\\n\", t, x);\n }\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n for (int t = 1; ; t++) {\n final int x = sc.nextInt();\n if(x == 0)\n break;\n System.out.printf(\"Case %d: %d\\n\", t, x);\n }\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int t = 1; ; t++) {\n final int x = sc.nextInt();\n if(x == 0)\n break;\n System.out.printf(\"Case %d: %d\\n\", t, x);\n }",
"int t = 1;",
"int t = 1;",
"t",
"1",
"t++",
"t++",
"t",
"{\n final int x = sc.nextInt();\n if(x == 0)\n break;\n System.out.printf(\"Case %d: %d\\n\", t, x);\n }",
"{\n final int x = sc.nextInt();\n if(x == 0)\n break;\n System.out.printf(\"Case %d: %d\\n\", t, x);\n }",
"final int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0)\n break;",
"x == 0",
"x",
"0",
"break;",
"System.out.printf(\"Case %d: %d\\n\", t, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"t",
"x",
"String...args",
"args",
"public class Main {\n public static void main(String... args) {\n PrintTestCases.main();\n }\n}",
"Main",
"public static void main(String... args) {\n PrintTestCases.main();\n }",
"main",
"{\n PrintTestCases.main();\n }",
"PrintTestCases.main()",
"PrintTestCases.main",
"PrintTestCases",
"String... args",
"args",
"public class Main {\n public static void main(String... args) {\n PrintTestCases.main();\n }\n}",
"public class Main {\n public static void main(String... args) {\n PrintTestCases.main();\n }\n}",
"Main"
] | import java.util.*;
class PrintTestCases {
public static void main(String...args) {
final Scanner sc = new Scanner(System.in);
for (int t = 1; ; t++) {
final int x = sc.nextInt();
if(x == 0)
break;
System.out.printf("Case %d: %d\n", t, x);
}
}
}
public class Main {
public static void main(String... args) {
PrintTestCases.main();
}
} |
[
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,
20,
17,
3,
4,
18,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
2,
13,
17,
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
],
[
75,
11
],
[
75,
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
],
[
29,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
61,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
60,
66
],
[
59,
67
],
[
61,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
12,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<Integer> ary = new ArrayList<Integer>();\n while(true) {\n String t = br.readLine();\n if(new Integer(t) == 0)\n break;\n ary.add(new Integer(t));\n }\n for(int i=0;i < ary.size();i++) {\n System.out.println(\"Case \" + (i+1) + \":\" + \" \" + ary.get(i));\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<Integer> ary = new ArrayList<Integer>();\n while(true) {\n String t = br.readLine();\n if(new Integer(t) == 0)\n break;\n ary.add(new Integer(t));\n }\n for(int i=0;i < ary.size();i++) {\n System.out.println(\"Case \" + (i+1) + \":\" + \" \" + ary.get(i));\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<Integer> ary = new ArrayList<Integer>();\n while(true) {\n String t = br.readLine();\n if(new Integer(t) == 0)\n break;\n ary.add(new Integer(t));\n }\n for(int i=0;i < ary.size();i++) {\n System.out.println(\"Case \" + (i+1) + \":\" + \" \" + ary.get(i));\n }\n }",
"main",
"{\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<Integer> ary = new ArrayList<Integer>();\n while(true) {\n String t = br.readLine();\n if(new Integer(t) == 0)\n break;\n ary.add(new Integer(t));\n }\n for(int i=0;i < ary.size();i++) {\n System.out.println(\"Case \" + (i+1) + \":\" + \" \" + ary.get(i));\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<Integer> ary = new ArrayList<Integer>();",
"ary",
"new ArrayList<Integer>()",
"while(true) {\n String t = br.readLine();\n if(new Integer(t) == 0)\n break;\n ary.add(new Integer(t));\n }",
"true",
"{\n String t = br.readLine();\n if(new Integer(t) == 0)\n break;\n ary.add(new Integer(t));\n }",
"String t = br.readLine();",
"t",
"br.readLine()",
"br.readLine",
"br",
"if(new Integer(t) == 0)\n break;",
"new Integer(t) == 0",
"new Integer(t)",
"0",
"break;",
"ary.add(new Integer(t))",
"ary.add",
"ary",
"new Integer(t)",
"for(int i=0;i < ary.size();i++) {\n System.out.println(\"Case \" + (i+1) + \":\" + \" \" + ary.get(i));\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i < ary.size()",
"i",
"ary.size()",
"ary.size",
"ary",
"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) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<Integer> ary = new ArrayList<Integer>();\n while(true) {\n String t = br.readLine();\n if(new Integer(t) == 0)\n break;\n ary.add(new Integer(t));\n }\n for(int i=0;i < ary.size();i++) {\n System.out.println(\"Case \" + (i+1) + \":\" + \" \" + ary.get(i));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<Integer> ary = new ArrayList<Integer>();\n while(true) {\n String t = br.readLine();\n if(new Integer(t) == 0)\n break;\n ary.add(new Integer(t));\n }\n for(int i=0;i < ary.size();i++) {\n System.out.println(\"Case \" + (i+1) + \":\" + \" \" + ary.get(i));\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Here your code !
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<Integer> ary = new ArrayList<Integer>();
while(true) {
String t = br.readLine();
if(new Integer(t) == 0)
break;
ary.add(new Integer(t));
}
for(int i=0;i < ary.size();i++) {
System.out.println("Case " + (i+1) + ":" + " " + ary.get(i));
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
13,
41,
13,
20,
13,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
40,
13,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
2,
13,
17,
13,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
127,
2
],
[
127,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
12,
14
],
[
5,
16
],
[
16,
17
],
[
16,
18
],
[
5,
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
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
22,
36
],
[
36,
37
],
[
36,
38
],
[
22,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
22,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
22,
69
],
[
69,
70
],
[
69,
71
],
[
22,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
73,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
5,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
93,
103
],
[
103,
104
],
[
104,
105
],
[
93,
106
],
[
107,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
115,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
114,
120
],
[
115,
121
],
[
121,
122
],
[
121,
123
],
[
3,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] | [
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tint l = 0;\n int[] a = new int[l];\n\t\tint[] b = new int[l];\n\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl++;\n\t\t\ta = new int[l];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}\n\t\t\ta[l - 1] = x;\n\t\t\tb = new int[l];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}\n\t\t} while (true);\n\n\t\tfor (int i = 0;i < b.length;i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}\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\tint l = 0;\n int[] a = new int[l];\n\t\tint[] b = new int[l];\n\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl++;\n\t\t\ta = new int[l];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}\n\t\t\ta[l - 1] = x;\n\t\t\tb = new int[l];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}\n\t\t} while (true);\n\n\t\tfor (int i = 0;i < b.length;i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tint l = 0;\n int[] a = new int[l];\n\t\tint[] b = new int[l];\n\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl++;\n\t\t\ta = new int[l];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}\n\t\t\ta[l - 1] = x;\n\t\t\tb = new int[l];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}\n\t\t} while (true);\n\n\t\tfor (int i = 0;i < b.length;i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tint l = 0;\n int[] a = new int[l];\n\t\tint[] b = new int[l];\n\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl++;\n\t\t\ta = new int[l];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}\n\t\t\ta[l - 1] = x;\n\t\t\tb = new int[l];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}\n\t\t} while (true);\n\n\t\tfor (int i = 0;i < b.length;i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"int l = 0;",
"l",
"0",
"int[] a = new int[l];",
"a",
"new int[l]",
"l",
"int[] b = new int[l];",
"b",
"new int[l]",
"l",
"do {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl++;\n\t\t\ta = new int[l];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}\n\t\t\ta[l - 1] = x;\n\t\t\tb = new int[l];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}\n\t\t} while (true);",
"true",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl++;\n\t\t\ta = new int[l];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}\n\t\t\ta[l - 1] = x;\n\t\t\tb = new int[l];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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;",
"l++",
"l",
"a = new int[l]",
"a",
"new int[l]",
"l",
"for (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l - 1",
"i",
"l - 1",
"l",
"1",
"i++",
"i++",
"i",
"{\n\t\t\t\ta[i] = b[i];\n\t\t\t}",
"{\n\t\t\t\ta[i] = b[i];\n\t\t\t}",
"a[i] = b[i]",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"a[l - 1] = x",
"a[l - 1]",
"a",
"l - 1",
"l",
"1",
"x",
"b = new int[l]",
"b",
"new int[l]",
"l",
"for (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l",
"i",
"l",
"i++",
"i++",
"i",
"{\n\t\t\t\tb[i] = a[i];\n\t\t\t}",
"{\n\t\t\t\tb[i] = a[i];\n\t\t\t}",
"b[i] = a[i]",
"b[i]",
"b",
"i",
"a[i]",
"a",
"i",
"for (int i = 0;i < b.length;i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < b.length",
"i",
"b.length",
"b",
"b.length",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}",
"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",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tint l = 0;\n int[] a = new int[l];\n\t\tint[] b = new int[l];\n\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl++;\n\t\t\ta = new int[l];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}\n\t\t\ta[l - 1] = x;\n\t\t\tb = new int[l];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}\n\t\t} while (true);\n\n\t\tfor (int i = 0;i < b.length;i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}\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\tint l = 0;\n int[] a = new int[l];\n\t\tint[] b = new int[l];\n\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tl++;\n\t\t\ta = new int[l];\n\t\t\tfor (int i = 0; i < l - 1; i++) {\n\t\t\t\ta[i] = b[i];\n\t\t\t}\n\t\t\ta[l - 1] = x;\n\t\t\tb = new int[l];\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tb[i] = a[i];\n\t\t\t}\n\t\t} while (true);\n\n\t\tfor (int i = 0;i < b.length;i++) {\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + b[i]);\n\t\t}\n\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner sc = new java.util.Scanner(System.in);
int l = 0;
int[] a = new int[l];
int[] b = new int[l];
do {
int x = sc.nextInt();
if (x == 0) {
break;
}
l++;
a = new int[l];
for (int i = 0; i < l - 1; i++) {
a[i] = b[i];
}
a[l - 1] = x;
b = new int[l];
for (int i = 0; i < l; i++) {
b[i] = a[i];
}
} while (true);
for (int i = 0;i < b.length;i++) {
System.out.println("Case " + (i+1) + ": " + b[i]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
17,
41,
13,
17,
42,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
71,
8
],
[
71,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
42,
46
],
[
34,
47
],
[
47,
48
],
[
34,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
34,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
34,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
9,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint taisyo = Integer.parseInt(line);\n\t\tint counter = 1;\n\t\tboolean zero = true;\n\n\t\twhile (zero) {\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + taisyo);\n\t\t\tcounter++;\n\t\t\tline = br.readLine();\n\t\t\ttaisyo = Integer.parseInt(line);\n\t\t\tif (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint taisyo = Integer.parseInt(line);\n\t\tint counter = 1;\n\t\tboolean zero = true;\n\n\t\twhile (zero) {\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + taisyo);\n\t\t\tcounter++;\n\t\t\tline = br.readLine();\n\t\t\ttaisyo = Integer.parseInt(line);\n\t\t\tif (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint taisyo = Integer.parseInt(line);\n\t\tint counter = 1;\n\t\tboolean zero = true;\n\n\t\twhile (zero) {\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + taisyo);\n\t\t\tcounter++;\n\t\t\tline = br.readLine();\n\t\t\ttaisyo = Integer.parseInt(line);\n\t\t\tif (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint taisyo = Integer.parseInt(line);\n\t\tint counter = 1;\n\t\tboolean zero = true;\n\n\t\twhile (zero) {\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + taisyo);\n\t\t\tcounter++;\n\t\t\tline = br.readLine();\n\t\t\ttaisyo = Integer.parseInt(line);\n\t\t\tif (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}\n\t\t}\n\t}",
"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 taisyo = Integer.parseInt(line);",
"taisyo",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"int counter = 1;",
"counter",
"1",
"boolean zero = true;",
"zero",
"true",
"while (zero) {\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + taisyo);\n\t\t\tcounter++;\n\t\t\tline = br.readLine();\n\t\t\ttaisyo = Integer.parseInt(line);\n\t\t\tif (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}\n\t\t}",
"zero",
"{\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + taisyo);\n\t\t\tcounter++;\n\t\t\tline = br.readLine();\n\t\t\ttaisyo = Integer.parseInt(line);\n\t\t\tif (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}\n\t\t}",
"System.out.println(\"Case \" + counter + \": \" + taisyo)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + counter + \": \" + taisyo",
"\": \"",
"\"Case \" + counter + \": \" + taisyo",
"\"Case \"",
"counter",
"\": \"",
"taisyo",
"counter++",
"counter",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"taisyo = Integer.parseInt(line)",
"taisyo",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}",
"taisyo == 0",
"taisyo",
"0",
"{\n\t\t\t\tzero = false;\n\t\t\t}",
"zero = false",
"zero",
"false",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint taisyo = Integer.parseInt(line);\n\t\tint counter = 1;\n\t\tboolean zero = true;\n\n\t\twhile (zero) {\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + taisyo);\n\t\t\tcounter++;\n\t\t\tline = br.readLine();\n\t\t\ttaisyo = Integer.parseInt(line);\n\t\t\tif (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tint taisyo = Integer.parseInt(line);\n\t\tint counter = 1;\n\t\tboolean zero = true;\n\n\t\twhile (zero) {\n\t\t\tSystem.out.println(\"Case \" + counter + \": \" + taisyo);\n\t\t\tcounter++;\n\t\t\tline = br.readLine();\n\t\t\ttaisyo = Integer.parseInt(line);\n\t\t\tif (taisyo == 0) {\n\t\t\t\tzero = false;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
int taisyo = Integer.parseInt(line);
int counter = 1;
boolean zero = true;
while (zero) {
System.out.println("Case " + counter + ": " + taisyo);
counter++;
line = br.readLine();
taisyo = Integer.parseInt(line);
if (taisyo == 0) {
zero = false;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
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
],
[
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
],
[
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
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
37,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
46,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
46,
50
],
[
26,
51
],
[
51,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
12,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n int i = 1;\n while(true){\n str = br.readLine();\n if(str.equals(\"0\")){\n break;\n }//if\n System.out.println(\"Case \" + i + \": \" + str);\n i++;\n }//while\n br.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n int i = 1;\n while(true){\n str = br.readLine();\n if(str.equals(\"0\")){\n break;\n }//if\n System.out.println(\"Case \" + i + \": \" + str);\n i++;\n }//while\n br.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n int i = 1;\n while(true){\n str = br.readLine();\n if(str.equals(\"0\")){\n break;\n }//if\n System.out.println(\"Case \" + i + \": \" + str);\n i++;\n }//while\n br.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n int i = 1;\n while(true){\n str = br.readLine();\n if(str.equals(\"0\")){\n break;\n }//if\n System.out.println(\"Case \" + i + \": \" + str);\n i++;\n }//while\n br.close();\n }",
"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 str = br.readLine();\n if(str.equals(\"0\")){\n break;\n }//if\n System.out.println(\"Case \" + i + \": \" + str);\n i++;\n }//while",
"true",
"{\n str = br.readLine();\n if(str.equals(\"0\")){\n break;\n }//if\n System.out.println(\"Case \" + i + \": \" + str);\n i++;\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"if(str.equals(\"0\")){\n break;\n }//if",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"{\n break;\n }",
"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 public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n int i = 1;\n while(true){\n str = br.readLine();\n if(str.equals(\"0\")){\n break;\n }//if\n System.out.println(\"Case \" + i + \": \" + str);\n i++;\n }//while\n br.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str = \"\";\n int i = 1;\n while(true){\n str = br.readLine();\n if(str.equals(\"0\")){\n break;\n }//if\n System.out.println(\"Case \" + i + \": \" + str);\n i++;\n }//while\n br.close();\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String 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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
13,
40,
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
],
[
93,
14
],
[
93,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
17,
30
],
[
30,
31
],
[
30,
32
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
37,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
37,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
37,
56
],
[
56,
57
],
[
17,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
58,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
80,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
87,
89
],
[
15,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"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\t\tint a = 0;\n\t\tint n = 10000; //?????§????????????????????°\n\t\tint j = 0;\n\t\tArrayList<Integer> parse = new ArrayList<Integer>(); // int??????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(j != n){\n\t\t\ta = Integer.parseInt(br.readLine());\n\t\t\tif(a == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tparse.add(a);\n\t\t\t++j;\n\t\t}\n\n\t\tfor(int i = 1; i <= parse.size(); ++i){\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tint a = 0;\n\t\tint n = 10000; //?????§????????????????????°\n\t\tint j = 0;\n\t\tArrayList<Integer> parse = new ArrayList<Integer>(); // int??????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(j != n){\n\t\t\ta = Integer.parseInt(br.readLine());\n\t\t\tif(a == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tparse.add(a);\n\t\t\t++j;\n\t\t}\n\n\t\tfor(int i = 1; i <= parse.size(); ++i){\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-1));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tint a = 0;\n\t\tint n = 10000; //?????§????????????????????°\n\t\tint j = 0;\n\t\tArrayList<Integer> parse = new ArrayList<Integer>(); // int??????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(j != n){\n\t\t\ta = Integer.parseInt(br.readLine());\n\t\t\tif(a == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tparse.add(a);\n\t\t\t++j;\n\t\t}\n\n\t\tfor(int i = 1; i <= parse.size(); ++i){\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-1));\n\t\t}\n\t}",
"main",
"{\n\t\tint a = 0;\n\t\tint n = 10000; //?????§????????????????????°\n\t\tint j = 0;\n\t\tArrayList<Integer> parse = new ArrayList<Integer>(); // int??????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(j != n){\n\t\t\ta = Integer.parseInt(br.readLine());\n\t\t\tif(a == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tparse.add(a);\n\t\t\t++j;\n\t\t}\n\n\t\tfor(int i = 1; i <= parse.size(); ++i){\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-1));\n\t\t}\n\t}",
"int a = 0;",
"a",
"0",
"int n = 10000;",
"n",
"10000",
"int j = 0;",
"j",
"0",
"ArrayList<Integer> parse = new ArrayList<Integer>();",
"parse",
"new ArrayList<Integer>()",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(j != n){\n\t\t\ta = Integer.parseInt(br.readLine());\n\t\t\tif(a == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tparse.add(a);\n\t\t\t++j;\n\t\t}",
"j != n",
"j",
"n",
"{\n\t\t\ta = Integer.parseInt(br.readLine());\n\t\t\tif(a == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tparse.add(a);\n\t\t\t++j;\n\t\t}",
"a = Integer.parseInt(br.readLine())",
"a",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"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;",
"parse.add(a)",
"parse.add",
"parse",
"a",
"++j",
"j",
"for(int i = 1; i <= parse.size(); ++i){\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-1));\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= parse.size()",
"i",
"parse.size()",
"parse.size",
"parse",
"++i",
"++i",
"i",
"{\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-1));\n\t\t}",
"{\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-1));\n\t\t}",
"System.out.println(\"Case \" + (i) + \": \" + parse.get(i-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i) + \": \" + parse.get(i-1)",
"\": \"",
"\"Case \" + (i) + \": \" + parse.get(i-1)",
"\"Case \"",
"(i)",
"\": \"",
"parse.get(i-1)",
"parse.get",
"parse",
"i-1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tint a = 0;\n\t\tint n = 10000; //?????§????????????????????°\n\t\tint j = 0;\n\t\tArrayList<Integer> parse = new ArrayList<Integer>(); // int??????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(j != n){\n\t\t\ta = Integer.parseInt(br.readLine());\n\t\t\tif(a == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tparse.add(a);\n\t\t\t++j;\n\t\t}\n\n\t\tfor(int i = 1; i <= parse.size(); ++i){\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-1));\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tint a = 0;\n\t\tint n = 10000; //?????§????????????????????°\n\t\tint j = 0;\n\t\tArrayList<Integer> parse = new ArrayList<Integer>(); // int??????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(j != n){\n\t\t\ta = Integer.parseInt(br.readLine());\n\t\t\tif(a == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tparse.add(a);\n\t\t\t++j;\n\t\t}\n\n\t\tfor(int i = 1; i <= parse.size(); ++i){\n\t\tSystem.out.println(\"Case \" + (i) + \": \" + parse.get(i-1));\n\t\t}\n\t}\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{
int a = 0;
int n = 10000; //?????§????????????????????°
int j = 0;
ArrayList<Integer> parse = new ArrayList<Integer>(); // int??????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(j != n){
a = Integer.parseInt(br.readLine());
if(a == 0){
break;
}
parse.add(a);
++j;
}
for(int i = 1; i <= parse.size(); ++i){
System.out.println("Case " + (i) + ": " + parse.get(i-1));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
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
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
54,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
68,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
68,
72
],
[
54,
73
],
[
73,
74
],
[
9,
75
],
[
75,
76
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint y = 1;\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif(temp == 0)\n\t\t\t\tbreak;\n\t\t\tx.add(temp);\n\t\t}\n\t\t\t\n\t\tfor(i = 0; i < x.size(); i++){\t\n\t\t\t\n\t\t\tint val = x.get(i);\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + y + \": \" + val);\n\t\t\ty++;\n\t\t}\n\t\t\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint y = 1;\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif(temp == 0)\n\t\t\t\tbreak;\n\t\t\tx.add(temp);\n\t\t}\n\t\t\t\n\t\tfor(i = 0; i < x.size(); i++){\t\n\t\t\t\n\t\t\tint val = x.get(i);\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + y + \": \" + val);\n\t\t\ty++;\n\t\t}\n\t\t\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint y = 1;\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif(temp == 0)\n\t\t\t\tbreak;\n\t\t\tx.add(temp);\n\t\t}\n\t\t\t\n\t\tfor(i = 0; i < x.size(); i++){\t\n\t\t\t\n\t\t\tint val = x.get(i);\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + y + \": \" + val);\n\t\t\ty++;\n\t\t}\n\t\t\n\n\t}",
"main",
"{\n\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tint y = 1;\n\t\tint i;\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif(temp == 0)\n\t\t\t\tbreak;\n\t\t\tx.add(temp);\n\t\t}\n\t\t\t\n\t\tfor(i = 0; i < x.size(); i++){\t\n\t\t\t\n\t\t\tint val = x.get(i);\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + y + \": \" + val);\n\t\t\ty++;\n\t\t}\n\t\t\n\n\t}",
"ArrayList<Integer> x = new ArrayList<Integer>();",
"x",
"new ArrayList<Integer>()",
"int y = 1;",
"y",
"1",
"int i;",
"i",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif(temp == 0)\n\t\t\t\tbreak;\n\t\t\tx.add(temp);\n\t\t}",
"true",
"{\n\t\t\tint temp = sc.nextInt();\n\t\t\tif(temp == 0)\n\t\t\t\tbreak;\n\t\t\tx.add(temp);\n\t\t}",
"int temp = sc.nextInt();",
"temp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(temp == 0)\n\t\t\t\tbreak;",
"temp == 0",
"temp",
"0",
"break;",
"x.add(temp)",
"x.add",
"x",
"temp",
"for(i = 0; i < x.size(); i++){\t\n\t\t\t\n\t\t\tint val = x.get(i);\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + y + \": \" + val);\n\t\t\ty++;\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < x.size()",
"i",
"x.size()",
"x.size",
"x",
"i++",
"i++",
"i",
"{\t\n\t\t\t\n\t\t\tint val = x.get(i);\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + y + \": \" + val);\n\t\t\ty++;\n\t\t}",
"{\t\n\t\t\t\n\t\t\tint val = x.get(i);\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + y + \": \" + val);\n\t\t\ty++;\n\t\t}",
"int val = x.get(i);",
"val",
"x.get(i)",
"x.get",
"x",
"i",
"System.out.println(\"Case \" + y + \": \" + val)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + y + \": \" + val",
"\": \"",
"\"Case \" + y + \": \" + val",
"\"Case \"",
"y",
"\": \"",
"val",
"y++",
"y",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.ArrayList;
class Main {
public static void main(String[] args) {
ArrayList<Integer> x = new ArrayList<Integer>();
int y = 1;
int i;
Scanner sc = new Scanner(System.in);
while(true){
int temp = sc.nextInt();
if(temp == 0)
break;
x.add(temp);
}
for(i = 0; i < x.size(); i++){
int val = x.get(i);
System.out.println("Case " + y + ": " + val);
y++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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,
0,
13,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
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
],
[
36,
49
],
[
49,
50
],
[
36,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
36,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
12,
62
],
[
62,
63
]
] | [
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.* ;\n \nclass Main{\n public static void main(String[] args)throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // ??\\?????????\n String str = br.readLine(); //???????????????\n int r = Integer.parseInt(str); //???????????°?????????\n \t int i = 1;\n \twhile ( r != 0 ) { \n \t\tSystem.out.println( \"Case \" + i + \": \" + r);\n \t\ti++;\n str = br.readLine(); //???????????????\n r = Integer.parseInt(str); //???????????°?????????\n \t\n \t}\t\n \t\t\n \t}\n }",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.* ;",
"io.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // ??\\?????????\n String str = br.readLine(); //???????????????\n int r = Integer.parseInt(str); //???????????°?????????\n \t int i = 1;\n \twhile ( r != 0 ) { \n \t\tSystem.out.println( \"Case \" + i + \": \" + r);\n \t\ti++;\n str = br.readLine(); //???????????????\n r = Integer.parseInt(str); //???????????°?????????\n \t\n \t}\t\n \t\t\n \t}\n }",
"Main",
"public static void main(String[] args)throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // ??\\?????????\n String str = br.readLine(); //???????????????\n int r = Integer.parseInt(str); //???????????°?????????\n \t int i = 1;\n \twhile ( r != 0 ) { \n \t\tSystem.out.println( \"Case \" + i + \": \" + r);\n \t\ti++;\n str = br.readLine(); //???????????????\n r = Integer.parseInt(str); //???????????°?????????\n \t\n \t}\t\n \t\t\n \t}",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // ??\\?????????\n String str = br.readLine(); //???????????????\n int r = Integer.parseInt(str); //???????????°?????????\n \t int i = 1;\n \twhile ( r != 0 ) { \n \t\tSystem.out.println( \"Case \" + i + \": \" + r);\n \t\ti++;\n str = br.readLine(); //???????????????\n r = Integer.parseInt(str); //???????????°?????????\n \t\n \t}\t\n \t\t\n \t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int r = Integer.parseInt(str);",
"r",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"int i = 1;",
"i",
"1",
"while ( r != 0 ) { \n \t\tSystem.out.println( \"Case \" + i + \": \" + r);\n \t\ti++;\n str = br.readLine(); //???????????????\n r = Integer.parseInt(str); //???????????°?????????\n \t\n \t}",
"r != 0",
"r",
"0",
"{ \n \t\tSystem.out.println( \"Case \" + i + \": \" + r);\n \t\ti++;\n str = br.readLine(); //???????????????\n r = Integer.parseInt(str); //???????????°?????????\n \t\n \t}",
"System.out.println( \"Case \" + i + \": \" + r)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + r",
"\": \"",
"\"Case \" + i + \": \" + r",
"\"Case \"",
"i",
"\": \"",
"r",
"i++",
"i",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"r = Integer.parseInt(str)",
"r",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"String[] args",
"args"
] | import java.io.IOException;
import java.io.InputStreamReader;
import java.io.* ;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // ??\?????????
String str = br.readLine(); //???????????????
int r = Integer.parseInt(str); //???????????°?????????
int i = 1;
while ( r != 0 ) {
System.out.println( "Case " + i + ": " + r);
i++;
str = br.readLine(); //???????????????
r = Integer.parseInt(str); //???????????°?????????
}
}
} |
[
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,
2,
2,
2,
17,
40,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
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
],
[
33,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
32,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x;\n int i = 0;\n while ((x = scanner.nextInt()) != 0) {\n System.out.println(\"Case \"+(++i)+\": \"+x);\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 int x;\n int i = 0;\n while ((x = scanner.nextInt()) != 0) {\n System.out.println(\"Case \"+(++i)+\": \"+x);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x;\n int i = 0;\n while ((x = scanner.nextInt()) != 0) {\n System.out.println(\"Case \"+(++i)+\": \"+x);\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int x;\n int i = 0;\n while ((x = scanner.nextInt()) != 0) {\n System.out.println(\"Case \"+(++i)+\": \"+x);\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int x;",
"x",
"int i = 0;",
"i",
"0",
"while ((x = scanner.nextInt()) != 0) {\n System.out.println(\"Case \"+(++i)+\": \"+x);\n }",
"(x = scanner.nextInt()) != 0",
"(x = scanner.nextInt())",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"0",
"{\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)",
"i",
"\": \"",
"x",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x;\n int i = 0;\n while ((x = scanner.nextInt()) != 0) {\n System.out.println(\"Case \"+(++i)+\": \"+x);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x;\n int i = 0;\n while ((x = scanner.nextInt()) != 0) {\n System.out.println(\"Case \"+(++i)+\": \"+x);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int x;
int i = 0;
while ((x = scanner.nextInt()) != 0) {
System.out.println("Case "+(++i)+": "+x);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
4,
18,
13,
41,
13,
17,
2,
13,
17,
1,
0,
13,
4,
18,
13,
40,
13,
30,
30,
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
],
[
16,
17
],
[
17,
18
],
[
13,
19
],
[
19,
20
],
[
19,
21
],
[
12,
22
],
[
22,
23
],
[
22,
24
],
[
12,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
12,
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
]
] | [
"import java.util.Scanner;\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int x = sc.nextInt(), i = 1; x != 0; x = sc.nextInt(), i++) {\n System.out.println(\"Case \" + i + \": \" + x);\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 for (int x = sc.nextInt(), i = 1; x != 0; x = sc.nextInt(), i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int x = sc.nextInt(), i = 1; x != 0; x = sc.nextInt(), i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n for (int x = sc.nextInt(), i = 1; x != 0; x = sc.nextInt(), i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int x = sc.nextInt(), i = 1; x != 0; x = sc.nextInt(), i++) {\n System.out.println(\"Case \" + i + \": \" + x);\n }",
"int x = sc.nextInt(), i = 1;",
"int x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"i = 1;",
"i",
"1",
"x != 0",
"x",
"0",
"x = sc.nextInt(), i++",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int x = sc.nextInt(), i = 1; x != 0; x = sc.nextInt(), i++) {
System.out.println("Case " + i + ": " + x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
60,
20
],
[
60,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
50,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
50,
54
],
[
32,
55
],
[
55,
56
],
[
21,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.io.File;\nimport java.io.IOException;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Deque;\nimport java.util.Scanner;\n \n/*\n * メモ\n * Scanner:nextは空白か改行までの単語\n * String[][] c = new String[h][w];\n * TemplateMain,\"template_input.txt\"\n * 0.5 == 1.0/2\n * Integer.valueOf(char)はダメ、(String)\n */\n \npublic class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in = sc.nextInt();\n\t\t\tif(in == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + in);\n\t\t\ti++;\n\t\t}\n\t}\n}",
"import java.io.File;",
"File",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in = sc.nextInt();\n\t\t\tif(in == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + in);\n\t\t\ti++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in = sc.nextInt();\n\t\t\tif(in == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + in);\n\t\t\ti++;\n\t\t}\n\t}",
"main",
"{\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in = sc.nextInt();\n\t\t\tif(in == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + in);\n\t\t\ti++;\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(true){\n\t\t\tint in = sc.nextInt();\n\t\t\tif(in == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + in);\n\t\t\ti++;\n\t\t}",
"true",
"{\n\t\t\tint in = sc.nextInt();\n\t\t\tif(in == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + in);\n\t\t\ti++;\n\t\t}",
"int in = sc.nextInt();",
"in",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(in == 0) break;",
"in == 0",
"in",
"0",
"break;",
"System.out.println(\"Case \" + i + \": \" + in)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + in",
"\": \"",
"\"Case \" + i + \": \" + in",
"\"Case \"",
"i",
"\": \"",
"in",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in = sc.nextInt();\n\t\t\tif(in == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + in);\n\t\t\ti++;\n\t\t}\n\t}\n}",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in = sc.nextInt();\n\t\t\tif(in == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + in);\n\t\t\ti++;\n\t\t}\n\t}\n}",
"Main"
] | import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;
/*
* メモ
* Scanner:nextは空白か改行までの単語
* String[][] c = new String[h][w];
* TemplateMain,"template_input.txt"
* 0.5 == 1.0/2
* Integer.valueOf(char)はダメ、(String)
*/
public class Main {
public static void main(String[] args) throws IOException {
//File file = new File("input.txt");
//Scanner sc = new Scanner(file);
Scanner sc = new Scanner(System.in);
int i = 1;
while(true){
int in = sc.nextInt();
if(in == 0) break;
System.out.println("Case " + i + ": " + in);
i++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
13,
13,
13,
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
],
[
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
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
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
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n //try {\n // File inputFile = new File(\"src/ITP1/dataSetPTC.txt\");\n Scanner scan = new Scanner(System.in);\n String caseStr = \"Case \";\n String colonStr = \": \";\n int line = 1;\n while (scan.hasNext()) {\n int inputNum = scan.nextInt();\n if(inputNum == 0) {\n break;\n }\n System.out.println(caseStr + line + colonStr + inputNum);\n line ++;\n }\n //} catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n //try {\n // File inputFile = new File(\"src/ITP1/dataSetPTC.txt\");\n Scanner scan = new Scanner(System.in);\n String caseStr = \"Case \";\n String colonStr = \": \";\n int line = 1;\n while (scan.hasNext()) {\n int inputNum = scan.nextInt();\n if(inputNum == 0) {\n break;\n }\n System.out.println(caseStr + line + colonStr + inputNum);\n line ++;\n }\n //} catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n }\n}",
"Main",
"public static void main(String[] args) {\n //try {\n // File inputFile = new File(\"src/ITP1/dataSetPTC.txt\");\n Scanner scan = new Scanner(System.in);\n String caseStr = \"Case \";\n String colonStr = \": \";\n int line = 1;\n while (scan.hasNext()) {\n int inputNum = scan.nextInt();\n if(inputNum == 0) {\n break;\n }\n System.out.println(caseStr + line + colonStr + inputNum);\n line ++;\n }\n //} catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n }",
"main",
"{\n //try {\n // File inputFile = new File(\"src/ITP1/dataSetPTC.txt\");\n Scanner scan = new Scanner(System.in);\n String caseStr = \"Case \";\n String colonStr = \": \";\n int line = 1;\n while (scan.hasNext()) {\n int inputNum = scan.nextInt();\n if(inputNum == 0) {\n break;\n }\n System.out.println(caseStr + line + colonStr + inputNum);\n line ++;\n }\n //} catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String caseStr = \"Case \";",
"caseStr",
"\"Case \"",
"String colonStr = \": \";",
"colonStr",
"\": \"",
"int line = 1;",
"line",
"1",
"while (scan.hasNext()) {\n int inputNum = scan.nextInt();\n if(inputNum == 0) {\n break;\n }\n System.out.println(caseStr + line + colonStr + inputNum);\n line ++;\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n int inputNum = scan.nextInt();\n if(inputNum == 0) {\n break;\n }\n System.out.println(caseStr + line + colonStr + inputNum);\n line ++;\n }",
"int inputNum = scan.nextInt();",
"inputNum",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(inputNum == 0) {\n break;\n }",
"inputNum == 0",
"inputNum",
"0",
"{\n break;\n }",
"break;",
"System.out.println(caseStr + line + colonStr + inputNum)",
"System.out.println",
"System.out",
"System",
"System.out",
"caseStr + line + colonStr + inputNum",
"colonStr",
"caseStr + line + colonStr + inputNum",
"caseStr",
"line",
"colonStr",
"inputNum",
"line ++",
"line",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n //try {\n // File inputFile = new File(\"src/ITP1/dataSetPTC.txt\");\n Scanner scan = new Scanner(System.in);\n String caseStr = \"Case \";\n String colonStr = \": \";\n int line = 1;\n while (scan.hasNext()) {\n int inputNum = scan.nextInt();\n if(inputNum == 0) {\n break;\n }\n System.out.println(caseStr + line + colonStr + inputNum);\n line ++;\n }\n //} catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n //try {\n // File inputFile = new File(\"src/ITP1/dataSetPTC.txt\");\n Scanner scan = new Scanner(System.in);\n String caseStr = \"Case \";\n String colonStr = \": \";\n int line = 1;\n while (scan.hasNext()) {\n int inputNum = scan.nextInt();\n if(inputNum == 0) {\n break;\n }\n System.out.println(caseStr + line + colonStr + inputNum);\n line ++;\n }\n //} catch (FileNotFoundException e) {\n // e.printStackTrace();\n // }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
//try {
// File inputFile = new File("src/ITP1/dataSetPTC.txt");
Scanner scan = new Scanner(System.in);
String caseStr = "Case ";
String colonStr = ": ";
int line = 1;
while (scan.hasNext()) {
int inputNum = scan.nextInt();
if(inputNum == 0) {
break;
}
System.out.println(caseStr + line + colonStr + inputNum);
line ++;
}
//} catch (FileNotFoundException e) {
// e.printStackTrace();
// }
}
} |
[
7,
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,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
40,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
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
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
23,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
23,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
23,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
23,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
23,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
23,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
11,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
9,
78
],
[
78,
79
]
] | [
"import java.io.*;\nimport java.util.*;\nclass Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int i=1;\n while(true){\n int x = Integer.parseInt(br.readLine());\n if(x == 0) break;\n sb.append(\"Case\");\n sb.append(\" \");\n sb.append(Integer.toString(i++));\n sb.append(\":\");\n sb.append(\" \");\n sb.append(Integer.toString(x));\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int i=1;\n while(true){\n int x = Integer.parseInt(br.readLine());\n if(x == 0) break;\n sb.append(\"Case\");\n sb.append(\" \");\n sb.append(Integer.toString(i++));\n sb.append(\":\");\n sb.append(\" \");\n sb.append(Integer.toString(x));\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int i=1;\n while(true){\n int x = Integer.parseInt(br.readLine());\n if(x == 0) break;\n sb.append(\"Case\");\n sb.append(\" \");\n sb.append(Integer.toString(i++));\n sb.append(\":\");\n sb.append(\" \");\n sb.append(Integer.toString(x));\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int i=1;\n while(true){\n int x = Integer.parseInt(br.readLine());\n if(x == 0) break;\n sb.append(\"Case\");\n sb.append(\" \");\n sb.append(Integer.toString(i++));\n sb.append(\":\");\n sb.append(\" \");\n sb.append(Integer.toString(x));\n sb.append(\"\\n\");\n }\n System.out.print(sb);\n }",
"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 int x = Integer.parseInt(br.readLine());\n if(x == 0) break;\n sb.append(\"Case\");\n sb.append(\" \");\n sb.append(Integer.toString(i++));\n sb.append(\":\");\n sb.append(\" \");\n sb.append(Integer.toString(x));\n sb.append(\"\\n\");\n }",
"true",
"{\n int x = Integer.parseInt(br.readLine());\n if(x == 0) break;\n sb.append(\"Case\");\n sb.append(\" \");\n sb.append(Integer.toString(i++));\n sb.append(\":\");\n sb.append(\" \");\n sb.append(Integer.toString(x));\n sb.append(\"\\n\");\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\")",
"sb.append",
"sb",
"\"Case\"",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"sb.append(Integer.toString(i++))",
"sb.append",
"sb",
"Integer.toString(i++)",
"Integer.toString",
"Integer",
"i++",
"i",
"sb.append(\":\")",
"sb.append",
"sb",
"\":\"",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"sb.append(Integer.toString(x))",
"sb.append",
"sb",
"Integer.toString(x)",
"Integer.toString",
"Integer",
"x",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String args[]",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String args[])throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int i=1;
while(true){
int x = Integer.parseInt(br.readLine());
if(x == 0) break;
sb.append("Case");
sb.append(" ");
sb.append(Integer.toString(i++));
sb.append(":");
sb.append(" ");
sb.append(Integer.toString(x));
sb.append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
13,
0,
13,
2,
13,
17,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
6,
12
],
[
12,
13
],
[
59,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
16,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
46,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
43,
51
],
[
46,
52
],
[
36,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Scanner;\n\n/**\n * Created by labuser on 2016/04/19.\n */\npublic class Main {\n public static void main(String[] args) {\n new Main().run();\n }\n\n\n private void run() {\n\n int i = 1;\n\n Scanner sc = new Scanner(System.in);\n\n while (true) {\n int a = sc.nextInt();\n if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }\n\n\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n new Main().run();\n }\n\n\n private void run() {\n\n int i = 1;\n\n Scanner sc = new Scanner(System.in);\n\n while (true) {\n int a = sc.nextInt();\n if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }\n\n\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private void run() {\n\n int i = 1;\n\n Scanner sc = new Scanner(System.in);\n\n while (true) {\n int a = sc.nextInt();\n if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }\n\n\n }\n }",
"run",
"{\n\n int i = 1;\n\n Scanner sc = new Scanner(System.in);\n\n while (true) {\n int a = sc.nextInt();\n if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }\n\n\n }\n }",
"int i = 1;",
"i",
"1",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n int a = sc.nextInt();\n if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }\n\n\n }",
"true",
"{\n int a = sc.nextInt();\n if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }\n\n\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }",
"a == 0",
"a",
"0",
"break;",
"{\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }",
"System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\" + \" \" + i + \":\" + \" \" + a",
"\" \"",
"\":\"",
"i",
"\"Case\" + \" \" + i + \":\" + \" \" + a",
"\"Case\"",
"\" \"",
"i",
"\":\"",
"\" \"",
"a",
"i = i + 1",
"i",
"i + 1",
"i",
"1",
"public class Main {\n public static void main(String[] args) {\n new Main().run();\n }\n\n\n private void run() {\n\n int i = 1;\n\n Scanner sc = new Scanner(System.in);\n\n while (true) {\n int a = sc.nextInt();\n if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }\n\n\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n new Main().run();\n }\n\n\n private void run() {\n\n int i = 1;\n\n Scanner sc = new Scanner(System.in);\n\n while (true) {\n int a = sc.nextInt();\n if (a == 0) break;\n else {\n System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + a);\n i = i + 1;\n }\n\n\n }\n }\n}",
"Main"
] | import java.util.Scanner;
/**
* Created by labuser on 2016/04/19.
*/
public class Main {
public static void main(String[] args) {
new Main().run();
}
private void run() {
int i = 1;
Scanner sc = new Scanner(System.in);
while (true) {
int a = sc.nextInt();
if (a == 0) break;
else {
System.out.println("Case" + " " + i + ":" + " " + a);
i = 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,
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
],
[
53,
5
],
[
53,
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
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"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\t\t\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t\t\n\t\tsc.close();\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\t\t\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t\t\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\t\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int i = 1; i <= 10000; i++) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\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",
"{\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}",
"{\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\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 \" + i + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + n",
"\": \"",
"\"Case \" + i + \": \" + n",
"\"Case \"",
"i",
"\": \"",
"n",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i <= 10000; i++) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t}\n\t\t\n\t\tsc.close();\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++) {
int n = sc.nextInt();
if (n == 0) break;
System.out.println("Case " + i + ": " + n);
}
sc.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,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
35,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
34,
39
],
[
35,
40
],
[
27,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
9,
46
],
[
46,
47
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n\tScanner sc = new Scanner(System.in);\n\n\tint n = sc.nextInt();\n\tint i = 1;\n\twhile (n != 0) {\n\t System.out.println(\"Case \" + i++ + \": \" + n);\n\t n = sc.nextInt();\n\t}\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String[] args)\n {\n\tScanner sc = new Scanner(System.in);\n\n\tint n = sc.nextInt();\n\tint i = 1;\n\twhile (n != 0) {\n\t System.out.println(\"Case \" + i++ + \": \" + n);\n\t n = sc.nextInt();\n\t}\n }\n}",
"Main",
"public static void main(String[] args)\n {\n\tScanner sc = new Scanner(System.in);\n\n\tint n = sc.nextInt();\n\tint i = 1;\n\twhile (n != 0) {\n\t System.out.println(\"Case \" + i++ + \": \" + n);\n\t n = sc.nextInt();\n\t}\n }",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\n\tint n = sc.nextInt();\n\tint i = 1;\n\twhile (n != 0) {\n\t System.out.println(\"Case \" + i++ + \": \" + n);\n\t n = sc.nextInt();\n\t}\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int i = 1;",
"i",
"1",
"while (n != 0) {\n\t System.out.println(\"Case \" + i++ + \": \" + n);\n\t n = sc.nextInt();\n\t}",
"n != 0",
"n",
"0",
"{\n\t System.out.println(\"Case \" + i++ + \": \" + n);\n\t n = sc.nextInt();\n\t}",
"System.out.println(\"Case \" + i++ + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i++ + \": \" + n",
"\": \"",
"\"Case \" + i++ + \": \" + n",
"\"Case \"",
"i++",
"i",
"\": \"",
"n",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int i = 1;
while (n != 0) {
System.out.println("Case " + i++ + ": " + n);
n = sc.nextInt();
}
}
} |
[
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,
14,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
14,
2,
13,
17,
30,
4,
18,
13,
3,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
38,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
38,
42
],
[
27,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
47,
51
],
[
6,
52
],
[
52,
53
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tfor(int i=1;;i++){\n\t\t\t\tint n = scan.nextInt();\n\t\t\t\tif(n != 0)\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t\telse if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tfor(int i=1;;i++){\n\t\t\t\tint n = scan.nextInt();\n\t\t\t\tif(n != 0)\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t\telse if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tfor(int i=1;;i++){\n\t\t\t\tint n = scan.nextInt();\n\t\t\t\tif(n != 0)\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t\telse if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t\tfor(int i=1;;i++){\n\t\t\t\tint n = scan.nextInt();\n\t\t\t\tif(n != 0)\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t\telse if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=1;;i++){\n\t\t\t\tint n = scan.nextInt();\n\t\t\t\tif(n != 0)\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t\telse if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\t\tint n = scan.nextInt();\n\t\t\t\tif(n != 0)\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t\telse if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tint n = scan.nextInt();\n\t\t\t\tif(n != 0)\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t\telse if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"int n = scan.nextInt();",
"n",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(n != 0)\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t\telse if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"n != 0",
"n",
"0",
"System.out.println(\"Case \" + i + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + n",
"\": \"",
"\"Case \" + i + \": \" + n",
"\"Case \"",
"i",
"\": \"",
"n",
"if(n == 0){\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"n == 0",
"n",
"0",
"{\n\t\t\t\t\tscan.close();\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"break;",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for(int i=1;;i++){
int n = scan.nextInt();
if(n != 0)
System.out.println("Case " + i + ": " + n);
else if(n == 0){
scan.close();
break;
}
}
}
} |
[
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,
40,
13,
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,
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
],
[
79,
5
],
[
79,
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
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
31,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
31,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
57,
63
],
[
55,
64
],
[
53,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
51,
69
],
[
19,
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{\npublic static void main(String[] args){\ntry{\nBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb = new StringBuilder();\n\tint i = 0;\n\twhile(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}\n\t\n\tSystem.out.print(sb);\n}catch(IOException e){\nSystem.out.println(e);\n}\n}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\npublic static void main(String[] args){\ntry{\nBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb = new StringBuilder();\n\tint i = 0;\n\twhile(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}\n\t\n\tSystem.out.print(sb);\n}catch(IOException e){\nSystem.out.println(e);\n}\n}\n}",
"Main",
"public static void main(String[] args){\ntry{\nBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb = new StringBuilder();\n\tint i = 0;\n\twhile(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}\n\t\n\tSystem.out.print(sb);\n}catch(IOException e){\nSystem.out.println(e);\n}\n}",
"main",
"{\ntry{\nBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb = new StringBuilder();\n\tint i = 0;\n\twhile(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}\n\t\n\tSystem.out.print(sb);\n}catch(IOException e){\nSystem.out.println(e);\n}\n}",
"try{\nBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb = new StringBuilder();\n\tint i = 0;\n\twhile(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}\n\t\n\tSystem.out.print(sb);\n}catch(IOException e){\nSystem.out.println(e);\n}",
"catch(IOException e){\nSystem.out.println(e);\n}",
"IOException e",
"{\nSystem.out.println(e);\n}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\nBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb = new StringBuilder();\n\tint i = 0;\n\twhile(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}\n\t\n\tSystem.out.print(sb);\n}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int i = 0;",
"i",
"0",
"while(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}",
"true",
"{\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}",
"i++",
"i",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int x = Integer.parseInt(str);",
"x",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if(x == 0){\n\t\tbreak;\n\t\t}",
"x == 0",
"x",
"0",
"{\n\t\tbreak;\n\t\t}",
"break;",
"sb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\")",
"sb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append",
"sb.append(\"Case \").append(i).append(\": \").append(Integer.toString(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",
"\": \"",
"Integer.toString(x)",
"Integer.toString",
"Integer",
"x",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args){\ntry{\nBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb = new StringBuilder();\n\tint i = 0;\n\twhile(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}\n\t\n\tSystem.out.print(sb);\n}catch(IOException e){\nSystem.out.println(e);\n}\n}\n}",
"public class Main{\npublic static void main(String[] args){\ntry{\nBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\nStringBuilder sb = new StringBuilder();\n\tint i = 0;\n\twhile(true){\n\ti++;\n\tString str = br.readLine();\n\tint x = Integer.parseInt(str);\n\t\n\t\tif(x == 0){\n\t\tbreak;\n\t\t}\n\n\tsb.append(\"Case \").append(i).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t}\n\t\n\tSystem.out.print(sb);\n}catch(IOException e){\nSystem.out.println(e);\n}\n}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args){
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int i = 0;
while(true){
i++;
String str = br.readLine();
int x = Integer.parseInt(str);
if(x == 0){
break;
}
sb.append("Case ").append(i).append(": ").append(Integer.toString(x)).append("\n");
}
System.out.print(sb);
}catch(IOException e){
System.out.println(e);
}
}
} |
[
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,
13,
17,
13,
40,
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
],
[
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
],
[
38,
42
],
[
39,
43
],
[
19,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint counter = 1;\n\t\twhile (sc.hasNext()) {\n\t\t\tString s1 = sc.next();\n\t\t\tif (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+counter+\": \"+s1);\n\t\t\tcounter++;\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint counter = 1;\n\t\twhile (sc.hasNext()) {\n\t\t\tString s1 = sc.next();\n\t\t\tif (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+counter+\": \"+s1);\n\t\t\tcounter++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint counter = 1;\n\t\twhile (sc.hasNext()) {\n\t\t\tString s1 = sc.next();\n\t\t\tif (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+counter+\": \"+s1);\n\t\t\tcounter++;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint counter = 1;\n\t\twhile (sc.hasNext()) {\n\t\t\tString s1 = sc.next();\n\t\t\tif (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+counter+\": \"+s1);\n\t\t\tcounter++;\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int counter = 1;",
"counter",
"1",
"while (sc.hasNext()) {\n\t\t\tString s1 = sc.next();\n\t\t\tif (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+counter+\": \"+s1);\n\t\t\tcounter++;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString s1 = sc.next();\n\t\t\tif (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+counter+\": \"+s1);\n\t\t\tcounter++;\n\t\t}",
"String s1 = sc.next();",
"s1",
"sc.next()",
"sc.next",
"sc",
"if (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"s1.equals(\"0\")",
"s1.equals",
"s1",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \"+counter+\": \"+s1)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+counter+\": \"+s1",
"\": \"",
"\"Case \"+counter+\": \"+s1",
"\"Case \"",
"counter",
"\": \"",
"s1",
"counter++",
"counter",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint counter = 1;\n\t\twhile (sc.hasNext()) {\n\t\t\tString s1 = sc.next();\n\t\t\tif (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+counter+\": \"+s1);\n\t\t\tcounter++;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint counter = 1;\n\t\twhile (sc.hasNext()) {\n\t\t\tString s1 = sc.next();\n\t\t\tif (s1.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+counter+\": \"+s1);\n\t\t\tcounter++;\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int counter = 1;
while (sc.hasNext()) {
String s1 = sc.next();
if (s1.equals("0")) {
break;
}
System.out.println("Case "+counter+": "+s1);
counter++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
0,
13,
20,
17,
41,
13,
20,
11,
1,
41,
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
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
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
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
30,
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
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
] | [
"import java.util.Scanner;\npublic class Main{\npublic static void main(String[] args) {\nint[] X;\nint n=0;\nX=new int[10001];\nScanner sc = new Scanner(System.in);\nfor (int i = 1; ; i++) {\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\npublic static void main(String[] args) {\nint[] X;\nint n=0;\nX=new int[10001];\nScanner sc = new Scanner(System.in);\nfor (int i = 1; ; i++) {\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}\n}\n}",
"Main",
"public static void main(String[] args) {\nint[] X;\nint n=0;\nX=new int[10001];\nScanner sc = new Scanner(System.in);\nfor (int i = 1; ; i++) {\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}\n}",
"main",
"{\nint[] X;\nint n=0;\nX=new int[10001];\nScanner sc = new Scanner(System.in);\nfor (int i = 1; ; i++) {\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}\n}",
"int[] X;",
"X",
"int n=0;",
"n",
"0",
"X=new int[10001]",
"X",
"new int[10001]",
"10001",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int i = 1; ; i++) {\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}",
"{\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args) {\nint[] X;\nint n=0;\nX=new int[10001];\nScanner sc = new Scanner(System.in);\nfor (int i = 1; ; i++) {\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}\n}\n}",
"public class Main{\npublic static void main(String[] args) {\nint[] X;\nint n=0;\nX=new int[10001];\nScanner sc = new Scanner(System.in);\nfor (int i = 1; ; i++) {\nint x = sc.nextInt();\nif(x==0)break;\nSystem.out.println(\"Case \"+i+\": \"+x);\n}\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
int[] X;
int n=0;
X=new int[10001];
Scanner sc = new Scanner(System.in);
for (int i = 1; ; i++) {
int x = sc.nextInt();
if(x==0)break;
System.out.println("Case "+i+": "+x);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
53,
8
],
[
53,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
15,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
25,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
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
],
[
31,
48
],
[
48,
49
],
[
9,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.*;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(int i=1;true;i++){\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }\n\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(int i=1;true;i++){\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }\n\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(int i=1;true;i++){\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n for(int i=1;true;i++){\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=1;true;i++){\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }",
"int i=1;",
"int i=1;",
"i",
"1",
"true",
"i++",
"i++",
"i",
"{\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }",
"{\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }",
"x!=0",
"x",
"0",
"{ \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",
"{\n break;\n }",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(int i=1;true;i++){\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }\n\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(int i=1;true;i++){\n int x = sc.nextInt();\n if(x!=0){ \n System.out.println(\"Case \"+i+\": \"+x);\n }else{\n break;\n }\n \n }\n\n\n }\n}",
"Main"
] | import java.util.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
for(int i=1;true;i++){
int x = sc.nextInt();
if(x!=0){
System.out.println("Case "+i+": "+x);
}else{
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
30,
0,
18,
13,
13,
13,
40,
13,
11,
1,
41,
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
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
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
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
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
],
[
65,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint data[]=new int[10000];\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\n\t\t\tif(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(\"Case \"+(j+1)+\": \"+data[j]);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint data[]=new int[10000];\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\n\t\t\tif(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(\"Case \"+(j+1)+\": \"+data[j]);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint data[]=new int[10000];\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\n\t\t\tif(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(\"Case \"+(j+1)+\": \"+data[j]);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint data[]=new int[10000];\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\n\t\t\tif(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(\"Case \"+(j+1)+\": \"+data[j]);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=0;",
"i",
"0",
"int data[]=new int[10000];",
"data",
"new int[10000]",
"10000",
"while(true){\n\t\t\tint x=sc.nextInt();\n\n\t\t\tif(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint x=sc.nextInt();\n\n\t\t\tif(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}",
"x==0",
"x",
"0",
"break;",
"{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}",
"data[i]=x",
"data[i]",
"data",
"i",
"x",
"i++",
"i",
"for(int j=0;j<i;j++)\tSystem.out.println(\"Case \"+(j+1)+\": \"+data[j]);",
"int j=0;",
"int j=0;",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"System.out.println(\"Case \"+(j+1)+\": \"+data[j]);",
"System.out.println(\"Case \"+(j+1)+\": \"+data[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(j+1)+\": \"+data[j]",
"\": \"",
"\"Case \"+(j+1)+\": \"+data[j]",
"\"Case \"",
"(j+1)",
"j",
"1",
"\": \"",
"data[j]",
"data",
"j",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint data[]=new int[10000];\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\n\t\t\tif(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(\"Case \"+(j+1)+\": \"+data[j]);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint data[]=new int[10000];\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\n\t\t\tif(x==0)\tbreak;\n\t\t\telse{\n\t\t\t\tdata[i]=x;\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(\"Case \"+(j+1)+\": \"+data[j]);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int i=0;
int data[]=new int[10000];
while(true){
int x=sc.nextInt();
if(x==0) break;
else{
data[i]=x;
i++;
}
}
for(int j=0;j<i;j++) System.out.println("Case "+(j+1)+": "+data[j]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
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,
2,
13,
17,
17,
4,
18,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
77,
8
],
[
77,
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
],
[
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
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
40,
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
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
9,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> caseNum = new ArrayList<Integer>();\n\t\tint num;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tnum=sc.nextInt();\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(num==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°?????????????????????\n\t\t\tcaseNum.add(num);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < caseNum.size(); i++) {\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> caseNum = new ArrayList<Integer>();\n\t\tint num;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tnum=sc.nextInt();\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(num==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°?????????????????????\n\t\t\tcaseNum.add(num);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < caseNum.size(); i++) {\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tArrayList<Integer> caseNum = new ArrayList<Integer>();\n\t\tint num;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tnum=sc.nextInt();\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(num==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°?????????????????????\n\t\t\tcaseNum.add(num);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < caseNum.size(); i++) {\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}\n\t}",
"main",
"{\n\t\tArrayList<Integer> caseNum = new ArrayList<Integer>();\n\t\tint num;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tnum=sc.nextInt();\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(num==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°?????????????????????\n\t\t\tcaseNum.add(num);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < caseNum.size(); i++) {\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}\n\t}",
"ArrayList<Integer> caseNum = new ArrayList<Integer>();",
"caseNum",
"new ArrayList<Integer>()",
"int num;",
"num",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\tnum=sc.nextInt();\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(num==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°?????????????????????\n\t\t\tcaseNum.add(num);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tnum=sc.nextInt();\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(num==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°?????????????????????\n\t\t\tcaseNum.add(num);\n\t\t}",
"num=sc.nextInt()",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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;",
"caseNum.add(num)",
"caseNum.add",
"caseNum",
"num",
"for (int i = 0; i < caseNum.size(); i++) {\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < caseNum.size()",
"i",
"caseNum.size()",
"caseNum.size",
"caseNum",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}",
"System.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue())",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue()",
"\": \"",
"\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue()",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"caseNum.get(i).intValue()",
"caseNum.get(i).intValue",
"caseNum.get(i)",
"caseNum.get",
"caseNum",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> caseNum = new ArrayList<Integer>();\n\t\tint num;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tnum=sc.nextInt();\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(num==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°?????????????????????\n\t\t\tcaseNum.add(num);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < caseNum.size(); i++) {\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer> caseNum = new ArrayList<Integer>();\n\t\tint num;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tnum=sc.nextInt();\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(num==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°?????????????????????\n\t\t\tcaseNum.add(num);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < caseNum.size(); i++) {\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+caseNum.get(i).intValue());\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
ArrayList<Integer> caseNum = new ArrayList<Integer>();
int num;
Scanner sc = new Scanner(System.in);
//??\??????????????????0?????§??°?????????
while (sc.hasNext()) {
num=sc.nextInt();
//0??\??????????????????
if(num==0){
break;
}
//??\???????????´??°?????????????????????
caseNum.add(num);
}
//??\???????????´??°?????¨???
for (int i = 0; i < caseNum.size(); i++) {
System.out.println("Case "+(i+1)+": "+caseNum.get(i).intValue());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
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
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
45,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
45,
49
],
[
33,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H = 0;\n\t\tfor(int a=1;a>0;a++){\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\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",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H = 0;\n\t\tfor(int a=1;a>0;a++){\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\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 scan = new Scanner(System.in);\n\t\tint H = 0;\n\t\tfor(int a=1;a>0;a++){\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}else{\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\tint H = 0;\n\t\tfor(int a=1;a>0;a++){\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}else{\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 H = 0;",
"H",
"0",
"for(int a=1;a>0;a++){\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int a=1;",
"int a=1;",
"a",
"1",
"a>0",
"a",
"0",
"a++",
"a++",
"a",
"{\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"H = scan.nextInt()",
"H",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}",
"H != 0",
"H",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}",
"System.out.println(\"Case \"+a+\": \"+H)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+a+\": \"+H",
"\": \"",
"\"Case \"+a+\": \"+H",
"\"Case \"",
"a",
"\": \"",
"H",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint H = 0;\n\t\tfor(int a=1;a>0;a++){\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}else{\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 scan = new Scanner(System.in);\n\t\tint H = 0;\n\t\tfor(int a=1;a>0;a++){\n\t\t\tH = scan.nextInt();\n\t\t\tif(H != 0){\n\t\t\t\tSystem.out.println(\"Case \"+a+\": \"+H);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int H = 0;
for(int a=1;a>0;a++){
H = scan.nextInt();
if(H != 0){
System.out.println("Case "+a+": "+H);
}else{
break;
}
}
}
} |
[
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,
40,
13,
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
],
[
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
],
[
19,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
39,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
39,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] a){\n \tint c, no=0;\n \tScanner in = new Scanner(System.in);\n while (true){\n \tc = in.nextInt();\n \tif(c == 0) break;\n \tno++;\n System.out.println(\"Case \" + no + \": \" + c);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] a){\n \tint c, no=0;\n \tScanner in = new Scanner(System.in);\n while (true){\n \tc = in.nextInt();\n \tif(c == 0) break;\n \tno++;\n System.out.println(\"Case \" + no + \": \" + c);\n }\n }\n}",
"Main",
"public static void main(String[] a){\n \tint c, no=0;\n \tScanner in = new Scanner(System.in);\n while (true){\n \tc = in.nextInt();\n \tif(c == 0) break;\n \tno++;\n System.out.println(\"Case \" + no + \": \" + c);\n }\n }",
"main",
"{\n \tint c, no=0;\n \tScanner in = new Scanner(System.in);\n while (true){\n \tc = in.nextInt();\n \tif(c == 0) break;\n \tno++;\n System.out.println(\"Case \" + no + \": \" + c);\n }\n }",
"int c",
"c",
"no=0;",
"no",
"0",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while (true){\n \tc = in.nextInt();\n \tif(c == 0) break;\n \tno++;\n System.out.println(\"Case \" + no + \": \" + c);\n }",
"true",
"{\n \tc = in.nextInt();\n \tif(c == 0) break;\n \tno++;\n System.out.println(\"Case \" + no + \": \" + c);\n }",
"c = in.nextInt()",
"c",
"in.nextInt()",
"in.nextInt",
"in",
"if(c == 0) break;",
"c == 0",
"c",
"0",
"break;",
"no++",
"no",
"System.out.println(\"Case \" + no + \": \" + c)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + no + \": \" + c",
"\": \"",
"\"Case \" + no + \": \" + c",
"\"Case \"",
"no",
"\": \"",
"c",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
int c, no=0;
Scanner in = new Scanner(System.in);
while (true){
c = in.nextInt();
if(c == 0) break;
no++;
System.out.println("Case " + no + ": " + c);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
42,
17,
30,
40,
13,
0,
13,
4,
18,
13,
4,
18,
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
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
22,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
45,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
45,
49
],
[
9,
50
],
[
50,
51
]
] | [
"import java.io.*;\nimport java.util.*;\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int count=0;\n int n;\n while(true){\n count++;\n n=Integer.parseInt(br.readLine());\n if(n==0) break;\n System.out.println(\"Case \"+count+\": \"+n);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int count=0;\n int n;\n while(true){\n count++;\n n=Integer.parseInt(br.readLine());\n if(n==0) break;\n System.out.println(\"Case \"+count+\": \"+n);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int count=0;\n int n;\n while(true){\n count++;\n n=Integer.parseInt(br.readLine());\n if(n==0) break;\n System.out.println(\"Case \"+count+\": \"+n);\n }\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int count=0;\n int n;\n while(true){\n count++;\n n=Integer.parseInt(br.readLine());\n if(n==0) break;\n System.out.println(\"Case \"+count+\": \"+n);\n }\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int count=0;",
"count",
"0",
"int n;",
"n",
"while(true){\n count++;\n n=Integer.parseInt(br.readLine());\n if(n==0) break;\n System.out.println(\"Case \"+count+\": \"+n);\n }",
"true",
"{\n count++;\n n=Integer.parseInt(br.readLine());\n if(n==0) break;\n System.out.println(\"Case \"+count+\": \"+n);\n }",
"count++",
"count",
"n=Integer.parseInt(br.readLine())",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(n==0) break;",
"n==0",
"n",
"0",
"break;",
"System.out.println(\"Case \"+count+\": \"+n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+count+\": \"+n",
"\": \"",
"\"Case \"+count+\": \"+n",
"\"Case \"",
"count",
"\": \"",
"n",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int count=0;
int n;
while(true){
count++;
n=Integer.parseInt(br.readLine());
if(n==0) break;
System.out.println("Case "+count+": "+n);
}
}
} |
[
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,
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,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
20,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
45,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
45,
49
],
[
20,
50
],
[
50,
51
],
[
9,
52
],
[
52,
53
]
] | [
"import java.util.Scanner;\nimport java.io.*;\n\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t Scanner sc = new Scanner(System.in);\n\t int i = 1;\n\t while( true ){\n\t \tString s = sc.next();\n\t \tint x = Integer.parseInt(s);\n\t \tif( x == 0 ){\n\t \t\tbreak;\n\t \t}\n\t \tSystem.out.println(\"Case \" + i + \": \" + x );\n\t \ti++;\n\t }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String args[]) {\n\t Scanner sc = new Scanner(System.in);\n\t int i = 1;\n\t while( true ){\n\t \tString s = sc.next();\n\t \tint x = Integer.parseInt(s);\n\t \tif( x == 0 ){\n\t \t\tbreak;\n\t \t}\n\t \tSystem.out.println(\"Case \" + i + \": \" + x );\n\t \ti++;\n\t }\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t Scanner sc = new Scanner(System.in);\n\t int i = 1;\n\t while( true ){\n\t \tString s = sc.next();\n\t \tint x = Integer.parseInt(s);\n\t \tif( x == 0 ){\n\t \t\tbreak;\n\t \t}\n\t \tSystem.out.println(\"Case \" + i + \": \" + x );\n\t \ti++;\n\t }\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n\t int i = 1;\n\t while( true ){\n\t \tString s = sc.next();\n\t \tint x = Integer.parseInt(s);\n\t \tif( x == 0 ){\n\t \t\tbreak;\n\t \t}\n\t \tSystem.out.println(\"Case \" + i + \": \" + x );\n\t \ti++;\n\t }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while( true ){\n\t \tString s = sc.next();\n\t \tint x = Integer.parseInt(s);\n\t \tif( x == 0 ){\n\t \t\tbreak;\n\t \t}\n\t \tSystem.out.println(\"Case \" + i + \": \" + x );\n\t \ti++;\n\t }",
"true",
"{\n\t \tString s = sc.next();\n\t \tint x = Integer.parseInt(s);\n\t \tif( x == 0 ){\n\t \t\tbreak;\n\t \t}\n\t \tSystem.out.println(\"Case \" + i + \": \" + x );\n\t \ti++;\n\t }",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"int x = Integer.parseInt(s);",
"x",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"if( x == 0 ){\n\t \t\tbreak;\n\t \t}",
"x == 0",
"x",
"0",
"{\n\t \t\tbreak;\n\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",
"i++",
"i",
"String args[]",
"args"
] | import java.util.Scanner;
import java.io.*;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int i = 1;
while( true ){
String s = sc.next();
int x = Integer.parseInt(s);
if( x == 0 ){
break;
}
System.out.println("Case " + i + ": " + x );
i++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
42,
17,
30,
0,
13,
4,
13,
14,
2,
13,
17,
30,
4,
18,
13,
13,
14,
2,
13,
17,
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,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
100,
8
],
[
100,
9
],
[
9,
10
],
[
9,
11
],
[
100,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
14,
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
],
[
14,
74
],
[
74,
75
],
[
12,
76
],
[
76,
77
],
[
100,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
100,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint number;\n\n\t\twhile (true) {\n\n\t\t\tnumber = input();\n\n\t\t\tif (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint number;\n\n\t\twhile (true) {\n\n\t\t\tnumber = input();\n\n\t\t\tif (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint number;\n\n\t\twhile (true) {\n\n\t\t\tnumber = input();\n\n\t\t\tif (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\t\t}\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint number;\n\n\t\twhile (true) {\n\n\t\t\tnumber = input();\n\n\t\t\tif (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\t\t}\n\n\t\tclose();\n\n\t}",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"int number;",
"number",
"while (true) {\n\n\t\t\tnumber = input();\n\n\t\t\tif (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}",
"true",
"{\n\n\t\t\tnumber = input();\n\n\t\t\tif (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}",
"number = input()",
"number",
"input()",
"input",
"if (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}",
"number != 0",
"number",
"0",
"{\n\n\t\t\t\tlist.add(number);\n\n\t\t\t}",
"list.add(number)",
"list.add",
"list",
"number",
"if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}",
"number == 0",
"number",
"0",
"{\n\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"for (int i = 0; i < list.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\t\t}",
"{\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\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",
"close()",
"close",
"String[] args",
"args",
"public static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}",
"input",
"{\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}",
"return Integer.parseInt(scanner.next());",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint number;\n\n\t\twhile (true) {\n\n\t\t\tnumber = input();\n\n\t\t\tif (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint number;\n\n\t\twhile (true) {\n\n\t\t\tnumber = input();\n\n\t\t\tif (number != 0) {\n\n\t\t\t\tlist.add(number);\n\n\t\t\t} else if (number == 0) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
ArrayList<Integer> list = new ArrayList<Integer>();
int number;
while (true) {
number = input();
if (number != 0) {
list.add(number);
} else if (number == 0) {
break;
}
}
for (int i = 0; i < list.size(); i++) {
System.out.println("Case " + (i + 1) + ": " + list.get(i));
}
close();
}
public static int input() {
return Integer.parseInt(scanner.next());
}
public static void close() {
if (scanner != null) {
scanner.close();
}
}
} |
[
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,
40,
13,
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
],
[
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
],
[
18,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
38,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
38,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint n =sc.nextInt();\nif(n==0) break;\ni++;\nSystem.out.println(\"Case \"+i+\": \"+n);\n}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint n =sc.nextInt();\nif(n==0) break;\ni++;\nSystem.out.println(\"Case \"+i+\": \"+n);\n}\n}\n}",
"Main",
"public static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint n =sc.nextInt();\nif(n==0) break;\ni++;\nSystem.out.println(\"Case \"+i+\": \"+n);\n}\n}",
"main",
"{\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint n =sc.nextInt();\nif(n==0) break;\ni++;\nSystem.out.println(\"Case \"+i+\": \"+n);\n}\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=0;",
"i",
"0",
"for(;;){\nint n =sc.nextInt();\nif(n==0) break;\ni++;\nSystem.out.println(\"Case \"+i+\": \"+n);\n}",
";",
"{\nint n =sc.nextInt();\nif(n==0) break;\ni++;\nSystem.out.println(\"Case \"+i+\": \"+n);\n}",
"{\nint n =sc.nextInt();\nif(n==0) break;\ni++;\nSystem.out.println(\"Case \"+i+\": \"+n);\n}",
"int n =sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n==0) break;",
"n==0",
"n",
"0",
"break;",
"i++",
"i",
"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.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i=0;
for(;;){
int n =sc.nextInt();
if(n==0) break;
i++;
System.out.println("Case "+i+": "+n);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
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
],
[
49,
5
],
[
49,
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
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
39,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
39,
43
],
[
19,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint i=1, n;\n\t\tScanner input = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\tn = input.nextInt();\n\t\t\tif(n == 0){\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}\n\t\t\ti++;\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\tint i=1, n;\n\t\tScanner input = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\tn = input.nextInt();\n\t\t\tif(n == 0){\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}\n\t\t\ti++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tint i=1, n;\n\t\tScanner input = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\tn = input.nextInt();\n\t\t\tif(n == 0){\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}\n\t\t\ti++;\n\t\t}\n\t}",
"main",
"{\n\t\tint i=1, n;\n\t\tScanner input = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\tn = input.nextInt();\n\t\t\tif(n == 0){\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}\n\t\t\ti++;\n\t\t}\n\t}",
"int i=1",
"i",
"1",
"n;",
"n",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"while(true)\n\t\t{\n\t\t\tn = input.nextInt();\n\t\t\tif(n == 0){\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}\n\t\t\ti++;\n\t\t}",
"true",
"{\n\t\t\tn = input.nextInt();\n\t\t\tif(n == 0){\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}\n\t\t\ti++;\n\t\t}",
"n = input.nextInt()",
"n",
"input.nextInt()",
"input.nextInt",
"input",
"if(n == 0){\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}",
"n == 0",
"n",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + n);\n\t\t\t}",
"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{\n\tpublic static void main(String args[])\n\t{\n\t\tint i=1, n;\n\t\tScanner input = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\tn = input.nextInt();\n\t\t\tif(n == 0){\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}\n\t\t\ti++;\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint i=1, n;\n\t\tScanner input = new Scanner(System.in);\n\t\twhile(true)\n\t\t{\n\t\t\tn = input.nextInt();\n\t\t\tif(n == 0){\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}\n\t\t\ti++;\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String args[])
{
int i=1, n;
Scanner input = new Scanner(System.in);
while(true)
{
n = input.nextInt();
if(n == 0){
break;
}
else {
System.out.println("Case " + i + ": " + n);
}
i++;
}
}
} |
[
7,
15,
13,
17,
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,
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,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
23,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
48,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
48,
52
],
[
23,
53
],
[
53,
54
],
[
12,
55
],
[
55,
56
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint times = 1;\n\t\twhile(true) {\n\t\t\tString str = br.readLine();\n\t\t\tint n = Integer.parseInt(str);\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + times + \": \" + n);\n\t\t\ttimes++;\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint times = 1;\n\t\twhile(true) {\n\t\t\tString str = br.readLine();\n\t\t\tint n = Integer.parseInt(str);\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + times + \": \" + n);\n\t\t\ttimes++;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint times = 1;\n\t\twhile(true) {\n\t\t\tString str = br.readLine();\n\t\t\tint n = Integer.parseInt(str);\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + times + \": \" + n);\n\t\t\ttimes++;\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint times = 1;\n\t\twhile(true) {\n\t\t\tString str = br.readLine();\n\t\t\tint n = Integer.parseInt(str);\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + times + \": \" + n);\n\t\t\ttimes++;\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int times = 1;",
"times",
"1",
"while(true) {\n\t\t\tString str = br.readLine();\n\t\t\tint n = Integer.parseInt(str);\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + times + \": \" + n);\n\t\t\ttimes++;\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tint n = Integer.parseInt(str);\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + times + \": \" + n);\n\t\t\ttimes++;\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"int n = Integer.parseInt(str);",
"n",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"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;",
"System.out.println(\"Case \" + times + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + times + \": \" + n",
"\": \"",
"\"Case \" + times + \": \" + n",
"\"Case \"",
"times",
"\": \"",
"n",
"times++",
"times",
"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 times = 1;
while(true) {
String str = br.readLine();
int n = Integer.parseInt(str);
if (n == 0) {
break;
}
System.out.println("Case " + times + ": " + n);
times++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
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
],
[
58,
5
],
[
58,
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
],
[
26,
29
],
[
29,
30
],
[
18,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
50,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
50,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint nums = 1;\n\t\tint num = 1;\n\t\tfor(int i = 0; nums != 0 ; ++i,num++) {\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint nums = 1;\n\t\tint num = 1;\n\t\tfor(int i = 0; nums != 0 ; ++i,num++) {\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}\n\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint nums = 1;\n\t\tint num = 1;\n\t\tfor(int i = 0; nums != 0 ; ++i,num++) {\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}\n\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint nums = 1;\n\t\tint num = 1;\n\t\tfor(int i = 0; nums != 0 ; ++i,num++) {\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int nums = 1;",
"nums",
"1",
"int num = 1;",
"num",
"1",
"for(int i = 0; nums != 0 ; ++i,num++) {\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"nums != 0",
"nums",
"0",
"++i,num++",
"++i",
"i",
"num++",
"num",
"{\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}",
"{\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}",
"nums = scan.nextInt()",
"nums",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(nums == 0) break;",
"nums == 0",
"nums",
"0",
"break;",
"System.out.println(\"Case \" + num + \": \" + nums)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + num + \": \" + nums",
"\": \"",
"\"Case \" + num + \": \" + nums",
"\"Case \"",
"num",
"\": \"",
"nums",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint nums = 1;\n\t\tint num = 1;\n\t\tfor(int i = 0; nums != 0 ; ++i,num++) {\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}\n\n }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint nums = 1;\n\t\tint num = 1;\n\t\tfor(int i = 0; nums != 0 ; ++i,num++) {\n\t\t\tnums = scan.nextInt();\n\t\t\tif(nums == 0) break;\n\t\t\tSystem.out.println(\"Case \" + num + \": \" + nums);\n\t\t}\n\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int nums = 1;
int num = 1;
for(int i = 0; nums != 0 ; ++i,num++) {
nums = scan.nextInt();
if(nums == 0) break;
System.out.println("Case " + num + ": " + nums);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
30,
40,
13,
4,
18,
13,
13,
42,
2,
13,
13,
30,
40,
13,
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
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
61,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\n\t\tint i = 0;\n\t\tint cnt = 0;\n\t\tint x = 999;\n\t\twhile(x != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}\n\t\t}\n\t\t\n\t\twhile(i < cnt) {\n\t\t\ti++;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + al.get(i-1));\n\t\t}\n\t\t\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\n\t\tint i = 0;\n\t\tint cnt = 0;\n\t\tint x = 999;\n\t\twhile(x != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}\n\t\t}\n\t\t\n\t\twhile(i < cnt) {\n\t\t\ti++;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + al.get(i-1));\n\t\t}\n\t\t\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\n\t\tint i = 0;\n\t\tint cnt = 0;\n\t\tint x = 999;\n\t\twhile(x != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}\n\t\t}\n\t\t\n\t\twhile(i < cnt) {\n\t\t\ti++;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + al.get(i-1));\n\t\t}\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\n\t\tint i = 0;\n\t\tint cnt = 0;\n\t\tint x = 999;\n\t\twhile(x != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}\n\t\t}\n\t\t\n\t\twhile(i < cnt) {\n\t\t\ti++;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + al.get(i-1));\n\t\t}\n\t\t\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"int i = 0;",
"i",
"0",
"int cnt = 0;",
"cnt",
"0",
"int x = 999;",
"x",
"999",
"while(x != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}\n\t\t}",
"x != 0",
"x",
"0",
"{\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}\n\t\t}",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}",
"cnt++",
"cnt",
"al.add(x)",
"al.add",
"al",
"x",
"while(i < cnt) {\n\t\t\ti++;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + al.get(i-1));\n\t\t}",
"i < cnt",
"i",
"cnt",
"{\n\t\t\ti++;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + al.get(i-1));\n\t\t}",
"i++",
"i",
"System.out.println(\"Case \" + i + \": \" + al.get(i-1))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + al.get(i-1)",
"\": \"",
"\"Case \" + i + \": \" + al.get(i-1)",
"\"Case \"",
"i",
"\": \"",
"al.get(i-1)",
"al.get",
"al",
"i-1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\n\t\tint i = 0;\n\t\tint cnt = 0;\n\t\tint x = 999;\n\t\twhile(x != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}\n\t\t}\n\t\t\n\t\twhile(i < cnt) {\n\t\t\ti++;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + al.get(i-1));\n\t\t}\n\t\t\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\t\n\t\tint i = 0;\n\t\tint cnt = 0;\n\t\tint x = 999;\n\t\twhile(x != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\tif(x == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tcnt++;\n\t\t\t\tal.add(x);\n\t\t\t}\n\t\t}\n\t\t\n\t\twhile(i < cnt) {\n\t\t\ti++;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + al.get(i-1));\n\t\t}\n\t\t\n\t\t\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> al = new ArrayList<>();
int i = 0;
int cnt = 0;
int x = 999;
while(x != 0) {
x = sc.nextInt();
if(x == 0) {
break;
} else {
cnt++;
al.add(x);
}
}
while(i < cnt) {
i++;
System.out.println("Case " + i + ": " + al.get(i-1));
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.