node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
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
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
18,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
15,
49
],
[
49,
50
],
[
10,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
]
] | [
"import java.io.*;\nimport java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws IOException {\n for(int i = 1; ; ++i) {\n int n = ReadInt();\n if( n == 0 ) break;\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws IOException {\n for(int i = 1; ; ++i) {\n int n = ReadInt();\n if( n == 0 ) break;\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }\n static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) throws IOException {\n for(int i = 1; ; ++i) {\n int n = ReadInt();\n if( n == 0 ) break;\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }",
"main",
"{\n for(int i = 1; ; ++i) {\n int n = ReadInt();\n if( n == 0 ) break;\n System.out.println(\"Case \" + i + \": \" + n);\n }\n }",
"for(int i = 1; ; ++i) {\n int n = ReadInt();\n if( n == 0 ) break;\n System.out.println(\"Case \" + i + \": \" + n);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"++i",
"++i",
"i",
"{\n int n = ReadInt();\n if( n == 0 ) break;\n System.out.println(\"Case \" + i + \": \" + n);\n }",
"{\n int n = ReadInt();\n if( n == 0 ) break;\n System.out.println(\"Case \" + i + \": \" + n);\n }",
"int n = ReadInt();",
"n",
"ReadInt()",
"ReadInt",
"if( n == 0 ) break;",
"n == 0",
"n",
"0",
"break;",
"System.out.println(\"Case \" + i + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + n",
"\": \"",
"\"Case \" + i + \": \" + n",
"\"Case \"",
"i",
"\": \"",
"n",
"String[] args",
"args",
"static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }",
"ReadInt",
"{\n return Integer.parseInt(sc.next());\n }",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc"
] | import java.io.*;
import java.util.Scanner;
import java.util.Arrays;
class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) throws IOException {
for(int i = 1; ; ++i) {
int n = ReadInt();
if( n == 0 ) break;
System.out.println("Case " + i + ": " + n);
}
}
static int ReadInt() throws IOException {
return Integer.parseInt(sc.next());
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
38,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
37,
42
],
[
38,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint data, cnt = 0;\n\t\twhile(true){//?????????????????????????????§????????????\n\t\t\tdata = scan.nextInt();\n\t\t\tif(data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + ++cnt + \": \" + data);\n\t\t}\n scan.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint data, cnt = 0;\n\t\twhile(true){//?????????????????????????????§????????????\n\t\t\tdata = scan.nextInt();\n\t\t\tif(data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + ++cnt + \": \" + data);\n\t\t}\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint data, cnt = 0;\n\t\twhile(true){//?????????????????????????????§????????????\n\t\t\tdata = scan.nextInt();\n\t\t\tif(data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + ++cnt + \": \" + data);\n\t\t}\n scan.close();\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint data, cnt = 0;\n\t\twhile(true){//?????????????????????????????§????????????\n\t\t\tdata = scan.nextInt();\n\t\t\tif(data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + ++cnt + \": \" + data);\n\t\t}\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int data",
"data",
"cnt = 0;",
"cnt",
"0",
"while(true){//?????????????????????????????§????????????\n\t\t\tdata = scan.nextInt();\n\t\t\tif(data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + ++cnt + \": \" + data);\n\t\t}",
"true",
"{//?????????????????????????????§????????????\n\t\t\tdata = scan.nextInt();\n\t\t\tif(data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + ++cnt + \": \" + data);\n\t\t}",
"data = scan.nextInt()",
"data",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(data == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"data == 0",
"data",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \" + ++cnt + \": \" + data)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + ++cnt + \": \" + data",
"\": \"",
"\"Case \" + ++cnt + \": \" + data",
"\"Case \"",
"++cnt",
"cnt",
"\": \"",
"data",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint data, cnt = 0;\n\t\twhile(true){//?????????????????????????????§????????????\n\t\t\tdata = scan.nextInt();\n\t\t\tif(data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + ++cnt + \": \" + data);\n\t\t}\n scan.close();\n }\n}",
"public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint data, cnt = 0;\n\t\twhile(true){//?????????????????????????????§????????????\n\t\t\tdata = scan.nextInt();\n\t\t\tif(data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + ++cnt + \": \" + data);\n\t\t}\n scan.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int data, cnt = 0;
while(true){//?????????????????????????????§????????????
data = scan.nextInt();
if(data == 0){
break;
}
System.out.println("Case " + ++cnt + ": " + data);
}
scan.close();
}
} |
[
7,
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,
4,
18,
13,
4,
18,
13,
13,
14,
4,
18,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
78,
8
],
[
78,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
48,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
41,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
65,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
9,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tList<String> lst=new ArrayList<String>();\n\t\tboolean roop=true;\n\t\twhile(roop){\n\t\t\tString s=br.readLine();\n\t\t\tlst.add(s);\n\t\t\tif(s.equals(\"0\"))roop=false;\n\t\t}\n\t\tfor(int i=0;i<(lst.size()-1);i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}\n\t\t\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tList<String> lst=new ArrayList<String>();\n\t\tboolean roop=true;\n\t\twhile(roop){\n\t\t\tString s=br.readLine();\n\t\t\tlst.add(s);\n\t\t\tif(s.equals(\"0\"))roop=false;\n\t\t}\n\t\tfor(int i=0;i<(lst.size()-1);i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tList<String> lst=new ArrayList<String>();\n\t\tboolean roop=true;\n\t\twhile(roop){\n\t\t\tString s=br.readLine();\n\t\t\tlst.add(s);\n\t\t\tif(s.equals(\"0\"))roop=false;\n\t\t}\n\t\tfor(int i=0;i<(lst.size()-1);i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tList<String> lst=new ArrayList<String>();\n\t\tboolean roop=true;\n\t\twhile(roop){\n\t\t\tString s=br.readLine();\n\t\t\tlst.add(s);\n\t\t\tif(s.equals(\"0\"))roop=false;\n\t\t}\n\t\tfor(int i=0;i<(lst.size()-1);i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}\n\t\t\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<String> lst=new ArrayList<String>();",
"lst",
"new ArrayList<String>()",
"boolean roop=true;",
"roop",
"true",
"while(roop){\n\t\t\tString s=br.readLine();\n\t\t\tlst.add(s);\n\t\t\tif(s.equals(\"0\"))roop=false;\n\t\t}",
"roop",
"{\n\t\t\tString s=br.readLine();\n\t\t\tlst.add(s);\n\t\t\tif(s.equals(\"0\"))roop=false;\n\t\t}",
"String s=br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"lst.add(s)",
"lst.add",
"lst",
"s",
"if(s.equals(\"0\"))roop=false;",
"s.equals(\"0\")",
"s.equals",
"s",
"\"0\"",
"roop=false",
"roop",
"false",
"for(int i=0;i<(lst.size()-1);i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<(lst.size()-1)",
"i",
"(lst.size()-1)",
"lst.size()",
"lst.size",
"lst",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}",
"System.out.println(\"Case \"+(i+1)+\": \"+lst.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(i+1)+\": \"+lst.get(i)",
"\": \"",
"\"Case \"+(i+1)+\": \"+lst.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"lst.get(i)",
"lst.get",
"lst",
"i",
"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\tList<String> lst=new ArrayList<String>();\n\t\tboolean roop=true;\n\t\twhile(roop){\n\t\t\tString s=br.readLine();\n\t\t\tlst.add(s);\n\t\t\tif(s.equals(\"0\"))roop=false;\n\t\t}\n\t\tfor(int i=0;i<(lst.size()-1);i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}\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\tList<String> lst=new ArrayList<String>();\n\t\tboolean roop=true;\n\t\twhile(roop){\n\t\t\tString s=br.readLine();\n\t\t\tlst.add(s);\n\t\t\tif(s.equals(\"0\"))roop=false;\n\t\t}\n\t\tfor(int i=0;i<(lst.size()-1);i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+lst.get(i));\n\t\t}\n\t\t\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.*;
public class Main{
public static void main(String[] args)throws IOException{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
List<String> lst=new ArrayList<String>();
boolean roop=true;
while(roop){
String s=br.readLine();
lst.add(s);
if(s.equals("0"))roop=false;
}
for(int i=0;i<(lst.size()-1);i++){
System.out.println("Case "+(i+1)+": "+lst.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
35,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
35,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int i = 1;\n while (true) {\n int x = scanner.nextInt();\n if (x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n i += 1;\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int i = 1;\n while (true) {\n int x = scanner.nextInt();\n if (x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n i += 1;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int i = 1;\n while (true) {\n int x = scanner.nextInt();\n if (x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n i += 1;\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int i = 1;\n while (true) {\n int x = scanner.nextInt();\n if (x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n i += 1;\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while (true) {\n int x = scanner.nextInt();\n if (x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n i += 1;\n }",
"true",
"{\n int x = scanner.nextInt();\n if (x == 0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n i += 1;\n }",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (x == 0) break;",
"x == 0",
"x",
"0",
"break;",
"System.out.println(\"Case \" + i + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"i += 1",
"i",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int i = 1;
while (true) {
int x = scanner.nextInt();
if (x == 0) break;
System.out.println("Case " + i + ": " + x);
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
42,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\nScanner sc = new Scanner(System.in);\nfor(int i=1; i<=10000;i++)\n{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}\n\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\nScanner sc = new Scanner(System.in);\nfor(int i=1; i<=10000;i++)\n{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}\n\n}\n}",
"Main",
"public static void main(String[] args) {\nScanner sc = new Scanner(System.in);\nfor(int i=1; i<=10000;i++)\n{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}\n\n}",
"main",
"{\nScanner sc = new Scanner(System.in);\nfor(int i=1; i<=10000;i++)\n{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}\n\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=1; i<=10000;i++)\n{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}",
"{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}",
"int a= sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a==0) break;",
"a==0",
"a",
"0",
"break;",
"System.out.println(\"Case \" + i + \": \"+ a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \"+ a",
"\": \"",
"\"Case \" + i + \": \"+ a",
"\"Case \"",
"i",
"\": \"",
"a",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\nScanner sc = new Scanner(System.in);\nfor(int i=1; i<=10000;i++)\n{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}\n\n}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\nScanner sc = new Scanner(System.in);\nfor(int i=1; i<=10000;i++)\n{\nint a= sc.nextInt();\nif(a==0) break;\nSystem.out.println(\"Case \" + i + \": \"+ a);\n}\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<=10000;i++)
{
int a= sc.nextInt();
if(a==0) break;
System.out.println("Case " + i + ": "+ a);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
3,
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
],
[
92,
5
],
[
92,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
28,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
80,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
80,
86
],
[
86,
87
],
[
86,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[10000];\n\t\tfor (int i = 0; i < 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\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\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[10000];\n\t\tfor (int i = 0; i < 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[10000];\n\t\tfor (int i = 0; i < 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[10000];\n\t\tfor (int i = 0; i < 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] num = new int[10000];",
"num",
"new int[10000]",
"10000",
"for (int i = 0; i < 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"num[i] = Integer.parseInt(line)",
"num[i]",
"num",
"i",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"num[i] == 0",
"num[i]",
"num",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num.length",
"i",
"num.length",
"num",
"num.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\n\t\t}",
"{\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\n\t\t}",
"if (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"num[i] == 0",
"num[i]",
"num",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \" + (i + 1) + \": \" + num[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + num[i]",
"\": \"",
"\"Case \" + (i + 1) + \": \" + num[i]",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"num[i]",
"num",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[10000];\n\t\tfor (int i = 0; i < 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[10000];\n\t\tfor (int i = 0; i < 10000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tnum[i] = Integer.parseInt(line);\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + num[i]);\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[] num = new int[10000];
for (int i = 0; i < 10000; i++) {
String line = sc.nextLine();
num[i] = Integer.parseInt(line);
if (num[i] == 0) {
break;
}
}
for (int i = 0; i < num.length; i++) {
if (num[i] == 0) {
break;
}
System.out.println("Case " + (i + 1) + ": " + num[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
13,
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
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
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] | [
"import java.util.Scanner;\n\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == i){\n\t\t\tint X = sc.nextInt();\n\t\t\tif(X == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \" + i +\": \"+ X);\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\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 i = 1;\n\t\twhile(i == i){\n\t\t\tint X = sc.nextInt();\n\t\t\tif(X == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \" + i +\": \"+ X);\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == i){\n\t\t\tint X = sc.nextInt();\n\t\t\tif(X == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \" + i +\": \"+ X);\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == i){\n\t\t\tint X = sc.nextInt();\n\t\t\tif(X == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \" + i +\": \"+ X);\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(i == i){\n\t\t\tint X = sc.nextInt();\n\t\t\tif(X == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \" + i +\": \"+ X);\n\t\t\ti++;\n\t\t}",
"i == i",
"i",
"i",
"{\n\t\t\tint X = sc.nextInt();\n\t\t\tif(X == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \" + i +\": \"+ X);\n\t\t\ti++;\n\t\t}",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(X == 0)\n\t\t\t\tbreak;",
"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",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == i){\n\t\t\tint X = sc.nextInt();\n\t\t\tif(X == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \" + i +\": \"+ X);\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == i){\n\t\t\tint X = sc.nextInt();\n\t\t\tif(X == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(\"Case \" + i +\": \"+ X);\n\t\t\ti++;\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i = 1;
while(i == i){
int X = sc.nextInt();
if(X == 0)
break;
System.out.println("Case " + i +": "+ X);
i++;
}
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,
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,
40,
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
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
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
],
[
25,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
19,
52
],
[
52,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i<=10000){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\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 scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i<=10000){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i<=10000){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i<=10000){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(i<=10000){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"i<=10000",
"i",
"10000",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tif(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"1<=x&&x<=10000",
"1<=x",
"1",
"x",
"x<=10000",
"x",
"10000",
"{\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\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\t\tbreak;\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i<=10000){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\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 scan = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i<=10000){\n\t\t\tint x = scan.nextInt();\n\t\t\tif(1<=x&&x<=10000){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\t}else if(x == 0){\n\t\t\t\tbreak;\n\t\t\t}\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 scan = new Scanner(System.in);
int i = 1;
while(i<=10000){
int x = scan.nextInt();
if(1<=x&&x<=10000){
System.out.println("Case "+i+": "+x);
}else if(x == 0){
break;
}
i++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
74,
11
],
[
74,
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
],
[
18,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
25,
31
],
[
31,
32
],
[
25,
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
],
[
41,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
61,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
61,
65
],
[
41,
66
],
[
66,
67
],
[
25,
68
],
[
68,
69
],
[
69,
70
],
[
12,
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) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tint i = 1;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tint i = 1;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tint i = 1;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tint i = 1;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\tString str;\n\t\t\tint i = 1;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tString str;\n\t\t\tint i = 1;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tbr.close();\n\t\t}",
"String str;",
"str",
"int i = 1;",
"i",
"1",
"int j;",
"j",
"while((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}",
"j = Integer.parseInt(str)",
"j",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"j == 0",
"j",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"System.out.println(\"Case \" + i + \": \" + str)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + str",
"\": \"",
"\"Case \" + i + \": \" + str",
"\"Case \"",
"i",
"\": \"",
"str",
"i++",
"i",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tint i = 1;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tint i = 1;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tj = Integer.parseInt(str);\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + str);\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
String str;
int i = 1;
int j;
while((str = br.readLine()) != null){
j = Integer.parseInt(str);
if(j == 0) {
break;
}
System.out.println("Case " + i + ": " + str);
i++;
}
br.close();
} catch (IOException e) {
// TODO 自動生成された catch ブロック
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i > 0; i++) {\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i > 0; i++) {\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i > 0; i++) {\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i > 0; i++) {\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int i = 1; i > 0; i++) {\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i > 0",
"i",
"0",
"i++",
"i++",
"i",
"{\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}\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}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\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",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i > 0; i++) {\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tfor (int i = 1; i > 0; i++) {\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\telse{\n\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\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) {
// TODO ?????????????????????????????????????????????
Scanner scan = new Scanner(System.in);
for (int i = 1; i > 0; i++) {
int x = scan.nextInt();
if(x == 0) {
break;
}
else{
System.out.println("Case " + i + ": " + x);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
3,
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
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
47,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
66,
67
],
[
59,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
75,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
75,
81
],
[
81,
82
],
[
81,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t//StringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//System.out.print(output);\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\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t//StringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//System.out.print(output);\n\t\t//\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t//StringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//System.out.print(output);\n\t\t//\n\t}",
"main",
"{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t//StringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//System.out.print(output);\n\t\t//\n\t}",
"int[] data = new int[10001];",
"data",
"new int[10001]",
"10001",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}",
"{\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}",
"data[i] = Integer.parseInt(input.readLine())",
"data[i]",
"data",
"i",
"Integer.parseInt(input.readLine())",
"Integer.parseInt",
"Integer",
"input.readLine()",
"input.readLine",
"input",
"if( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"data[i] == 0",
"data[i]",
"data",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}",
"{\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}",
"if( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"data[i] == 0",
"data[i]",
"data",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \"+ (i+1) + \": \" + data[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ (i+1) + \": \" + data[i]",
"\": \"",
"\"Case \"+ (i+1) + \": \" + data[i]",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"data[i]",
"data",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t//StringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//System.out.print(output);\n\t\t//\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t//StringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//System.out.print(output);\n\t\t//\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
//
int[] data = new int[10001];
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
//StringBuilder output = new StringBuilder();
for(int i=0; i < 10001; i++){
data[i] = Integer.parseInt(input.readLine());
if( data[i] == 0){
break;
}
//output.append("Case ").append(Integer.toString(i+1)).append(": ").append(Integer.toString(data[i])).append("\n");
}
for(int i=0; i < 10001; i++){
if( data[i] == 0){
break;
}
System.out.println("Case "+ (i+1) + ": " + data[i]);
}
//System.out.print(output);
//
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
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
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
49,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
10,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
34,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
34,
38
],
[
26,
39
],
[
39,
40
],
[
26,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tprivate static Scanner scan;\n\n\tpublic static void main(String[] args) {\n\n\t\tscan = new Scanner(System.in);\n\t\tint i = scan.nextInt();\n\t\tint x = 1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+x+\": \"+i);\n\t\t\tx++;\n\t\t\ti = scan.nextInt();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tprivate static Scanner scan;\n\n\tpublic static void main(String[] args) {\n\n\t\tscan = new Scanner(System.in);\n\t\tint i = scan.nextInt();\n\t\tint x = 1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+x+\": \"+i);\n\t\t\tx++;\n\t\t\ti = scan.nextInt();\n\t\t}\n\t}\n}",
"Main",
"private static Scanner scan;",
"scan",
"public static void main(String[] args) {\n\n\t\tscan = new Scanner(System.in);\n\t\tint i = scan.nextInt();\n\t\tint x = 1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+x+\": \"+i);\n\t\t\tx++;\n\t\t\ti = scan.nextInt();\n\t\t}\n\t}",
"main",
"{\n\n\t\tscan = new Scanner(System.in);\n\t\tint i = scan.nextInt();\n\t\tint x = 1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+x+\": \"+i);\n\t\t\tx++;\n\t\t\ti = scan.nextInt();\n\t\t}\n\t}",
"scan = new Scanner(System.in)",
"scan",
"new Scanner(System.in)",
"int i = scan.nextInt();",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x = 1;",
"x",
"1",
"while(i!=0){\n\t\t\tSystem.out.println(\"Case \"+x+\": \"+i);\n\t\t\tx++;\n\t\t\ti = scan.nextInt();\n\t\t}",
"i!=0",
"i",
"0",
"{\n\t\t\tSystem.out.println(\"Case \"+x+\": \"+i);\n\t\t\tx++;\n\t\t\ti = scan.nextInt();\n\t\t}",
"System.out.println(\"Case \"+x+\": \"+i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+x+\": \"+i",
"\": \"",
"\"Case \"+x+\": \"+i",
"\"Case \"",
"x",
"\": \"",
"i",
"x++",
"x",
"i = scan.nextInt()",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tprivate static Scanner scan;\n\n\tpublic static void main(String[] args) {\n\n\t\tscan = new Scanner(System.in);\n\t\tint i = scan.nextInt();\n\t\tint x = 1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+x+\": \"+i);\n\t\t\tx++;\n\t\t\ti = scan.nextInt();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tprivate static Scanner scan;\n\n\tpublic static void main(String[] args) {\n\n\t\tscan = new Scanner(System.in);\n\t\tint i = scan.nextInt();\n\t\tint x = 1;\n\t\twhile(i!=0){\n\t\t\tSystem.out.println(\"Case \"+x+\": \"+i);\n\t\t\tx++;\n\t\t\ti = scan.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static Scanner scan;
public static void main(String[] args) {
scan = new Scanner(System.in);
int i = scan.nextInt();
int x = 1;
while(i!=0){
System.out.println("Case "+x+": "+i);
x++;
i = scan.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
4,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
13,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
69,
11
],
[
69,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
15,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
25,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
52,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
51,
56
],
[
52,
57
],
[
44,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
25,
63
],
[
63,
64
],
[
64,
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 public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int count = 0;\n \n while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }\n /*\n for (String str : strList) {\n \tSystem.out.println(\"Case \"+ (strList.indexOf(str) + 1) + \": \" +str);\n\t\t\t}\n */\n br.close();\n } catch (IOException e) {\n System.err.println(e);\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) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int count = 0;\n \n while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }\n /*\n for (String str : strList) {\n \tSystem.out.println(\"Case \"+ (strList.indexOf(str) + 1) + \": \" +str);\n\t\t\t}\n */\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int count = 0;\n \n while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }\n /*\n for (String str : strList) {\n \tSystem.out.println(\"Case \"+ (strList.indexOf(str) + 1) + \": \" +str);\n\t\t\t}\n */\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }",
"main",
"{\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int count = 0;\n \n while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }\n /*\n for (String str : strList) {\n \tSystem.out.println(\"Case \"+ (strList.indexOf(str) + 1) + \": \" +str);\n\t\t\t}\n */\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }",
"try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int count = 0;\n \n while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }\n /*\n for (String str : strList) {\n \tSystem.out.println(\"Case \"+ (strList.indexOf(str) + 1) + \": \" +str);\n\t\t\t}\n */\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }",
"catch (IOException e) {\n System.err.println(e);\n }",
"IOException e",
"{\n System.err.println(e);\n }",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int count = 0;\n \n while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }\n /*\n for (String str : strList) {\n \tSystem.out.println(\"Case \"+ (strList.indexOf(str) + 1) + \": \" +str);\n\t\t\t}\n */\n br.close();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"int count = 0;",
"count",
"0",
"while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }",
"line.equals(\"0\") == false",
"line.equals(\"0\")",
"line.equals",
"line",
"\"0\"",
"false",
"{\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }",
"System.out.println(\"Case \"+ ++count + \": \" +line)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ ++count + \": \" +line",
"\": \"",
"\"Case \"+ ++count + \": \" +line",
"\"Case \"",
"++count",
"count",
"\": \"",
"line",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int count = 0;\n \n while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }\n /*\n for (String str : strList) {\n \tSystem.out.println(\"Case \"+ (strList.indexOf(str) + 1) + \": \" +str);\n\t\t\t}\n */\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n int count = 0;\n \n while(line.equals(\"0\") == false){\n \tSystem.out.println(\"Case \"+ ++count + \": \" +line);\n \t//strList.add(line);\n line = br.readLine();\n }\n /*\n for (String str : strList) {\n \tSystem.out.println(\"Case \"+ (strList.indexOf(str) + 1) + \": \" +str);\n\t\t\t}\n */\n br.close();\n } catch (IOException e) {\n System.err.println(e);\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) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
int count = 0;
while(line.equals("0") == false){
System.out.println("Case "+ ++count + ": " +line);
//strList.add(line);
line = br.readLine();
}
/*
for (String str : strList) {
System.out.println("Case "+ (strList.indexOf(str) + 1) + ": " +str);
}
*/
br.close();
} catch (IOException e) {
System.err.println(e);
}
}
} |
[
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,
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
],
[
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
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (int i = 1; ;i++) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (int i = 1; ;i++) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (int i = 1; ;i++) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (int i = 1; ;i++) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"for (int i = 1; ;i++) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}",
"{\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}",
"int x = stdIn.nextInt();",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"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\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (int i = 1; ;i++) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (int i = 1; ;i++) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0) break;\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
for (int i = 1; ;i++) {
int x = stdIn.nextInt();
if (x == 0) break;
System.out.println("Case " + i + ": " + x);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
42,
40,
4,
18,
0,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
40,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
49,
11
],
[
49,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
25,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
40,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
39,
44
],
[
40,
45
],
[
12,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int cycle = 0;\n String line;\n while(!((line = br.readLine()).equals(\"0\"))) \n System.out.println(\"Case \" + ++cycle + \": \" + line);\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int cycle = 0;\n String line;\n while(!((line = br.readLine()).equals(\"0\"))) \n System.out.println(\"Case \" + ++cycle + \": \" + line);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int cycle = 0;\n String line;\n while(!((line = br.readLine()).equals(\"0\"))) \n System.out.println(\"Case \" + ++cycle + \": \" + line);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int cycle = 0;\n String line;\n while(!((line = br.readLine()).equals(\"0\"))) \n System.out.println(\"Case \" + ++cycle + \": \" + line);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int cycle = 0;",
"cycle",
"0",
"String line;",
"line",
"while(!((line = br.readLine()).equals(\"0\"))) \n System.out.println(\"Case \" + ++cycle + \": \" + line);",
"!((line = br.readLine()).equals(\"0\"))",
"((line = br.readLine()).equals(\"0\"))",
"(line = br.readLine()).equals",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"\"0\"",
"System.out.println(\"Case \" + ++cycle + \": \" + line)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + ++cycle + \": \" + line",
"\": \"",
"\"Case \" + ++cycle + \": \" + line",
"\"Case \"",
"++cycle",
"cycle",
"\": \"",
"line",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int cycle = 0;\n String line;\n while(!((line = br.readLine()).equals(\"0\"))) \n System.out.println(\"Case \" + ++cycle + \": \" + line);\n }\n}",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int cycle = 0;\n String line;\n while(!((line = br.readLine()).equals(\"0\"))) \n System.out.println(\"Case \" + ++cycle + \": \" + line);\n }\n}",
"Main"
] | import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int cycle = 0;
String line;
while(!((line = br.readLine()).equals("0")))
System.out.println("Case " + ++cycle + ": " + line);
}
} |
[
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,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
37,
41
],
[
29,
42
],
[
42,
43
],
[
25,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String a[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint i=1;\n\tint x;\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\tif( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;\n\t }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String a[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint i=1;\n\tint x;\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\tif( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;\n\t }\n }\n}",
"Main",
"public static void main(String a[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint i=1;\n\tint x;\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\tif( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;\n\t }\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tint i=1;\n\tint x;\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\tif( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;\n\t }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i=1;",
"i",
"1",
"int x;",
"x",
"while(true)\n\t {\n\t\tx = scan.nextInt();\n\t\tif( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;\n\t }",
"true",
"{\n\t\tx = scan.nextInt();\n\t\tif( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;\n\t }",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;",
"x != 0",
"x",
"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",
"break;",
"String a[]",
"a",
"public class Main{\n public static void main(String a[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint i=1;\n\tint x;\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\tif( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;\n\t }\n }\n}",
"public class Main{\n public static void main(String a[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint i=1;\n\tint x;\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\tif( x != 0 )\n\t\t {\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t\ti++;\n\t\t }\n\t\telse break;\n\t }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String a[])
{
Scanner scan = new Scanner(System.in);
int i=1;
int x;
while(true)
{
x = scan.nextInt();
if( x != 0 )
{
System.out.println("Case "+i+": "+x);
i++;
}
else break;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
20,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
39,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
35,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i =1;\n\t\twhile(true){\n\t\t\tint x = Integer.parseInt(br.readLine());\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\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\tStringBuilder sb = new StringBuilder();\n\t\tint i =1;\n\t\twhile(true){\n\t\t\tint x = Integer.parseInt(br.readLine());\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i =1;\n\t\twhile(true){\n\t\t\tint x = Integer.parseInt(br.readLine());\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i =1;\n\t\twhile(true){\n\t\t\tint x = Integer.parseInt(br.readLine());\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int i =1;",
"i",
"1",
"while(true){\n\t\t\tint x = Integer.parseInt(br.readLine());\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tint x = Integer.parseInt(br.readLine());\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t\t}",
"int x = Integer.parseInt(br.readLine());",
"x",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"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;",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\")",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x))",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append",
"sb.append(\"Case \").append(Integer.toString(i++)).append(\": \")",
"sb.append(\"Case \").append(Integer.toString(i++)).append",
"sb.append(\"Case \").append(Integer.toString(i++))",
"sb.append(\"Case \").append",
"sb.append(\"Case \")",
"sb.append",
"sb",
"\"Case \"",
"Integer.toString(i++)",
"Integer.toString",
"Integer",
"i++",
"i",
"\": \"",
"Integer.toString(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{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i =1;\n\t\twhile(true){\n\t\t\tint x = Integer.parseInt(br.readLine());\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\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\tStringBuilder sb = new StringBuilder();\n\t\tint i =1;\n\t\twhile(true){\n\t\t\tint x = Integer.parseInt(br.readLine());\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tsb.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(x)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\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));
StringBuilder sb = new StringBuilder();
int i =1;
while(true){
int x = Integer.parseInt(br.readLine());
if (x==0) {
break;
}
sb.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(x)).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,
41,
13,
17,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
13,
40,
13,
41,
13,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
91,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
31,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
31,
53
],
[
53,
54
],
[
14,
55
],
[
55,
56
],
[
55,
57
],
[
14,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
78,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
77,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
12,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int i = 0;\n int x = 0;\n ArrayList<Integer> array = new ArrayList<Integer>();\n while(true){\n \tline = br.readLine();\n \tx = Integer.parseInt(line);\n \tif(x == 0){\n \t\tbreak;\n \t}\n \tarray.add(x);\n \ti++;\n }\n int N = i;\n for(i = 0;i<N;i++){\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int i = 0;\n int x = 0;\n ArrayList<Integer> array = new ArrayList<Integer>();\n while(true){\n \tline = br.readLine();\n \tx = Integer.parseInt(line);\n \tif(x == 0){\n \t\tbreak;\n \t}\n \tarray.add(x);\n \ti++;\n }\n int N = i;\n for(i = 0;i<N;i++){\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int i = 0;\n int x = 0;\n ArrayList<Integer> array = new ArrayList<Integer>();\n while(true){\n \tline = br.readLine();\n \tx = Integer.parseInt(line);\n \tif(x == 0){\n \t\tbreak;\n \t}\n \tarray.add(x);\n \ti++;\n }\n int N = i;\n for(i = 0;i<N;i++){\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }\n\n\t}",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int i = 0;\n int x = 0;\n ArrayList<Integer> array = new ArrayList<Integer>();\n while(true){\n \tline = br.readLine();\n \tx = Integer.parseInt(line);\n \tif(x == 0){\n \t\tbreak;\n \t}\n \tarray.add(x);\n \ti++;\n }\n int N = i;\n for(i = 0;i<N;i++){\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"int i = 0;",
"i",
"0",
"int x = 0;",
"x",
"0",
"ArrayList<Integer> array = new ArrayList<Integer>();",
"array",
"new ArrayList<Integer>()",
"while(true){\n \tline = br.readLine();\n \tx = Integer.parseInt(line);\n \tif(x == 0){\n \t\tbreak;\n \t}\n \tarray.add(x);\n \ti++;\n }",
"true",
"{\n \tline = br.readLine();\n \tx = Integer.parseInt(line);\n \tif(x == 0){\n \t\tbreak;\n \t}\n \tarray.add(x);\n \ti++;\n }",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"x = Integer.parseInt(line)",
"x",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if(x == 0){\n \t\tbreak;\n \t}",
"x == 0",
"x",
"0",
"{\n \t\tbreak;\n \t}",
"break;",
"array.add(x)",
"array.add",
"array",
"x",
"i++",
"i",
"int N = i;",
"N",
"i",
"for(i = 0;i<N;i++){\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }",
"{\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }",
"System.out.println(\"Case \"+(i+1)+\": \"+array.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(i+1)+\": \"+array.get(i)",
"\": \"",
"\"Case \"+(i+1)+\": \"+array.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"array.get(i)",
"array.get",
"array",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int i = 0;\n int x = 0;\n ArrayList<Integer> array = new ArrayList<Integer>();\n while(true){\n \tline = br.readLine();\n \tx = Integer.parseInt(line);\n \tif(x == 0){\n \t\tbreak;\n \t}\n \tarray.add(x);\n \ti++;\n }\n int N = i;\n for(i = 0;i<N;i++){\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n int i = 0;\n int x = 0;\n ArrayList<Integer> array = new ArrayList<Integer>();\n while(true){\n \tline = br.readLine();\n \tx = Integer.parseInt(line);\n \tif(x == 0){\n \t\tbreak;\n \t}\n \tarray.add(x);\n \ti++;\n }\n int N = i;\n for(i = 0;i<N;i++){\n \tSystem.out.println(\"Case \"+(i+1)+\": \"+array.get(i));\n }\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
int i = 0;
int x = 0;
ArrayList<Integer> array = new ArrayList<Integer>();
while(true){
line = br.readLine();
x = Integer.parseInt(line);
if(x == 0){
break;
}
array.add(x);
i++;
}
int N = i;
for(i = 0;i<N;i++){
System.out.println("Case "+(i+1)+": "+array.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
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,
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
],
[
19,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
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.*;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint x,i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx = in.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint x,i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx = in.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint x,i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx = in.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint x,i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tx = in.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int x",
"x",
"i=0;",
"i",
"0",
"while(true){\n\t\t\ti++;\n\t\t\tx = in.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 = in.nextInt();\n\t\t\tif(x == 0) break;\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}",
"i++",
"i",
"x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"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) {
Scanner in = new Scanner(System.in);
int x,i=0;
while(true){
i++;
x = in.nextInt();
if(x == 0) break;
System.out.println("Case " + i + ": " + x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
14,
2,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
66,
11
],
[
66,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
58,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
58,
62
],
[
12,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\tint num = 1;\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\n\t\t\t\tif(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\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",
"public class Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\tint num = 1;\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\n\t\t\t\tif(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\tint num = 1;\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\n\t\t\t\tif(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\tint num = 1;\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\n\t\t\t\tif(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i=0;",
"i",
"0",
"int num = 1;",
"num",
"1",
"while(true){\n\t\t\tString str = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\n\t\t\t\tif(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\n\t\t\t\tif(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"num = Integer.parseInt(str)",
"num",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}",
"num == 0",
"num",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}",
"num != 0",
"num",
"0",
"{\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}",
"i++",
"i",
"System.out.println(\"Case \" + i + \": \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + num",
"\": \"",
"\"Case \" + i + \": \" + num",
"\"Case \"",
"i",
"\": \"",
"num",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\tint num = 1;\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\n\t\t\t\tif(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\tint num = 1;\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tnum = Integer.parseInt(str);\n\n\t\t\t\tif(num == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(num != 0){\n\t\t\t\t\ti++;\n\t\t\t\t\tSystem.out.println(\"Case \" + i + \": \" + num);\n\t\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int i=0;
int num = 1;
while(true){
String str = br.readLine();
num = Integer.parseInt(str);
if(num == 0){
break;
}
else if(num != 0){
i++;
System.out.println("Case " + i + ": " + num);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
4,
18,
13,
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
],
[
58,
8
],
[
58,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
48,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
48,
52
],
[
36,
53
],
[
53,
54
],
[
9,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.Scanner;\nimport java.util.Iterator;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner input = new Scanner(System.in);\n\t\tint line=0;\n\t\tfor(int i = 1;input.hasNext();i++){\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\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",
"import java.util.Iterator;",
"Iterator",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner input = new Scanner(System.in);\n\t\tint line=0;\n\t\tfor(int i = 1;input.hasNext();i++){\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\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 input = new Scanner(System.in);\n\t\tint line=0;\n\t\tfor(int i = 1;input.hasNext();i++){\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tint line=0;\n\t\tfor(int i = 1;input.hasNext();i++){\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int line=0;",
"line",
"0",
"for(int i = 1;input.hasNext();i++){\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"input.hasNext()",
"input.hasNext",
"input",
"i++",
"i++",
"i",
"{\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"line = input.nextInt()",
"line",
"input.nextInt()",
"input.nextInt",
"input",
"if(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}",
"line!=0",
"line",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\n\t\t\t}",
"System.out.println(\"Case \"+i+\": \"+line)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+line",
"\": \"",
"\"Case \"+i+\": \"+line",
"\"Case \"",
"i",
"\": \"",
"line",
"{\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 input = new Scanner(System.in);\n\t\tint line=0;\n\t\tfor(int i = 1;input.hasNext();i++){\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\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 input = new Scanner(System.in);\n\t\tint line=0;\n\t\tfor(int i = 1;input.hasNext();i++){\n\t\t\tline = input.nextInt();\n\t\t\tif(line!=0){\n\t\t\t\tSystem.out.println(\"Case \"+i+\": \"+line);\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;
import java.util.Iterator;
public class Main{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
int line=0;
for(int i = 1;input.hasNext();i++){
line = input.nextInt();
if(line!=0){
System.out.println("Case "+i+": "+line);
}else{
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
13,
0,
13,
4,
18,
13,
40,
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
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
34,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
31,
39
],
[
34,
40
],
[
24,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
24,
46
],
[
46,
47
],
[
4,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
48,
54
],
[
54,
55
]
] | [
"import java.util.Scanner;\nclass Main {\n\tpublic void pi() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x = sc.nextInt();\n\t\twhile(x != 0) {\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().pi();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic void pi() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x = sc.nextInt();\n\t\twhile(x != 0) {\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().pi();\n\t}\n}",
"Main",
"public void pi() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x = sc.nextInt();\n\t\twhile(x != 0) {\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t}\n\t}",
"pi",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x = sc.nextInt();\n\t\twhile(x != 0) {\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\t\tx = sc.nextInt();\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",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(x != 0) {\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t}",
"x != 0",
"x",
"0",
"{\n\t\t\tSystem.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n\t\t\tx = sc.nextInt();\n\t\t\ti++;\n\t\t}",
"System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\" + \" \" + i + \":\" + \" \" + x",
"\" \"",
"\":\"",
"i",
"\"Case\" + \" \" + i + \":\" + \" \" + x",
"\"Case\"",
"\" \"",
"i",
"\":\"",
"\" \"",
"x",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"i++",
"i",
"public static void main(String[] args) {\n\t\tnew Main().pi();\n\t}",
"main",
"{\n\t\tnew Main().pi();\n\t}",
"new Main().pi()",
"new Main().pi",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public void pi() {
Scanner sc = new Scanner(System.in);
int i = 1;
int x = sc.nextInt();
while(x != 0) {
System.out.println("Case" + " " + i + ":" + " " + x);
x = sc.nextInt();
i++;
}
}
public static void main(String[] args) {
new Main().pi();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
13,
40,
13,
14,
4,
18,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
126,
8
],
[
126,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
26,
36
],
[
36,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
45,
47
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
11,
73
],
[
73,
74
],
[
73,
75
],
[
11,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
76,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
86,
92
],
[
92,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
94,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
94,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
94,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
94,
121
],
[
121,
122
],
[
9,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\t\n\t\tString string = \"\";\n\t\tint cn =0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] in = new int[cn];\n\t\t\n\t\tfor (int i=0; i < cn;i++) {\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}\n\t\t\n\t\tint j = 0;\n\t\t\n\t\tfor (int number = 1;; number++) {\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\t\n\t\tString string = \"\";\n\t\tint cn =0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] in = new int[cn];\n\t\t\n\t\tfor (int i=0; i < cn;i++) {\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}\n\t\t\n\t\tint j = 0;\n\t\t\n\t\tfor (int number = 1;; number++) {\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\t\n\t\tString string = \"\";\n\t\tint cn =0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] in = new int[cn];\n\t\t\n\t\tfor (int i=0; i < cn;i++) {\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}\n\t\t\n\t\tint j = 0;\n\t\t\n\t\tfor (int number = 1;; number++) {\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\t\n\t\tString string = \"\";\n\t\tint cn =0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] in = new int[cn];\n\t\t\n\t\tfor (int i=0; i < cn;i++) {\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}\n\t\t\n\t\tint j = 0;\n\t\t\n\t\tfor (int number = 1;; number++) {\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<String> lines = new ArrayList<String>();",
"lines",
"new ArrayList<String>()",
"String string = \"\";",
"string",
"\"\"",
"int cn =0;",
"cn",
"0",
"while (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"string = sc.nextLine()",
"string",
"sc.nextLine()",
"sc.nextLine",
"sc",
"lines.add(string)",
"lines.add",
"lines",
"string",
"cn++",
"cn",
"if(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}",
"string.equals(\"0\")",
"string.equals",
"string",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"int[] in = new int[cn];",
"in",
"new int[cn]",
"cn",
"for (int i=0; i < cn;i++) {\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < cn",
"i",
"cn",
"i++",
"i++",
"i",
"{\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}",
"{\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}",
"in[i] = Integer.parseInt(lines.get(i))",
"in[i]",
"in",
"i",
"Integer.parseInt(lines.get(i))",
"Integer.parseInt",
"Integer",
"lines.get(i)",
"lines.get",
"lines",
"i",
"int j = 0;",
"j",
"0",
"for (int number = 1;; number++) {\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}",
"int number = 1;",
"int number = 1;",
"number",
"1",
"number++",
"number++",
"number",
"{\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}",
"if (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}",
"in[j] == 0",
"in[j]",
"in",
"j",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}",
"System.out.print(\"Case \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"Case \"",
"System.out.print(number)",
"System.out.print",
"System.out",
"System",
"System.out",
"number",
"System.out.print(\": \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\": \"",
"System.out.println(in[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"in[j]",
"in",
"j",
"j++",
"j",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\t\n\t\tString string = \"\";\n\t\tint cn =0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] in = new int[cn];\n\t\t\n\t\tfor (int i=0; i < cn;i++) {\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}\n\t\t\n\t\tint j = 0;\n\t\t\n\t\tfor (int number = 1;; number++) {\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<String> lines = new ArrayList<String>();\n\t\t\n\t\tString string = \"\";\n\t\tint cn =0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif(string.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] in = new int[cn];\n\t\t\n\t\tfor (int i=0; i < cn;i++) {\n\t\t\tin[i] = Integer.parseInt(lines.get(i));\n\t\t}\n\t\t\n\t\tint j = 0;\n\t\t\n\t\tfor (int number = 1;; number++) {\n\t\t\tif (in[j] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(\"Case \");\n\t\t\t\tSystem.out.print(number);\n\t\t\t\tSystem.out.print(\": \");\n\t\t\t\tSystem.out.println(in[j]);\n\t\t\t\tj++;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<String> lines = new ArrayList<String>();
String string = "";
int cn =0;
while (true) {
string = sc.nextLine();
lines.add(string);
cn++;
if(string.equals("0")){
break;
}
}
int[] in = new int[cn];
for (int i=0; i < cn;i++) {
in[i] = Integer.parseInt(lines.get(i));
}
int j = 0;
for (int number = 1;; number++) {
if (in[j] == 0) {
break;
} else {
System.out.print("Case ");
System.out.print(number);
System.out.print(": ");
System.out.println(in[j]);
j++;
}
}
}
} |
[
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,
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
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
6,
54
],
[
54,
55
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint i=1;\n\t\twhile(true){\n \tString x=br.readLine();\n \tif(x.equals(\"0\")) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\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 \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 \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 \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 \t\ti++;\n }",
"true",
"{\n \tString x=br.readLine();\n \tif(x.equals(\"0\")) break;\n \tsb.append(\"Case \"+i+\": \"+x+\"\\n\");\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\"",
"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");
i++;
}
System.out.print(sb.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
11,
1,
41,
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,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
37,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
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\tScanner stdIn = new Scanner(System.in);\n\t\tint i = stdIn.nextInt();\n\t\tfor (int n = 1; i != 0; n++) {\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.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 stdIn = new Scanner(System.in);\n\t\tint i = stdIn.nextInt();\n\t\tfor (int n = 1; i != 0; n++) {\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint i = stdIn.nextInt();\n\t\tfor (int n = 1; i != 0; n++) {\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint i = stdIn.nextInt();\n\t\tfor (int n = 1; i != 0; n++) {\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.nextInt();\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int i = stdIn.nextInt();",
"i",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"for (int n = 1; i != 0; n++) {\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.nextInt();\n\t\t}",
"int n = 1;",
"int n = 1;",
"n",
"1",
"i != 0",
"i",
"0",
"n++",
"n++",
"n",
"{\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.nextInt();\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.nextInt();\n\t\t}",
"System.out.println(\"Case \" + n + \": \" + i)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + n + \": \" + i",
"\": \"",
"\"Case \" + n + \": \" + i",
"\"Case \"",
"n",
"\": \"",
"i",
"i = stdIn.nextInt()",
"i",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint i = stdIn.nextInt();\n\t\tfor (int n = 1; i != 0; n++) {\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.nextInt();\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint i = stdIn.nextInt();\n\t\tfor (int n = 1; i != 0; n++) {\n\t\t\tSystem.out.println(\"Case \" + n + \": \" + i);\n\t\t\ti = stdIn.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int i = stdIn.nextInt();
for (int n = 1; i != 0; n++) {
System.out.println("Case " + n + ": " + i);
i = stdIn.nextInt();
}
}
} |
[
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,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
78,
14
],
[
78,
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
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
17,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
44,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
65,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
15,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"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 NumberFormatException, IOException {\n\n\t\tArrayList<Integer> arrPost = new ArrayList<Integer>();\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true) {\n\t\t\tint n = Integer.parseInt(buffReader.readLine());\n\n\t\t\tif(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);\n\t\t}\n\n\t\tfor(int i = 0; i < arrPost.size(); i++) System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i));\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 NumberFormatException, IOException {\n\n\t\tArrayList<Integer> arrPost = new ArrayList<Integer>();\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true) {\n\t\t\tint n = Integer.parseInt(buffReader.readLine());\n\n\t\t\tif(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);\n\t\t}\n\n\t\tfor(int i = 0; i < arrPost.size(); i++) System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i));\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tArrayList<Integer> arrPost = new ArrayList<Integer>();\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true) {\n\t\t\tint n = Integer.parseInt(buffReader.readLine());\n\n\t\t\tif(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);\n\t\t}\n\n\t\tfor(int i = 0; i < arrPost.size(); i++) System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i));\n\t}",
"main",
"{\n\n\t\tArrayList<Integer> arrPost = new ArrayList<Integer>();\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true) {\n\t\t\tint n = Integer.parseInt(buffReader.readLine());\n\n\t\t\tif(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);\n\t\t}\n\n\t\tfor(int i = 0; i < arrPost.size(); i++) System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i));\n\t}",
"ArrayList<Integer> arrPost = new ArrayList<Integer>();",
"arrPost",
"new ArrayList<Integer>()",
"BufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));",
"buffReader",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true) {\n\t\t\tint n = Integer.parseInt(buffReader.readLine());\n\n\t\t\tif(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);\n\t\t}",
"true",
"{\n\t\t\tint n = Integer.parseInt(buffReader.readLine());\n\n\t\t\tif(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);\n\t\t}",
"int n = Integer.parseInt(buffReader.readLine());",
"n",
"Integer.parseInt(buffReader.readLine())",
"Integer.parseInt",
"Integer",
"buffReader.readLine()",
"buffReader.readLine",
"buffReader",
"if(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);",
"n == 0",
"n",
"0",
"break;",
"arrPost.add(n)",
"arrPost.add",
"arrPost",
"n",
"for(int i = 0; i < arrPost.size(); i++) System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i));",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arrPost.size()",
"i",
"arrPost.size()",
"arrPost.size",
"arrPost",
"i++",
"i++",
"i",
"System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i));",
"System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + arrPost.get(i)",
"\": \"",
"\"Case \" + (i + 1) + \": \" + arrPost.get(i)",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"arrPost.get(i)",
"arrPost.get",
"arrPost",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tArrayList<Integer> arrPost = new ArrayList<Integer>();\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true) {\n\t\t\tint n = Integer.parseInt(buffReader.readLine());\n\n\t\t\tif(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);\n\t\t}\n\n\t\tfor(int i = 0; i < arrPost.size(); i++) System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i));\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tArrayList<Integer> arrPost = new ArrayList<Integer>();\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true) {\n\t\t\tint n = Integer.parseInt(buffReader.readLine());\n\n\t\t\tif(n == 0) \tbreak;\n\t\t\telse \t\tarrPost.add(n);\n\t\t}\n\n\t\tfor(int i = 0; i < arrPost.size(); i++) System.out.println(\"Case \" + (i + 1) + \": \" + arrPost.get(i));\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 NumberFormatException, IOException {
ArrayList<Integer> arrPost = new ArrayList<Integer>();
BufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));
while(true) {
int n = Integer.parseInt(buffReader.readLine());
if(n == 0) break;
else arrPost.add(n);
}
for(int i = 0; i < arrPost.size(); i++) System.out.println("Case " + (i + 1) + ": " + arrPost.get(i));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
2,
13,
17,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
4,
18,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
15,
18
],
[
18,
19
],
[
19,
20
],
[
8,
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
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
34,
43
],
[
43,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
52,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
33,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
]
] | [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list = new ArrayList<>();\n list.add(sc.nextInt());\n for(int i = 1;i < 10001;i++){\n if(list.get(i-1) == 0){\n break; \n }\n System.out.println(\"Case \" + i + \": \" + list.get(i-1));\n list.add(sc.nextInt());\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list = new ArrayList<>();\n list.add(sc.nextInt());\n for(int i = 1;i < 10001;i++){\n if(list.get(i-1) == 0){\n break; \n }\n System.out.println(\"Case \" + i + \": \" + list.get(i-1));\n list.add(sc.nextInt());\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list = new ArrayList<>();\n list.add(sc.nextInt());\n for(int i = 1;i < 10001;i++){\n if(list.get(i-1) == 0){\n break; \n }\n System.out.println(\"Case \" + i + \": \" + list.get(i-1));\n list.add(sc.nextInt());\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> list = new ArrayList<>();\n list.add(sc.nextInt());\n for(int i = 1;i < 10001;i++){\n if(list.get(i-1) == 0){\n break; \n }\n System.out.println(\"Case \" + i + \": \" + list.get(i-1));\n list.add(sc.nextInt());\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"list.add(sc.nextInt())",
"list.add",
"list",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 1;i < 10001;i++){\n if(list.get(i-1) == 0){\n break; \n }\n System.out.println(\"Case \" + i + \": \" + list.get(i-1));\n list.add(sc.nextInt());\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n if(list.get(i-1) == 0){\n break; \n }\n System.out.println(\"Case \" + i + \": \" + list.get(i-1));\n list.add(sc.nextInt());\n }",
"{\n if(list.get(i-1) == 0){\n break; \n }\n System.out.println(\"Case \" + i + \": \" + list.get(i-1));\n list.add(sc.nextInt());\n }",
"if(list.get(i-1) == 0){\n break; \n }",
"list.get(i-1) == 0",
"list.get(i-1)",
"list.get",
"list",
"i-1",
"i",
"1",
"0",
"{\n break; \n }",
"break;",
"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",
"list.add(sc.nextInt())",
"list.add",
"list",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<>();
list.add(sc.nextInt());
for(int i = 1;i < 10001;i++){
if(list.get(i-1) == 0){
break;
}
System.out.println("Case " + i + ": " + list.get(i-1));
list.add(sc.nextInt());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
40,
13,
14,
2,
2,
13,
17,
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
],
[
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
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
17,
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
],
[
25,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.Scanner;\n\n/**\n *\n * @author lenovo\n */\npublic class Main {\n\n public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int x = scanner.nextInt();\n count++;\n if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }\n\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int x = scanner.nextInt();\n count++;\n if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int x = scanner.nextInt();\n count++;\n if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }\n\n }\n\n }",
"main",
"{\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int x = scanner.nextInt();\n count++;\n if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }\n\n }\n\n }",
"int count = 0;",
"count",
"0",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (true) {\n int x = scanner.nextInt();\n count++;\n if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }\n\n }",
"true",
"{\n int x = scanner.nextInt();\n count++;\n if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }\n\n }",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"count++",
"count",
"if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }",
"x >= 1 && x <= 10000",
"x >= 1",
"x",
"1",
"x <= 10000",
"x",
"10000",
"{\n\n System.out.println(\"Case \" + count + \": \" + x);\n }",
"System.out.println(\"Case \" + count + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + count + \": \" + x",
"\": \"",
"\"Case \" + count + \": \" + x",
"\"Case \"",
"count",
"\": \"",
"x",
"{\n break;\n }",
"break;",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int x = scanner.nextInt();\n count++;\n if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }\n\n }\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int x = scanner.nextInt();\n count++;\n if (x >= 1 && x <= 10000) {\n\n System.out.println(\"Case \" + count + \": \" + x);\n } else {\n break;\n }\n\n }\n\n }\n}",
"Main"
] | import java.util.Scanner;
/**
*
* @author lenovo
*/
public class Main {
public static void main(String[] args) {
int count = 0;
Scanner scanner = new Scanner(System.in);
while (true) {
int x = scanner.nextInt();
count++;
if (x >= 1 && x <= 10000) {
System.out.println("Case " + count + ": " + x);
} else {
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
3,
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
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
56,
62
],
[
55,
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
],
[
76,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[10000];\n\t\t\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}\n\t\t\t\t\n\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}\n\t}\n\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\tint[] a = new int[10000];\n\t\t\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}\n\t\t\t\t\n\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}\n\t}\n\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[10000];\n\t\t\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}\n\t\t\t\t\n\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[10000];\n\t\t\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}\n\t\t\t\t\n\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] a = new int[10000];",
"a",
"new int[10000]",
"10000",
"for(int i = 0 ; i<10000 ; i++){\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i<10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}",
"{\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}",
"a[i]=scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a[i]==0) break;",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"break;",
"for(int i = 0 ; i<10000 ; i++){\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i<10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}",
"{\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}",
"if(a[i]==0) break;",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"break;",
"System.out.println(\"Case \"+(i+1)+\": \"+a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(i+1)+\": \"+a[i]",
"\": \"",
"\"Case \"+(i+1)+\": \"+a[i]",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"a[i]",
"a",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[10000];\n\t\t\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}\n\t\t\t\t\n\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}\n\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[] a = new int[10000];\n\t\t\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\t\t\ta[i]=scan.nextInt();\n\t\t\t\t\tif(a[i]==0) break;\n\t\t\t\t\t}\n\t\t\t\t\n\t\tfor(int i = 0 ; i<10000 ; i++){\n\t\t\tif(a[i]==0) break;\n\t\tSystem.out.println(\"Case \"+(i+1)+\": \"+a[i]);\n\t\t}\n\t}\n\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] a = new int[10000];
for(int i = 0 ; i<10000 ; i++){
a[i]=scan.nextInt();
if(a[i]==0) break;
}
for(int i = 0 ; i<10000 ; i++){
if(a[i]==0) break;
System.out.println("Case "+(i+1)+": "+a[i]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
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
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
32,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
32,
36
],
[
24,
37
],
[
37,
38
],
[
24,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
4,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
44,
50
],
[
50,
51
]
] | [
"import java.util.Scanner;\nclass Main {\n public void kami() {\n Scanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x = sc.nextInt();\n\t\twhile(x != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t\tx = sc.nextInt();\n\t\t}\n\n }\n public static void main(String[] args) {\n new Main().kami();\n \t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public void kami() {\n Scanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x = sc.nextInt();\n\t\twhile(x != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t\tx = sc.nextInt();\n\t\t}\n\n }\n public static void main(String[] args) {\n new Main().kami();\n \t}\n\n}",
"Main",
"public void kami() {\n Scanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x = sc.nextInt();\n\t\twhile(x != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t\tx = sc.nextInt();\n\t\t}\n\n }",
"kami",
"{\n Scanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\tint x = sc.nextInt();\n\t\twhile(x != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t\tx = sc.nextInt();\n\t\t}\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(x != 0){\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t\tx = sc.nextInt();\n\t\t}",
"x != 0",
"x",
"0",
"{\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\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",
"i++",
"i",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void main(String[] args) {\n new Main().kami();\n \t}",
"main",
"{\n new Main().kami();\n \t}",
"new Main().kami()",
"new Main().kami",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public void kami() {
Scanner sc = new Scanner(System.in);
int i = 1;
int x = sc.nextInt();
while(x != 0){
System.out.println("Case " + i + ": " + x);
i++;
x = sc.nextInt();
}
}
public static void main(String[] args) {
new Main().kami();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
18,
36,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
6,
13,
41,
13,
4,
18,
13,
17,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
2,
13,
4,
18,
4,
18,
18,
36,
13,
2,
4,
18,
4,
18,
18,
36,
13,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
17,
4,
18,
13,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
4,
18,
4,
18,
18,
36,
13,
13,
4,
18,
13,
13,
0,
13,
4,
18,
4,
18,
13,
29,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
201,
20
],
[
201,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
21,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
84,
85
],
[
61,
86
],
[
86,
87
],
[
56,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
56,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
93,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
103,
111
],
[
111,
112
],
[
103,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
113,
121
],
[
121,
122
],
[
103,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
129,
131
],
[
125,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
137,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
148,
155
],
[
147,
156
],
[
132,
157
],
[
157,
158
],
[
158,
159
],
[
132,
160
],
[
161,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
161,
166
],
[
166,
167
],
[
167,
168
],
[
166,
169
],
[
169,
170
],
[
169,
171
],
[
161,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
161,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
179,
186
],
[
161,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
125,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
125,
198
],
[
198,
199
],
[
0,
200
],
[
200,
201
],
[
200,
202
]
] | [
"/*\n * Aizu Online Judge\n */\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\n/**\n *\n * @author yoshkur\n */\npublic class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData(br);\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}\n\nclass InputData {\n\n\tprivate List<Integer> numberList = new ArrayList<>();\n\n\tpublic InputData(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile((line = br.readLine()) != null) {\n\t\t\tthis.numberList.add(Integer.valueOf(line.trim()));\n\t\t}\n\t}\n\n\tpublic List<Integer> getNumberList() {\n\t\treturn numberList;\n\t}\n\n\tpublic void setNumberList(List<Integer> numberList) {\n\t\tthis.numberList = numberList;\n\t}\n\n}\n\nclass Processing {\n\tprivate static final String RETCODE = System.getProperty(\"line.separator\");\n\n\tprivate InputData inputData;\n\n\tpublic Processing(InputData inputData) {\n\t\tthis.inputData = inputData;\n\t}\n\n\tpublic String getResult() {\n\t\tString result = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0;\n\t\t\t\ti < this.inputData.getNumberList().size() \n\t\t\t\t&& this.inputData.getNumberList().get(i) != 0;\n\t\t\t\ti++) {\n\t\t\tsb.append(\"Case \");\n\t\t\tsb.append(i + 1);\n\t\t\tsb.append(\": \");\n\t\t\tsb.append(this.inputData.getNumberList().get(i));\n\t\t\tsb.append(RETCODE);\n\t\t}\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData(br);\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}",
"Main",
"/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData(br);\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData(br);\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData(br);\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}",
"catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}",
"IOException | NumberFormatException e",
"{\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}",
"System.err.println(e.getLocalizedMessage())",
"System.err.println",
"System.err",
"System",
"System.err",
"e.getLocalizedMessage()",
"e.getLocalizedMessage",
"e",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData(br);\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"InputData inputData = new InputData(br);",
"inputData",
"new InputData(br)",
"Processing processing = new Processing(inputData);",
"processing",
"new Processing(inputData)",
"System.out.println(processing.getResult())",
"System.out.println",
"System.out",
"System",
"System.out",
"processing.getResult()",
"processing.getResult",
"processing",
"String[] args",
"args",
"class InputData {\n\n\tprivate List<Integer> numberList = new ArrayList<>();\n\n\tpublic InputData(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile((line = br.readLine()) != null) {\n\t\t\tthis.numberList.add(Integer.valueOf(line.trim()));\n\t\t}\n\t}\n\n\tpublic List<Integer> getNumberList() {\n\t\treturn numberList;\n\t}\n\n\tpublic void setNumberList(List<Integer> numberList) {\n\t\tthis.numberList = numberList;\n\t}\n\n}",
"InputData",
"private List<Integer> numberList = new ArrayList<>();",
"numberList",
"new ArrayList<>()",
"public InputData(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile((line = br.readLine()) != null) {\n\t\t\tthis.numberList.add(Integer.valueOf(line.trim()));\n\t\t}\n\t}",
"InputData",
"{\n\t\tString line;\n\t\twhile((line = br.readLine()) != null) {\n\t\t\tthis.numberList.add(Integer.valueOf(line.trim()));\n\t\t}\n\t}",
"String line;",
"line",
"while((line = br.readLine()) != null) {\n\t\t\tthis.numberList.add(Integer.valueOf(line.trim()));\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tthis.numberList.add(Integer.valueOf(line.trim()));\n\t\t}",
"this.numberList.add(Integer.valueOf(line.trim()))",
"this.numberList.add",
"this.numberList",
"this",
"this.numberList",
"Integer.valueOf(line.trim())",
"Integer.valueOf",
"Integer",
"line.trim()",
"line.trim",
"line",
"BufferedReader br",
"br",
"public List<Integer> getNumberList() {\n\t\treturn numberList;\n\t}",
"getNumberList",
"{\n\t\treturn numberList;\n\t}",
"return numberList;",
"numberList",
"public void setNumberList(List<Integer> numberList) {\n\t\tthis.numberList = numberList;\n\t}",
"setNumberList",
"{\n\t\tthis.numberList = numberList;\n\t}",
"this.numberList = numberList",
"this.numberList",
"this",
"this.numberList",
"numberList",
"List<Integer> numberList",
"numberList",
"class Processing {\n\tprivate static final String RETCODE = System.getProperty(\"line.separator\");\n\n\tprivate InputData inputData;\n\n\tpublic Processing(InputData inputData) {\n\t\tthis.inputData = inputData;\n\t}\n\n\tpublic String getResult() {\n\t\tString result = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0;\n\t\t\t\ti < this.inputData.getNumberList().size() \n\t\t\t\t&& this.inputData.getNumberList().get(i) != 0;\n\t\t\t\ti++) {\n\t\t\tsb.append(\"Case \");\n\t\t\tsb.append(i + 1);\n\t\t\tsb.append(\": \");\n\t\t\tsb.append(this.inputData.getNumberList().get(i));\n\t\t\tsb.append(RETCODE);\n\t\t}\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}\n}",
"Processing",
"private static final String RETCODE = System.getProperty(\"line.separator\");",
"RETCODE",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"private InputData inputData;",
"inputData",
"public Processing(InputData inputData) {\n\t\tthis.inputData = inputData;\n\t}",
"Processing",
"{\n\t\tthis.inputData = inputData;\n\t}",
"this.inputData = inputData",
"this.inputData",
"this",
"this.inputData",
"inputData",
"InputData inputData",
"inputData",
"public String getResult() {\n\t\tString result = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0;\n\t\t\t\ti < this.inputData.getNumberList().size() \n\t\t\t\t&& this.inputData.getNumberList().get(i) != 0;\n\t\t\t\ti++) {\n\t\t\tsb.append(\"Case \");\n\t\t\tsb.append(i + 1);\n\t\t\tsb.append(\": \");\n\t\t\tsb.append(this.inputData.getNumberList().get(i));\n\t\t\tsb.append(RETCODE);\n\t\t}\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}",
"getResult",
"{\n\t\tString result = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0;\n\t\t\t\ti < this.inputData.getNumberList().size() \n\t\t\t\t&& this.inputData.getNumberList().get(i) != 0;\n\t\t\t\ti++) {\n\t\t\tsb.append(\"Case \");\n\t\t\tsb.append(i + 1);\n\t\t\tsb.append(\": \");\n\t\t\tsb.append(this.inputData.getNumberList().get(i));\n\t\t\tsb.append(RETCODE);\n\t\t}\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}",
"String result = null;",
"result",
"null",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0;\n\t\t\t\ti < this.inputData.getNumberList().size() \n\t\t\t\t&& this.inputData.getNumberList().get(i) != 0;\n\t\t\t\ti++) {\n\t\t\tsb.append(\"Case \");\n\t\t\tsb.append(i + 1);\n\t\t\tsb.append(\": \");\n\t\t\tsb.append(this.inputData.getNumberList().get(i));\n\t\t\tsb.append(RETCODE);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < this.inputData.getNumberList().size() \n\t\t\t\t&& this.inputData.getNumberList().get(i) != 0",
"i < this.inputData.getNumberList().size()",
"i",
"this.inputData.getNumberList().size()",
"this.inputData.getNumberList().size",
"this.inputData.getNumberList()",
"this.inputData.getNumberList",
"this.inputData",
"this",
"this.inputData",
"this.inputData.getNumberList().get(i) != 0",
"this.inputData.getNumberList().get(i)",
"this.inputData.getNumberList().get",
"this.inputData.getNumberList()",
"this.inputData.getNumberList",
"this.inputData",
"this",
"this.inputData",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tsb.append(\"Case \");\n\t\t\tsb.append(i + 1);\n\t\t\tsb.append(\": \");\n\t\t\tsb.append(this.inputData.getNumberList().get(i));\n\t\t\tsb.append(RETCODE);\n\t\t}",
"{\n\t\t\tsb.append(\"Case \");\n\t\t\tsb.append(i + 1);\n\t\t\tsb.append(\": \");\n\t\t\tsb.append(this.inputData.getNumberList().get(i));\n\t\t\tsb.append(RETCODE);\n\t\t}",
"sb.append(\"Case \")",
"sb.append",
"sb",
"\"Case \"",
"sb.append(i + 1)",
"sb.append",
"sb",
"i + 1",
"i",
"1",
"sb.append(\": \")",
"sb.append",
"sb",
"\": \"",
"sb.append(this.inputData.getNumberList().get(i))",
"sb.append",
"sb",
"this.inputData.getNumberList().get(i)",
"this.inputData.getNumberList().get",
"this.inputData.getNumberList()",
"this.inputData.getNumberList",
"this.inputData",
"this",
"this.inputData",
"i",
"sb.append(RETCODE)",
"sb.append",
"sb",
"RETCODE",
"result = sb.toString().trim()",
"result",
"sb.toString().trim()",
"sb.toString().trim",
"sb.toString()",
"sb.toString",
"sb",
"return result;",
"result",
"public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData(br);\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}",
"public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData(br);\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}",
"Main"
] | /*
* Aizu Online Judge
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
*
* @author yoshkur
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
InputData inputData = new InputData(br);
Processing processing = new Processing(inputData);
System.out.println(processing.getResult());
} catch (IOException | NumberFormatException e) {
System.err.println(e.getLocalizedMessage());
}
}
}
class InputData {
private List<Integer> numberList = new ArrayList<>();
public InputData(BufferedReader br) throws IOException {
String line;
while((line = br.readLine()) != null) {
this.numberList.add(Integer.valueOf(line.trim()));
}
}
public List<Integer> getNumberList() {
return numberList;
}
public void setNumberList(List<Integer> numberList) {
this.numberList = numberList;
}
}
class Processing {
private static final String RETCODE = System.getProperty("line.separator");
private InputData inputData;
public Processing(InputData inputData) {
this.inputData = inputData;
}
public String getResult() {
String result = null;
StringBuilder sb = new StringBuilder();
for (int i = 0;
i < this.inputData.getNumberList().size()
&& this.inputData.getNumberList().get(i) != 0;
i++) {
sb.append("Case ");
sb.append(i + 1);
sb.append(": ");
sb.append(this.inputData.getNumberList().get(i));
sb.append(RETCODE);
}
result = sb.toString().trim();
return result;
}
} |
[
7,
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,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
30,
3,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
35,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
35,
39
],
[
27,
40
],
[
40,
41
],
[
23,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tint con = 1;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint num = scan.nextInt();\n\t\t\tif(num!=0){\n\t\t\t\tSystem.out.println(\"Case \" + con + \": \" + num);\n\t\t\t\tcon++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tint con = 1;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint num = scan.nextInt();\n\t\t\tif(num!=0){\n\t\t\t\tSystem.out.println(\"Case \" + con + \": \" + num);\n\t\t\t\tcon++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tint con = 1;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint num = scan.nextInt();\n\t\t\tif(num!=0){\n\t\t\t\tSystem.out.println(\"Case \" + con + \": \" + num);\n\t\t\t\tcon++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tint con = 1;\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint num = scan.nextInt();\n\t\t\tif(num!=0){\n\t\t\t\tSystem.out.println(\"Case \" + con + \": \" + num);\n\t\t\t\tcon++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"int con = 1;",
"con",
"1",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n\t\t\tint num = scan.nextInt();\n\t\t\tif(num!=0){\n\t\t\t\tSystem.out.println(\"Case \" + con + \": \" + num);\n\t\t\t\tcon++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\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\tSystem.out.println(\"Case \" + con + \": \" + num);\n\t\t\t\tcon++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(num!=0){\n\t\t\t\tSystem.out.println(\"Case \" + con + \": \" + num);\n\t\t\t\tcon++;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}",
"num!=0",
"num",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \" + con + \": \" + num);\n\t\t\t\tcon++;\n\t\t\t}",
"System.out.println(\"Case \" + con + \": \" + num)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + con + \": \" + num",
"\": \"",
"\"Case \" + con + \": \" + num",
"\"Case \"",
"con",
"\": \"",
"num",
"con++",
"con",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String args[]",
"args"
] | import java.util.*;
class Main{
public static void main(String args[]){
int con = 1;
Scanner scan = new Scanner(System.in);
while(true){
int num = scan.nextInt();
if(num!=0){
System.out.println("Case " + con + ": " + num);
con++;
}
else{
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
11,
1,
30,
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,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
20,
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
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
38,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
38,
42
],
[
20,
43
],
[
43,
44
],
[
54,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint x;\n\t\tint i = 1;\n\t for(;;){\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }\n\t \n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint x;\n\t\tint i = 1;\n\t for(;;){\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }\n\t \n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main",
"void run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint x;\n\t\tint i = 1;\n\t for(;;){\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }\n\t \n\t}",
"run",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint x;\n\t\tint i = 1;\n\t for(;;){\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }\n\t \n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int x;",
"x",
"int i = 1;",
"i",
"1",
"for(;;){\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }",
";",
"{\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }",
"{\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }",
"x = s.nextInt()",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"if(x == 0) break;",
"x == 0",
"x",
"0",
"break;",
"System.out.println(\"Case \" + i + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x",
"\": \"",
"\"Case \" + i + \": \" + x",
"\"Case \"",
"i",
"\": \"",
"x",
"i++",
"i",
"public static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint x;\n\t\tint i = 1;\n\t for(;;){\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }\n\t \n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint x;\n\t\tint i = 1;\n\t for(;;){\n\t \tx = s.nextInt();\n\t \tif(x == 0) break;\n\t \tSystem.out.println(\"Case \" + i + \": \" + x);\n\t \ti++;\n\t }\n\t \n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run(){
Scanner s = new Scanner(System.in);
int x;
int i = 1;
for(;;){
x = s.nextInt();
if(x == 0) break;
System.out.println("Case " + i + ": " + x);
i++;
}
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
46,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
46,
50
],
[
6,
51
],
[
51,
52
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) throws Exception{\n\n int num = 10000;\n\n Scanner sc = new Scanner(System.in);\n\n for (int i = 1; i <= num; i++) {\n int x = sc.nextInt();\n if(x == 0){\n break;\n }\n System.out.println(\"Case \"+ i + \": \" + x);\n }\n\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args) throws Exception{\n\n int num = 10000;\n\n Scanner sc = new Scanner(System.in);\n\n for (int i = 1; i <= num; i++) {\n int x = sc.nextInt();\n if(x == 0){\n break;\n }\n System.out.println(\"Case \"+ i + \": \" + x);\n }\n\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\n int num = 10000;\n\n Scanner sc = new Scanner(System.in);\n\n for (int i = 1; i <= num; i++) {\n int x = sc.nextInt();\n if(x == 0){\n break;\n }\n System.out.println(\"Case \"+ i + \": \" + x);\n }\n\n\n }",
"main",
"{\n\n int num = 10000;\n\n Scanner sc = new Scanner(System.in);\n\n for (int i = 1; i <= num; i++) {\n int x = sc.nextInt();\n if(x == 0){\n break;\n }\n System.out.println(\"Case \"+ i + \": \" + x);\n }\n\n\n }",
"int num = 10000;",
"num",
"10000",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int i = 1; i <= num; i++) {\n int x = sc.nextInt();\n if(x == 0){\n break;\n }\n System.out.println(\"Case \"+ i + \": \" + x);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= num",
"i",
"num",
"i++",
"i++",
"i",
"{\n int x = sc.nextInt();\n if(x == 0){\n break;\n }\n System.out.println(\"Case \"+ i + \": \" + x);\n }",
"{\n int x = sc.nextInt();\n if(x == 0){\n break;\n }\n System.out.println(\"Case \"+ 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.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) throws Exception{
int num = 10000;
Scanner sc = new Scanner(System.in);
for (int i = 1; i <= num; 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,
17,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
13,
17,
17,
13,
40,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
33,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
33,
38
],
[
24,
39
],
[
39,
40
],
[
24,
41
],
[
41,
42
],
[
41,
43
],
[
43,
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\tScanner stdin = new Scanner(System.in);\n int i =1;\n int a = stdin.nextInt();\n\twhile(a!=0){\n\t System.out.println(\"Case \"+i+\":\"+\" \"+a);\n\t i++;\n\t a = stdin.nextInt();\n\t }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n int i =1;\n int a = stdin.nextInt();\n\twhile(a!=0){\n\t System.out.println(\"Case \"+i+\":\"+\" \"+a);\n\t i++;\n\t a = stdin.nextInt();\n\t }\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n int i =1;\n int a = stdin.nextInt();\n\twhile(a!=0){\n\t System.out.println(\"Case \"+i+\":\"+\" \"+a);\n\t i++;\n\t a = stdin.nextInt();\n\t }\n }",
"main",
"{\n\tScanner stdin = new Scanner(System.in);\n int i =1;\n int a = stdin.nextInt();\n\twhile(a!=0){\n\t System.out.println(\"Case \"+i+\":\"+\" \"+a);\n\t i++;\n\t a = stdin.nextInt();\n\t }\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int i =1;",
"i",
"1",
"int a = stdin.nextInt();",
"a",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"while(a!=0){\n\t System.out.println(\"Case \"+i+\":\"+\" \"+a);\n\t i++;\n\t a = stdin.nextInt();\n\t }",
"a!=0",
"a",
"0",
"{\n\t System.out.println(\"Case \"+i+\":\"+\" \"+a);\n\t i++;\n\t a = stdin.nextInt();\n\t }",
"System.out.println(\"Case \"+i+\":\"+\" \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\":\"+\" \"+a",
"\" \"",
"\":\"",
"\"Case \"+i+\":\"+\" \"+a",
"\"Case \"",
"i",
"\":\"",
"\" \"",
"a",
"i++",
"i",
"a = stdin.nextInt()",
"a",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n int i =1;\n int a = stdin.nextInt();\n\twhile(a!=0){\n\t System.out.println(\"Case \"+i+\":\"+\" \"+a);\n\t i++;\n\t a = stdin.nextInt();\n\t }\n }\n}",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n int i =1;\n int a = stdin.nextInt();\n\twhile(a!=0){\n\t System.out.println(\"Case \"+i+\":\"+\" \"+a);\n\t i++;\n\t a = stdin.nextInt();\n\t }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner stdin = new Scanner(System.in);
int i =1;
int a = stdin.nextInt();
while(a!=0){
System.out.println("Case "+i+":"+" "+a);
i++;
a = stdin.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
40,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
2,
13,
17,
30,
3,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
37,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
37,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
23,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n int count = 1;\n while(true){\n String str = input.nextLine();\n if(!str.equals(\"0\")){\n System.out.println(\"Case \"+ count + \": \" + str);\n count = count + 1;\n }else{\n break;\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n int count = 1;\n while(true){\n String str = input.nextLine();\n if(!str.equals(\"0\")){\n System.out.println(\"Case \"+ count + \": \" + str);\n count = count + 1;\n }else{\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n int count = 1;\n while(true){\n String str = input.nextLine();\n if(!str.equals(\"0\")){\n System.out.println(\"Case \"+ count + \": \" + str);\n count = count + 1;\n }else{\n break;\n }\n }\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n int count = 1;\n while(true){\n String str = input.nextLine();\n if(!str.equals(\"0\")){\n System.out.println(\"Case \"+ count + \": \" + str);\n count = count + 1;\n }else{\n break;\n }\n }\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"int count = 1;",
"count",
"1",
"while(true){\n String str = input.nextLine();\n if(!str.equals(\"0\")){\n System.out.println(\"Case \"+ count + \": \" + str);\n count = count + 1;\n }else{\n break;\n }\n }",
"true",
"{\n String str = input.nextLine();\n if(!str.equals(\"0\")){\n System.out.println(\"Case \"+ count + \": \" + str);\n count = count + 1;\n }else{\n break;\n }\n }",
"String str = input.nextLine();",
"str",
"input.nextLine()",
"input.nextLine",
"input",
"if(!str.equals(\"0\")){\n System.out.println(\"Case \"+ count + \": \" + str);\n count = count + 1;\n }else{\n break;\n }",
"!str.equals(\"0\")",
"str.equals(\"0\")",
"str.equals",
"str",
"\"0\"",
"{\n System.out.println(\"Case \"+ count + \": \" + str);\n count = count + 1;\n }",
"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 + 1",
"count",
"count + 1",
"count",
"1",
"{\n break;\n }",
"break;",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
int count = 1;
while(true){
String str = input.nextLine();
if(!str.equals("0")){
System.out.println("Case "+ count + ": " + str);
count = count + 1;
}else{
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
68,
11
],
[
68,
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
],
[
45,
54
],
[
43,
55
],
[
41,
56
],
[
26,
57
],
[
57,
58
],
[
14,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
12,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int i = 1;\n while (true) {\n int n = Integer.parseInt(br.readLine());\n if (n == 0) {\n break;\n }\n sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\");\n i++;\n }\n System.out.print(sb);\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int i = 1;\n while (true) {\n int n = Integer.parseInt(br.readLine());\n if (n == 0) {\n break;\n }\n sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\");\n i++;\n }\n System.out.print(sb);\n }\n\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int i = 1;\n while (true) {\n int n = Integer.parseInt(br.readLine());\n if (n == 0) {\n break;\n }\n sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\");\n i++;\n }\n System.out.print(sb);\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int i = 1;\n while (true) {\n int n = Integer.parseInt(br.readLine());\n if (n == 0) {\n break;\n }\n sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\");\n i++;\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 n = Integer.parseInt(br.readLine());\n if (n == 0) {\n break;\n }\n sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\");\n i++;\n }",
"true",
"{\n int n = Integer.parseInt(br.readLine());\n if (n == 0) {\n break;\n }\n sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\");\n i++;\n }",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if (n == 0) {\n break;\n }",
"n == 0",
"n",
"0",
"{\n break;\n }",
"break;",
"sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\")",
"sb.append(\"Case \").append(i).append(\": \").append(n).append",
"sb.append(\"Case \").append(i).append(\": \").append(n)",
"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",
"\": \"",
"n",
"\"\\n\"",
"i++",
"i",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int i = 1;\n while (true) {\n int n = Integer.parseInt(br.readLine());\n if (n == 0) {\n break;\n }\n sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\");\n i++;\n }\n System.out.print(sb);\n }\n\n}",
"public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int i = 1;\n while (true) {\n int n = Integer.parseInt(br.readLine());\n if (n == 0) {\n break;\n }\n sb.append(\"Case \").append(i).append(\": \").append(n).append(\"\\n\");\n i++;\n }\n System.out.print(sb);\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 NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int i = 1;
while (true) {
int n = Integer.parseInt(br.readLine());
if (n == 0) {
break;
}
sb.append("Case ").append(i).append(": ").append(n).append("\n");
i++;
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
4,
13,
4,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
17,
41,
13,
20,
28,
13,
13,
30,
30,
14,
4,
18,
17,
13,
30,
3,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
40,
13,
17,
13,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
4,
18,
13,
13,
17,
29,
4,
18,
13,
23,
13,
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
],
[
173,
14
],
[
173,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
173,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
21,
36
],
[
36,
37
],
[
173,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
50,
52
],
[
40,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
58,
63
],
[
63,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
57,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
80,
86
],
[
86,
87
],
[
78,
88
],
[
76,
89
],
[
40,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
38,
94
],
[
94,
95
],
[
173,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
98,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
105,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
111,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
105,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
142,
144
],
[
138,
145
],
[
145,
146
],
[
145,
147
],
[
138,
148
],
[
148,
149
],
[
138,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
151,
157
],
[
150,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
159,
165
],
[
138,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
96,
170
],
[
170,
171
],
[
0,
172
],
[
172,
173
],
[
172,
174
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] split = data.split(\"\\\\n\");\n\n int i = 1;\n StringBuilder sb = new StringBuilder();\n for (String s : split) {\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }\n\n return sb.toString();\n }\n\n protected static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] split = data.split(\"\\\\n\");\n\n int i = 1;\n StringBuilder sb = new StringBuilder();\n for (String s : split) {\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }\n\n return sb.toString();\n }\n\n protected static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n}",
"Main",
"private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");",
"LINE_SEPARATOR",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }",
"main",
"{\n System.out.println(process(readAll(System.in)));\n }",
"System.out.println(process(readAll(System.in)))",
"System.out.println",
"System.out",
"System",
"System.out",
"process(readAll(System.in))",
"process",
"readAll(System.in)",
"readAll",
"System.in",
"System",
"System.in",
"String[] args",
"args",
"protected static String process(String data) {\n final String[] split = data.split(\"\\\\n\");\n\n int i = 1;\n StringBuilder sb = new StringBuilder();\n for (String s : split) {\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }\n\n return sb.toString();\n }",
"process",
"{\n final String[] split = data.split(\"\\\\n\");\n\n int i = 1;\n StringBuilder sb = new StringBuilder();\n for (String s : split) {\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }\n\n return sb.toString();\n }",
"final String[] split = data.split(\"\\\\n\");",
"split",
"data.split(\"\\\\n\")",
"data.split",
"data",
"\"\\\\n\"",
"int i = 1;",
"i",
"1",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (String s : split) {\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }",
"String s",
"split",
"{\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }",
"{\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }",
"if (\"0\".equals(s)) {\n break;\n }",
"\"0\".equals(s)",
"\"0\".equals",
"\"0\"",
"s",
"{\n break;\n }",
"break;",
"if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }",
"sb.length() > 0",
"sb.length()",
"sb.length",
"sb",
"0",
"{\n sb.append(LINE_SEPARATOR);\n }",
"sb.append(LINE_SEPARATOR)",
"sb.append",
"sb",
"LINE_SEPARATOR",
"sb.append(\"Case \").append(i++).append(\": \").append(s)",
"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++",
"i",
"\": \"",
"s",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"String data",
"data",
"protected static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }",
"readAll",
"{\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }",
"InputStreamReader r = null;",
"r",
"null",
"BufferedReader br = null;",
"br",
"null",
"try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }",
"if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }",
"br != null",
"br",
"null",
"{\n try {\n br.close();\n } catch (IOException e) {\n }\n }",
"try {\n br.close();\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n br.close();\n }",
"br.close()",
"br.close",
"br",
"if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }",
"r != null",
"r",
"null",
"{\n try {\n r.close();\n } catch (IOException e) {\n }\n }",
"try {\n r.close();\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n r.close();\n }",
"r.close()",
"r.close",
"r",
"{\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n }",
"r = new InputStreamReader(is)",
"r",
"new InputStreamReader(is)",
"br = new BufferedReader(r)",
"br",
"new BufferedReader(r)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String s;",
"s",
"while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }",
"(s = br.readLine()) != null",
"(s = br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n sb.append(s).append('\\n');\n }",
"sb.append(s).append('\\n')",
"sb.append(s).append",
"sb.append(s)",
"sb.append",
"sb",
"s",
"'\\n'",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"InputStream is",
"is",
"public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] split = data.split(\"\\\\n\");\n\n int i = 1;\n StringBuilder sb = new StringBuilder();\n for (String s : split) {\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }\n\n return sb.toString();\n }\n\n protected static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n}",
"public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] split = data.split(\"\\\\n\");\n\n int i = 1;\n StringBuilder sb = new StringBuilder();\n for (String s : split) {\n if (\"0\".equals(s)) {\n break;\n }\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n sb.append(\"Case \").append(i++).append(\": \").append(s);\n }\n\n return sb.toString();\n }\n\n protected static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class Main {
private static final String LINE_SEPARATOR = System.getProperty("line.separator");
public static void main(String[] args) {
System.out.println(process(readAll(System.in)));
}
protected static String process(String data) {
final String[] split = data.split("\\n");
int i = 1;
StringBuilder sb = new StringBuilder();
for (String s : split) {
if ("0".equals(s)) {
break;
}
if (sb.length() > 0) {
sb.append(LINE_SEPARATOR);
}
sb.append("Case ").append(i++).append(": ").append(s);
}
return sb.toString();
}
protected static String readAll(InputStream is) {
InputStreamReader r = null;
BufferedReader br = null;
try {
r = new InputStreamReader(is);
br = new BufferedReader(r);
StringBuilder sb = new StringBuilder();
String s;
while ((s = br.readLine()) != null) {
sb.append(s).append('\n');
}
return sb.toString();
} catch (IOException e) {
throw new RuntimeException(e);
} finally {
if (br != null) {
try {
br.close();
} catch (IOException e) {
}
}
if (r != null) {
try {
r.close();
} catch (IOException e) {
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
4,
18,
18,
13,
13,
17,
3,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
2,
13,
17,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
22,
23
],
[
16,
24
],
[
25,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
33,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
47,
48
],
[
41,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
52,
59
],
[
51,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
68,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sca=new Scanner(System.in);\n String num[]=new String[10001];\n for(int i=0;;i++){\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }\n for(int i=1;;i++){\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n } \n } \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sca=new Scanner(System.in);\n String num[]=new String[10001];\n for(int i=0;;i++){\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }\n for(int i=1;;i++){\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n } \n } \n}",
"Main",
"public static void main(String[] args){\n Scanner sca=new Scanner(System.in);\n String num[]=new String[10001];\n for(int i=0;;i++){\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }\n for(int i=1;;i++){\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n } \n }",
"main",
"{\n Scanner sca=new Scanner(System.in);\n String num[]=new String[10001];\n for(int i=0;;i++){\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }\n for(int i=1;;i++){\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n } \n }",
"Scanner sca=new Scanner(System.in);",
"sca",
"new Scanner(System.in)",
"String num[]=new String[10001];",
"num",
"new String[10001]",
"10001",
"for(int i=0;;i++){\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }",
"{\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }",
"num[i] =sca.next()",
"num[i]",
"num",
"i",
"sca.next()",
"sca.next",
"sca",
"if(num[i].equals(\"0\"))break;",
"num[i].equals(\"0\")",
"num[i].equals",
"num[i]",
"num",
"i",
"\"0\"",
"break;",
"for(int i=1;;i++){\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n }",
"{\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n }",
"if(num[i-1].equals(\"0\"))break;",
"num[i-1].equals(\"0\")",
"num[i-1].equals",
"num[i-1]",
"num",
"i-1",
"i",
"1",
"\"0\"",
"break;",
"System.out.println(\"Case \"+i+\": \"+num[i-1])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+num[i-1]",
"\": \"",
"\"Case \"+i+\": \"+num[i-1]",
"\"Case \"",
"i",
"\": \"",
"num[i-1]",
"num",
"i-1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sca=new Scanner(System.in);\n String num[]=new String[10001];\n for(int i=0;;i++){\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }\n for(int i=1;;i++){\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n } \n } \n}",
"public class Main {\n public static void main(String[] args){\n Scanner sca=new Scanner(System.in);\n String num[]=new String[10001];\n for(int i=0;;i++){\n num[i] =sca.next();\n if(num[i].equals(\"0\"))break;\n }\n for(int i=1;;i++){\n if(num[i-1].equals(\"0\"))break;\n System.out.println(\"Case \"+i+\": \"+num[i-1]);\n } \n } \n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sca=new Scanner(System.in);
String num[]=new String[10001];
for(int i=0;;i++){
num[i] =sca.next();
if(num[i].equals("0"))break;
}
for(int i=1;;i++){
if(num[i-1].equals("0"))break;
System.out.println("Case "+i+": "+num[i-1]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
40,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
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
],
[
17,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
38,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
38,
42
],
[
6,
43
],
[
43,
44
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint count = 0;\n\n \twhile(true){\n \t\tcount++;\n \t\tint x = scan.nextInt();\n\n \t\tif(x == 0){\n \t\t\tbreak;\n \t\t}\n\n \t\tSystem.out.println(\"Case \" + count + \": \" + x);\n \t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint count = 0;\n\n \twhile(true){\n \t\tcount++;\n \t\tint x = scan.nextInt();\n\n \t\tif(x == 0){\n \t\t\tbreak;\n \t\t}\n\n \t\tSystem.out.println(\"Case \" + count + \": \" + x);\n \t}\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tint count = 0;\n\n \twhile(true){\n \t\tcount++;\n \t\tint x = scan.nextInt();\n\n \t\tif(x == 0){\n \t\t\tbreak;\n \t\t}\n\n \t\tSystem.out.println(\"Case \" + count + \": \" + x);\n \t}\n }",
"main",
"{\n \tScanner scan = new Scanner(System.in);\n \tint count = 0;\n\n \twhile(true){\n \t\tcount++;\n \t\tint x = scan.nextInt();\n\n \t\tif(x == 0){\n \t\t\tbreak;\n \t\t}\n\n \t\tSystem.out.println(\"Case \" + count + \": \" + x);\n \t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int count = 0;",
"count",
"0",
"while(true){\n \t\tcount++;\n \t\tint x = scan.nextInt();\n\n \t\tif(x == 0){\n \t\t\tbreak;\n \t\t}\n\n \t\tSystem.out.println(\"Case \" + count + \": \" + x);\n \t}",
"true",
"{\n \t\tcount++;\n \t\tint x = scan.nextInt();\n\n \t\tif(x == 0){\n \t\t\tbreak;\n \t\t}\n\n \t\tSystem.out.println(\"Case \" + count + \": \" + x);\n \t}",
"count++",
"count",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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 \" + count + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + count + \": \" + x",
"\": \"",
"\"Case \" + count + \": \" + x",
"\"Case \"",
"count",
"\": \"",
"x",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int count = 0;
while(true){
count++;
int x = scan.nextInt();
if(x == 0){
break;
}
System.out.println("Case " + count + ": " + x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
13,
14,
2,
2,
17,
13,
2,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
30,
3,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
93,
11
],
[
93,
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
],
[
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
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
56,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
81,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
81,
85
],
[
63,
86
],
[
86,
87
],
[
52,
88
],
[
88,
89
],
[
12,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint intCount = 0;\n\n\t\ttry {\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*for (int i = 0; i < 10000; i++) {\n\n\t\t\t\t//??\\????????????\n\t\t\t\tBufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString strInput = strLine.readLine();\n\n\t\t\t\tintx = Integer.parseInt(strInput);\n\n\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\tintCount++;\n\n\t\t\t\t\t//??????\n\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}*/\n\t\t\t//System.out.println(intCount);\n\t\t}catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint intCount = 0;\n\n\t\ttry {\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*for (int i = 0; i < 10000; i++) {\n\n\t\t\t\t//??\\????????????\n\t\t\t\tBufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString strInput = strLine.readLine();\n\n\t\t\t\tintx = Integer.parseInt(strInput);\n\n\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\tintCount++;\n\n\t\t\t\t\t//??????\n\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}*/\n\t\t\t//System.out.println(intCount);\n\t\t}catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint intCount = 0;\n\n\t\ttry {\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*for (int i = 0; i < 10000; i++) {\n\n\t\t\t\t//??\\????????????\n\t\t\t\tBufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString strInput = strLine.readLine();\n\n\t\t\t\tintx = Integer.parseInt(strInput);\n\n\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\tintCount++;\n\n\t\t\t\t\t//??????\n\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}*/\n\t\t\t//System.out.println(intCount);\n\t\t}catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}",
"main",
"{\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint intCount = 0;\n\n\t\ttry {\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*for (int i = 0; i < 10000; i++) {\n\n\t\t\t\t//??\\????????????\n\t\t\t\tBufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString strInput = strLine.readLine();\n\n\t\t\t\tintx = Integer.parseInt(strInput);\n\n\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\tintCount++;\n\n\t\t\t\t\t//??????\n\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}*/\n\t\t\t//System.out.println(intCount);\n\t\t}catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}",
"int intx = 0;",
"intx",
"0",
"int intCount = 0;",
"intCount",
"0",
"try {\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*for (int i = 0; i < 10000; i++) {\n\n\t\t\t\t//??\\????????????\n\t\t\t\tBufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString strInput = strLine.readLine();\n\n\t\t\t\tintx = Integer.parseInt(strInput);\n\n\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\tintCount++;\n\n\t\t\t\t\t//??????\n\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}*/\n\t\t\t//System.out.println(intCount);\n\t\t}catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}",
"catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}",
"IOException e1",
"{\n\t\t\tSystem.out.println(e1);\n\t\t}",
"System.out.println(e1)",
"System.out.println",
"System.out",
"System",
"System.out",
"e1",
"catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}",
"NumberFormatException e2",
"{\n\t\t\tSystem.out.println(e2);\n\t\t}",
"System.out.println(e2)",
"System.out.println",
"System.out",
"System",
"System.out",
"e2",
"{\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*for (int i = 0; i < 10000; i++) {\n\n\t\t\t\t//??\\????????????\n\t\t\t\tBufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString strInput = strLine.readLine();\n\n\t\t\t\tintx = Integer.parseInt(strInput);\n\n\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\tintCount++;\n\n\t\t\t\t\t//??????\n\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}*/\n\t\t\t//System.out.println(intCount);\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"String strline = br.readLine();",
"strline",
"br.readLine()",
"br.readLine",
"br",
"if (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"strline != null",
"strline",
"null",
"{\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"intx = Integer.parseInt(strline)",
"intx",
"Integer.parseInt(strline)",
"Integer.parseInt",
"Integer",
"strline",
"if (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"1 <= intx && intx <= 10000",
"1 <= intx",
"1",
"intx",
"intx <= 10000",
"intx",
"10000",
"{\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}",
"intCount++",
"intCount",
"System.out.println(\"Case \" + intCount + \": \" + intx)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + intCount + \": \" + intx",
"\": \"",
"\"Case \" + intCount + \": \" + intx",
"\"Case \"",
"intCount",
"\": \"",
"intx",
"{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"break;",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint intCount = 0;\n\n\t\ttry {\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*for (int i = 0; i < 10000; i++) {\n\n\t\t\t\t//??\\????????????\n\t\t\t\tBufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString strInput = strLine.readLine();\n\n\t\t\t\tintx = Integer.parseInt(strInput);\n\n\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\tintCount++;\n\n\t\t\t\t\t//??????\n\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}*/\n\t\t\t//System.out.println(intCount);\n\t\t}catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint intCount = 0;\n\n\t\ttry {\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile(true){\n\t\t\t\tString strline = br.readLine();\n\n\t\t\t\tif (strline != null) {\n\t\t\t\t\tintx = Integer.parseInt(strline);\n\t\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\t\tintCount++;\n\n\t\t\t\t\t\t//??????\n\t\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t/*for (int i = 0; i < 10000; i++) {\n\n\t\t\t\t//??\\????????????\n\t\t\t\tBufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\tString strInput = strLine.readLine();\n\n\t\t\t\tintx = Integer.parseInt(strInput);\n\n\t\t\t\tif (1 <= intx && intx <= 10000) {\n\t\t\t\t\t//??¶??°?????§????????¨\n\t\t\t\t\tintCount++;\n\n\t\t\t\t\t//??????\n\t\t\t\t\tSystem.out.println(\"Case \" + intCount + \": \" + intx);\n\t\t\t\t}else{\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}*/\n\t\t\t//System.out.println(intCount);\n\t\t}catch (IOException e1) {\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
//?????£?????????
int intx = 0;
int intCount = 0;
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String strline = br.readLine();
if (strline != null) {
intx = Integer.parseInt(strline);
if (1 <= intx && intx <= 10000) {
//??¶??°?????§????????¨
intCount++;
//??????
System.out.println("Case " + intCount + ": " + intx);
}else{
break;
}
}else{
break;
}
}
/*for (int i = 0; i < 10000; i++) {
//??\????????????
BufferedReader strLine = new BufferedReader(new InputStreamReader(System.in));
String strInput = strLine.readLine();
intx = Integer.parseInt(strInput);
if (1 <= intx && intx <= 10000) {
//??¶??°?????§????????¨
intCount++;
//??????
System.out.println("Case " + intCount + ": " + intx);
}else{
break;
}
}*/
//System.out.println(intCount);
}catch (IOException e1) {
System.out.println(e1);
}catch (NumberFormatException e2) {
System.out.println(e2);
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
0,
18,
13,
2,
18,
13,
13,
17,
13,
0,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
0,
13,
20,
2,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
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
],
[
132,
2
],
[
132,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
13
],
[
13,
14
],
[
13,
15
],
[
5,
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
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
31,
39
],
[
19,
40
],
[
40,
41
],
[
40,
42
],
[
43,
44
],
[
43,
45
],
[
19,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
19,
68
],
[
68,
69
],
[
68,
70
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
19,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
76,
86
],
[
86,
87
],
[
87,
88
],
[
76,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
5,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
98,
108
],
[
108,
109
],
[
109,
110
],
[
98,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
120,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
119,
125
],
[
120,
126
],
[
126,
127
],
[
126,
128
],
[
3,
129
],
[
129,
130
],
[
0,
131
],
[
131,
132
],
[
131,
133
]
] | [
"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[] a = new int[1];\n\t\tint[] b = new int[1];\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break;}\n\t\t\ta[a.length - 1] = x;\n\t\t\t\n\t\t\tb = new int[a.length];\n\t\t\tfor (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}\n\t\t\ta = new int[a.length + 1];\n\t\t\tfor (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}\n\t\t} while (true);\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[] a = new int[1];\n\t\tint[] b = new int[1];\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break;}\n\t\t\ta[a.length - 1] = x;\n\t\t\t\n\t\t\tb = new int[a.length];\n\t\t\tfor (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}\n\t\t\ta = new int[a.length + 1];\n\t\t\tfor (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}\n\t\t} while (true);\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[] a = new int[1];\n\t\tint[] b = new int[1];\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break;}\n\t\t\ta[a.length - 1] = x;\n\t\t\t\n\t\t\tb = new int[a.length];\n\t\t\tfor (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}\n\t\t\ta = new int[a.length + 1];\n\t\t\tfor (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}\n\t\t} while (true);\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[] a = new int[1];\n\t\tint[] b = new int[1];\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break;}\n\t\t\ta[a.length - 1] = x;\n\t\t\t\n\t\t\tb = new int[a.length];\n\t\t\tfor (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}\n\t\t\ta = new int[a.length + 1];\n\t\t\tfor (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}\n\t\t} while (true);\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[] a = new int[1];",
"a",
"new int[1]",
"1",
"int[] b = new int[1];",
"b",
"new int[1]",
"1",
"do {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break;}\n\t\t\ta[a.length - 1] = x;\n\t\t\t\n\t\t\tb = new int[a.length];\n\t\t\tfor (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}\n\t\t\ta = new int[a.length + 1];\n\t\t\tfor (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}\n\t\t} while (true);",
"true",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break;}\n\t\t\ta[a.length - 1] = x;\n\t\t\t\n\t\t\tb = new int[a.length];\n\t\t\tfor (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}\n\t\t\ta = new int[a.length + 1];\n\t\t\tfor (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 0) { break;}",
"x == 0",
"x",
"0",
"{ break;}",
"break;",
"a[a.length - 1] = x",
"a[a.length - 1]",
"a",
"a.length - 1",
"a.length",
"a",
"a.length",
"1",
"x",
"b = new int[a.length]",
"b",
"new int[a.length]",
"a.length",
"a",
"a.length",
"for (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < a.length",
"j",
"a.length",
"a",
"a.length",
"j++",
"j++",
"j",
"{\n\t\t\t\tb[j] = a[j];\n\t\t\t}",
"{\n\t\t\t\tb[j] = a[j];\n\t\t\t}",
"b[j] = a[j]",
"b[j]",
"b",
"j",
"a[j]",
"a",
"j",
"a = new int[a.length + 1]",
"a",
"new int[a.length + 1]",
"a.length + 1",
"a.length",
"a",
"a.length",
"1",
"for (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < b.length",
"j",
"b.length",
"b",
"b.length",
"j++",
"j++",
"j",
"{\n\t\t\t\ta[j] = b[j];\n\t\t\t}",
"{\n\t\t\t\ta[j] = b[j];\n\t\t\t}",
"a[j] = b[j]",
"a[j]",
"a",
"j",
"b[j]",
"b",
"j",
"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[] a = new int[1];\n\t\tint[] b = new int[1];\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break;}\n\t\t\ta[a.length - 1] = x;\n\t\t\t\n\t\t\tb = new int[a.length];\n\t\t\tfor (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}\n\t\t\ta = new int[a.length + 1];\n\t\t\tfor (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}\n\t\t} while (true);\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[] a = new int[1];\n\t\tint[] b = new int[1];\n\t\tdo {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x == 0) { break;}\n\t\t\ta[a.length - 1] = x;\n\t\t\t\n\t\t\tb = new int[a.length];\n\t\t\tfor (int j = 0;j < a.length;j++){\n\t\t\t\tb[j] = a[j];\n\t\t\t}\n\t\t\ta = new int[a.length + 1];\n\t\t\tfor (int j = 0;j < b.length;j++){\n\t\t\t\ta[j] = b[j];\n\t\t\t}\n\t\t} while (true);\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[] a = new int[1];
int[] b = new int[1];
do {
int x = sc.nextInt();
if (x == 0) { break;}
a[a.length - 1] = x;
b = new int[a.length];
for (int j = 0;j < a.length;j++){
b[j] = a[j];
}
a = new int[a.length + 1];
for (int j = 0;j < b.length;j++){
a[j] = b[j];
}
} 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,
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
65,
8
],
[
65,
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
],
[
36,
37
],
[
23,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
44,
50
],
[
42,
51
],
[
40,
52
],
[
38,
53
],
[
23,
54
],
[
54,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n int i = 1;\n \n while(true){\n int line = Integer.parseInt(br.readLine());\n if(line == 0){\n break;\n }\n \n st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\");\n i++;\n }\n \n System.out.print(st);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n int i = 1;\n \n while(true){\n int line = Integer.parseInt(br.readLine());\n if(line == 0){\n break;\n }\n \n st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\");\n i++;\n }\n \n System.out.print(st);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n int i = 1;\n \n while(true){\n int line = Integer.parseInt(br.readLine());\n if(line == 0){\n break;\n }\n \n st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\");\n i++;\n }\n \n System.out.print(st);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n int i = 1;\n \n while(true){\n int line = Integer.parseInt(br.readLine());\n if(line == 0){\n break;\n }\n \n st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\");\n i++;\n }\n \n System.out.print(st);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder st = new StringBuilder();",
"st",
"new StringBuilder()",
"int i = 1;",
"i",
"1",
"while(true){\n int line = Integer.parseInt(br.readLine());\n if(line == 0){\n break;\n }\n \n st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\");\n i++;\n }",
"true",
"{\n int line = Integer.parseInt(br.readLine());\n if(line == 0){\n break;\n }\n \n st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\");\n i++;\n }",
"int line = Integer.parseInt(br.readLine());",
"line",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(line == 0){\n break;\n }",
"line == 0",
"line",
"0",
"{\n break;\n }",
"break;",
"st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\")",
"st.append(\"Case \").append(i).append(\": \").append(line).append",
"st.append(\"Case \").append(i).append(\": \").append(line)",
"st.append(\"Case \").append(i).append(\": \").append",
"st.append(\"Case \").append(i).append(\": \")",
"st.append(\"Case \").append(i).append",
"st.append(\"Case \").append(i)",
"st.append(\"Case \").append",
"st.append(\"Case \")",
"st.append",
"st",
"\"Case \"",
"i",
"\": \"",
"line",
"\"\\n\"",
"i++",
"i",
"System.out.print(st)",
"System.out.print",
"System.out",
"System",
"System.out",
"st",
"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 StringBuilder st = new StringBuilder();\n \n int i = 1;\n \n while(true){\n int line = Integer.parseInt(br.readLine());\n if(line == 0){\n break;\n }\n \n st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\");\n i++;\n }\n \n System.out.print(st);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n int i = 1;\n \n while(true){\n int line = Integer.parseInt(br.readLine());\n if(line == 0){\n break;\n }\n \n st.append(\"Case \").append(i).append(\": \").append(line).append(\"\\n\");\n i++;\n }\n \n System.out.print(st);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder st = new StringBuilder();
int i = 1;
while(true){
int line = Integer.parseInt(br.readLine());
if(line == 0){
break;
}
st.append("Case ").append(i).append(": ").append(line).append("\n");
i++;
}
System.out.print(st);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
40,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
55,
11
],
[
55,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
23,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
47,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
47,
51
],
[
12,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tif(k == 0){break;}\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+k);\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tif(k == 0){break;}\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+k);\n\t\t}\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tif(k == 0){break;}\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+k);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tif(k == 0){break;}\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+k);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i=0;",
"i",
"0",
"while(true){\n\t\t\ti++;\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tif(k == 0){break;}\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+k);\n\t\t}",
"true",
"{\n\t\t\ti++;\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tif(k == 0){break;}\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+k);\n\t\t}",
"i++",
"i",
"int k = Integer.parseInt(br.readLine());",
"k",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(k == 0){break;}",
"k == 0",
"k",
"0",
"{break;}",
"break;",
"System.out.println(\"Case \"+i+\": \"+k)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+k",
"\": \"",
"\"Case \"+i+\": \"+k",
"\"Case \"",
"i",
"\": \"",
"k",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tif(k == 0){break;}\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+k);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n\t\t\ti++;\n\t\t\tint k = Integer.parseInt(br.readLine());\n\t\t\tif(k == 0){break;}\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+k);\n\t\t}\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* @param args
* @throws IOException
* @throws NumberFormatException
*/
public static void main(String[] args) throws NumberFormatException, IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int i=0;
while(true){
i++;
int k = Integer.parseInt(br.readLine());
if(k == 0){break;}
System.out.println("Case "+i+": "+k);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
40,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
17,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
41,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
41,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while(true){\n i++;\n int n = Integer.parseInt(br.readLine());\n if(n == 0){\n break;\n }\n System.out.println(\"Case \"+ i +\": \"+ n);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while(true){\n i++;\n int n = Integer.parseInt(br.readLine());\n if(n == 0){\n break;\n }\n System.out.println(\"Case \"+ i +\": \"+ n);\n }\n }\n}",
"Main",
"public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while(true){\n i++;\n int n = Integer.parseInt(br.readLine());\n if(n == 0){\n break;\n }\n System.out.println(\"Case \"+ i +\": \"+ n);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while(true){\n i++;\n int n = Integer.parseInt(br.readLine());\n if(n == 0){\n break;\n }\n System.out.println(\"Case \"+ i +\": \"+ n);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i = 0;",
"i",
"0",
"while(true){\n i++;\n int n = Integer.parseInt(br.readLine());\n if(n == 0){\n break;\n }\n System.out.println(\"Case \"+ i +\": \"+ n);\n }",
"true",
"{\n i++;\n int n = Integer.parseInt(br.readLine());\n if(n == 0){\n break;\n }\n System.out.println(\"Case \"+ i +\": \"+ n);\n }",
"i++",
"i",
"int n = Integer.parseInt(br.readLine());",
"n",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(n == 0){\n break;\n }",
"n == 0",
"n",
"0",
"{\n break;\n }",
"break;",
"System.out.println(\"Case \"+ i +\": \"+ n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ i +\": \"+ n",
"\": \"",
"\"Case \"+ i +\": \"+ n",
"\"Case \"",
"i",
"\": \"",
"n",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while(true){\n i++;\n int n = Integer.parseInt(br.readLine());\n if(n == 0){\n break;\n }\n System.out.println(\"Case \"+ i +\": \"+ n);\n }\n }\n}",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int i = 0;\n while(true){\n i++;\n int n = Integer.parseInt(br.readLine());\n if(n == 0){\n break;\n }\n System.out.println(\"Case \"+ i +\": \"+ 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;
while(true){
i++;
int n = Integer.parseInt(br.readLine());
if(n == 0){
break;
}
System.out.println("Case "+ i +": "+ n);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
40,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
35,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
35,
39
],
[
17,
40
],
[
40,
41
],
[
4,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
]
] | [
"import java.util.*;\nclass Main{\n Scanner sc=new Scanner(System.in);\n void main(){\n\tint c=1;\n\twhile(true){\n\t int x=sc.nextInt();\n\t if(x==0)break;\n\t System.out.println(\"Case \"+c+\": \"+x);\n\t c++;\n\t}\n }\n public static void main(String[]ag){\n\tnew Main().main();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n Scanner sc=new Scanner(System.in);\n void main(){\n\tint c=1;\n\twhile(true){\n\t int x=sc.nextInt();\n\t if(x==0)break;\n\t System.out.println(\"Case \"+c+\": \"+x);\n\t c++;\n\t}\n }\n public static void main(String[]ag){\n\tnew Main().main();\n }\n}",
"Main",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void main(){\n\tint c=1;\n\twhile(true){\n\t int x=sc.nextInt();\n\t if(x==0)break;\n\t System.out.println(\"Case \"+c+\": \"+x);\n\t c++;\n\t}\n }",
"main",
"{\n\tint c=1;\n\twhile(true){\n\t int x=sc.nextInt();\n\t if(x==0)break;\n\t System.out.println(\"Case \"+c+\": \"+x);\n\t c++;\n\t}\n }",
"int c=1;",
"c",
"1",
"while(true){\n\t int x=sc.nextInt();\n\t if(x==0)break;\n\t System.out.println(\"Case \"+c+\": \"+x);\n\t c++;\n\t}",
"true",
"{\n\t int x=sc.nextInt();\n\t if(x==0)break;\n\t System.out.println(\"Case \"+c+\": \"+x);\n\t c++;\n\t}",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0)break;",
"x==0",
"x",
"0",
"break;",
"System.out.println(\"Case \"+c+\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+c+\": \"+x",
"\": \"",
"\"Case \"+c+\": \"+x",
"\"Case \"",
"c",
"\": \"",
"x",
"c++",
"c",
"public static void main(String[]ag){\n\tnew Main().main();\n }",
"main",
"{\n\tnew Main().main();\n }",
"new Main().main()",
"new Main().main",
"new Main()",
"String[]ag",
"ag"
] | import java.util.*;
class Main{
Scanner sc=new Scanner(System.in);
void main(){
int c=1;
while(true){
int x=sc.nextInt();
if(x==0)break;
System.out.println("Case "+c+": "+x);
c++;
}
}
public static void main(String[]ag){
new Main().main();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
17,
30,
4,
18,
13,
13,
0,
13,
17,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
99,
8
],
[
99,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
33,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
49,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
64,
77
],
[
78,
78
],
[
78,
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
],
[
93,
94
],
[
92,
95
],
[
9,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t list.add(Integer.valueOf(scanner.nextInt()));\n\t for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t}\n\n\t\t//Case 1: 3\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\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\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t list.add(Integer.valueOf(scanner.nextInt()));\n\t for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t}\n\n\t\t//Case 1: 3\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\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t list.add(Integer.valueOf(scanner.nextInt()));\n\t for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t}\n\n\t\t//Case 1: 3\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\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t list.add(Integer.valueOf(scanner.nextInt()));\n\t for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t}\n\n\t\t//Case 1: 3\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\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"ArrayList<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"boolean flg = true;",
"flg",
"true",
"while (flg) {\n\t list.add(Integer.valueOf(scanner.nextInt()));\n\t for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t}",
"flg",
"{\n\t list.add(Integer.valueOf(scanner.nextInt()));\n\t for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t}",
"list.add(Integer.valueOf(scanner.nextInt()))",
"list.add",
"list",
"Integer.valueOf(scanner.nextInt())",
"Integer.valueOf",
"Integer",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }",
"{\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }",
"if(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}",
"list.get(i) == 0",
"list.get(i)",
"list.get",
"list",
"i",
"0",
"{\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}",
"list.remove(i)",
"list.remove",
"list",
"i",
"flg = false",
"flg",
"false",
"break;",
"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",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t list.add(Integer.valueOf(scanner.nextInt()));\n\t for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t}\n\n\t\t//Case 1: 3\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\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t list.add(Integer.valueOf(scanner.nextInt()));\n\t for(int i=0; i<list.size(); i++){\n\t \tif(list.get(i) == 0){\n\t \t\tlist.remove(i);\n\t \t\tflg = false;\n\t \t\tbreak;\n\t \t}\n\t }\n\t\t}\n\n\t\t//Case 1: 3\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\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
ArrayList<Integer> list = new ArrayList<Integer>();
boolean flg = true;
while (flg) {
list.add(Integer.valueOf(scanner.nextInt()));
for(int i=0; i<list.size(); i++){
if(list.get(i) == 0){
list.remove(i);
flg = false;
break;
}
}
}
//Case 1: 3
for(int i=0; i<list.size(); i++){
System.out.println("Case " + (i+1) + ": " + list.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
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,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
4,
18,
13,
40,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
72,
11
],
[
72,
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
],
[
26,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
46,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
44,
57
],
[
42,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
40,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
12,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint i=1;\n\t\twhile(true){\n\t\t\tint data= Integer.parseInt(reader.readLine());\n\t\t\tif(data==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint i=1;\n\t\twhile(true){\n\t\t\tint data= Integer.parseInt(reader.readLine());\n\t\t\tif(data==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint i=1;\n\t\twhile(true){\n\t\t\tint data= Integer.parseInt(reader.readLine());\n\t\t\tif(data==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint i=1;\n\t\twhile(true){\n\t\t\tint data= Integer.parseInt(reader.readLine());\n\t\t\tif(data==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"int i=1;",
"i",
"1",
"while(true){\n\t\t\tint data= Integer.parseInt(reader.readLine());\n\t\t\tif(data==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tint data= Integer.parseInt(reader.readLine());\n\t\t\tif(data==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}",
"int data= Integer.parseInt(reader.readLine());",
"data",
"Integer.parseInt(reader.readLine())",
"Integer.parseInt",
"Integer",
"reader.readLine()",
"reader.readLine",
"reader",
"if(data==0)\n\t\t\t\tbreak;",
"data==0",
"data",
"0",
"break;",
"builder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\")",
"builder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append",
"builder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data))",
"builder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append",
"builder.append(\"Case \").append(Integer.toString(i++)).append(\": \")",
"builder.append(\"Case \").append(Integer.toString(i++)).append",
"builder.append(\"Case \").append(Integer.toString(i++))",
"builder.append(\"Case \").append",
"builder.append(\"Case \")",
"builder.append",
"builder",
"\"Case \"",
"Integer.toString(i++)",
"Integer.toString",
"Integer",
"i++",
"i",
"\": \"",
"Integer.toString(data)",
"Integer.toString",
"Integer",
"data",
"\"\\n\"",
"System.out.print(builder)",
"System.out.print",
"System.out",
"System",
"System.out",
"builder",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint i=1;\n\t\twhile(true){\n\t\t\tint data= Integer.parseInt(reader.readLine());\n\t\t\tif(data==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\tint i=1;\n\t\twhile(true){\n\t\t\tint data= Integer.parseInt(reader.readLine());\n\t\t\tif(data==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(\"Case \").append(Integer.toString(i++)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
int i=1;
while(true){
int data= Integer.parseInt(reader.readLine());
if(data==0)
break;
builder.append("Case ").append(Integer.toString(i++)).append(": ").append(Integer.toString(data)).append("\n");
}
System.out.print(builder);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
42,
17,
30,
41,
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,
0,
13,
17,
4,
18,
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
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
48,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
48,
52
],
[
40,
53
],
[
53,
54
],
[
53,
55
],
[
19,
56
],
[
56,
57
],
[
57,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint times = 1;\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\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\tint times = 1;\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint times = 1;\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tint times = 1;\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"int times = 1;",
"times",
"1",
"try {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\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\tScanner sc = new Scanner(System.in);\n\t\t\twhile (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}",
"int x = Integer.parseInt(sc.next());",
"x",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"if (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"{\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}",
"System.out.println(\"Case \" + times + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + times + \": \" + x",
"\": \"",
"\"Case \" + times + \": \" + x",
"\"Case \"",
"times",
"\": \"",
"x",
"times += 1",
"times",
"1",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint times = 1;\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint times = 1;\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (true) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Case \" + times + \": \" + x);\n\t\t\t\t\ttimes += 1;\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int times = 1;
try {
Scanner sc = new Scanner(System.in);
while (true) {
int x = Integer.parseInt(sc.next());
if (x == 0) {
break;
} else {
System.out.println("Case " + times + ": " + x);
times += 1;
}
}
sc.close();
} catch (Exception e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
4,
18,
13,
2,
13,
17,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
75,
5
],
[
75,
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
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
27,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
46,
60
],
[
44,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
42,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
] | [
"import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}",
"main",
"{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"for(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}",
"{\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}",
"int data = Integer.parseInt(input.readLine());",
"data",
"Integer.parseInt(input.readLine())",
"Integer.parseInt",
"Integer",
"input.readLine()",
"input.readLine",
"input",
"if( data == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"data == 0",
"data",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\")",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data))",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \")",
"output.append(\"Case \").append(Integer.toString(i+1)).append",
"output.append(\"Case \").append(Integer.toString(i+1))",
"output.append(\"Case \").append",
"output.append(\"Case \")",
"output.append",
"output",
"\"Case \"",
"Integer.toString(i+1)",
"Integer.toString",
"Integer",
"i+1",
"i",
"1",
"\": \"",
"Integer.toString(data)",
"Integer.toString",
"Integer",
"data",
"\"\\n\"",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tint data = Integer.parseInt(input.readLine());\n\t\t\tif( data == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
StringBuilder output = new StringBuilder();
for(int i=0; i < 10001; i++){
int data = Integer.parseInt(input.readLine());
if( data == 0){
break;
}
output.append("Case ").append(Integer.toString(i+1)).append(": ").append(Integer.toString(data)).append("\n");
}
System.out.print(output);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
13,
0,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
39,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
36,
44
],
[
39,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
] | [
"\timport java.util.Scanner;\n\npublic class Main {\n\t \n\t public static void main(String[] args){\n\t Scanner scan = new Scanner(System.in);\n\t int i = 1;\n\t while (true){ \n\t int a = scan.nextInt();\n\t if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }\n\t }\n\t }\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t \n\t public static void main(String[] args){\n\t Scanner scan = new Scanner(System.in);\n\t int i = 1;\n\t while (true){ \n\t int a = scan.nextInt();\n\t if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }\n\t }\n\t }\n\t}",
"Main",
"public static void main(String[] args){\n\t Scanner scan = new Scanner(System.in);\n\t int i = 1;\n\t while (true){ \n\t int a = scan.nextInt();\n\t if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }\n\t }\n\t }",
"main",
"{\n\t Scanner scan = new Scanner(System.in);\n\t int i = 1;\n\t while (true){ \n\t int a = scan.nextInt();\n\t if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }\n\t }\n\t }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while (true){ \n\t int a = scan.nextInt();\n\t if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }\n\t }",
"true",
"{ \n\t int a = scan.nextInt();\n\t if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }\n\t }",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }",
"a == 0",
"a",
"0",
"{\n\t break;\n\t }",
"break;",
"{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }",
"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",
"String[] args",
"args",
"public class Main {\n\t \n\t public static void main(String[] args){\n\t Scanner scan = new Scanner(System.in);\n\t int i = 1;\n\t while (true){ \n\t int a = scan.nextInt();\n\t if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }\n\t }\n\t }\n\t}",
"public class Main {\n\t \n\t public static void main(String[] args){\n\t Scanner scan = new Scanner(System.in);\n\t int i = 1;\n\t while (true){ \n\t int a = scan.nextInt();\n\t if(a == 0){\n\t break;\n\t }else{\n\t System.out.println(\"Case\"+\" \"+i+\":\"+\" \"+a);\n\t i= i + 1;\n\t }\n\t }\n\t }\n\t}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int i = 1;
while (true){
int a = scan.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,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint i;\n\n\tfor(i=1;i<10001;i++){\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint i;\n\n\tfor(i=1;i<10001;i++){\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}\n\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint i;\n\n\tfor(i=1;i<10001;i++){\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}\n\n }",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\n\tint i;\n\n\tfor(i=1;i<10001;i++){\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i;",
"i",
"for(i=1;i<10001;i++){\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}",
"i=1;",
"i=1",
"i",
"1",
"i<10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}",
"{\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a == 0) break;",
"a == 0",
"a",
"0",
"break;",
"System.out.println(\"Case \"+i+\": \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+a",
"\": \"",
"\"Case \"+i+\": \"+a",
"\"Case \"",
"i",
"\": \"",
"a",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint i;\n\n\tfor(i=1;i<10001;i++){\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}\n\n }\n}",
"public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\n\tint i;\n\n\tfor(i=1;i<10001;i++){\n\tint a = sc.nextInt();\n\n\t if(a == 0) break;\n\n\t System.out.println(\"Case \"+i+\": \"+a);\n\t}\n\n }\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i;
for(i=1;i<10001;i++){
int a = sc.nextInt();
if(a == 0) break;
System.out.println("Case "+i+": "+a);
}
}
} |
[
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,
42,
17,
30,
14,
2,
4,
18,
13,
17,
30,
3,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
14,
40,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
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
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
31,
35
],
[
30,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
29,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
29,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
52,
61
],
[
61,
62
],
[
62,
63
],
[
29,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
20,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
90,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
18,
100
],
[
100,
101
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\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\tList<Integer> inputList = new ArrayList<Integer>();\n\t\twhile(true) {\n\t\t\tif (inputList.size() > 10000) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\t\t\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (!(num >= 1 && num <= 10000)) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\t\t\t\t\n\t\t\tinputList.add(num);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < inputList.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + inputList.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",
"import java.util.List;",
"List",
"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\tList<Integer> inputList = new ArrayList<Integer>();\n\t\twhile(true) {\n\t\t\tif (inputList.size() > 10000) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\t\t\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (!(num >= 1 && num <= 10000)) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\t\t\t\t\n\t\t\tinputList.add(num);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < inputList.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + inputList.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> inputList = new ArrayList<Integer>();\n\t\twhile(true) {\n\t\t\tif (inputList.size() > 10000) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\t\t\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (!(num >= 1 && num <= 10000)) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\t\t\t\t\n\t\t\tinputList.add(num);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < inputList.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + inputList.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<Integer> inputList = new ArrayList<Integer>();\n\t\twhile(true) {\n\t\t\tif (inputList.size() > 10000) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\t\t\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (!(num >= 1 && num <= 10000)) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\t\t\t\t\n\t\t\tinputList.add(num);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < inputList.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + inputList.get(i));\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<Integer> inputList = new ArrayList<Integer>();",
"inputList",
"new ArrayList<Integer>()",
"while(true) {\n\t\t\tif (inputList.size() > 10000) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\t\t\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (!(num >= 1 && num <= 10000)) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\t\t\t\t\n\t\t\tinputList.add(num);\n\t\t}",
"true",
"{\n\t\t\tif (inputList.size() > 10000) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\t\t\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\t\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (!(num >= 1 && num <= 10000)) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}\n\t\t\t\t\n\t\t\tinputList.add(num);\n\t\t}",
"if (inputList.size() > 10000) {\n\t\t\t\tbreak;\n\t\t\t}",
"inputList.size() > 10000",
"inputList.size()",
"inputList.size",
"inputList",
"10000",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"int 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\tbreak;\n\t\t\t}",
"num == 0",
"num",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (!(num >= 1 && num <= 10000)) {\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}",
"!(num >= 1 && num <= 10000)",
"(num >= 1 && num <= 10000)",
"num >= 1",
"num",
"1",
"num <= 10000",
"num",
"10000",
"{\n\t\t\t\tthrow new IllegalArgumentException();\n\t\t\t}",
"throw new IllegalArgumentException();",
"new IllegalArgumentException()",
"inputList.add(num)",
"inputList.add",
"inputList",
"num",
"for (int i = 0; i < inputList.size(); i++) {\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + inputList.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < inputList.size()",
"i",
"inputList.size()",
"inputList.size",
"inputList",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + inputList.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + inputList.get(i));\n\t\t}",
"System.out.println(\"Case \" + (i + 1) + \": \" + inputList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i + 1) + \": \" + inputList.get(i)",
"\": \"",
"\"Case \" + (i + 1) + \": \" + inputList.get(i)",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"inputList.get(i)",
"inputList.get",
"inputList",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<Integer> inputList = new ArrayList<Integer>();
while(true) {
if (inputList.size() > 10000) {
break;
}
int num = Integer.parseInt(br.readLine());
if (num == 0) {
break;
}
if (!(num >= 1 && num <= 10000)) {
throw new IllegalArgumentException();
}
inputList.add(num);
}
for (int i = 0; i < inputList.size(); i++) {
System.out.println("Case " + (i + 1) + ": " + inputList.get(i));
}
}
} |
[
7,
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,
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
],
[
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
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
29,
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
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[]args){\n int count=0;\n Scanner scan = new Scanner(System.in);\n while(true){\n \n long a =scan.nextLong();\n if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }\n }\n \n \n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[]args){\n int count=0;\n Scanner scan = new Scanner(System.in);\n while(true){\n \n long a =scan.nextLong();\n if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }\n }\n \n \n \n }\n}",
"Main",
"public static void main(String[]args){\n int count=0;\n Scanner scan = new Scanner(System.in);\n while(true){\n \n long a =scan.nextLong();\n if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }\n }\n \n \n \n }",
"main",
"{\n int count=0;\n Scanner scan = new Scanner(System.in);\n while(true){\n \n long a =scan.nextLong();\n if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }\n }\n \n \n \n }",
"int count=0;",
"count",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n \n long a =scan.nextLong();\n if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }\n }",
"true",
"{\n \n long a =scan.nextLong();\n if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }\n }",
"long a =scan.nextLong();",
"a",
"scan.nextLong()",
"scan.nextLong",
"scan",
"if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }",
"a==0",
"a",
"0",
"{\n break;\n }",
"break;",
"{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }",
"count++",
"count",
"System.out.println(\"Case \"+count+\": \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+count+\": \"+a",
"\": \"",
"\"Case \"+count+\": \"+a",
"\"Case \"",
"count",
"\": \"",
"a",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args){\n int count=0;\n Scanner scan = new Scanner(System.in);\n while(true){\n \n long a =scan.nextLong();\n if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }\n }\n \n \n \n }\n}",
"public class Main{\n public static void main(String[]args){\n int count=0;\n Scanner scan = new Scanner(System.in);\n while(true){\n \n long a =scan.nextLong();\n if(a==0){\n break;\n }else{\n count++;\n System.out.println(\"Case \"+count+\": \"+a);\n }\n }\n \n \n \n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[]args){
int count=0;
Scanner scan = new Scanner(System.in);
while(true){
long a =scan.nextLong();
if(a==0){
break;
}else{
count++;
System.out.println("Case "+count+": "+a);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
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,
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
],
[
63,
11
],
[
63,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
14,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
48,
54
],
[
54,
55
],
[
48,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
12,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor (;;) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (Integer num : list) {\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor (;;) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (Integer num : list) {\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor (;;) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (Integer num : list) {\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}\n\t\tscan.close();\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor (;;) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (Integer num : list) {\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}\n\t\tscan.close();\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"for (;;) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}",
";",
"{\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}",
"{\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"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;",
"list.add(num)",
"list.add",
"list",
"num",
"int i = 1;",
"i",
"1",
"for (Integer num : list) {\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}",
"Integer num",
"list",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}",
"System.out.printf(\"Case %d: %d\\n\", i++, num)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"Case %d: %d\\n\"",
"i++",
"i",
"num",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor (;;) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (Integer num : list) {\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\tfor (;;) {\n\t\t\tint num = scan.nextInt();\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(num);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (Integer num : list) {\n\t\t\tSystem.out.printf(\"Case %d: %d\\n\", i++, num);\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
List<Integer> list = new ArrayList<Integer>();
for (;;) {
int num = scan.nextInt();
if (num == 0) {
break;
}
list.add(num);
}
int i = 1;
for (Integer num : list) {
System.out.printf("Case %d: %d\n", i++, num);
}
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
13,
13,
41,
13,
17,
28,
13,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
71,
11
],
[
71,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
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
],
[
34,
35
],
[
23,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
14,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
61,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
61,
65
],
[
47,
66
],
[
66,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (String line : list) {\n\t\t\tint x = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (String line : list) {\n\t\t\tint x = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (String line : list) {\n\t\t\tint x = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (String line : list) {\n\t\t\tint x = Integer.parseInt(line);\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)",
"List<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"while (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}",
"true",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"line.equals(\"0\")",
"line.equals",
"line",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"list.add(line)",
"list.add",
"list",
"line",
"int i = 1;",
"i",
"1",
"for (String line : list) {\n\t\t\tint x = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}",
"String line",
"list",
"{\n\t\t\tint x = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}",
"{\n\t\t\tint x = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}",
"int x = Integer.parseInt(line);",
"x",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (String line : list) {\n\t\t\tint x = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tint i = 1;\n\t\tfor (String line : list) {\n\t\t\tint x = Integer.parseInt(line);\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t\ti++;\n\t\t}\n\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<String> list = new ArrayList<String>();
while (true) {
String line = sc.nextLine();
if (line.equals("0")) {
break;
}
list.add(line);
}
int i = 1;
for (String line : list) {
int x = Integer.parseInt(line);
System.out.println("Case " + i + ": " + x);
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,
42,
17,
30,
41,
13,
20,
14,
4,
18,
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
],
[
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
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
35,
36
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
17,
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
],
[
15,
74
],
[
74,
75
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i = 0;i < ss.size() ;i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \" + ss.get(i));\n\t\t}\n\t\t\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i = 0;i < ss.size() ;i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \" + ss.get(i));\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i = 0;i < ss.size() ;i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \" + ss.get(i));\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i = 0;i < ss.size() ;i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \" + ss.get(i));\n\t\t}\n\t\t\n\t}",
"ArrayList<String> ss = new ArrayList<String>();",
"ss",
"new ArrayList<String>()",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}",
"String i = new String(in.readLine());",
"i",
"new String(in.readLine())",
"if(i.equals(\"0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}",
"i.equals(\"0\")",
"i.equals",
"i",
"\"0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tss.add(i);\n\t\t\t}",
"ss.add(i)",
"ss.add",
"ss",
"i",
"for(int i = 0;i < ss.size() ;i++){\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \" + ss.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ss.size()",
"i",
"ss.size()",
"ss.size",
"ss",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \" + ss.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \"+(i+1)+\": \" + ss.get(i));\n\t\t}",
"System.out.println(\"Case \"+(i+1)+\": \" + ss.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(i+1)+\": \" + ss.get(i)",
"\": \"",
"\"Case \"+(i+1)+\": \" + ss.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"ss.get(i)",
"ss.get",
"ss",
"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 {
ArrayList<String> ss = new ArrayList<String>();
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while(true){
String i = new String(in.readLine());
if(i.equals("0")){
break;
}
else{
ss.add(i);
}
}
for(int i = 0;i < ss.size() ;i++){
System.out.println("Case "+(i+1)+": " + ss.get(i));
}
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
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
],
[
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
],
[
45,
47
],
[
6,
48
],
[
48,
49
]
] | [
"import java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = 1;\n\t\tint x = 1;\n\t\twhile(n != 0){\n\t\t\tn = sc.nextInt();\n\t\t\tif(n != 0){\n\t\t\t\tSystem.out.println(\"Case \" + x + \": \" + n);\n\t\t\t\tx += 1;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = 1;\n\t\tint x = 1;\n\t\twhile(n != 0){\n\t\t\tn = sc.nextInt();\n\t\t\tif(n != 0){\n\t\t\t\tSystem.out.println(\"Case \" + x + \": \" + n);\n\t\t\t\tx += 1;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = 1;\n\t\tint x = 1;\n\t\twhile(n != 0){\n\t\t\tn = sc.nextInt();\n\t\t\tif(n != 0){\n\t\t\t\tSystem.out.println(\"Case \" + x + \": \" + n);\n\t\t\t\tx += 1;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = 1;\n\t\tint x = 1;\n\t\twhile(n != 0){\n\t\t\tn = sc.nextInt();\n\t\t\tif(n != 0){\n\t\t\t\tSystem.out.println(\"Case \" + x + \": \" + n);\n\t\t\t\tx += 1;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = 1;",
"n",
"1",
"int x = 1;",
"x",
"1",
"while(n != 0){\n\t\t\tn = sc.nextInt();\n\t\t\tif(n != 0){\n\t\t\t\tSystem.out.println(\"Case \" + x + \": \" + n);\n\t\t\t\tx += 1;\n\t\t\t}\n\t\t}",
"n != 0",
"n",
"0",
"{\n\t\t\tn = sc.nextInt();\n\t\t\tif(n != 0){\n\t\t\t\tSystem.out.println(\"Case \" + x + \": \" + n);\n\t\t\t\tx += 1;\n\t\t\t}\n\t\t}",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n != 0){\n\t\t\t\tSystem.out.println(\"Case \" + x + \": \" + n);\n\t\t\t\tx += 1;\n\t\t\t}",
"n != 0",
"n",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \" + x + \": \" + n);\n\t\t\t\tx += 1;\n\t\t\t}",
"System.out.println(\"Case \" + x + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + x + \": \" + n",
"\": \"",
"\"Case \" + x + \": \" + n",
"\"Case \"",
"x",
"\": \"",
"n",
"x += 1",
"x",
"1",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n = 1;
int x = 1;
while(n != 0){
n = sc.nextInt();
if(n != 0){
System.out.println("Case " + x + ": " + n);
x += 1;
}
}
}
} |
[
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,
0,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
45,
47
],
[
6,
48
],
[
48,
49
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\n int x;\n int count = 1;\n\n while (true){\n x = Integer.parseInt(scan.next());\n\n if (x == 0)\n break;\n System.out.println(\"Case \" + count + \": \" + x);\n count += 1;\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\n int x;\n int count = 1;\n\n while (true){\n x = Integer.parseInt(scan.next());\n\n if (x == 0)\n break;\n System.out.println(\"Case \" + count + \": \" + x);\n count += 1;\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\n int x;\n int count = 1;\n\n while (true){\n x = Integer.parseInt(scan.next());\n\n if (x == 0)\n break;\n System.out.println(\"Case \" + count + \": \" + x);\n count += 1;\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n int x;\n int count = 1;\n\n while (true){\n x = Integer.parseInt(scan.next());\n\n if (x == 0)\n break;\n System.out.println(\"Case \" + count + \": \" + x);\n count += 1;\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x;",
"x",
"int count = 1;",
"count",
"1",
"while (true){\n x = Integer.parseInt(scan.next());\n\n if (x == 0)\n break;\n System.out.println(\"Case \" + count + \": \" + x);\n count += 1;\n }",
"true",
"{\n x = Integer.parseInt(scan.next());\n\n if (x == 0)\n break;\n System.out.println(\"Case \" + count + \": \" + x);\n count += 1;\n }",
"x = Integer.parseInt(scan.next())",
"x",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"if (x == 0)\n break;",
"x == 0",
"x",
"0",
"break;",
"System.out.println(\"Case \" + count + \": \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + count + \": \" + x",
"\": \"",
"\"Case \" + count + \": \" + x",
"\"Case \"",
"count",
"\": \"",
"x",
"count += 1",
"count",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int x;
int count = 1;
while (true){
x = Integer.parseInt(scan.next());
if (x == 0)
break;
System.out.println("Case " + count + ": " + x);
count += 1;
}
}
} |
[
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,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
2,
2,
17,
17,
13,
17,
17,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
59,
8
],
[
59,
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
],
[
36,
37
],
[
23,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
47,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
44,
52
],
[
47,
53
],
[
23,
54
],
[
54,
55
],
[
9,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n \tint i = 1;\n \twhile(true){\n \t\tint x = Integer.parseInt(br.readLine());\n \t\t if(x == 0){\n \t\t\t break;\n \t\t }\n \t\t System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n \t\t i++;\n \t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n \tint i = 1;\n \twhile(true){\n \t\tint x = Integer.parseInt(br.readLine());\n \t\t if(x == 0){\n \t\t\t break;\n \t\t }\n \t\t System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n \t\t i++;\n \t}\n }\n}",
"Main",
"public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n \tint i = 1;\n \twhile(true){\n \t\tint x = Integer.parseInt(br.readLine());\n \t\t if(x == 0){\n \t\t\t break;\n \t\t }\n \t\t System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n \t\t i++;\n \t}\n }",
"main",
"{\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n \tint i = 1;\n \twhile(true){\n \t\tint x = Integer.parseInt(br.readLine());\n \t\t if(x == 0){\n \t\t\t break;\n \t\t }\n \t\t System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n \t\t i++;\n \t}\n }",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"int i = 1;",
"i",
"1",
"while(true){\n \t\tint x = Integer.parseInt(br.readLine());\n \t\t if(x == 0){\n \t\t\t break;\n \t\t }\n \t\t System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n \t\t i++;\n \t}",
"true",
"{\n \t\tint x = Integer.parseInt(br.readLine());\n \t\t if(x == 0){\n \t\t\t break;\n \t\t }\n \t\t System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n \t\t i++;\n \t}",
"int x = Integer.parseInt(br.readLine());",
"x",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(x == 0){\n \t\t\t break;\n \t\t }",
"x == 0",
"x",
"0",
"{\n \t\t\t break;\n \t\t }",
"break;",
"System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\" + \" \" + i + \":\" + \" \" + x",
"\" \"",
"\":\"",
"i",
"\"Case\" + \" \" + i + \":\" + \" \" + x",
"\"Case\"",
"\" \"",
"i",
"\":\"",
"\" \"",
"x",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n \tint i = 1;\n \twhile(true){\n \t\tint x = Integer.parseInt(br.readLine());\n \t\t if(x == 0){\n \t\t\t break;\n \t\t }\n \t\t System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n \t\t i++;\n \t}\n }\n}",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n \tint i = 1;\n \twhile(true){\n \t\tint x = Integer.parseInt(br.readLine());\n \t\t if(x == 0){\n \t\t\t break;\n \t\t }\n \t\t System.out.println(\"Case\" + \" \" + i + \":\" + \" \" + x);\n \t\t i++;\n \t}\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws Exception {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
int i = 1;
while(true){
int x = Integer.parseInt(br.readLine());
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,
4,
18,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
3,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
17,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
39,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
39,
43
],
[
26,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
]
] | [
"import java.util.*;\n \nclass Main{\n public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int x = stdId.nextInt(); \n for(int i=1;;i++){\n if(x==0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n x = stdId.nextInt();\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int x = stdId.nextInt(); \n for(int i=1;;i++){\n if(x==0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n x = stdId.nextInt();\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int x = stdId.nextInt(); \n for(int i=1;;i++){\n if(x==0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n x = stdId.nextInt();\n }\n }",
"main",
"{\n Scanner stdId = new Scanner(System.in);\n int x = stdId.nextInt(); \n for(int i=1;;i++){\n if(x==0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n x = stdId.nextInt();\n }\n }",
"Scanner stdId = new Scanner(System.in);",
"stdId",
"new Scanner(System.in)",
"int x = stdId.nextInt();",
"x",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"for(int i=1;;i++){\n if(x==0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n x = stdId.nextInt();\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n if(x==0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n x = stdId.nextInt();\n }",
"{\n if(x==0) break;\n System.out.println(\"Case \" + i + \": \" + x);\n x = stdId.nextInt();\n }",
"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",
"x = stdId.nextInt()",
"x",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner stdId = new Scanner(System.in);
int x = stdId.nextInt();
for(int i=1;;i++){
if(x==0) break;
System.out.println("Case " + i + ": " + x);
x = stdId.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
4,
18,
13,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
3,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
40,
2,
13,
13,
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
],
[
80,
8
],
[
80,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
31,
38
],
[
23,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
67,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
66,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
9,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n //int x[] = new int[100];\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n if(x.get(count)==0)\n break;\n count += 1;\n }\n for(int i = 0; i < count; i++){\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n //int x[] = new int[100];\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n if(x.get(count)==0)\n break;\n count += 1;\n }\n for(int i = 0; i < count; i++){\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n //int x[] = new int[100];\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n if(x.get(count)==0)\n break;\n count += 1;\n }\n for(int i = 0; i < count; i++){\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n //int x[] = new int[100];\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n if(x.get(count)==0)\n break;\n count += 1;\n }\n for(int i = 0; i < count; i++){\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> x = new ArrayList<Integer>();",
"x",
"new ArrayList<Integer>()",
"int count = 0;",
"count",
"0",
"while(true){\n x.add(count,sc.nextInt());\n if(x.get(count)==0)\n break;\n count += 1;\n }",
"true",
"{\n x.add(count,sc.nextInt());\n if(x.get(count)==0)\n break;\n count += 1;\n }",
"x.add(count,sc.nextInt())",
"x.add",
"x",
"count",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x.get(count)==0)\n break;",
"x.get(count)==0",
"x.get(count)",
"x.get",
"x",
"count",
"0",
"break;",
"count += 1",
"count",
"1",
"for(int i = 0; i < count; i++){\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count",
"i",
"count",
"i++",
"i++",
"i",
"{\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }",
"{\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }",
"if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));",
"!(i==count)",
"(i==count)",
"i",
"count",
"System.out.println(\"Case \"+(i+1)+\": \"+x.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(i+1)+\": \"+x.get(i)",
"\": \"",
"\"Case \"+(i+1)+\": \"+x.get(i)",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"x.get(i)",
"x.get",
"x",
"i",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n //int x[] = new int[100];\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n if(x.get(count)==0)\n break;\n count += 1;\n }\n for(int i = 0; i < count; i++){\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n //int x[] = new int[100];\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n if(x.get(count)==0)\n break;\n count += 1;\n }\n for(int i = 0; i < count; i++){\n if(!(i==count))\n System.out.println(\"Case \"+(i+1)+\": \"+x.get(i));\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
ArrayList<Integer> x = new ArrayList<Integer>();
//int x[] = new int[100];
int count = 0;
while(true){
x.add(count,sc.nextInt());
if(x.get(count)==0)
break;
count += 1;
}
for(int i = 0; i < count; i++){
if(!(i==count))
System.out.println("Case "+(i+1)+": "+x.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
40,
4,
18,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
48,
8
],
[
48,
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
22,
29
],
[
20,
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
],
[
9,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] | [
"import java.io.*;\nimport java.util.Arrays;\n \npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input;\n int count = 1;\n while (!(input = br.readLine()).equals(\"0\")) {\n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input;\n int count = 1;\n while (!(input = br.readLine()).equals(\"0\")) {\n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input;\n int count = 1;\n while (!(input = br.readLine()).equals(\"0\")) {\n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input;\n int count = 1;\n while (!(input = br.readLine()).equals(\"0\")) {\n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String input;",
"input",
"int count = 1;",
"count",
"1",
"while (!(input = br.readLine()).equals(\"0\")) {\n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n }",
"!(input = br.readLine()).equals(\"0\")",
"(input = br.readLine()).equals(\"0\")",
"(input = br.readLine()).equals",
"(input = br.readLine())",
"input",
"br.readLine()",
"br.readLine",
"br",
"\"0\"",
"{\n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n }",
"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 public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String input;\n int count = 1;\n while (!(input = br.readLine()).equals(\"0\")) {\n System.out.println(\"Case \" + count + \": \" + input);\n count++;\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 input;\n int count = 1;\n while (!(input = br.readLine()).equals(\"0\")) {\n System.out.println(\"Case \" + count + \": \" + input);\n count++;\n }\n }\n}",
"Main"
] | import java.io.*;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input;
int count = 1;
while (!(input = br.readLine()).equals("0")) {
System.out.println("Case " + count + ": " + input);
count++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
18,
13,
13,
13,
14,
2,
13,
17,
30,
0,
13,
13,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
36,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
86,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner sc=new Scanner(System.in);\nlong dd[]=new long[10000];\nint x=9;\nlong r = 0;\nlong su;\nfor(int i=0;x==9;i++){\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}\nfor(int y=0;y<r;y++){\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}\n\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner sc=new Scanner(System.in);\nlong dd[]=new long[10000];\nint x=9;\nlong r = 0;\nlong su;\nfor(int i=0;x==9;i++){\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}\nfor(int y=0;y<r;y++){\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner sc=new Scanner(System.in);\nlong dd[]=new long[10000];\nint x=9;\nlong r = 0;\nlong su;\nfor(int i=0;x==9;i++){\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}\nfor(int y=0;y<r;y++){\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}\n\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\nScanner sc=new Scanner(System.in);\nlong dd[]=new long[10000];\nint x=9;\nlong r = 0;\nlong su;\nfor(int i=0;x==9;i++){\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}\nfor(int y=0;y<r;y++){\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}\n\n\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long dd[]=new long[10000];",
"dd",
"new long[10000]",
"10000",
"int x=9;",
"x",
"9",
"long r = 0;",
"r",
"0",
"long su;",
"su",
"for(int i=0;x==9;i++){\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"x==9",
"x",
"9",
"i++",
"i++",
"i",
"{\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}",
"{\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}",
"su=sc.nextInt()",
"su",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(su!=0){\n\tdd[i]=su;\n}",
"su!=0",
"su",
"0",
"{\n\tdd[i]=su;\n}",
"dd[i]=su",
"dd[i]",
"dd",
"i",
"su",
"if(su==0){\n\tr=i;\n\tbreak;\n}",
"su==0",
"su",
"0",
"{\n\tr=i;\n\tbreak;\n}",
"r=i",
"r",
"i",
"break;",
"for(int y=0;y<r;y++){\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}",
"int y=0;",
"int y=0;",
"y",
"0",
"y<r",
"y",
"r",
"y++",
"y++",
"y",
"{\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}",
"{\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}",
"int l=y+1;",
"l",
"y+1",
"y",
"1",
"System.out.println(\"Case \"+ l +\": \"+dd[y])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ l +\": \"+dd[y]",
"\": \"",
"\"Case \"+ l +\": \"+dd[y]",
"\"Case \"",
"l",
"\": \"",
"dd[y]",
"dd",
"y",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner sc=new Scanner(System.in);\nlong dd[]=new long[10000];\nint x=9;\nlong r = 0;\nlong su;\nfor(int i=0;x==9;i++){\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}\nfor(int y=0;y<r;y++){\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}\n\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\nScanner sc=new Scanner(System.in);\nlong dd[]=new long[10000];\nint x=9;\nlong r = 0;\nlong su;\nfor(int i=0;x==9;i++){\nsu=sc.nextInt();\nif(su!=0){\n\tdd[i]=su;\n}\nif(su==0){\n\tr=i;\n\tbreak;\n}\n}\nfor(int y=0;y<r;y++){\n\tint l=y+1;\n\tSystem.out.println(\"Case \"+ l +\": \"+dd[y]);\n}\n\n\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);
long dd[]=new long[10000];
int x=9;
long r = 0;
long su;
for(int i=0;x==9;i++){
su=sc.nextInt();
if(su!=0){
dd[i]=su;
}
if(su==0){
r=i;
break;
}
}
for(int y=0;y<r;y++){
int l=y+1;
System.out.println("Case "+ l +": "+dd[y]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
93,
8
],
[
93,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
11,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
31,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
65,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
81,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
81,
87
],
[
87,
88
],
[
87,
89
],
[
9,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.io.*;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tScanner input = new Scanner(System.in);\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tScanner input = new Scanner(System.in);\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tScanner input = new Scanner(System.in);\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//\n\t}",
"main",
"{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tScanner input = new Scanner(System.in);\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//\n\t}",
"int[] data = new int[10001];",
"data",
"new int[10001]",
"10001",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"for(int i=0; i < 10001; i++){\n\t\t\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\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\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String str = input.nextLine();",
"str",
"input.nextLine()",
"input.nextLine",
"input",
"data[i] = Integer.parseInt(str)",
"data[i]",
"data",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"if( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"data[i] == 0",
"data[i]",
"data",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}",
"{\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}",
"if( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"data[i] == 0",
"data[i]",
"data",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \"+ (i+1) + \": \" + data[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ (i+1) + \": \" + data[i]",
"\": \"",
"\"Case \"+ (i+1) + \": \" + data[i]",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"data[i]",
"data",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tScanner input = new Scanner(System.in);\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tScanner input = new Scanner(System.in);\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tString str = input.nextLine();\n\t\t\tdata[i] = Integer.parseInt(str);\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i+1) + \": \" + data[i]);\n\t\t}\n\t\t//\n\t}\n}",
"Main"
] | import java.io.*;
import java.util.Scanner;
public class Main{
public static void main(String[] args) throws IOException{
//
int[] data = new int[10001];
Scanner input = new Scanner(System.in);
for(int i=0; i < 10001; i++){
String str = input.nextLine();
data[i] = Integer.parseInt(str);
if( data[i] == 0){
break;
}
}
for(int i=0; i < 10001; i++){
if( data[i] == 0){
break;
}
System.out.println("Case "+ (i+1) + ": " + data[i]);
}
//
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
20,
17,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
13,
17,
3,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
111,
5
],
[
111,
6
],
[
6,
7
],
[
6,
8
],
[
111,
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,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
26,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
26,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
58,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
72,
78
],
[
58,
79
],
[
79,
80
],
[
45,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
101,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
9,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.io.*;\n\npublic class Main {\n /**\n *\n */\n\n private static final int _100000 = 100000;\n\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int[] x;\n int i;\n x = new int[100000];\n int count = 0;\n try {\n for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }\n\n for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }\n\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e){\n System.out.println(\"falese\");\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n /**\n *\n */\n\n private static final int _100000 = 100000;\n\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int[] x;\n int i;\n x = new int[100000];\n int count = 0;\n try {\n for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }\n\n for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }\n\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e){\n System.out.println(\"falese\");\n }\n }\n}",
"Main",
"/**\n *\n */\n\n private static final int _100000 = 100000;",
"_100000",
"100000",
"public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int[] x;\n int i;\n x = new int[100000];\n int count = 0;\n try {\n for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }\n\n for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }\n\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e){\n System.out.println(\"falese\");\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int[] x;\n int i;\n x = new int[100000];\n int count = 0;\n try {\n for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }\n\n for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }\n\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e){\n System.out.println(\"falese\");\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int[] x;",
"x",
"int i;",
"i",
"x = new int[100000]",
"x",
"new int[100000]",
"100000",
"int count = 0;",
"count",
"0",
"try {\n for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }\n\n for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }\n\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e){\n System.out.println(\"falese\");\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(\"falese\");\n }",
"NumberFormatException e",
"{\n System.out.println(\"falese\");\n }",
"System.out.println(\"falese\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"falese\"",
"{\n for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }\n\n for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }\n\n }",
"for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }",
"i=1;",
"i=1",
"i",
"1",
"i<100000",
"i",
"100000",
"i++",
"i++",
"i",
"{\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }",
"{\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"x[i] = Integer.parseInt(line)",
"x[i]",
"x",
"i",
"Integer.parseInt(line)",
"Integer.parseInt",
"Integer",
"line",
"if (x[i] == 0) break;",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"break;",
"count++",
"count",
"for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }",
"i=1;",
"i=1",
"i",
"1",
"i<=count",
"i",
"count",
"i++",
"i++",
"i",
"{\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }",
"{\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }",
"System.out.println(\"Case \" + i + \": \" + x[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + x[i]",
"\": \"",
"\"Case \" + i + \": \" + x[i]",
"\"Case \"",
"i",
"\": \"",
"x[i]",
"x",
"i",
"String[] args",
"args",
"public class Main {\n /**\n *\n */\n\n private static final int _100000 = 100000;\n\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int[] x;\n int i;\n x = new int[100000];\n int count = 0;\n try {\n for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }\n\n for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }\n\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e){\n System.out.println(\"falese\");\n }\n }\n}",
"public class Main {\n /**\n *\n */\n\n private static final int _100000 = 100000;\n\n public static void main(String[] args) {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n int[] x;\n int i;\n x = new int[100000];\n int count = 0;\n try {\n for(i=1;i<100000;i++) {\n String line = reader.readLine();\n x[i] = Integer.parseInt(line);\n if (x[i] == 0) break;\n count++;\n }\n\n for(i=1;i<=count;i++){\n System.out.println(\"Case \" + i + \": \" + x[i]);\n }\n\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e){\n System.out.println(\"falese\");\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
/**
*
*/
private static final int _100000 = 100000;
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int[] x;
int i;
x = new int[100000];
int count = 0;
try {
for(i=1;i<100000;i++) {
String line = reader.readLine();
x[i] = Integer.parseInt(line);
if (x[i] == 0) break;
count++;
}
for(i=1;i<=count;i++){
System.out.println("Case " + i + ": " + x[i]);
}
} catch (IOException e) {
System.out.println(e);
} catch (NumberFormatException e){
System.out.println("falese");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
40,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
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
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
44,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
44,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint i = 0;\n\n\t\twhile(intX != 0){\n\t\t\tintX = sc.nextInt();\n\n\t\t\tif(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + intX);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint i = 0;\n\n\t\twhile(intX != 0){\n\t\t\tintX = sc.nextInt();\n\n\t\t\tif(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + intX);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint i = 0;\n\n\t\twhile(intX != 0){\n\t\t\tintX = sc.nextInt();\n\n\t\t\tif(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + intX);\n\t\t}\n\t}",
"main",
"{\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint i = 0;\n\n\t\twhile(intX != 0){\n\t\t\tintX = sc.nextInt();\n\n\t\t\tif(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + intX);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int intX = -1;",
"intX",
"-1",
"1",
"int i = 0;",
"i",
"0",
"while(intX != 0){\n\t\t\tintX = sc.nextInt();\n\n\t\t\tif(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + intX);\n\t\t}",
"intX != 0",
"intX",
"0",
"{\n\t\t\tintX = sc.nextInt();\n\n\t\t\tif(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + intX);\n\t\t}",
"intX = sc.nextInt()",
"intX",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}",
"intX == 0",
"intX",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"i++",
"i",
"System.out.println(\"Case \" + i + \": \" + intX)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + intX",
"\": \"",
"\"Case \" + i + \": \" + intX",
"\"Case \"",
"i",
"\": \"",
"intX",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint i = 0;\n\n\t\twhile(intX != 0){\n\t\t\tintX = sc.nextInt();\n\n\t\t\tif(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + intX);\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint i = 0;\n\n\t\twhile(intX != 0){\n\t\t\tintX = sc.nextInt();\n\n\t\t\tif(intX == 0 ){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\ti++;\n\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + intX);\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 intX = -1;
int i = 0;
while(intX != 0){
intX = sc.nextInt();
if(intX == 0 ){
break;
}
i++;
System.out.println("Case " + i + ": " + intX);
}
}
} |
[
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,
17,
40,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
30,
36
],
[
36,
37
],
[
30,
38
],
[
6,
39
],
[
39,
40
]
] | [
"import java.util.Scanner;\nclass Main\n {\n public static void main(String[] args)\n {\n Scanner stdln = new Scanner(System.in);\n int x,i=1;\n while(true){\n x = stdln.nextInt();\n if (x==0)break;\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n {\n public static void main(String[] args)\n {\n Scanner stdln = new Scanner(System.in);\n int x,i=1;\n while(true){\n x = stdln.nextInt();\n if (x==0)break;\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner stdln = new Scanner(System.in);\n int x,i=1;\n while(true){\n x = stdln.nextInt();\n if (x==0)break;\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n }",
"main",
"{\n Scanner stdln = new Scanner(System.in);\n int x,i=1;\n while(true){\n x = stdln.nextInt();\n if (x==0)break;\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }\n }",
"Scanner stdln = new Scanner(System.in);",
"stdln",
"new Scanner(System.in)",
"int x",
"x",
"i=1;",
"i",
"1",
"while(true){\n x = stdln.nextInt();\n if (x==0)break;\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }",
"true",
"{\n x = stdln.nextInt();\n if (x==0)break;\n System.out.printf(\"Case %d: %d\\n\", i++, x);\n }",
"x = stdln.nextInt()",
"x",
"stdln.nextInt()",
"stdln.nextInt",
"stdln",
"if (x==0)break;",
"x==0",
"x",
"0",
"break;",
"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"
] | import java.util.Scanner;
class Main
{
public static void main(String[] args)
{
Scanner stdln = new Scanner(System.in);
int x,i=1;
while(true){
x = stdln.nextInt();
if (x==0)break;
System.out.printf("Case %d: %d\n", i++, x);
}
}
}
|
[
7,
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,
2,
2,
2,
17,
17,
13,
17,
17,
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
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
17,
28
],
[
28,
29
],
[
17,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
40,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
37,
45
],
[
36,
46
],
[
40,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint i=0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t int x = sc.nextInt();\n\t\t if ( x == 0 ) break; \n\t\t\n\t i++;\n\t \t System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x );\n\t }\n\n\t }\n\t\t\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint i=0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t int x = sc.nextInt();\n\t\t if ( x == 0 ) break; \n\t\t\n\t i++;\n\t \t System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x );\n\t }\n\n\t }\n\t\t\n\t}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tint i=0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t int x = sc.nextInt();\n\t\t if ( x == 0 ) break; \n\t\t\n\t i++;\n\t \t System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x );\n\t }\n\n\t }",
"main",
"{\n\t\t\n\t\tint i=0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t int x = sc.nextInt();\n\t\t if ( x == 0 ) break; \n\t\t\n\t i++;\n\t \t System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x );\n\t }\n\n\t }",
"int i=0;",
"i",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t\t int x = sc.nextInt();\n\t\t if ( x == 0 ) break; \n\t\t\n\t i++;\n\t \t System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x );\n\t }",
"true",
"{\n\t\t int x = sc.nextInt();\n\t\t if ( x == 0 ) break; \n\t\t\n\t i++;\n\t \t System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x );\n\t }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if ( x == 0 ) break;",
"x == 0",
"x",
"0",
"break;",
"i++",
"i",
"System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x )",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x",
"\" \"",
"\":\"",
"\"\"",
"i",
"\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x",
"\"Case\"",
"\" \"",
"i",
"\"\"",
"\":\"",
"\" \"",
"x",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint i=0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t int x = sc.nextInt();\n\t\t if ( x == 0 ) break; \n\t\t\n\t i++;\n\t \t System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x );\n\t }\n\n\t }\n\t\t\n\t}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint i=0;\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t int x = sc.nextInt();\n\t\t if ( x == 0 ) break; \n\t\t\n\t i++;\n\t \t System.out.println(\"Case\" + \" \" +i+ \"\" +\":\"+\" \" + x );\n\t }\n\n\t }\n\t\t\n\t}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int i=0;
Scanner sc = new Scanner(System.in);
while(true){
int x = sc.nextInt();
if ( x == 0 ) break;
i++;
System.out.println("Case" + " " +i+ "" +":"+" " + x );
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
17,
13,
13,
0,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
46,
8
],
[
46,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
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
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
34,
39
],
[
22,
40
],
[
40,
41
],
[
40,
42
],
[
9,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import static java.lang.System.out;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int counter = 1;\n while (scan.hasNext()) {\n int num = scan.nextInt();\n if (num == 0) {\n break;\n }\n out.printf(\"Case %d: %d%n\", counter, num);\n counter += 1;\n }\n } \n}",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int counter = 1;\n while (scan.hasNext()) {\n int num = scan.nextInt();\n if (num == 0) {\n break;\n }\n out.printf(\"Case %d: %d%n\", counter, num);\n counter += 1;\n }\n } \n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int counter = 1;\n while (scan.hasNext()) {\n int num = scan.nextInt();\n if (num == 0) {\n break;\n }\n out.printf(\"Case %d: %d%n\", counter, num);\n counter += 1;\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int counter = 1;\n while (scan.hasNext()) {\n int num = scan.nextInt();\n if (num == 0) {\n break;\n }\n out.printf(\"Case %d: %d%n\", counter, num);\n counter += 1;\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int counter = 1;",
"counter",
"1",
"while (scan.hasNext()) {\n int num = scan.nextInt();\n if (num == 0) {\n break;\n }\n out.printf(\"Case %d: %d%n\", counter, num);\n counter += 1;\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n int num = scan.nextInt();\n if (num == 0) {\n break;\n }\n out.printf(\"Case %d: %d%n\", counter, num);\n counter += 1;\n }",
"int num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (num == 0) {\n break;\n }",
"num == 0",
"num",
"0",
"{\n break;\n }",
"break;",
"out.printf(\"Case %d: %d%n\", counter, num)",
"out.printf",
"out",
"\"Case %d: %d%n\"",
"counter",
"num",
"counter += 1",
"counter",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int counter = 1;\n while (scan.hasNext()) {\n int num = scan.nextInt();\n if (num == 0) {\n break;\n }\n out.printf(\"Case %d: %d%n\", counter, num);\n counter += 1;\n }\n } \n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int counter = 1;\n while (scan.hasNext()) {\n int num = scan.nextInt();\n if (num == 0) {\n break;\n }\n out.printf(\"Case %d: %d%n\", counter, num);\n counter += 1;\n }\n } \n}",
"Main"
] | import static java.lang.System.out;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int counter = 1;
while (scan.hasNext()) {
int num = scan.nextInt();
if (num == 0) {
break;
}
out.printf("Case %d: %d%n", counter, num);
counter += 1;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
17,
41,
13,
17,
0,
13,
20,
17,
0,
18,
13,
17,
17,
41,
13,
20,
42,
2,
18,
13,
13,
17,
30,
40,
13,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
17,
0,
13,
17,
42,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
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
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
55,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
70,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
62,
77
],
[
77,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.Scanner;\n\npublic class Main{ \n public static void main(String[] args){\n int a[];\n int i=0,count=1;\n a = new int[100000];\n a[0]=1;\n Scanner n = new Scanner(System.in);\n while(a[i] != 0){\n i++;\n a[i] = n.nextInt();\n if(a[i]!=0){\n count+=1;\n }\n }\n i=1;\n while(count>i){\n System.out.println(\"Case \" + i + \": \" + a[i]);\n i++;\n }\n }\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{ \n public static void main(String[] args){\n int a[];\n int i=0,count=1;\n a = new int[100000];\n a[0]=1;\n Scanner n = new Scanner(System.in);\n while(a[i] != 0){\n i++;\n a[i] = n.nextInt();\n if(a[i]!=0){\n count+=1;\n }\n }\n i=1;\n while(count>i){\n System.out.println(\"Case \" + i + \": \" + a[i]);\n i++;\n }\n }\n }",
"Main",
"public static void main(String[] args){\n int a[];\n int i=0,count=1;\n a = new int[100000];\n a[0]=1;\n Scanner n = new Scanner(System.in);\n while(a[i] != 0){\n i++;\n a[i] = n.nextInt();\n if(a[i]!=0){\n count+=1;\n }\n }\n i=1;\n while(count>i){\n System.out.println(\"Case \" + i + \": \" + a[i]);\n i++;\n }\n }",
"main",
"{\n int a[];\n int i=0,count=1;\n a = new int[100000];\n a[0]=1;\n Scanner n = new Scanner(System.in);\n while(a[i] != 0){\n i++;\n a[i] = n.nextInt();\n if(a[i]!=0){\n count+=1;\n }\n }\n i=1;\n while(count>i){\n System.out.println(\"Case \" + i + \": \" + a[i]);\n i++;\n }\n }",
"int a[];",
"a",
"int i=0",
"i",
"0",
"count=1;",
"count",
"1",
"a = new int[100000]",
"a",
"new int[100000]",
"100000",
"a[0]=1",
"a[0]",
"a",
"0",
"1",
"Scanner n = new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"while(a[i] != 0){\n i++;\n a[i] = n.nextInt();\n if(a[i]!=0){\n count+=1;\n }\n }",
"a[i] != 0",
"a[i]",
"a",
"i",
"0",
"{\n i++;\n a[i] = n.nextInt();\n if(a[i]!=0){\n count+=1;\n }\n }",
"i++",
"i",
"a[i] = n.nextInt()",
"a[i]",
"a",
"i",
"n.nextInt()",
"n.nextInt",
"n",
"if(a[i]!=0){\n count+=1;\n }",
"a[i]!=0",
"a[i]",
"a",
"i",
"0",
"{\n count+=1;\n }",
"count+=1",
"count",
"1",
"i=1",
"i",
"1",
"while(count>i){\n System.out.println(\"Case \" + i + \": \" + a[i]);\n i++;\n }",
"count>i",
"count",
"i",
"{\n System.out.println(\"Case \" + i + \": \" + a[i]);\n i++;\n }",
"System.out.println(\"Case \" + i + \": \" + a[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + a[i]",
"\": \"",
"\"Case \" + i + \": \" + a[i]",
"\"Case \"",
"i",
"\": \"",
"a[i]",
"a",
"i",
"i++",
"i",
"String[] args",
"args",
"public class Main{ \n public static void main(String[] args){\n int a[];\n int i=0,count=1;\n a = new int[100000];\n a[0]=1;\n Scanner n = new Scanner(System.in);\n while(a[i] != 0){\n i++;\n a[i] = n.nextInt();\n if(a[i]!=0){\n count+=1;\n }\n }\n i=1;\n while(count>i){\n System.out.println(\"Case \" + i + \": \" + a[i]);\n i++;\n }\n }\n }",
"public class Main{ \n public static void main(String[] args){\n int a[];\n int i=0,count=1;\n a = new int[100000];\n a[0]=1;\n Scanner n = new Scanner(System.in);\n while(a[i] != 0){\n i++;\n a[i] = n.nextInt();\n if(a[i]!=0){\n count+=1;\n }\n }\n i=1;\n while(count>i){\n System.out.println(\"Case \" + i + \": \" + a[i]);\n i++;\n }\n }\n }",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
int a[];
int i=0,count=1;
a = new int[100000];
a[0]=1;
Scanner n = new Scanner(System.in);
while(a[i] != 0){
i++;
a[i] = n.nextInt();
if(a[i]!=0){
count+=1;
}
}
i=1;
while(count>i){
System.out.println("Case " + i + ": " + a[i]);
i++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
40,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
38,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
38,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 0;\n while (true) {\n a++;\n int b = scanner.nextInt();\n if (b == 0) {\n break;\n }\n System.out.println(\"Case \" + a + \": \" + b);\n\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 0;\n while (true) {\n a++;\n int b = scanner.nextInt();\n if (b == 0) {\n break;\n }\n System.out.println(\"Case \" + a + \": \" + b);\n\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 0;\n while (true) {\n a++;\n int b = scanner.nextInt();\n if (b == 0) {\n break;\n }\n System.out.println(\"Case \" + a + \": \" + b);\n\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int a = 0;\n while (true) {\n a++;\n int b = scanner.nextInt();\n if (b == 0) {\n break;\n }\n System.out.println(\"Case \" + a + \": \" + b);\n\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a = 0;",
"a",
"0",
"while (true) {\n a++;\n int b = scanner.nextInt();\n if (b == 0) {\n break;\n }\n System.out.println(\"Case \" + a + \": \" + b);\n\n }",
"true",
"{\n a++;\n int b = scanner.nextInt();\n if (b == 0) {\n break;\n }\n System.out.println(\"Case \" + a + \": \" + b);\n\n }",
"a++",
"a",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (b == 0) {\n break;\n }",
"b == 0",
"b",
"0",
"{\n break;\n }",
"break;",
"System.out.println(\"Case \" + a + \": \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + a + \": \" + b",
"\": \"",
"\"Case \" + a + \": \" + b",
"\"Case \"",
"a",
"\": \"",
"b",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 0;\n while (true) {\n a++;\n int b = scanner.nextInt();\n if (b == 0) {\n break;\n }\n System.out.println(\"Case \" + a + \": \" + b);\n\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 0;\n while (true) {\n a++;\n int b = scanner.nextInt();\n if (b == 0) {\n break;\n }\n System.out.println(\"Case \" + a + \": \" + b);\n\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = 0;
while (true) {
a++;
int b = scanner.nextInt();
if (b == 0) {
break;
}
System.out.println("Case " + a + ": " + b);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
3,
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
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
66,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
43,
44
],
[
32,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
51,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
51,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
9,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n static final String ZERO = \"0\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n String str;\n for (int i = 1; sc.hasNext(); i++) {\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }\n\n System.out.print(sb);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n static final String ZERO = \"0\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n String str;\n for (int i = 1; sc.hasNext(); i++) {\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }\n\n System.out.print(sb);\n }\n}",
"Main",
"static final String ZERO = \"0\";",
"ZERO",
"\"0\"",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n String str;\n for (int i = 1; sc.hasNext(); i++) {\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }\n\n System.out.print(sb);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n String str;\n for (int i = 1; sc.hasNext(); i++) {\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }\n\n System.out.print(sb);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String str;",
"str",
"for (int i = 1; sc.hasNext(); i++) {\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"sc.hasNext()",
"sc.hasNext",
"sc",
"i++",
"i++",
"i",
"{\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }",
"{\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }",
"str = sc.nextLine()",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (ZERO.equals(str)) {\n break;\n }",
"ZERO.equals(str)",
"ZERO.equals",
"ZERO",
"str",
"{\n break;\n }",
"break;",
"sb.append(\"Case \" + i + \": \" + str + \"\\n\")",
"sb.append",
"sb",
"\"Case \" + i + \": \" + str + \"\\n\"",
"str",
"\": \"",
"\"Case \" + i + \": \" + str + \"\\n\"",
"\"Case \"",
"i",
"\": \"",
"str",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n static final String ZERO = \"0\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n String str;\n for (int i = 1; sc.hasNext(); i++) {\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }\n\n System.out.print(sb);\n }\n}",
"public class Main {\n\n static final String ZERO = \"0\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n String str;\n for (int i = 1; sc.hasNext(); i++) {\n str = sc.nextLine();\n if (ZERO.equals(str)) {\n break;\n }\n sb.append(\"Case \" + i + \": \" + str + \"\\n\");\n }\n\n System.out.print(sb);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static final String ZERO = "0";
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
String str;
for (int i = 1; sc.hasNext(); i++) {
str = sc.nextLine();
if (ZERO.equals(str)) {
break;
}
sb.append("Case " + i + ": " + str + "\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,
41,
13,
17,
42,
40,
4,
18,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
25,
32
],
[
23,
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
],
[
12,
48
],
[
48,
49
]
] | [
"//Print Test Cases\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\tint count =1;\n\t\twhile (!(input = in.readLine()).equals(\"0\")){\n\t\t\tSystem.out.println(\"Case \"+count+\": \"+input);\n\t\t\tcount++;\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\tint count =1;\n\t\twhile (!(input = in.readLine()).equals(\"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) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\tint count =1;\n\t\twhile (!(input = in.readLine()).equals(\"0\")){\n\t\t\tSystem.out.println(\"Case \"+count+\": \"+input);\n\t\t\tcount++;\n\t\t}\n\t}",
"main",
"{\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\tint count =1;\n\t\twhile (!(input = in.readLine()).equals(\"0\")){\n\t\t\tSystem.out.println(\"Case \"+count+\": \"+input);\n\t\t\tcount++;\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String input;",
"input",
"int count =1;",
"count",
"1",
"while (!(input = in.readLine()).equals(\"0\")){\n\t\t\tSystem.out.println(\"Case \"+count+\": \"+input);\n\t\t\tcount++;\n\t\t}",
"!(input = in.readLine()).equals(\"0\")",
"(input = in.readLine()).equals(\"0\")",
"(input = in.readLine()).equals",
"(input = in.readLine())",
"input",
"in.readLine()",
"in.readLine",
"in",
"\"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"
] | //Print Test Cases
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String input;
int count =1;
while (!(input = in.readLine()).equals("0")){
System.out.println("Case "+count+": "+input);
count++;
}
}
} |
[
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,
4,
18,
13,
13,
30,
3,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
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
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
25,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
36,
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
],
[
65,
66
],
[
64,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> n = new ArrayList<Integer>();\n\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> n = new ArrayList<Integer>();\n\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> n = new ArrayList<Integer>();\n\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> n = new ArrayList<Integer>();\n\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> n = new ArrayList<Integer>();",
"n",
"new ArrayList<Integer>()",
"while(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int value = sc.nextInt();",
"value",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}",
"value != 0",
"value",
"0",
"{\n\t\t\t\tn.add(value);\n\t\t\t}",
"n.add(value)",
"n.add",
"n",
"value",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for(int i = 0; i < n.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n.size()",
"i",
"n.size()",
"n.size",
"n",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\n\t\t}",
"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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> n = new ArrayList<Integer>();\n\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\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\tArrayList<Integer> n = new ArrayList<Integer>();\n\n\t\twhile(sc.hasNextInt()){\n\t\t\tint value = sc.nextInt();\n\t\t\tif(value != 0){\n\t\t\t\tn.add(value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + n.get(i));\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> n = new ArrayList<Integer>();
while(sc.hasNextInt()){
int value = sc.nextInt();
if(value != 0){
n.add(value);
}
else{
break;
}
}
for(int i = 0; i < n.size(); i++){
System.out.println("Case " + (i + 1) + ": " + n.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
62,
11
],
[
62,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
21,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
30,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
52,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
52,
58
],
[
12,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint su = 0;\n\t\tfor(int i = 0;;i++){\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint su = 0;\n\t\tfor(int i = 0;;i++){\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint su = 0;\n\t\tfor(int i = 0;;i++){\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint su = 0;\n\t\tfor(int i = 0;;i++){\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int su = 0;",
"su",
"0",
"for(int i = 0;;i++){\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}",
"{\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}",
"su = Integer.parseInt(br.readLine())",
"su",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(su == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"su == 0",
"su",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \"+ (i + 1) +\": \"+su)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+ (i + 1) +\": \"+su",
"\": \"",
"\"Case \"+ (i + 1) +\": \"+su",
"\"Case \"",
"(i + 1)",
"i",
"1",
"\": \"",
"su",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint su = 0;\n\t\tfor(int i = 0;;i++){\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint su = 0;\n\t\tfor(int i = 0;;i++){\n\t\t\tsu = Integer.parseInt(br.readLine());\n\t\t\tif(su == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(\"Case \"+ (i + 1) +\": \"+su);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int su = 0;
for(int i = 0;;i++){
su = Integer.parseInt(br.readLine());
if(su == 0){
break;
}
System.out.println("Case "+ (i + 1) +": "+su);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
38,
5,
13,
30,
30,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
4,
18,
13,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
33,
40
],
[
27,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
48,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
27,
56
],
[
56,
57
],
[
6,
58
],
[
58,
59
]
] | [
"import java.io.*;\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\tString buf;\n\t\tint count = 1;\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tif (Integer.parseInt(buf)==0) break;\n\t\t\t\tSystem.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf));\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"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\tString buf;\n\t\tint count = 1;\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tif (Integer.parseInt(buf)==0) break;\n\t\t\t\tSystem.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf));\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\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\tString buf;\n\t\tint count = 1;\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tif (Integer.parseInt(buf)==0) break;\n\t\t\t\tSystem.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf));\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\t\tint count = 1;\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tif (Integer.parseInt(buf)==0) break;\n\t\t\t\tSystem.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf));\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\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)",
"String buf;",
"buf",
"int count = 1;",
"count",
"1",
"try {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tif (Integer.parseInt(buf)==0) break;\n\t\t\t\tSystem.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf));\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\n\t\t}",
"catch (Exception e) {\n\t\t\t//Exception\n\t\t}",
"Exception e",
"{\n\t\t\t//Exception\n\t\t}",
"{\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tif (Integer.parseInt(buf)==0) break;\n\t\t\t\tSystem.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf));\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"while (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tif (Integer.parseInt(buf)==0) break;\n\t\t\t\tSystem.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf));\n\t\t\t\tcount++;\n\t\t\t}",
"true",
"{\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tif (Integer.parseInt(buf)==0) break;\n\t\t\t\tSystem.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf));\n\t\t\t\tcount++;\n\t\t\t}",
"buf = br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"if (Integer.parseInt(buf)==0) break;",
"Integer.parseInt(buf)==0",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"0",
"break;",
"System.out.println(\"Case \"+count+\": \"+Integer.parseInt(buf))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+count+\": \"+Integer.parseInt(buf)",
"\": \"",
"\"Case \"+count+\": \"+Integer.parseInt(buf)",
"\"Case \"",
"count",
"\": \"",
"Integer.parseInt(buf)",
"Integer.parseInt",
"Integer",
"buf",
"count++",
"count",
"String args[]",
"args"
] | import java.io.*;
class Main {
public static void main (String args[]) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf;
int count = 1;
try {
while (true) {
buf = br.readLine();
if (Integer.parseInt(buf)==0) break;
System.out.println("Case "+count+": "+Integer.parseInt(buf));
count++;
}
} catch (Exception e) {
//Exception
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
4,
18,
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
],
[
69,
11
],
[
69,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
51,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
51,
55
],
[
43,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
39,
64
],
[
64,
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\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i =1; i<10001; i++){\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i =1; i<10001; i++){\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i =1; i<10001; i++){\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i =1; i<10001; i++){\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int num = Integer.parseInt(br.readLine());",
"num",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"for(int i =1; i<10001; i++){\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i =1;",
"int i =1;",
"i",
"1",
"i<10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}",
"num != 0",
"num",
"0",
"{\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\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",
"num = Integer.parseInt(br.readLine())",
"num",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i =1; i<10001; i++){\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\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)throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i =1; i<10001; i++){\n\t\t\tif(num != 0){\n\t\t\t\tSystem.out.println(\"Case \"+ i +\": \" + num );\n\t\t\t\tnum = Integer.parseInt(br.readLine());\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int num = Integer.parseInt(br.readLine());
for(int i =1; i<10001; i++){
if(num != 0){
System.out.println("Case "+ i +": " + num );
num = Integer.parseInt(br.readLine());
}else{
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
3,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
17,
4,
18,
13,
2,
13,
17,
17,
4,
18,
13,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
31,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
54,
68
],
[
52,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
50,
75
],
[
8,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\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\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t\t//\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t\t//\n\t}",
"main",
"{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t\t//\n\t}",
"int[] data = new int[10001];",
"data",
"new int[10001]",
"10001",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"for(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < 10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}",
"{\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}",
"data[i] = Integer.parseInt(input.readLine())",
"data[i]",
"data",
"i",
"Integer.parseInt(input.readLine())",
"Integer.parseInt",
"Integer",
"input.readLine()",
"input.readLine",
"input",
"if( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"data[i] == 0",
"data[i]",
"data",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\")",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i]))",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append",
"output.append(\"Case \").append(Integer.toString(i+1)).append(\": \")",
"output.append(\"Case \").append(Integer.toString(i+1)).append",
"output.append(\"Case \").append(Integer.toString(i+1))",
"output.append(\"Case \").append",
"output.append(\"Case \")",
"output.append",
"output",
"\"Case \"",
"Integer.toString(i+1)",
"Integer.toString",
"Integer",
"i+1",
"i",
"1",
"\": \"",
"Integer.toString(data[i])",
"Integer.toString",
"Integer",
"data[i]",
"data",
"i",
"\"\\n\"",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t\t//\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//\n\t\tint[] data = new int[10001];\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor(int i=0; i < 10001; i++){\n\t\t\tdata[i] = Integer.parseInt(input.readLine());\n\t\t\tif( data[i] == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\toutput.append(\"Case \").append(Integer.toString(i+1)).append(\": \").append(Integer.toString(data[i])).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(output);\n\t\t//\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
//
int[] data = new int[10001];
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
StringBuilder output = new StringBuilder();
for(int i=0; i < 10001; i++){
data[i] = Integer.parseInt(input.readLine());
if( data[i] == 0){
break;
}
output.append("Case ").append(Integer.toString(i+1)).append(": ").append(Integer.toString(data[i])).append("\n");
}
System.out.print(output);
//
}
} |
[
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,
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
],
[
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
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
20,
34
],
[
34,
35
],
[
20,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
43,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
43,
47
],
[
9,
48
],
[
48,
49
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \t\ti++;\n \t\tSystem.out.println(\"Case \"+i+\": \"+x);\n }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \t\ti++;\n \t\tSystem.out.println(\"Case \"+i+\": \"+x);\n }\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \t\ti++;\n \t\tSystem.out.println(\"Case \"+i+\": \"+x);\n }\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint i=0;\n\t\twhile(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \t\ti++;\n \t\tSystem.out.println(\"Case \"+i+\": \"+x);\n }\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int i=0;",
"i",
"0",
"while(true){\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \t\ti++;\n \t\tSystem.out.println(\"Case \"+i+\": \"+x);\n }",
"true",
"{\n \tint x=Integer.parseInt(br.readLine());\n \tif(x==0) break;\n \t\ti++;\n \t\tSystem.out.println(\"Case \"+i+\": \"+x);\n }",
"int x=Integer.parseInt(br.readLine());",
"x",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"if(x==0) break;",
"x==0",
"x",
"0",
"break;",
"i++",
"i",
"System.out.println(\"Case \"+i+\": \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+x",
"\": \"",
"\"Case \"+i+\": \"+x",
"\"Case \"",
"i",
"\": \"",
"x",
"String[] args",
"args"
] | 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));
int i=0;
while(true){
int x=Integer.parseInt(br.readLine());
if(x==0) break;
i++;
System.out.println("Case "+i+": "+x);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
20,
17,
42,
17,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
3,
40,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
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,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
37,
38
],
[
23,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
61,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
60,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
6,
70
],
[
70,
71
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int i = 0,j;\n int num[] = new int[100000];\n while(true){\n num[i] = stdIn.nextInt();\n if(num[i] == 0){\n break;\n }\n i++;\n }\n\n\n for(j = 0;j < i;j++){\n System.out.println(\"Case \" + (j + 1) + \": \" + num[j]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int i = 0,j;\n int num[] = new int[100000];\n while(true){\n num[i] = stdIn.nextInt();\n if(num[i] == 0){\n break;\n }\n i++;\n }\n\n\n for(j = 0;j < i;j++){\n System.out.println(\"Case \" + (j + 1) + \": \" + num[j]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n int i = 0,j;\n int num[] = new int[100000];\n while(true){\n num[i] = stdIn.nextInt();\n if(num[i] == 0){\n break;\n }\n i++;\n }\n\n\n for(j = 0;j < i;j++){\n System.out.println(\"Case \" + (j + 1) + \": \" + num[j]);\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n int i = 0,j;\n int num[] = new int[100000];\n while(true){\n num[i] = stdIn.nextInt();\n if(num[i] == 0){\n break;\n }\n i++;\n }\n\n\n for(j = 0;j < i;j++){\n System.out.println(\"Case \" + (j + 1) + \": \" + num[j]);\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int i = 0",
"i",
"0",
"j;",
"j",
"int num[] = new int[100000];",
"num",
"new int[100000]",
"100000",
"while(true){\n num[i] = stdIn.nextInt();\n if(num[i] == 0){\n break;\n }\n i++;\n }",
"true",
"{\n num[i] = stdIn.nextInt();\n if(num[i] == 0){\n break;\n }\n i++;\n }",
"num[i] = stdIn.nextInt()",
"num[i]",
"num",
"i",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(num[i] == 0){\n break;\n }",
"num[i] == 0",
"num[i]",
"num",
"i",
"0",
"{\n break;\n }",
"break;",
"i++",
"i",
"for(j = 0;j < i;j++){\n System.out.println(\"Case \" + (j + 1) + \": \" + num[j]);\n }",
"j = 0;",
"j = 0",
"j",
"0",
"j < i",
"j",
"i",
"j++",
"j++",
"j",
"{\n System.out.println(\"Case \" + (j + 1) + \": \" + num[j]);\n }",
"{\n System.out.println(\"Case \" + (j + 1) + \": \" + num[j]);\n }",
"System.out.println(\"Case \" + (j + 1) + \": \" + num[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (j + 1) + \": \" + num[j]",
"\": \"",
"\"Case \" + (j + 1) + \": \" + num[j]",
"\"Case \"",
"(j + 1)",
"j",
"1",
"\": \"",
"num[j]",
"num",
"j",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
int i = 0,j;
int num[] = new int[100000];
while(true){
num[i] = stdIn.nextInt();
if(num[i] == 0){
break;
}
i++;
}
for(j = 0;j < i;j++){
System.out.println("Case " + (j + 1) + ": " + num[j]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
17,
41,
13,
17,
38,
5,
13,
30,
30,
42,
40,
4,
18,
0,
13,
4,
18,
13,
17,
30,
0,
18,
13,
13,
4,
18,
13,
13,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
85,
11
],
[
85,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
34,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
42,
51
],
[
51,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
73,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
12,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n int x[] = new int[10000];\n int i=0;\n try{\n while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }\n }catch(IOException e){\n \n }\n for(int j=0;j<i;j++){\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n int x[] = new int[10000];\n int i=0;\n try{\n while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }\n }catch(IOException e){\n \n }\n for(int j=0;j<i;j++){\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n int x[] = new int[10000];\n int i=0;\n try{\n while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }\n }catch(IOException e){\n \n }\n for(int j=0;j<i;j++){\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n int x[] = new int[10000];\n int i=0;\n try{\n while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }\n }catch(IOException e){\n \n }\n for(int j=0;j<i;j++){\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"int x[] = new int[10000];",
"x",
"new int[10000]",
"10000",
"int i=0;",
"i",
"0",
"try{\n while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }\n }catch(IOException e){\n \n }",
"catch(IOException e){\n \n }",
"IOException e",
"{\n \n }",
"{\n while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }\n }",
"while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }",
"!(str = br.readLine()).equals(\"0\")",
"(str = br.readLine()).equals(\"0\")",
"(str = br.readLine()).equals",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"\"0\"",
"{\n x[i] = Integer.parseInt(str);\n i++;\n }",
"x[i] = Integer.parseInt(str)",
"x[i]",
"x",
"i",
"Integer.parseInt(str)",
"Integer.parseInt",
"Integer",
"str",
"i++",
"i",
"for(int j=0;j<i;j++){\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"{\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\n }",
"{\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\n }",
"System.out.println(\"Case \"+(j+1)+\": \"+x[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+(j+1)+\": \"+x[j]",
"\": \"",
"\"Case \"+(j+1)+\": \"+x[j]",
"\"Case \"",
"(j+1)",
"j",
"1",
"\": \"",
"x[j]",
"x",
"j",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n int x[] = new int[10000];\n int i=0;\n try{\n while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }\n }catch(IOException e){\n \n }\n for(int j=0;j<i;j++){\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n int x[] = new int[10000];\n int i=0;\n try{\n while(!(str = br.readLine()).equals(\"0\")){\n x[i] = Integer.parseInt(str);\n i++;\n }\n }catch(IOException e){\n \n }\n for(int j=0;j<i;j++){\n System.out.println(\"Case \"+(j+1)+\": \"+x[j]);\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) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
int x[] = new int[10000];
int i=0;
try{
while(!(str = br.readLine()).equals("0")){
x[i] = Integer.parseInt(str);
i++;
}
}catch(IOException e){
}
for(int j=0;j<i;j++){
System.out.println("Case "+(j+1)+": "+x[j]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
0,
13,
4,
18,
13,
40,
13,
12,
13,
30,
41,
13,
20,
4,
18,
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
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
34,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
34,
38
],
[
26,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
26,
44
],
[
44,
45
],
[
58,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
46,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tvoid testcase(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint tmp;\n\t\tint cnt = 1;\n\t\ttmp = s.nextInt();\n\t\twhile(tmp != 0){\n\t\t\tSystem.out.println(\"Case \" + cnt + \": \" + tmp);\n\t\t\ttmp = s.nextInt();\n\t\t\tcnt++;\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.testcase();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid testcase(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint tmp;\n\t\tint cnt = 1;\n\t\ttmp = s.nextInt();\n\t\twhile(tmp != 0){\n\t\t\tSystem.out.println(\"Case \" + cnt + \": \" + tmp);\n\t\t\ttmp = s.nextInt();\n\t\t\tcnt++;\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.testcase();\n\t}\n}",
"Main",
"void testcase(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint tmp;\n\t\tint cnt = 1;\n\t\ttmp = s.nextInt();\n\t\twhile(tmp != 0){\n\t\t\tSystem.out.println(\"Case \" + cnt + \": \" + tmp);\n\t\t\ttmp = s.nextInt();\n\t\t\tcnt++;\n\t\t}\n\t}",
"testcase",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint tmp;\n\t\tint cnt = 1;\n\t\ttmp = s.nextInt();\n\t\twhile(tmp != 0){\n\t\t\tSystem.out.println(\"Case \" + cnt + \": \" + tmp);\n\t\t\ttmp = s.nextInt();\n\t\t\tcnt++;\n\t\t}\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int tmp;",
"tmp",
"int cnt = 1;",
"cnt",
"1",
"tmp = s.nextInt()",
"tmp",
"s.nextInt()",
"s.nextInt",
"s",
"while(tmp != 0){\n\t\t\tSystem.out.println(\"Case \" + cnt + \": \" + tmp);\n\t\t\ttmp = s.nextInt();\n\t\t\tcnt++;\n\t\t}",
"tmp != 0",
"tmp",
"0",
"{\n\t\t\tSystem.out.println(\"Case \" + cnt + \": \" + tmp);\n\t\t\ttmp = s.nextInt();\n\t\t\tcnt++;\n\t\t}",
"System.out.println(\"Case \" + cnt + \": \" + tmp)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + cnt + \": \" + tmp",
"\": \"",
"\"Case \" + cnt + \": \" + tmp",
"\"Case \"",
"cnt",
"\": \"",
"tmp",
"tmp = s.nextInt()",
"tmp",
"s.nextInt()",
"s.nextInt",
"s",
"cnt++",
"cnt",
"public static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.testcase();\n\t}",
"main",
"{\n\t\tMain m = new Main();\n\t\tm.testcase();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"m.testcase()",
"m.testcase",
"m",
"String args[]",
"args",
"public class Main {\n\tvoid testcase(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint tmp;\n\t\tint cnt = 1;\n\t\ttmp = s.nextInt();\n\t\twhile(tmp != 0){\n\t\t\tSystem.out.println(\"Case \" + cnt + \": \" + tmp);\n\t\t\ttmp = s.nextInt();\n\t\t\tcnt++;\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.testcase();\n\t}\n}",
"public class Main {\n\tvoid testcase(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint tmp;\n\t\tint cnt = 1;\n\t\ttmp = s.nextInt();\n\t\twhile(tmp != 0){\n\t\t\tSystem.out.println(\"Case \" + cnt + \": \" + tmp);\n\t\t\ttmp = s.nextInt();\n\t\t\tcnt++;\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.testcase();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
void testcase(){
Scanner s = new Scanner(System.in);
int tmp;
int cnt = 1;
tmp = s.nextInt();
while(tmp != 0){
System.out.println("Case " + cnt + ": " + tmp);
tmp = s.nextInt();
cnt++;
}
}
public static void main(String args[]){
Main m = new Main();
m.testcase();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
41,
13,
4,
18,
13,
2,
13,
17,
1,
40,
13,
0,
13,
4,
18,
13,
30,
30,
4,
18,
18,
13,
13,
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
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
12,
22
],
[
22,
23
],
[
22,
24
],
[
12,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
30,
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
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] | [
"import java.util.Scanner;\n\n/**\n * @author ??\\???\n *\n */\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int i = 1, x = scanner.nextInt(); x != 0; i++, x = scanner.nextInt()) {\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t\tscanner.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int i = 1, x = scanner.nextInt(); x != 0; i++, x = scanner.nextInt()) {\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t\tscanner.close();\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int i = 1, x = scanner.nextInt(); x != 0; i++, x = scanner.nextInt()) {\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t\tscanner.close();\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int i = 1, x = scanner.nextInt(); x != 0; i++, x = scanner.nextInt()) {\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for (int i = 1, x = scanner.nextInt(); x != 0; i++, x = scanner.nextInt()) {\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}",
"int i = 1, x = scanner.nextInt();",
"int i = 1",
"i",
"1",
"x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"x != 0",
"x",
"0",
"i++, x = scanner.nextInt()",
"i++",
"i",
"x = scanner.nextInt()",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"{\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}",
"{\n\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",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int i = 1, x = scanner.nextInt(); x != 0; i++, x = scanner.nextInt()) {\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t\tscanner.close();\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int i = 1, x = scanner.nextInt(); x != 0; i++, x = scanner.nextInt()) {\n\t\t\tSystem.out.println(\"Case \" + i + \": \" + x);\n\t\t}\n\t\tscanner.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
/**
* @author ??\???
*
*/
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
for (int i = 1, x = scanner.nextInt(); x != 0; i++, x = scanner.nextInt()) {
System.out.println("Case " + i + ": " + x);
}
scanner.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
30,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
67,
11
],
[
67,
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
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
29,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
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
],
[
46,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint i=0,x;\n\n\t\tdo{\n\t\t\ts= buf.readLine();\n\t\t\tx= Integer.parseInt(s);\n\t\t\ti=i+1;\n\t\tif(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}\n\t\t}while(x!=0);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint i=0,x;\n\n\t\tdo{\n\t\t\ts= buf.readLine();\n\t\t\tx= Integer.parseInt(s);\n\t\t\ti=i+1;\n\t\tif(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}\n\t\t}while(x!=0);\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint i=0,x;\n\n\t\tdo{\n\t\t\ts= buf.readLine();\n\t\t\tx= Integer.parseInt(s);\n\t\t\ti=i+1;\n\t\tif(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}\n\t\t}while(x!=0);\n\t}",
"main",
"{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint i=0,x;\n\n\t\tdo{\n\t\t\ts= buf.readLine();\n\t\t\tx= Integer.parseInt(s);\n\t\t\ti=i+1;\n\t\tif(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}\n\t\t}while(x!=0);\n\t}",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int i=0",
"i",
"0",
"x;",
"x",
"do{\n\t\t\ts= buf.readLine();\n\t\t\tx= Integer.parseInt(s);\n\t\t\ti=i+1;\n\t\tif(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}\n\t\t}while(x!=0);",
"x!=0",
"x",
"0",
"{\n\t\t\ts= buf.readLine();\n\t\t\tx= Integer.parseInt(s);\n\t\t\ti=i+1;\n\t\tif(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}\n\t\t}",
"s= buf.readLine()",
"s",
"buf.readLine()",
"buf.readLine",
"buf",
"x= Integer.parseInt(s)",
"x",
"Integer.parseInt(s)",
"Integer.parseInt",
"Integer",
"s",
"i=i+1",
"i",
"i+1",
"i",
"1",
"if(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}",
"x!=0",
"x",
"0",
"{\n\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",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint i=0,x;\n\n\t\tdo{\n\t\t\ts= buf.readLine();\n\t\t\tx= Integer.parseInt(s);\n\t\t\ti=i+1;\n\t\tif(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}\n\t\t}while(x!=0);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint i=0,x;\n\n\t\tdo{\n\t\t\ts= buf.readLine();\n\t\t\tx= Integer.parseInt(s);\n\t\t\ti=i+1;\n\t\tif(x!=0){\n\t\t\tSystem.out.println(\"Case \"+i+\": \"+x);\n\t\t}\n\t\telse{}\n\t\t}while(x!=0);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException{
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String s;
int i=0,x;
do{
s= buf.readLine();
x= Integer.parseInt(s);
i=i+1;
if(x!=0){
System.out.println("Case "+i+": "+x);
}
else{}
}while(x!=0);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
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
],
[
65,
5
],
[
65,
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
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
34,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
55,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
55,
59
],
[
43,
60
],
[
60,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Scanner;\n\n \npublic class Main {\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t int x;\n\t int i=0;\n\t int n=Integer.MAX_VALUE;\n\t for(i=1;i<n;i++){\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }\n\t \n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t int x;\n\t int i=0;\n\t int n=Integer.MAX_VALUE;\n\t for(i=1;i<n;i++){\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }\n\t \n \n }\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t int x;\n\t int i=0;\n\t int n=Integer.MAX_VALUE;\n\t for(i=1;i<n;i++){\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }\n\t \n \n }",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n\t int x;\n\t int i=0;\n\t int n=Integer.MAX_VALUE;\n\t for(i=1;i<n;i++){\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }\n\t \n \n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x;",
"x",
"int i=0;",
"i",
"0",
"int n=Integer.MAX_VALUE;",
"n",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"for(i=1;i<n;i++){\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }",
"i=1;",
"i=1",
"i",
"1",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }",
"{\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }",
"x=Integer.parseInt(sc.next())",
"x",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }",
"x!=0",
"x",
"0",
"{\n\t\t System.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",
"{\n\t\t\t \n\t\t\t break;\n\t\t }",
"break;",
"String[] args",
"args",
"public class Main {\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t int x;\n\t int i=0;\n\t int n=Integer.MAX_VALUE;\n\t for(i=1;i<n;i++){\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }\n\t \n \n }\n}",
"public class Main {\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t int x;\n\t int i=0;\n\t int n=Integer.MAX_VALUE;\n\t for(i=1;i<n;i++){\n\t\t x=Integer.parseInt(sc.next());\n\t\t if(x!=0){\n\t\t System.out.println(\"Case \" + i +\": \" + x );\n\t\t }\n\t\t else{\n\t\t\t \n\t\t\t break;\n\t\t }\n\t\t \n\t }\n\t \n \n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int x;
int i=0;
int n=Integer.MAX_VALUE;
for(i=1;i<n;i++){
x=Integer.parseInt(sc.next());
if(x!=0){
System.out.println("Case " + i +": " + x );
}
else{
break;
}
}
}
} |
[
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,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
13,
30,
3,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
13,
17,
17,
4,
18,
13,
13,
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
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
32,
41
],
[
41,
42
],
[
14,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
43,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
65,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
12,
75
],
[
75,
76
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile(true){\n\n\t\t\tint num = Integer.parseInt(br.readLine());\n\n\t\t\tif(num != 0){\n\t\t\t\tlist.add(num);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main{\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile(true){\n\n\t\t\tint num = Integer.parseInt(br.readLine());\n\n\t\t\tif(num != 0){\n\t\t\t\tlist.add(num);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile(true){\n\n\t\t\tint num = Integer.parseInt(br.readLine());\n\n\t\t\tif(num != 0){\n\t\t\t\tlist.add(num);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile(true){\n\n\t\t\tint num = Integer.parseInt(br.readLine());\n\n\t\t\tif(num != 0){\n\t\t\t\tlist.add(num);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(\"Case \" + (i + 1) + \": \" + list.get(i));\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\n\t\t\tint num = Integer.parseInt(br.readLine());\n\n\t\t\tif(num != 0){\n\t\t\t\tlist.add(num);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"true",
"{\n\n\t\t\tint num = Integer.parseInt(br.readLine());\n\n\t\t\tif(num != 0){\n\t\t\t\tlist.add(num);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t}",
"int 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\tlist.add(num);\n\t\t\t}else{\n\t\t\t\tbreak;\n\t\t\t}",
"num != 0",
"num",
"0",
"{\n\t\t\t\tlist.add(num);\n\t\t\t}",
"list.add(num)",
"list.add",
"list",
"num",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"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.ArrayList;
class Main{
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> list = new ArrayList<Integer>();
while(true){
int num = Integer.parseInt(br.readLine());
if(num != 0){
list.add(num);
}else{
break;
}
}
for(int i = 0; i < list.size(); i++){
System.out.println("Case " + (i + 1) + ": " + list.get(i));
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
11,
1,
0,
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,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
20,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
69,
2
],
[
69,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
18,
19
],
[
19,
20
],
[
13,
21
],
[
22,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
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
],
[
28,
45
],
[
45,
46
],
[
5,
47
],
[
47,
48
],
[
48,
49
],
[
3,
50
],
[
50,
51
],
[
3,
52
],
[
52,
53
],
[
69,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
57,
63
],
[
63,
64
],
[
63,
65
],
[
54,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"public class Main{\n public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*????????§Input*/\n int i, n;\n for(i = 1;;++i){\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }\n sc.close();\n/*answer*/\n/*???????????±?????????????????\\???????????????????????????????????????????????????????????¨??????*/\n\n }\n public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*????????§Input*/\n int i, n;\n for(i = 1;;++i){\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }\n sc.close();\n/*answer*/\n/*???????????±?????????????????\\???????????????????????????????????????????????????????????¨??????*/\n\n }\n public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }\n}",
"Main",
"public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*????????§Input*/\n int i, n;\n for(i = 1;;++i){\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }\n sc.close();\n/*answer*/\n/*???????????±?????????????????\\???????????????????????????????????????????????????????????¨??????*/\n\n }",
"run",
"{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*????????§Input*/\n int i, n;\n for(i = 1;;++i){\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }\n sc.close();\n/*answer*/\n/*???????????±?????????????????\\???????????????????????????????????????????????????????????¨??????*/\n\n }",
"java.util.Scanner sc = new java.util.Scanner(in);",
"sc",
"new java.util.Scanner(in)",
"int i",
"i",
"n;",
"n",
"for(i = 1;;++i){\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }",
"i = 1;",
"i = 1",
"i",
"1",
"++i",
"++i",
"i",
"{\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }",
"{\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }",
"n != 0",
"n",
"0",
"{\n System.out.println(\"Case \" + i + \": \" + n);\n }",
"System.out.println(\"Case \" + i + \": \" + n)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + i + \": \" + n",
"\": \"",
"\"Case \" + i + \": \" + n",
"\"Case \"",
"i",
"\": \"",
"n",
"{\n break;\n }",
"break;",
"sc.close()",
"sc.close",
"sc",
"java.io.InputStream in",
"in",
"java.io.PrintStream out",
"out",
"public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }",
"main",
"{\n (new Main()).run(System.in,System.out);\n }",
"(new Main()).run(System.in,System.out)",
"(new Main()).run",
"(new Main())",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*????????§Input*/\n int i, n;\n for(i = 1;;++i){\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }\n sc.close();\n/*answer*/\n/*???????????±?????????????????\\???????????????????????????????????????????????????????????¨??????*/\n\n }\n public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in,java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*????????§Input*/\n int i, n;\n for(i = 1;;++i){\n n = sc.nextInt();\n if(n != 0){\n System.out.println(\"Case \" + i + \": \" + n);\n }else{\n break;\n }\n }\n sc.close();\n/*answer*/\n/*???????????±?????????????????\\???????????????????????????????????????????????????????????¨??????*/\n\n }\n public static void main(String[] args){\n (new Main()).run(System.in,System.out);\n }\n}",
"Main"
] | public class Main{
public void run(java.io.InputStream in,java.io.PrintStream out){
java.util.Scanner sc = new java.util.Scanner(in);
/*????????§Input*/
int i, n;
for(i = 1;;++i){
n = sc.nextInt();
if(n != 0){
System.out.println("Case " + i + ": " + n);
}else{
break;
}
}
sc.close();
/*answer*/
/*???????????±?????????????????\???????????????????????????????????????????????????????????¨??????*/
}
public static void main(String[] args){
(new Main()).run(System.in,System.out);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
17,
30,
14,
2,
0,
13,
4,
18,
13,
17,
3,
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
] | [
[
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
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
24,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
23,
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
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num[] = new int[10000];\n\t\tint cnt = 0, input;\n\t\t\n\t\twhile(true){\n\t\t\tif((input = sc.nextInt()) == 0)\n\t\t\t\tbreak;\n\t\t\tnum[cnt] = input;\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + num[i]);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num[] = new int[10000];\n\t\tint cnt = 0, input;\n\t\t\n\t\twhile(true){\n\t\t\tif((input = sc.nextInt()) == 0)\n\t\t\t\tbreak;\n\t\t\tnum[cnt] = input;\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + num[i]);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num[] = new int[10000];\n\t\tint cnt = 0, input;\n\t\t\n\t\twhile(true){\n\t\t\tif((input = sc.nextInt()) == 0)\n\t\t\t\tbreak;\n\t\t\tnum[cnt] = input;\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + num[i]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num[] = new int[10000];\n\t\tint cnt = 0, input;\n\t\t\n\t\twhile(true){\n\t\t\tif((input = sc.nextInt()) == 0)\n\t\t\t\tbreak;\n\t\t\tnum[cnt] = input;\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + num[i]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num[] = new int[10000];",
"num",
"new int[10000]",
"10000",
"int cnt = 0",
"cnt",
"0",
"input;",
"input",
"while(true){\n\t\t\tif((input = sc.nextInt()) == 0)\n\t\t\t\tbreak;\n\t\t\tnum[cnt] = input;\n\t\t\tcnt ++;\n\t\t}",
"true",
"{\n\t\t\tif((input = sc.nextInt()) == 0)\n\t\t\t\tbreak;\n\t\t\tnum[cnt] = input;\n\t\t\tcnt ++;\n\t\t}",
"if((input = sc.nextInt()) == 0)\n\t\t\t\tbreak;",
"(input = sc.nextInt()) == 0",
"(input = sc.nextInt())",
"input",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"break;",
"num[cnt] = input",
"num[cnt]",
"num",
"cnt",
"input",
"cnt ++",
"cnt",
"for(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(\"Case \" + (i+1) + \": \" + num[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cnt",
"i",
"cnt",
"i++",
"i++",
"i",
"System.out.println(\"Case \" + (i+1) + \": \" + num[i]);",
"System.out.println(\"Case \" + (i+1) + \": \" + num[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + (i+1) + \": \" + num[i]",
"\": \"",
"\"Case \" + (i+1) + \": \" + num[i]",
"\"Case \"",
"(i+1)",
"i",
"1",
"\": \"",
"num[i]",
"num",
"i",
"String args[]",
"args"
] | import java.util.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int num[] = new int[10000];
int cnt = 0, input;
while(true){
if((input = sc.nextInt()) == 0)
break;
num[cnt] = input;
cnt ++;
}
for(int i = 0; i < cnt; i++)
System.out.println("Case " + (i+1) + ": " + num[i]);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
51,
8
],
[
51,
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
],
[
21,
22
],
[
15,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
43,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
43,
47
],
[
9,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\n\npublic class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int tt = 1; ; tt++){\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}\n\t\t\n\t\t\n\t}\n\t\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int tt = 1; ; tt++){\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}\n\t\t\n\t\t\n\t}\n\t\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int tt = 1; ; tt++){\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int tt = 1; ; tt++){\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}\n\t\t\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int tt = 1; ; tt++){\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}",
"int tt = 1;",
"int tt = 1;",
"tt",
"1",
"tt++",
"tt++",
"tt",
"{\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}",
"{\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}",
"final long input = sc.nextLong();",
"input",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(input == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"input == 0",
"input",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(\"Case \" + tt + \": \" + input)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \" + tt + \": \" + input",
"\": \"",
"\"Case \" + tt + \": \" + input",
"\"Case \"",
"tt",
"\": \"",
"input",
"String args[]",
"args",
"public class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int tt = 1; ; tt++){\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}\n\t\t\n\t\t\n\t}\n\t\n}",
"public class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor(int tt = 1; ; tt++){\n\t\t\tfinal long input = sc.nextLong();\n\t\t\t\n\t\t\tif(input == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"Case \" + tt + \": \" + input);\n\t\t}\n\t\t\n\t\t\n\t}\n\t\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
for(int tt = 1; ; tt++){
final long input = sc.nextLong();
if(input == 0){
break;
}
System.out.println("Case " + tt + ": " + input);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
4,
18,
13,
4,
18,
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,
13,
17,
2,
13,
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
],
[
10,
11
],
[
0,
12
],
[
71,
13
],
[
71,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
16,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
16,
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
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
49,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
14,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import static java.lang.System.out;\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\nclass PrintTestCases {\n}\n\npublic class Main {\n public static void main(String... args) {\n ArrayList<Integer> data = new ArrayList<Integer>();\n\n // scan\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n data.add(scan.nextInt());\n }\n\n // print\n for (int i = 0; i < data.size(); i++) {\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }\n }\n}",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class PrintTestCases {\n}",
"PrintTestCases",
"public class Main {\n public static void main(String... args) {\n ArrayList<Integer> data = new ArrayList<Integer>();\n\n // scan\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n data.add(scan.nextInt());\n }\n\n // print\n for (int i = 0; i < data.size(); i++) {\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }\n }\n}",
"Main",
"public static void main(String... args) {\n ArrayList<Integer> data = new ArrayList<Integer>();\n\n // scan\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n data.add(scan.nextInt());\n }\n\n // print\n for (int i = 0; i < data.size(); i++) {\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }\n }",
"main",
"{\n ArrayList<Integer> data = new ArrayList<Integer>();\n\n // scan\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n data.add(scan.nextInt());\n }\n\n // print\n for (int i = 0; i < data.size(); i++) {\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }\n }",
"ArrayList<Integer> data = new ArrayList<Integer>();",
"data",
"new ArrayList<Integer>()",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (scan.hasNext()) {\n data.add(scan.nextInt());\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n data.add(scan.nextInt());\n }",
"data.add(scan.nextInt())",
"data.add",
"data",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for (int i = 0; i < data.size(); i++) {\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < data.size()",
"i",
"data.size()",
"data.size",
"data",
"i++",
"i++",
"i",
"{\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }",
"{\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }",
"if (data.get(i) == 0) break; // 0???????????????",
"data.get(i) == 0",
"data.get(i)",
"data.get",
"data",
"i",
"0",
"break; // 0???????????????",
"out.printf(\"Case %d: %d\\n\", i+1, data.get(i) )",
"out.printf",
"out",
"\"Case %d: %d\\n\"",
"i+1",
"i",
"1",
"data.get(i)",
"data.get",
"data",
"i",
"String... args",
"args",
"public class Main {\n public static void main(String... args) {\n ArrayList<Integer> data = new ArrayList<Integer>();\n\n // scan\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n data.add(scan.nextInt());\n }\n\n // print\n for (int i = 0; i < data.size(); i++) {\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }\n }\n}",
"public class Main {\n public static void main(String... args) {\n ArrayList<Integer> data = new ArrayList<Integer>();\n\n // scan\n Scanner scan = new Scanner(System.in);\n while (scan.hasNext()) {\n data.add(scan.nextInt());\n }\n\n // print\n for (int i = 0; i < data.size(); i++) {\n if (data.get(i) == 0) break; // 0???????????????\n out.printf(\"Case %d: %d\\n\", i+1, data.get(i) );\n }\n }\n}",
"Main"
] | import static java.lang.System.out;
import java.util.ArrayList;
import java.util.Scanner;
class PrintTestCases {
}
public class Main {
public static void main(String... args) {
ArrayList<Integer> data = new ArrayList<Integer>();
// scan
Scanner scan = new Scanner(System.in);
while (scan.hasNext()) {
data.add(scan.nextInt());
}
// print
for (int i = 0; i < data.size(); i++) {
if (data.get(i) == 0) break; // 0???????????????
out.printf("Case %d: %d\n", i+1, data.get(i) );
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
24,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
47,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
47,
51
],
[
6,
52
],
[
52,
53
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0\")){\n System.exit(0);\n }\n System.out.println(\"Case \"+i+\": \"+val);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0\")){\n System.exit(0);\n }\n System.out.println(\"Case \"+i+\": \"+val);\n }\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0\")){\n System.exit(0);\n }\n System.out.println(\"Case \"+i+\": \"+val);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0\")){\n System.exit(0);\n }\n System.out.println(\"Case \"+i+\": \"+val);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0\")){\n System.exit(0);\n }\n System.out.println(\"Case \"+i+\": \"+val);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n String val=scan.nextLine();\n if(val.equals(\"0\")){\n System.exit(0);\n }\n System.out.println(\"Case \"+i+\": \"+val);\n }",
"{\n String val=scan.nextLine();\n if(val.equals(\"0\")){\n System.exit(0);\n }\n System.out.println(\"Case \"+i+\": \"+val);\n }",
"String val=scan.nextLine();",
"val",
"scan.nextLine()",
"scan.nextLine",
"scan",
"if(val.equals(\"0\")){\n System.exit(0);\n }",
"val.equals(\"0\")",
"val.equals",
"val",
"\"0\"",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"System.out.println(\"Case \"+i+\": \"+val)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Case \"+i+\": \"+val",
"\": \"",
"\"Case \"+i+\": \"+val",
"\"Case \"",
"i",
"\": \"",
"val",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
for(int i=1;i<10001;i++){
String val=scan.nextLine();
if(val.equals("0")){
System.exit(0);
}
System.out.println("Case "+i+": "+val);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
12,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
35,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
34,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
34,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
4,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
71,
77
],
[
77,
78
]
] | [
"import java.util.Scanner;\nclass Main {\n\tint x,y;\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tint x,y;\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}",
"Main",
"int x",
"x",
"y;",
"y",
"public void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}",
"suzuki",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}",
"if(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}",
"main",
"{\n\t\tnew Main().suzuki();\n\t}",
"new Main().suzuki()",
"new Main().suzuki",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
int x,y;
public void suzuki(){
Scanner sc = new Scanner(System.in);
x = sc.nextInt();
y = sc.nextInt();
while(x != 0 || y != 0){
if(x > y){
System.out.println(y + " " + x);
}else{
System.out.println(x + " " + y);
}
x = sc.nextInt();
y = sc.nextInt();
}
}
public static void main(String[] args){
new Main().suzuki();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
3,
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
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
39,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
31,
64
],
[
64,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"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 while(true){\n\t \tint x = Integer.parseInt(std.next());\n\t \tint y = Integer.parseInt(std.next());\n\t \tif(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}}",
"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 while(true){\n\t \tint x = Integer.parseInt(std.next());\n\t \tint y = Integer.parseInt(std.next());\n\t \tif(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}}",
"Main",
"public static void main(String[] args){\n\t Scanner std = new Scanner(System.in);\n\t while(true){\n\t \tint x = Integer.parseInt(std.next());\n\t \tint y = Integer.parseInt(std.next());\n\t \tif(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\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 while(true){\n\t \tint x = Integer.parseInt(std.next());\n\t \tint y = Integer.parseInt(std.next());\n\t \tif(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\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)",
"while(true){\n\t \tint x = Integer.parseInt(std.next());\n\t \tint y = Integer.parseInt(std.next());\n\t \tif(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }",
"true",
"{\n\t \tint x = Integer.parseInt(std.next());\n\t \tint y = Integer.parseInt(std.next());\n\t \tif(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }",
"int x = Integer.parseInt(std.next());",
"x",
"Integer.parseInt(std.next())",
"Integer.parseInt",
"Integer",
"std.next()",
"std.next",
"std",
"int y = Integer.parseInt(std.next());",
"y",
"Integer.parseInt(std.next())",
"Integer.parseInt",
"Integer",
"std.next()",
"std.next",
"std",
"if(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\n\t \t}else{\n\t \t\tbreak;\n\t \t}",
"x!=0 || y!=0",
"x!=0",
"x",
"0",
"y!=0",
"y",
"0",
"{\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\n\t \t}",
"if(x>y){int temp = x;x=y;y=temp;}",
"x>y",
"x",
"y",
"{int temp = x;x=y;y=temp;}",
"int temp = x;",
"temp",
"x",
"x=y",
"x",
"y",
"y=temp",
"y",
"temp",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"{\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 while(true){\n\t \tint x = Integer.parseInt(std.next());\n\t \tint y = Integer.parseInt(std.next());\n\t \tif(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}}",
"public class Main {\n\tpublic static void main(String[] args){\n\t Scanner std = new Scanner(System.in);\n\t while(true){\n\t \tint x = Integer.parseInt(std.next());\n\t \tint y = Integer.parseInt(std.next());\n\t \tif(x!=0 || y!=0){\n\t \t\tif(x>y){int temp = x;x=y;y=temp;}\n\t \t\tSystem.out.println(x+\" \"+y);\n\t \t}else{\n\t \t\tbreak;\n\t \t}\n\t }\n\t}}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner std = new Scanner(System.in);
while(true){
int x = Integer.parseInt(std.next());
int y = Integer.parseInt(std.next());
if(x!=0 || y!=0){
if(x>y){int temp = x;x=y;y=temp;}
System.out.println(x+" "+y);
}else{
break;
}
}
}} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
56,
68
],
[
68,
69
],
[
17,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
17,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
9,
88
],
[
88,
89
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n String str = sc.nextLine();\n String[] str2 = str.split(\" \");\n int[] x = new int[2];\n for (int i = 0; i < 2; i++){\n x[i] = Integer.parseInt(str2[i]);\n }\n if(x[0] == 0 && x[1] == 0){\n break;\n }\n Arrays.sort(x);\n System.out.println(x[0] + \" \" + x[1]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n String str = sc.nextLine();\n String[] str2 = str.split(\" \");\n int[] x = new int[2];\n for (int i = 0; i < 2; i++){\n x[i] = Integer.parseInt(str2[i]);\n }\n if(x[0] == 0 && x[1] == 0){\n break;\n }\n Arrays.sort(x);\n System.out.println(x[0] + \" \" + x[1]);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n String str = sc.nextLine();\n String[] str2 = str.split(\" \");\n int[] x = new int[2];\n for (int i = 0; i < 2; i++){\n x[i] = Integer.parseInt(str2[i]);\n }\n if(x[0] == 0 && x[1] == 0){\n break;\n }\n Arrays.sort(x);\n System.out.println(x[0] + \" \" + x[1]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(true){\n String str = sc.nextLine();\n String[] str2 = str.split(\" \");\n int[] x = new int[2];\n for (int i = 0; i < 2; i++){\n x[i] = Integer.parseInt(str2[i]);\n }\n if(x[0] == 0 && x[1] == 0){\n break;\n }\n Arrays.sort(x);\n System.out.println(x[0] + \" \" + x[1]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n String str = sc.nextLine();\n String[] str2 = str.split(\" \");\n int[] x = new int[2];\n for (int i = 0; i < 2; i++){\n x[i] = Integer.parseInt(str2[i]);\n }\n if(x[0] == 0 && x[1] == 0){\n break;\n }\n Arrays.sort(x);\n System.out.println(x[0] + \" \" + x[1]);\n }",
"true",
"{\n String str = sc.nextLine();\n String[] str2 = str.split(\" \");\n int[] x = new int[2];\n for (int i = 0; i < 2; i++){\n x[i] = Integer.parseInt(str2[i]);\n }\n if(x[0] == 0 && x[1] == 0){\n break;\n }\n Arrays.sort(x);\n System.out.println(x[0] + \" \" + x[1]);\n }",
"String str = sc.nextLine();",
"str",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] str2 = str.split(\" \");",
"str2",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int[] x = new int[2];",
"x",
"new int[2]",
"2",
"for (int i = 0; i < 2; i++){\n x[i] = Integer.parseInt(str2[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n x[i] = Integer.parseInt(str2[i]);\n }",
"{\n x[i] = Integer.parseInt(str2[i]);\n }",
"x[i] = Integer.parseInt(str2[i])",
"x[i]",
"x",
"i",
"Integer.parseInt(str2[i])",
"Integer.parseInt",
"Integer",
"str2[i]",
"str2",
"i",
"if(x[0] == 0 && x[1] == 0){\n break;\n }",
"x[0] == 0 && x[1] == 0",
"x[0] == 0",
"x[0]",
"x",
"0",
"0",
"x[1] == 0",
"x[1]",
"x",
"1",
"0",
"{\n break;\n }",
"break;",
"Arrays.sort(x)",
"Arrays.sort",
"Arrays",
"x",
"System.out.println(x[0] + \" \" + x[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[0] + \" \" + x[1]",
"x[0] + \" \" + x[1]",
"x[0]",
"x",
"0",
"\" \"",
"x[1]",
"x",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(true){
String str = sc.nextLine();
String[] str2 = str.split(" ");
int[] x = new int[2];
for (int i = 0; i < 2; i++){
x[i] = Integer.parseInt(str2[i]);
}
if(x[0] == 0 && x[1] == 0){
break;
}
Arrays.sort(x);
System.out.println(x[0] + " " + x[1]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
18,
18,
13,
13,
17,
4,
18,
13,
0,
18,
18,
13,
13,
17,
4,
18,
13,
14,
2,
2,
18,
18,
13,
13,
17,
17,
2,
18,
18,
13,
13,
17,
17,
30,
40,
13,
0,
13,
13,
3,
40,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
18,
18,
13,
13,
17,
17,
2,
18,
18,
13,
13,
17,
17,
30,
3,
14,
2,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
30,
0,
13,
18,
18,
13,
13,
17,
0,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
0,
18,
18,
13,
13,
17,
13,
4,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
9,
4,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
177,
5
],
[
177,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
25,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
44,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
60,
66
],
[
25,
67
],
[
67,
68
],
[
8,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
81,
82
],
[
72,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
87,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
94,
100
],
[
85,
101
],
[
101,
102
],
[
85,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
104,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
103,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
123,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
115,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
134,
140
],
[
115,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
141,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
141,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
115,
157
],
[
84,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
158,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
158,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
6,
174
],
[
174,
175
],
[
0,
176
],
[
176,
177
],
[
176,
178
]
] | [
"//?????????????????¨\nimport java.util.Scanner;\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint[][] a=new int[10000][2];\nint i=0;\nint dCount=0;\n\t\twhile(true){\n\t\ta[i][0]=kb.nextInt();\n\t\ta[i][1]=kb.nextInt();\n\t\n\t\tif(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n}\n\t\t\nint oneTimeNum=0;\n\t\tfor(int j=0;j<=dCount;j++){\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint[][] a=new int[10000][2];\nint i=0;\nint dCount=0;\n\t\twhile(true){\n\t\ta[i][0]=kb.nextInt();\n\t\ta[i][1]=kb.nextInt();\n\t\n\t\tif(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n}\n\t\t\nint oneTimeNum=0;\n\t\tfor(int j=0;j<=dCount;j++){\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint[][] a=new int[10000][2];\nint i=0;\nint dCount=0;\n\t\twhile(true){\n\t\ta[i][0]=kb.nextInt();\n\t\ta[i][1]=kb.nextInt();\n\t\n\t\tif(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n}\n\t\t\nint oneTimeNum=0;\n\t\tfor(int j=0;j<=dCount;j++){\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint[][] a=new int[10000][2];\nint i=0;\nint dCount=0;\n\t\twhile(true){\n\t\ta[i][0]=kb.nextInt();\n\t\ta[i][1]=kb.nextInt();\n\t\n\t\tif(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n}\n\t\t\nint oneTimeNum=0;\n\t\tfor(int j=0;j<=dCount;j++){\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}\n\t\t\n\t}",
"Scanner kb=new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"int[][] a=new int[10000][2];",
"a",
"new int[10000][2]",
"10000",
"2",
"int i=0;",
"i",
"0",
"int dCount=0;",
"dCount",
"0",
"while(true){\n\t\ta[i][0]=kb.nextInt();\n\t\ta[i][1]=kb.nextInt();\n\t\n\t\tif(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n}",
"true",
"{\n\t\ta[i][0]=kb.nextInt();\n\t\ta[i][1]=kb.nextInt();\n\t\n\t\tif(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n}",
"a[i][0]=kb.nextInt()",
"a[i][0]",
"a[i]",
"a",
"i",
"0",
"kb.nextInt()",
"kb.nextInt",
"kb",
"a[i][1]=kb.nextInt()",
"a[i][1]",
"a[i]",
"a",
"i",
"1",
"kb.nextInt()",
"kb.nextInt",
"kb",
"if(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}",
"a[i][0]==0&&a[i][1]==0",
"a[i][0]==0",
"a[i][0]",
"a[i]",
"a",
"i",
"0",
"0",
"a[i][1]==0",
"a[i][1]",
"a[i]",
"a",
"i",
"1",
"0",
"{\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}",
"i++",
"i",
"dCount=i",
"dCount",
"i",
"break;",
"i++",
"i",
"int oneTimeNum=0;",
"oneTimeNum",
"0",
"for(int j=0;j<=dCount;j++){\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<=dCount",
"j",
"dCount",
"j++",
"j++",
"j",
"{\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}",
"{\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}",
"if(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}",
"a[j][0]==0&&a[j][1]==0",
"a[j][0]==0",
"a[j][0]",
"a[j]",
"a",
"j",
"0",
"0",
"a[j][1]==0",
"a[j][1]",
"a[j]",
"a",
"j",
"1",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}",
"a[j][0]>a[j][1]",
"a[j][0]",
"a[j]",
"a",
"j",
"0",
"a[j][1]",
"a[j]",
"a",
"j",
"1",
"{\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}",
"oneTimeNum=a[j][0]",
"oneTimeNum",
"a[j][0]",
"a[j]",
"a",
"j",
"0",
"a[j][0]=a[j][1]",
"a[j][0]",
"a[j]",
"a",
"j",
"0",
"a[j][1]",
"a[j]",
"a",
"j",
"1",
"a[j][1]=oneTimeNum",
"a[j][1]",
"a[j]",
"a",
"j",
"1",
"oneTimeNum",
"System.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a[j][0]",
"a[j]",
"a",
"j",
"0",
"a[j][1]",
"a[j]",
"a",
"j",
"1",
"continue;",
"System.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a[j][0]",
"a[j]",
"a",
"j",
"0",
"a[j][1]",
"a[j]",
"a",
"j",
"1",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint[][] a=new int[10000][2];\nint i=0;\nint dCount=0;\n\t\twhile(true){\n\t\ta[i][0]=kb.nextInt();\n\t\ta[i][1]=kb.nextInt();\n\t\n\t\tif(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n}\n\t\t\nint oneTimeNum=0;\n\t\tfor(int j=0;j<=dCount;j++){\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\nint[][] a=new int[10000][2];\nint i=0;\nint dCount=0;\n\t\twhile(true){\n\t\ta[i][0]=kb.nextInt();\n\t\ta[i][1]=kb.nextInt();\n\t\n\t\tif(a[i][0]==0&&a[i][1]==0){\n\t\t\ti++;\n\t\t\tdCount=i;\n\t\t\tbreak;\n\t\t}\n\t\ti++;\n}\n\t\t\nint oneTimeNum=0;\n\t\tfor(int j=0;j<=dCount;j++){\n\t\t\tif(a[j][0]==0&&a[j][1]==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\telse if(a[j][0]>a[j][1]){\n\t\t\toneTimeNum=a[j][0];\n\t\t\ta[j][0]=a[j][1];\n\t\t\ta[j][1]=oneTimeNum;\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t\tcontinue;\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d %d\\n\"\n\t\t\t\t\t,a[j][0],a[j][1]);\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] | //?????????????????¨
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
int[][] a=new int[10000][2];
int i=0;
int dCount=0;
while(true){
a[i][0]=kb.nextInt();
a[i][1]=kb.nextInt();
if(a[i][0]==0&&a[i][1]==0){
i++;
dCount=i;
break;
}
i++;
}
int oneTimeNum=0;
for(int j=0;j<=dCount;j++){
if(a[j][0]==0&&a[j][1]==0){
break;
}
else if(a[j][0]>a[j][1]){
oneTimeNum=a[j][0];
a[j][0]=a[j][1];
a[j][1]=oneTimeNum;
System.out.printf("%d %d\n"
,a[j][0],a[j][1]);
continue;
}
System.out.printf("%d %d\n"
,a[j][0],a[j][1]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
35,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
34,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
34,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
83,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
71,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tvoid swap(){\n\t\tint x,y;\n\t\tScanner s = new Scanner(System.in);\n\t\tx = s.nextInt();\n\t\ty = s.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\tx = s.nextInt();\n\t\t\ty = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.swap();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid swap(){\n\t\tint x,y;\n\t\tScanner s = new Scanner(System.in);\n\t\tx = s.nextInt();\n\t\ty = s.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\tx = s.nextInt();\n\t\t\ty = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.swap();\n\t}\n}",
"Main",
"void swap(){\n\t\tint x,y;\n\t\tScanner s = new Scanner(System.in);\n\t\tx = s.nextInt();\n\t\ty = s.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\tx = s.nextInt();\n\t\t\ty = s.nextInt();\n\t\t}\n\t}",
"swap",
"{\n\t\tint x,y;\n\t\tScanner s = new Scanner(System.in);\n\t\tx = s.nextInt();\n\t\ty = s.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\tx = s.nextInt();\n\t\t\ty = s.nextInt();\n\t\t}\n\t}",
"int x",
"x",
"y;",
"y",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"x = s.nextInt()",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"y = s.nextInt()",
"y",
"s.nextInt()",
"s.nextInt",
"s",
"while(x != 0 || y != 0){\n\t\t\tif(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\tx = s.nextInt();\n\t\t\ty = s.nextInt();\n\t\t}",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n\t\t\tif(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\tx = s.nextInt();\n\t\t\ty = s.nextInt();\n\t\t}",
"if(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"x = s.nextInt()",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"y = s.nextInt()",
"y",
"s.nextInt()",
"s.nextInt",
"s",
"public static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.swap();\n\t}",
"main",
"{\n\t\tMain m = new Main();\n\t\tm.swap();\n\t}",
"Main m = new Main();",
"m",
"new Main()",
"m.swap()",
"m.swap",
"m",
"String args[]",
"args",
"public class Main {\n\tvoid swap(){\n\t\tint x,y;\n\t\tScanner s = new Scanner(System.in);\n\t\tx = s.nextInt();\n\t\ty = s.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\tx = s.nextInt();\n\t\t\ty = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.swap();\n\t}\n}",
"public class Main {\n\tvoid swap(){\n\t\tint x,y;\n\t\tScanner s = new Scanner(System.in);\n\t\tx = s.nextInt();\n\t\ty = s.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\tx = s.nextInt();\n\t\t\ty = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.swap();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void swap(){
int x,y;
Scanner s = new Scanner(System.in);
x = s.nextInt();
y = s.nextInt();
while(x != 0 || y != 0){
if(x < y){
System.out.println(x + " " + y);
}else{
System.out.println(y + " " + x);
}
x = s.nextInt();
y = s.nextInt();
}
}
public static void main(String args[]){
Main m = new Main();
m.swap();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
40,
46
],
[
40,
47
],
[
35,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
49,
55
],
[
49,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int x = stdin.nextInt();\n int y = stdin.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int x = stdin.nextInt();\n int y = stdin.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int x = stdin.nextInt();\n int y = stdin.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }\n }\n }",
"main",
"{\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int x = stdin.nextInt();\n int y = stdin.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }\n }\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"while (true) {\n int x = stdin.nextInt();\n int y = stdin.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }\n }",
"true",
"{\n int x = stdin.nextInt();\n int y = stdin.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }\n }",
"int x = stdin.nextInt();",
"x",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int y = stdin.nextInt();",
"y",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }",
"x > y",
"x",
"y",
"{\n System.out.printf(\"%d %d%n\", y, x);\n }",
"System.out.printf(\"%d %d%n\", y, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d%n\"",
"y",
"x",
"{\n System.out.printf(\"%d %d%n\", x, y);\n }",
"System.out.printf(\"%d %d%n\", x, y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d%n\"",
"x",
"y",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int x = stdin.nextInt();\n int y = stdin.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n while (true) {\n int x = stdin.nextInt();\n int y = stdin.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else if (x > y) {\n System.out.printf(\"%d %d%n\", y, x);\n } else {\n System.out.printf(\"%d %d%n\", x, y);\n }\n }\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdin = new Scanner(System.in);
while (true) {
int x = stdin.nextInt();
int y = stdin.nextInt();
if (x == 0 && y == 0) {
break;
} else if (x > y) {
System.out.printf("%d %d%n", y, x);
} else {
System.out.printf("%d %d%n", x, y);
}
}
}
} |
[
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,
4,
18,
13,
17,
30,
3,
4,
18,
13,
13,
28,
13,
13,
30,
30,
41,
13,
4,
18,
13,
17,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
14,
2,
18,
13,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
130,
11
],
[
130,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
23,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
44,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
44,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
44,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
75,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
44,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
114,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
113,
125
],
[
125,
126
],
[
12,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] | [
"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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (String line : list) {\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (String line : list) {\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (String line : list) {\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (String line : list) {\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"while (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}",
"true",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"line.equals(\"0 0\")",
"line.equals",
"line",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"list.add(line)",
"list.add",
"list",
"line",
"for (String line : list) {\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String line",
"list",
"{\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String[] string = line.split(\" \");",
"string",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] is = new int[2];",
"is",
"new int[2]",
"2",
"is[0] = Integer.parseInt(string[0])",
"is[0]",
"is",
"0",
"Integer.parseInt(string[0])",
"Integer.parseInt",
"Integer",
"string[0]",
"string",
"0",
"is[1] = Integer.parseInt(string[1])",
"is[1]",
"is",
"1",
"Integer.parseInt(string[1])",
"Integer.parseInt",
"Integer",
"string[1]",
"string",
"1",
"if (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}",
"is[0] <= is[1]",
"is[0]",
"is",
"0",
"is[1]",
"is",
"1",
"{\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t}",
"System.out.println(is[0] + \" \" + is[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"is[0] + \" \" + is[1]",
"is[0] + \" \" + is[1]",
"is[0]",
"is",
"0",
"\" \"",
"is[1]",
"is",
"1",
"{\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}",
"System.out.println(is[1] + \" \" + is[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"is[1] + \" \" + is[0]",
"is[1] + \" \" + is[0]",
"is[1]",
"is",
"1",
"\" \"",
"is[0]",
"is",
"0",
"if (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"is[0] == 0 && is[1] == 0",
"is[0] == 0",
"is[0]",
"is",
"0",
"0",
"is[1] == 0",
"is[1]",
"is",
"1",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (String line : list) {\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<String> list = new ArrayList<String>();\n\n\t\twhile (true) {\n\t\t\tString line = sc.nextLine();\n\t\t\tif (line.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlist.add(line);\n\t\t}\n\n\t\tfor (String line : list) {\n\n\t\t\tString[] string = line.split(\" \");\n\n\t\t\tint[] is = new int[2];\n\t\t\tis[0] = Integer.parseInt(string[0]);\n\t\t\tis[1] = Integer.parseInt(string[1]);\n\n\t\t\tif (is[0] <= is[1]) {\n\t\t\t\tSystem.out.println(is[0] + \" \" + is[1]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(is[1] + \" \" + is[0]);\n\t\t\t}\n\n\t\t\tif (is[0] == 0 && is[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<String> list = new ArrayList<String>();
while (true) {
String line = sc.nextLine();
if (line.equals("0 0")) {
break;
}
list.add(line);
}
for (String line : list) {
String[] string = line.split(" ");
int[] is = new int[2];
is[0] = Integer.parseInt(string[0]);
is[1] = Integer.parseInt(string[1]);
if (is[0] <= is[1]) {
System.out.println(is[0] + " " + is[1]);
} else {
System.out.println(is[1] + " " + is[0]);
}
if (is[0] == 0 && is[1] == 0) {
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
40,
17,
41,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
41,
13,
20,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
80,
8
],
[
80,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
35,
56
],
[
56,
57
],
[
56,
58
],
[
35,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
35,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
9,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint intY = -1;\n\n\t\tfor(int i = 0; i < 3000; i++){\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint intY = -1;\n\n\t\tfor(int i = 0; i < 3000; i++){\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint intY = -1;\n\n\t\tfor(int i = 0; i < 3000; i++){\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}\n\t}",
"main",
"{\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint intY = -1;\n\n\t\tfor(int i = 0; i < 3000; i++){\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int intX = -1;",
"intX",
"-1",
"1",
"int intY = -1;",
"intY",
"-1",
"1",
"for(int i = 0; i < 3000; i++){\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}",
"{\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}",
"intX = sc.nextInt()",
"intX",
"sc.nextInt()",
"sc.nextInt",
"sc",
"intY = sc.nextInt()",
"intY",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}",
"(intX == 0) && (intY == 0)",
"(intX == 0)",
"intX",
"0",
"(intY == 0)",
"intY",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"int[] arr = new int[]{intX,intY};",
"arr",
"new int[]{intX,intY}",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"System.out.println(arr[0] + \" \" + arr[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[0] + \" \" + arr[1]",
"arr[0] + \" \" + arr[1]",
"arr[0]",
"arr",
"0",
"\" \"",
"arr[1]",
"arr",
"1",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint intY = -1;\n\n\t\tfor(int i = 0; i < 3000; i++){\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intX = -1;\n\t\tint intY = -1;\n\n\t\tfor(int i = 0; i < 3000; i++){\n\n\n\t\t\tintX = sc.nextInt();\n\t\t\tintY = sc.nextInt();\n\n\t\t\tif((intX == 0) && (intY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tint[] arr = new int[]{intX,intY};\n\t\t\tArrays.sort(arr);\n\n\t\t\tSystem.out.println(arr[0] + \" \" + arr[1]);\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int intX = -1;
int intY = -1;
for(int i = 0; i < 3000; i++){
intX = sc.nextInt();
intY = sc.nextInt();
if((intX == 0) && (intY == 0)){
break;
}
int[] arr = new int[]{intX,intY};
Arrays.sort(arr);
System.out.println(arr[0] + " " + arr[1]);
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.