node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
59,
68
],
[
6,
69
],
[
69,
70
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n for (int i = 0; i < x.length; i++) {\n x[i] = sc.nextInt();\n }\n\n for (int i = 0; i < x.length; i++) {\n if (x[i] == 0) {\n System.out.println(i + 1);\n break;\n }\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 int[] x = new int[5];\n for (int i = 0; i < x.length; i++) {\n x[i] = sc.nextInt();\n }\n\n for (int i = 0; i < x.length; i++) {\n if (x[i] == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n for (int i = 0; i < x.length; i++) {\n x[i] = sc.nextInt();\n }\n\n for (int i = 0; i < x.length; i++) {\n if (x[i] == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int[] x = new int[5];\n for (int i = 0; i < x.length; i++) {\n x[i] = sc.nextInt();\n }\n\n for (int i = 0; i < x.length; i++) {\n if (x[i] == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x = new int[5];",
"x",
"new int[5]",
"5",
"for (int i = 0; i < x.length; i++) {\n x[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n x[i] = sc.nextInt();\n }",
"{\n x[i] = sc.nextInt();\n }",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 0; i < x.length; i++) {\n if (x[i] == 0) {\n System.out.println(i + 1);\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n if (x[i] == 0) {\n System.out.println(i + 1);\n break;\n }\n }",
"{\n if (x[i] == 0) {\n System.out.println(i + 1);\n break;\n }\n }",
"if (x[i] == 0) {\n System.out.println(i + 1);\n break;\n }",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n System.out.println(i + 1);\n break;\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] x = new int[5];
for (int i = 0; i < x.length; i++) {
x[i] = sc.nextInt();
}
for (int i = 0; i < x.length; i++) {
if (x[i] == 0) {
System.out.println(i + 1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
17,
4,
18,
13,
30,
0,
13,
13,
3,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
]
| [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor (int i=1; i<=5; i++) {\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor (int i=1; i<=5; i++) {\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor (int i=1; i<=5; i++) {\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor (int i=1; i<=5; i++) {\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int ans = 0;",
"ans",
"0",
"for (int i=1; i<=5; i++) {\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}",
"0 == sc.nextInt()",
"0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"{\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}",
"ans = i",
"ans",
"i",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor (int i=1; i<=5; i++) {\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 0;\n\t\tfor (int i=1; i<=5; i++) {\n\t\t\tif (0 == sc.nextInt()) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int ans = 0;
for (int i=1; i<=5; i++) {
if (0 == sc.nextInt()) {
ans = i;
break;
}
}
System.out.println(ans);
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
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,
14,
2,
18,
13,
13,
17,
30,
0,
13,
13,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
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
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"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 X = 0;\n\t\tint []p = new int[5];\n\t\tfor(int a = 0; a < 5; a++){\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(X+1);\n\t\tstdIn.close();\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 X = 0;\n\t\tint []p = new int[5];\n\t\tfor(int a = 0; a < 5; a++){\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(X+1);\n\t\tstdIn.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint X = 0;\n\t\tint []p = new int[5];\n\t\tfor(int a = 0; a < 5; a++){\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(X+1);\n\t\tstdIn.close();\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint X = 0;\n\t\tint []p = new int[5];\n\t\tfor(int a = 0; a < 5; a++){\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(X+1);\n\t\tstdIn.close();\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int X = 0;",
"X",
"0",
"int []p = new int[5];",
"p",
"new int[5]",
"5",
"for(int a = 0; a < 5; a++){\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}",
"int a = 0;",
"int a = 0;",
"a",
"0",
"a < 5",
"a",
"5",
"a++",
"a++",
"a",
"{\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}",
"{\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}",
"p[a] = stdIn.nextInt()",
"p[a]",
"p",
"a",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}",
"p[a] == 0",
"p[a]",
"p",
"a",
"0",
"{\n\t\t\t\tX = a;\n\t\t\t}",
"X = a",
"X",
"a",
"System.out.println(X+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"X+1",
"X",
"1",
"stdIn.close()",
"stdIn.close",
"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 X = 0;\n\t\tint []p = new int[5];\n\t\tfor(int a = 0; a < 5; a++){\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(X+1);\n\t\tstdIn.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint X = 0;\n\t\tint []p = new int[5];\n\t\tfor(int a = 0; a < 5; a++){\n\t\t\tp[a] = stdIn.nextInt();\n\t\t\tif(p[a] == 0){\n\t\t\t\tX = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(X+1);\n\t\tstdIn.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
int X = 0;
int []p = new int[5];
for(int a = 0; a < 5; a++){
p[a] = stdIn.nextInt();
if(p[a] == 0){
X = a;
}
}
System.out.println(X+1);
stdIn.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
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
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n \n int[] num = new int[5];\n \n int ans = 0;\n\n for(int i = 0;i < 5;i++){\n num[i] = sc.nextInt();\n }\n\t\tfor(int i = 0;i < 5;i++){\n if(num[i] == 0) ans = i+1;\n }\n\t\t// 出力\n\t\tSystem.out.println(ans);\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n \n int[] num = new int[5];\n \n int ans = 0;\n\n for(int i = 0;i < 5;i++){\n num[i] = sc.nextInt();\n }\n\t\tfor(int i = 0;i < 5;i++){\n if(num[i] == 0) ans = i+1;\n }\n\t\t// 出力\n\t\tSystem.out.println(ans);\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n \n int[] num = new int[5];\n \n int ans = 0;\n\n for(int i = 0;i < 5;i++){\n num[i] = sc.nextInt();\n }\n\t\tfor(int i = 0;i < 5;i++){\n if(num[i] == 0) ans = i+1;\n }\n\t\t// 出力\n\t\tSystem.out.println(ans);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n \n int[] num = new int[5];\n \n int ans = 0;\n\n for(int i = 0;i < 5;i++){\n num[i] = sc.nextInt();\n }\n\t\tfor(int i = 0;i < 5;i++){\n if(num[i] == 0) ans = i+1;\n }\n\t\t// 出力\n\t\tSystem.out.println(ans);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] num = new int[5];",
"num",
"new int[5]",
"5",
"int ans = 0;",
"ans",
"0",
"for(int i = 0;i < 5;i++){\n num[i] = sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n num[i] = sc.nextInt();\n }",
"{\n num[i] = sc.nextInt();\n }",
"num[i] = sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 0;i < 5;i++){\n if(num[i] == 0) ans = i+1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(num[i] == 0) ans = i+1;\n }",
"{\n if(num[i] == 0) ans = i+1;\n }",
"if(num[i] == 0) ans = i+1;",
"num[i] == 0",
"num[i]",
"num",
"i",
"0",
"ans = i+1",
"ans",
"i+1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n \n int[] num = new int[5];\n \n int ans = 0;\n\n for(int i = 0;i < 5;i++){\n num[i] = sc.nextInt();\n }\n\t\tfor(int i = 0;i < 5;i++){\n if(num[i] == 0) ans = i+1;\n }\n\t\t// 出力\n\t\tSystem.out.println(ans);\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n \n int[] num = new int[5];\n \n int ans = 0;\n\n for(int i = 0;i < 5;i++){\n num[i] = sc.nextInt();\n }\n\t\tfor(int i = 0;i < 5;i++){\n if(num[i] == 0) ans = i+1;\n }\n\t\t// 出力\n\t\tSystem.out.println(ans);\n\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
// 整数の入力
int[] num = new int[5];
int ans = 0;
for(int i = 0;i < 5;i++){
num[i] = sc.nextInt();
}
for(int i = 0;i < 5;i++){
if(num[i] == 0) ans = i+1;
}
// 出力
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
18,
13,
17,
17,
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,
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
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
9,
46
],
[
46,
47
]
]
| [
"import java.util.*;\nclass Main{\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args){\n int x[] = new int[9999999];\n for(int i=0;i<5;i++){\n x[sc.nextInt()]=i;\n }\n System.out.println(x[0]+1);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args){\n int x[] = new int[9999999];\n for(int i=0;i<5;i++){\n x[sc.nextInt()]=i;\n }\n System.out.println(x[0]+1);\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args){\n int x[] = new int[9999999];\n for(int i=0;i<5;i++){\n x[sc.nextInt()]=i;\n }\n System.out.println(x[0]+1);\n }",
"main",
"{\n int x[] = new int[9999999];\n for(int i=0;i<5;i++){\n x[sc.nextInt()]=i;\n }\n System.out.println(x[0]+1);\n }",
"int x[] = new int[9999999];",
"x",
"new int[9999999]",
"9999999",
"for(int i=0;i<5;i++){\n x[sc.nextInt()]=i;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n x[sc.nextInt()]=i;\n }",
"{\n x[sc.nextInt()]=i;\n }",
"x[sc.nextInt()]=i",
"x[sc.nextInt()]",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"i",
"System.out.println(x[0]+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"x[0]+1",
"x[0]",
"x",
"0",
"1",
"String[] args",
"args"
]
| import java.util.*;
class Main{
static Scanner sc = new Scanner(System.in);
public static void main(String[] args){
int x[] = new int[9999999];
for(int i=0;i<5;i++){
x[sc.nextInt()]=i;
}
System.out.println(x[0]+1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
13,
17,
30,
4,
18,
18,
13,
13,
13,
29,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
96,
8
],
[
96,
9
],
[
9,
10
],
[
96,
11
],
[
11,
12
],
[
96,
13
],
[
13,
14
],
[
96,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
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
],
[
35,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
39,
46
],
[
15,
47
],
[
47,
48
],
[
96,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
96,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
96,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
96,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
79,
88
],
[
88,
89
],
[
88,
90
],
[
78,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.util.*; \nimport java.io.*;\n\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n for (int x=1; x<=5; x++) {\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n for (int x=1; x<=5; x++) {\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main",
"static StringTokenizer st;",
"st",
"static BufferedReader br;",
"br",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n for (int x=1; x<=5; x++) {\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }\n\n }",
"main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n\n for (int x=1; x<=5; x++) {\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }\n\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"for (int x=1; x<=5; x++) {\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }",
"int x=1;",
"int x=1;",
"x",
"1",
"x<=5",
"x",
"5",
"x++",
"x++",
"x",
"{\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }",
"{\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }",
"if(nextInt()==0){\n System.out.println(x);\n return;\n }",
"nextInt()==0",
"nextInt()",
"nextInt",
"0",
"{\n System.out.println(x);\n return;\n }",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"return;",
"String[] args",
"args",
"public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine().trim())",
"st",
"new StringTokenizer(br.readLine().trim())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n for (int x=1; x<=5; x++) {\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n for (int x=1; x<=5; x++) {\n if(nextInt()==0){\n System.out.println(x);\n return;\n }\n }\n\n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
static StringTokenizer st;
static BufferedReader br;
static PrintWriter out;
public static void main(String[] args) throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
for (int x=1; x<=5; x++) {
if(nextInt()==0){
System.out.println(x);
return;
}
}
}
public static int nextInt() throws IOException {
return Integer.parseInt(next());
}
public static long nextLong() throws IOException {
return Long.parseLong(next());
}
public static double nextDouble() throws IOException {
return Double.parseDouble(next());
}
static String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine().trim());
return st.nextToken();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
61,
11
],
[
61,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
12,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] s = reader.readLine().split(\" \");",
"s",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"for (int i = 0; i < s.length; i++) {\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }",
"{\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }",
"if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }",
"s[i].equals(\"0\")",
"s[i].equals",
"s[i]",
"s",
"i",
"\"0\"",
"{\n System.out.println(i+1);\n break;\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].equals(\"0\")) {\n System.out.println(i+1);\n break;\n }\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String[] s = reader.readLine().split(" ");
for (int i = 0; i < s.length; i++) {
if (s[i].equals("0")) {
System.out.println(i+1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
18,
13,
13,
17,
30,
4,
18,
13,
2,
13,
17,
3,
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
],
[
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
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
11,
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
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
39,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n for(int i=0;i<5;i++)\n {\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }\n pw.flush();\n pw.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n for(int i=0;i<5;i++)\n {\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }\n pw.flush();\n pw.close();\n }\n}",
"Main",
"public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n for(int i=0;i<5;i++)\n {\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }\n pw.flush();\n pw.close();\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n for(int i=0;i<5;i++)\n {\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }\n pw.flush();\n pw.close();\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"String str[]=br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(int i=0;i<5;i++)\n {\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }",
"{\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }",
"if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }",
"Integer.parseInt(str[i])==0",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"0",
"{\n pw.println(i+1);\n break;\n }",
"pw.println(i+1)",
"pw.println",
"pw",
"i+1",
"i",
"1",
"break;",
"pw.flush()",
"pw.flush",
"pw",
"pw.close()",
"pw.close",
"pw",
"String args[]",
"args",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n for(int i=0;i<5;i++)\n {\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }\n pw.flush();\n pw.close();\n }\n}",
"public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n String str[]=br.readLine().split(\" \");\n for(int i=0;i<5;i++)\n {\n if(Integer.parseInt(str[i])==0)\n {\n pw.println(i+1);\n break;\n }\n }\n pw.flush();\n pw.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main
{
public static void main(String args[])throws Exception
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
PrintWriter pw=new PrintWriter(System.out);
String str[]=br.readLine().split(" ");
for(int i=0;i<5;i++)
{
if(Integer.parseInt(str[i])==0)
{
pw.println(i+1);
break;
}
}
pw.flush();
pw.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
50,
14
],
[
50,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
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
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
15,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Map.Entry;\nimport java.util.*;\nimport java.math.*;\nimport org.w3c.dom.css.Counter;\n \npublic class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n for(int i = 1;i<=5;i++){\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }\n /* int N =sc.nextInt();\n int K =sc.nextInt();\n Map<Integer,Integer> numMap = new HashMap<>();\n Map<Integer,Integer> newMap = new HashMap<>();\n Map<Integer,Integer> hogeMap = new HashMap<>();\n if(N>41){\n\n }\n for(int i =1;i<=N;i++){\n numMap.put(i, sc.nextInt());\n newMap.put(i,0);\n hogeMap.put(i,0);\n }\n for(int i= 0;i<K;i++){\n //newMap = numMap;\n\n for(int i2= 1; i2<=N;i2++){\n\n for(int i4 =0 ;i4 <=numMap.get(i2)&&i4+i2<=N;i4++){\n newMap.replace(i2+i4, newMap.get(i2+i4)+1);\n if(i4<i2&&i4 != 0){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n }\n }\n /* for(int i4 =1 ;i4<i2&&i4<=numMap.get(i2);i4++){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n } */\n }\n} ",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import org.w3c.dom.css.Counter;",
"Counter",
"org.w3c.dom.css",
"public class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n for(int i = 1;i<=5;i++){\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }\n /* int N =sc.nextInt();\n int K =sc.nextInt();\n Map<Integer,Integer> numMap = new HashMap<>();\n Map<Integer,Integer> newMap = new HashMap<>();\n Map<Integer,Integer> hogeMap = new HashMap<>();\n if(N>41){\n\n }\n for(int i =1;i<=N;i++){\n numMap.put(i, sc.nextInt());\n newMap.put(i,0);\n hogeMap.put(i,0);\n }\n for(int i= 0;i<K;i++){\n //newMap = numMap;\n\n for(int i2= 1; i2<=N;i2++){\n\n for(int i4 =0 ;i4 <=numMap.get(i2)&&i4+i2<=N;i4++){\n newMap.replace(i2+i4, newMap.get(i2+i4)+1);\n if(i4<i2&&i4 != 0){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n }\n }\n /* for(int i4 =1 ;i4<i2&&i4<=numMap.get(i2);i4++){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n } */\n }\n}",
"Main",
"public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n for(int i = 1;i<=5;i++){\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }\n /* int N =sc.nextInt();\n int K =sc.nextInt();\n Map<Integer,Integer> numMap = new HashMap<>();\n Map<Integer,Integer> newMap = new HashMap<>();\n Map<Integer,Integer> hogeMap = new HashMap<>();\n if(N>41){\n\n }\n for(int i =1;i<=N;i++){\n numMap.put(i, sc.nextInt());\n newMap.put(i,0);\n hogeMap.put(i,0);\n }\n for(int i= 0;i<K;i++){\n //newMap = numMap;\n\n for(int i2= 1; i2<=N;i2++){\n\n for(int i4 =0 ;i4 <=numMap.get(i2)&&i4+i2<=N;i4++){\n newMap.replace(i2+i4, newMap.get(i2+i4)+1);\n if(i4<i2&&i4 != 0){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n }\n }\n /* for(int i4 =1 ;i4<i2&&i4<=numMap.get(i2);i4++){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n } */\n }",
"main",
"{\n \n final Scanner sc = new Scanner(System.in);\n\n for(int i = 1;i<=5;i++){\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }\n /* int N =sc.nextInt();\n int K =sc.nextInt();\n Map<Integer,Integer> numMap = new HashMap<>();\n Map<Integer,Integer> newMap = new HashMap<>();\n Map<Integer,Integer> hogeMap = new HashMap<>();\n if(N>41){\n\n }\n for(int i =1;i<=N;i++){\n numMap.put(i, sc.nextInt());\n newMap.put(i,0);\n hogeMap.put(i,0);\n }\n for(int i= 0;i<K;i++){\n //newMap = numMap;\n\n for(int i2= 1; i2<=N;i2++){\n\n for(int i4 =0 ;i4 <=numMap.get(i2)&&i4+i2<=N;i4++){\n newMap.replace(i2+i4, newMap.get(i2+i4)+1);\n if(i4<i2&&i4 != 0){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n }\n }\n /* for(int i4 =1 ;i4<i2&&i4<=numMap.get(i2);i4++){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n } */\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 1;i<=5;i++){\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }",
"{\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }",
"if(sc.nextInt()==0){\n System.out.println(i);\n }",
"sc.nextInt()==0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n System.out.println(i);\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"final String[] args",
"args",
"public class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n for(int i = 1;i<=5;i++){\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }\n /* int N =sc.nextInt();\n int K =sc.nextInt();\n Map<Integer,Integer> numMap = new HashMap<>();\n Map<Integer,Integer> newMap = new HashMap<>();\n Map<Integer,Integer> hogeMap = new HashMap<>();\n if(N>41){\n\n }\n for(int i =1;i<=N;i++){\n numMap.put(i, sc.nextInt());\n newMap.put(i,0);\n hogeMap.put(i,0);\n }\n for(int i= 0;i<K;i++){\n //newMap = numMap;\n\n for(int i2= 1; i2<=N;i2++){\n\n for(int i4 =0 ;i4 <=numMap.get(i2)&&i4+i2<=N;i4++){\n newMap.replace(i2+i4, newMap.get(i2+i4)+1);\n if(i4<i2&&i4 != 0){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n }\n }\n /* for(int i4 =1 ;i4<i2&&i4<=numMap.get(i2);i4++){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n } */\n }\n}",
"public class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n for(int i = 1;i<=5;i++){\n if(sc.nextInt()==0){\n System.out.println(i);\n };\n \n }\n /* int N =sc.nextInt();\n int K =sc.nextInt();\n Map<Integer,Integer> numMap = new HashMap<>();\n Map<Integer,Integer> newMap = new HashMap<>();\n Map<Integer,Integer> hogeMap = new HashMap<>();\n if(N>41){\n\n }\n for(int i =1;i<=N;i++){\n numMap.put(i, sc.nextInt());\n newMap.put(i,0);\n hogeMap.put(i,0);\n }\n for(int i= 0;i<K;i++){\n //newMap = numMap;\n\n for(int i2= 1; i2<=N;i2++){\n\n for(int i4 =0 ;i4 <=numMap.get(i2)&&i4+i2<=N;i4++){\n newMap.replace(i2+i4, newMap.get(i2+i4)+1);\n if(i4<i2&&i4 != 0){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n }\n }\n /* for(int i4 =1 ;i4<i2&&i4<=numMap.get(i2);i4++){\n newMap.replace(i2-i4, newMap.get(i2-i4)+1);\n } */\n }\n}",
"Main"
]
| import java.util.Map.Entry;
import java.util.*;
import java.math.*;
import org.w3c.dom.css.Counter;
public class Main{
public static void main(final String[] args){
final Scanner sc = new Scanner(System.in);
for(int i = 1;i<=5;i++){
if(sc.nextInt()==0){
System.out.println(i);
};
}
/* int N =sc.nextInt();
int K =sc.nextInt();
Map<Integer,Integer> numMap = new HashMap<>();
Map<Integer,Integer> newMap = new HashMap<>();
Map<Integer,Integer> hogeMap = new HashMap<>();
if(N>41){
}
for(int i =1;i<=N;i++){
numMap.put(i, sc.nextInt());
newMap.put(i,0);
hogeMap.put(i,0);
}
for(int i= 0;i<K;i++){
//newMap = numMap;
for(int i2= 1; i2<=N;i2++){
for(int i4 =0 ;i4 <=numMap.get(i2)&&i4+i2<=N;i4++){
newMap.replace(i2+i4, newMap.get(i2+i4)+1);
if(i4<i2&&i4 != 0){
newMap.replace(i2-i4, newMap.get(i2-i4)+1);
}
}
/* for(int i4 =1 ;i4<i2&&i4<=numMap.get(i2);i4++){
newMap.replace(i2-i4, newMap.get(i2-i4)+1);
} */
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
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,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
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
],
[
157,
14
],
[
157,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
17,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
15,
66
],
[
66,
67
],
[
157,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
68,
72
],
[
72,
73
],
[
68,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
68,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
83,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
93,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
82,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
68,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
68,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
124,
125
],
[
68,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
68,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
141,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
137,
154
],
[
154,
155
],
[
0,
156
],
[
156,
157
],
[
156,
158
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int[] arr = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++){\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int[] arr = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++){\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n int[] arr = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++){\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n FastReader sc = new FastReader();\n int[] arr = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++){\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int[] arr = new int[5];",
"arr",
"new int[5]",
"5",
"int ans = 0;",
"ans",
"0",
"for(int i=0;i<5;i++){\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }",
"{\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }",
"arr[i]=sc.nextInt()",
"arr[i]",
"arr",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(arr[i]==0){\n ans=i+1;\n }",
"arr[i]==0",
"arr[i]",
"arr",
"i",
"0",
"{\n ans=i+1;\n }",
"ans=i+1",
"ans",
"i+1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int[] arr = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++){\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int[] arr = new int[5];\n int ans = 0;\n for(int i=0;i<5;i++){\n arr[i]=sc.nextInt();\n if(arr[i]==0){\n ans=i+1;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
public static void main(String[] args) {
FastReader sc = new FastReader();
int[] arr = new int[5];
int ans = 0;
for(int i=0;i<5;i++){
arr[i]=sc.nextInt();
if(arr[i]==0){
ans=i+1;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
6,
37
],
[
37,
38
]
]
| [
"import java.util.*;\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <=5; i++) {\n if (sc.nextInt() == 0) System.out.println(i); \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 for (int i = 1; i <=5; i++) {\n if (sc.nextInt() == 0) System.out.println(i); \n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <=5; i++) {\n if (sc.nextInt() == 0) System.out.println(i); \n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <=5; i++) {\n if (sc.nextInt() == 0) System.out.println(i); \n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int i = 1; i <=5; i++) {\n if (sc.nextInt() == 0) System.out.println(i); \n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if (sc.nextInt() == 0) System.out.println(i); \n }",
"{\n if (sc.nextInt() == 0) System.out.println(i); \n }",
"if (sc.nextInt() == 0) System.out.println(i);",
"sc.nextInt() == 0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int i = 1; i <=5; i++) {
if (sc.nextInt() == 0) System.out.println(i);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
19,
31
],
[
31,
32
],
[
31,
33
],
[
19,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
34,
44
],
[
44,
45
],
[
45,
46
],
[
34,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
56,
62
],
[
19,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String strSplit[] = br.readLine().split(\" \");\n \n int result = 0;\n for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }\n \n System.out.println(result);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String strSplit[] = br.readLine().split(\" \");\n \n int result = 0;\n for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }\n \n System.out.println(result);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String strSplit[] = br.readLine().split(\" \");\n \n int result = 0;\n for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }\n \n System.out.println(result);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }",
"main",
"{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String strSplit[] = br.readLine().split(\" \");\n \n int result = 0;\n for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }\n \n System.out.println(result);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }",
"try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String strSplit[] = br.readLine().split(\" \");\n \n int result = 0;\n for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }\n \n System.out.println(result);\n \n }catch(Exception e){\n System.out.println(e);\n }",
"catch(Exception e){\n System.out.println(e);\n }",
"Exception e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String strSplit[] = br.readLine().split(\" \");\n \n int result = 0;\n for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }\n \n System.out.println(result);\n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String strSplit[] = br.readLine().split(\" \");",
"strSplit",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int result = 0;",
"result",
"0",
"for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<strSplit.length",
"i",
"strSplit.length",
"strSplit",
"strSplit.length",
"i++",
"i++",
"i",
"{\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }",
"{\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }",
"if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }",
"strSplit[i].equals(\"0\")",
"strSplit[i].equals",
"strSplit[i]",
"strSplit",
"i",
"\"0\"",
"{\n result = i + 1;\n break;\n }",
"result = i + 1",
"result",
"i + 1",
"i",
"1",
"break;",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String strSplit[] = br.readLine().split(\" \");\n \n int result = 0;\n for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }\n \n System.out.println(result);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String strSplit[] = br.readLine().split(\" \");\n \n int result = 0;\n for(int i=0; i<strSplit.length; i++){\n if(strSplit[i].equals(\"0\")){\n result = i + 1;\n break;\n }\n }\n \n System.out.println(result);\n \n }catch(Exception e){\n System.out.println(e);\n }\n }\n}",
"Main"
]
| import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String strSplit[] = br.readLine().split(" ");
int result = 0;
for(int i=0; i<strSplit.length; i++){
if(strSplit[i].equals("0")){
result = i + 1;
break;
}
}
System.out.println(result);
}catch(Exception e){
System.out.println(e);
}
}
} |
[
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,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
3,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
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
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.*;\n\npublic class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint[] A = new int[5];\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}\n\t\t\n\t\tint ans =0;\n\t\tfor(int j=0; j<5; j++) {\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint[] A = new int[5];\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}\n\t\t\n\t\tint ans =0;\n\t\tfor(int j=0; j<5; j++) {\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint[] A = new int[5];\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}\n\t\t\n\t\tint ans =0;\n\t\tfor(int j=0; j<5; j++) {\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint[] A = new int[5];\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}\n\t\t\n\t\tint ans =0;\n\t\tfor(int j=0; j<5; j++) {\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}",
"Scanner keyboard = new Scanner(System.in);",
"keyboard",
"new Scanner(System.in)",
"int[] A = new int[5];",
"A",
"new int[5]",
"5",
"for(int i=0; i<5; i++) {\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}",
"{\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}",
"A[i] = keyboard.nextInt()",
"A[i]",
"A",
"i",
"keyboard.nextInt()",
"keyboard.nextInt",
"keyboard",
"int ans =0;",
"ans",
"0",
"for(int j=0; j<5; j++) {\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<5",
"j",
"5",
"j++",
"j++",
"j",
"{\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}",
"A[j] == 0",
"A[j]",
"A",
"j",
"0",
"{\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}",
"ans = j+1",
"ans",
"j+1",
"j",
"1",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"keyboard.close()",
"keyboard.close",
"keyboard",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint[] A = new int[5];\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}\n\t\t\n\t\tint ans =0;\n\t\tfor(int j=0; j<5; j++) {\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}\n}",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tint[] A = new int[5];\n\t\t\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = keyboard.nextInt();\n\t\t}\n\t\t\n\t\tint ans =0;\n\t\tfor(int j=0; j<5; j++) {\n\t\t\tif(A[j] == 0) {\n\t\t\t\tans = j+1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\tkeyboard.close();\t\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
int[] A = new int[5];
for(int i=0; i<5; i++) {
A[i] = keyboard.nextInt();
}
int ans =0;
for(int j=0; j<5; j++) {
if(A[j] == 0) {
ans = j+1;
break;
}
}
System.out.println(ans);
keyboard.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
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
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.*;\n \npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint sum = 0;\n\t\tfor(int i=0;i<5;i++){\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}\n\t\tSystem.out.println(15-sum);\n\t}\n \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint sum = 0;\n\t\tfor(int i=0;i<5;i++){\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}\n\t\tSystem.out.println(15-sum);\n\t}\n \n}",
"Main",
"public static void main(String args[]){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint sum = 0;\n\t\tfor(int i=0;i<5;i++){\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}\n\t\tSystem.out.println(15-sum);\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint sum = 0;\n\t\tfor(int i=0;i<5;i++){\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}\n\t\tSystem.out.println(15-sum);\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int[] x = new int[5];",
"x",
"new int[5]",
"5",
"int sum = 0;",
"sum",
"0",
"for(int i=0;i<5;i++){\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}",
"{\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}",
"x[i] = s.nextInt()",
"x[i]",
"x",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"sum += x[i]",
"sum",
"x[i]",
"x",
"i",
"System.out.println(15-sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"15-sum",
"15",
"sum",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint sum = 0;\n\t\tfor(int i=0;i<5;i++){\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}\n\t\tSystem.out.println(15-sum);\n\t}\n \n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner s = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tint sum = 0;\n\t\tfor(int i=0;i<5;i++){\n\t\t\tx[i] = s.nextInt();\n\t\t\tsum += x[i];\n\t\t}\n\t\tSystem.out.println(15-sum);\n\t}\n \n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String args[]){
Scanner s = new Scanner(System.in);
int[] x = new int[5];
int sum = 0;
for(int i=0;i<5;i++){
x[i] = s.nextInt();
sum += x[i];
}
System.out.println(15-sum);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
12,
13,
30,
0,
13,
20,
4,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
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
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
10,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
4,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
47,
55
],
[
55,
56
]
]
| [
"import java.util.*;\n\nclass Main {\n\n\tstatic Scanner sc;\n\n\tstatic void solve() {\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; ++i) {\n\t\t\tint tmp = sc.nextInt();\n\t\t\tif (tmp == 0) ans = i + 1;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n \n public static void main(String args[]) throws Exception {\n sc = new Scanner(System.in);\n\n\t\tsolve();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\tstatic Scanner sc;\n\n\tstatic void solve() {\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; ++i) {\n\t\t\tint tmp = sc.nextInt();\n\t\t\tif (tmp == 0) ans = i + 1;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n \n public static void main(String args[]) throws Exception {\n sc = new Scanner(System.in);\n\n\t\tsolve();\n }\n}",
"Main",
"static Scanner sc;",
"sc",
"static void solve() {\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; ++i) {\n\t\t\tint tmp = sc.nextInt();\n\t\t\tif (tmp == 0) ans = i + 1;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}",
"solve",
"{\n\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; ++i) {\n\t\t\tint tmp = sc.nextInt();\n\t\t\tif (tmp == 0) ans = i + 1;\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < 5; ++i) {\n\t\t\tint tmp = sc.nextInt();\n\t\t\tif (tmp == 0) ans = i + 1;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"++i",
"++i",
"i",
"{\n\t\t\tint tmp = sc.nextInt();\n\t\t\tif (tmp == 0) ans = i + 1;\n\t\t}",
"{\n\t\t\tint tmp = sc.nextInt();\n\t\t\tif (tmp == 0) ans = i + 1;\n\t\t}",
"int tmp = sc.nextInt();",
"tmp",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (tmp == 0) ans = i + 1;",
"tmp == 0",
"tmp",
"0",
"ans = i + 1",
"ans",
"i + 1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public static void main(String args[]) throws Exception {\n sc = new Scanner(System.in);\n\n\t\tsolve();\n }",
"main",
"{\n sc = new Scanner(System.in);\n\n\t\tsolve();\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"solve()",
"solve",
"String args[]",
"args"
]
| import java.util.*;
class Main {
static Scanner sc;
static void solve() {
int ans = 0;
for (int i = 0; i < 5; ++i) {
int tmp = sc.nextInt();
if (tmp == 0) ans = i + 1;
}
System.out.println(ans);
}
public static void main(String args[]) throws Exception {
sc = new Scanner(System.in);
solve();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
98,
5
],
[
98,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint x1 = kb.nextInt();\n\t\tint x2 = kb.nextInt();\n\t\tint x3 = kb.nextInt();\n\t\tint x4 = kb.nextInt();\n\t\tint x5 = kb.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t\tkb.close();\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 Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint x1 = kb.nextInt();\n\t\tint x2 = kb.nextInt();\n\t\tint x3 = kb.nextInt();\n\t\tint x4 = kb.nextInt();\n\t\tint x5 = kb.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint x1 = kb.nextInt();\n\t\tint x2 = kb.nextInt();\n\t\tint x3 = kb.nextInt();\n\t\tint x4 = kb.nextInt();\n\t\tint x5 = kb.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t\tkb.close();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint x1 = kb.nextInt();\n\t\tint x2 = kb.nextInt();\n\t\tint x3 = kb.nextInt();\n\t\tint x4 = kb.nextInt();\n\t\tint x5 = kb.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t\tkb.close();\n\t}",
"Scanner kb = new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"int x1 = kb.nextInt();",
"x1",
"kb.nextInt()",
"kb.nextInt",
"kb",
"int x2 = kb.nextInt();",
"x2",
"kb.nextInt()",
"kb.nextInt",
"kb",
"int x3 = kb.nextInt();",
"x3",
"kb.nextInt()",
"kb.nextInt",
"kb",
"int x4 = kb.nextInt();",
"x4",
"kb.nextInt()",
"kb.nextInt",
"kb",
"int x5 = kb.nextInt();",
"x5",
"kb.nextInt()",
"kb.nextInt",
"kb",
"if (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x1 == 0",
"x1",
"0",
"{\n\t\t\tSystem.out.println(1);\n\t\t}",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x2 == 0",
"x2",
"0",
"{\n\t\t\tSystem.out.println(2);\n\t\t}",
"System.out.println(2)",
"System.out.println",
"System.out",
"System",
"System.out",
"2",
"if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x3 == 0",
"x3",
"0",
"{\n\t\t\tSystem.out.println(3);\n\t\t}",
"System.out.println(3)",
"System.out.println",
"System.out",
"System",
"System.out",
"3",
"if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x4 == 0",
"x4",
"0",
"{\n\t\t\tSystem.out.println(4);\n\t\t}",
"System.out.println(4)",
"System.out.println",
"System.out",
"System",
"System.out",
"4",
"if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}",
"x5 == 0",
"x5",
"0",
"{\n\t\t\tSystem.out.println(5);\n\t\t}",
"System.out.println(5)",
"System.out.println",
"System.out",
"System",
"System.out",
"5",
"kb.close()",
"kb.close",
"kb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint x1 = kb.nextInt();\n\t\tint x2 = kb.nextInt();\n\t\tint x3 = kb.nextInt();\n\t\tint x4 = kb.nextInt();\n\t\tint x5 = kb.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner kb = new Scanner(System.in);\n\t\tint x1 = kb.nextInt();\n\t\tint x2 = kb.nextInt();\n\t\tint x3 = kb.nextInt();\n\t\tint x4 = kb.nextInt();\n\t\tint x5 = kb.nextInt();\n\t\tif (x1 == 0) {\n\t\t\tSystem.out.println(1);\n\t\t} else if (x2 == 0) {\n\t\t\tSystem.out.println(2);\n\t\t} else if (x3 == 0) {\n\t\t\tSystem.out.println(3);\n\t\t} else if (x4 == 0) {\n\t\t\tSystem.out.println(4);\n\t\t} else if (x5 == 0) {\n\t\t\tSystem.out.println(5);\n\t\t}\n\t\tkb.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner kb = new Scanner(System.in);
int x1 = kb.nextInt();
int x2 = kb.nextInt();
int x3 = kb.nextInt();
int x4 = kb.nextInt();
int x5 = kb.nextInt();
if (x1 == 0) {
System.out.println(1);
} else if (x2 == 0) {
System.out.println(2);
} else if (x3 == 0) {
System.out.println(3);
} else if (x4 == 0) {
System.out.println(4);
} else if (x5 == 0) {
System.out.println(5);
}
kb.close();
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
9,
4,
18,
18,
13,
13,
13,
29,
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,
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
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
48,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\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\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x = new int[10];",
"x",
"new int[10]",
"10",
"for (int i = 1; i <= 5; ++i) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"++i",
"++i",
"i",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t}",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 1; i <= 5; ++i) {\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"++i",
"++i",
"i",
"{\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\n\t\t}",
"{\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\n\t\t}",
"if (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}",
"x[i] == i",
"x[i]",
"x",
"i",
"i",
"{\n\t\t\t\tcontinue;\n\t\t\t}",
"continue;",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"return;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[10];\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 1; i <= 5; ++i) {\n\t\t\tif (x[i] == i) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tSystem.out.println(i);\n\t\t\treturn;\n\t\t}\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);
int[] x = new int[10];
for (int i = 1; i <= 5; ++i) {
x[i] = sc.nextInt();
}
for (int i = 1; i <= 5; ++i) {
if (x[i] == i) {
continue;
}
System.out.println(i);
return;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
17,
4,
18,
18,
13,
13,
2,
4,
18,
13,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
35,
5
],
[
35,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
14,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
26,
31
],
[
6,
32
],
[
32,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
]
]
| [
"import java.io.*;\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\n\t\tString s = br.readLine().replace(\" \", \"\");\n\n\t\tSystem.out.println(s.indexOf(\"0\") + 1);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"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\n\t\tString s = br.readLine().replace(\" \", \"\");\n\n\t\tSystem.out.println(s.indexOf(\"0\") + 1);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString s = br.readLine().replace(\" \", \"\");\n\n\t\tSystem.out.println(s.indexOf(\"0\") + 1);\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString s = br.readLine().replace(\" \", \"\");\n\n\t\tSystem.out.println(s.indexOf(\"0\") + 1);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = br.readLine().replace(\" \", \"\");",
"s",
"br.readLine().replace(\" \", \"\")",
"br.readLine().replace",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"\"\"",
"System.out.println(s.indexOf(\"0\") + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"s.indexOf(\"0\") + 1",
"s.indexOf(\"0\")",
"s.indexOf",
"s",
"\"0\"",
"1",
"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\n\t\tString s = br.readLine().replace(\" \", \"\");\n\n\t\tSystem.out.println(s.indexOf(\"0\") + 1);\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\n\t\tString s = br.readLine().replace(\" \", \"\");\n\n\t\tSystem.out.println(s.indexOf(\"0\") + 1);\n\t}\n}",
"Main"
]
| import java.io.*;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String s = br.readLine().replace(" ", "");
System.out.println(s.indexOf("0") + 1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
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
],
[
115,
8
],
[
115,
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
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
11,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
11,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
61,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
70,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
79,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
88,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
11,
106
],
[
106,
107
],
[
107,
108
],
[
11,
109
],
[
109,
110
],
[
110,
111
],
[
9,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint a = Integer.parseInt(st.nextToken());\n\t \t\tint b = Integer.parseInt(st.nextToken());\n\t \t\tint c = Integer.parseInt(st.nextToken());\n\t \t\tint d = Integer.parseInt(st.nextToken());\n\t \t\tint e = Integer.parseInt(st.nextToken());\n\t \t\t\n \t\tif (a == 0){\n \t\t\tout.println(1);\n \t\t}\n \t\telse if (b == 0){\n \t\t\tout.println(2);\n \t\t}\n \t\telse if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}\n}\n \t\t\n \t\t\n \t\t\n \t\t\n\t\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint a = Integer.parseInt(st.nextToken());\n\t \t\tint b = Integer.parseInt(st.nextToken());\n\t \t\tint c = Integer.parseInt(st.nextToken());\n\t \t\tint d = Integer.parseInt(st.nextToken());\n\t \t\tint e = Integer.parseInt(st.nextToken());\n\t \t\t\n \t\tif (a == 0){\n \t\t\tout.println(1);\n \t\t}\n \t\telse if (b == 0){\n \t\t\tout.println(2);\n \t\t}\n \t\telse if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint a = Integer.parseInt(st.nextToken());\n\t \t\tint b = Integer.parseInt(st.nextToken());\n\t \t\tint c = Integer.parseInt(st.nextToken());\n\t \t\tint d = Integer.parseInt(st.nextToken());\n\t \t\tint e = Integer.parseInt(st.nextToken());\n\t \t\t\n \t\tif (a == 0){\n \t\t\tout.println(1);\n \t\t}\n \t\telse if (b == 0){\n \t\t\tout.println(2);\n \t\t}\n \t\telse if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}",
"main",
"{\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint a = Integer.parseInt(st.nextToken());\n\t \t\tint b = Integer.parseInt(st.nextToken());\n\t \t\tint c = Integer.parseInt(st.nextToken());\n\t \t\tint d = Integer.parseInt(st.nextToken());\n\t \t\tint e = Integer.parseInt(st.nextToken());\n\t \t\t\n \t\tif (a == 0){\n \t\t\tout.println(1);\n \t\t}\n \t\telse if (b == 0){\n \t\t\tout.println(2);\n \t\t}\n \t\telse if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}",
"BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"StringTokenizer st = new StringTokenizer(bf.readLine());",
"st",
"new StringTokenizer(bf.readLine())",
"int a = Integer.parseInt(st.nextToken());",
"a",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int b = Integer.parseInt(st.nextToken());",
"b",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int c = Integer.parseInt(st.nextToken());",
"c",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int d = Integer.parseInt(st.nextToken());",
"d",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int e = Integer.parseInt(st.nextToken());",
"e",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if (a == 0){\n \t\t\tout.println(1);\n \t\t}\n \t\telse if (b == 0){\n \t\t\tout.println(2);\n \t\t}\n \t\telse if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}",
"a == 0",
"a",
"0",
"{\n \t\t\tout.println(1);\n \t\t}",
"out.println(1)",
"out.println",
"out",
"1",
"if (b == 0){\n \t\t\tout.println(2);\n \t\t}\n \t\telse if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}",
"b == 0",
"b",
"0",
"{\n \t\t\tout.println(2);\n \t\t}",
"out.println(2)",
"out.println",
"out",
"2",
"if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}",
"c == 0",
"c",
"0",
"{\n \t\t\tout.println(3);\n \t\t}",
"out.println(3)",
"out.println",
"out",
"3",
"if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}",
"d == 0",
"d",
"0",
"{\n \t\t\tout.println(4);\n \t\t}",
"out.println(4)",
"out.println",
"out",
"4",
"if (e == 0){\n \t\t\tout.println(5);\n \t\t}",
"e == 0",
"e",
"0",
"{\n \t\t\tout.println(5);\n \t\t}",
"out.println(5)",
"out.println",
"out",
"5",
"out.println()",
"out.println",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint a = Integer.parseInt(st.nextToken());\n\t \t\tint b = Integer.parseInt(st.nextToken());\n\t \t\tint c = Integer.parseInt(st.nextToken());\n\t \t\tint d = Integer.parseInt(st.nextToken());\n\t \t\tint e = Integer.parseInt(st.nextToken());\n\t \t\t\n \t\tif (a == 0){\n \t\t\tout.println(1);\n \t\t}\n \t\telse if (b == 0){\n \t\t\tout.println(2);\n \t\t}\n \t\telse if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\t// TODO Auto-generated method stub\n \t\tBufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n \t\tPrintWriter out = new PrintWriter(System.out);\n \t\t\n\t \t\tStringTokenizer st = new StringTokenizer(bf.readLine());\n\t \t\tint a = Integer.parseInt(st.nextToken());\n\t \t\tint b = Integer.parseInt(st.nextToken());\n\t \t\tint c = Integer.parseInt(st.nextToken());\n\t \t\tint d = Integer.parseInt(st.nextToken());\n\t \t\tint e = Integer.parseInt(st.nextToken());\n\t \t\t\n \t\tif (a == 0){\n \t\t\tout.println(1);\n \t\t}\n \t\telse if (b == 0){\n \t\t\tout.println(2);\n \t\t}\n \t\telse if (c == 0){\n \t\t\tout.println(3);\n \t\t}\n \t\telse if (d == 0){\n \t\t\tout.println(4);\n \t\t}\n \t\telse if (e == 0){\n \t\t\tout.println(5);\n \t\t}\n \t\t\n \t\t\n \t\tout.println();\n\t \t\t\n \t\tout.close();\n \t\t\n \t\t\n \t\t\n \t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception{
// TODO Auto-generated method stub
BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(System.out);
StringTokenizer st = new StringTokenizer(bf.readLine());
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
int c = Integer.parseInt(st.nextToken());
int d = Integer.parseInt(st.nextToken());
int e = Integer.parseInt(st.nextToken());
if (a == 0){
out.println(1);
}
else if (b == 0){
out.println(2);
}
else if (c == 0){
out.println(3);
}
else if (d == 0){
out.println(4);
}
else if (e == 0){
out.println(5);
}
out.println();
out.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
29,
2,
13,
17,
29,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
100,
11
],
[
100,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
32,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
12,
65
],
[
65,
66
],
[
100,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
70,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
85,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
69,
95
],
[
95,
96
],
[
67,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strings = br.readLine().split(\" \");\n int[] xs = new int[strings.length];\n for (int i = 0; i < xs.length; i++) {\n xs[i] = Integer.parseInt(strings[i]);\n }\n System.out.println(problem170a(xs));\n }\n\n private static int problem170a(int[] xs) {\n for (int i = 0; i < xs.length; i++) {\n if (xs[i] == 0) return (i + 1);\n }\n return 0;\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strings = br.readLine().split(\" \");\n int[] xs = new int[strings.length];\n for (int i = 0; i < xs.length; i++) {\n xs[i] = Integer.parseInt(strings[i]);\n }\n System.out.println(problem170a(xs));\n }\n\n private static int problem170a(int[] xs) {\n for (int i = 0; i < xs.length; i++) {\n if (xs[i] == 0) return (i + 1);\n }\n return 0;\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strings = br.readLine().split(\" \");\n int[] xs = new int[strings.length];\n for (int i = 0; i < xs.length; i++) {\n xs[i] = Integer.parseInt(strings[i]);\n }\n System.out.println(problem170a(xs));\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strings = br.readLine().split(\" \");\n int[] xs = new int[strings.length];\n for (int i = 0; i < xs.length; i++) {\n xs[i] = Integer.parseInt(strings[i]);\n }\n System.out.println(problem170a(xs));\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] strings = br.readLine().split(\" \");",
"strings",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int[] xs = new int[strings.length];",
"xs",
"new int[strings.length]",
"strings.length",
"strings",
"strings.length",
"for (int i = 0; i < xs.length; i++) {\n xs[i] = Integer.parseInt(strings[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < xs.length",
"i",
"xs.length",
"xs",
"xs.length",
"i++",
"i++",
"i",
"{\n xs[i] = Integer.parseInt(strings[i]);\n }",
"{\n xs[i] = Integer.parseInt(strings[i]);\n }",
"xs[i] = Integer.parseInt(strings[i])",
"xs[i]",
"xs",
"i",
"Integer.parseInt(strings[i])",
"Integer.parseInt",
"Integer",
"strings[i]",
"strings",
"i",
"System.out.println(problem170a(xs))",
"System.out.println",
"System.out",
"System",
"System.out",
"problem170a(xs)",
"problem170a",
"xs",
"String[] args",
"args",
"private static int problem170a(int[] xs) {\n for (int i = 0; i < xs.length; i++) {\n if (xs[i] == 0) return (i + 1);\n }\n return 0;\n }",
"problem170a",
"{\n for (int i = 0; i < xs.length; i++) {\n if (xs[i] == 0) return (i + 1);\n }\n return 0;\n }",
"for (int i = 0; i < xs.length; i++) {\n if (xs[i] == 0) return (i + 1);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < xs.length",
"i",
"xs.length",
"xs",
"xs.length",
"i++",
"i++",
"i",
"{\n if (xs[i] == 0) return (i + 1);\n }",
"{\n if (xs[i] == 0) return (i + 1);\n }",
"if (xs[i] == 0) return (i + 1);",
"xs[i] == 0",
"xs[i]",
"xs",
"i",
"0",
"return (i + 1);",
"(i + 1)",
"i",
"1",
"return 0;",
"0",
"int[] xs",
"xs",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strings = br.readLine().split(\" \");\n int[] xs = new int[strings.length];\n for (int i = 0; i < xs.length; i++) {\n xs[i] = Integer.parseInt(strings[i]);\n }\n System.out.println(problem170a(xs));\n }\n\n private static int problem170a(int[] xs) {\n for (int i = 0; i < xs.length; i++) {\n if (xs[i] == 0) return (i + 1);\n }\n return 0;\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] strings = br.readLine().split(\" \");\n int[] xs = new int[strings.length];\n for (int i = 0; i < xs.length; i++) {\n xs[i] = Integer.parseInt(strings[i]);\n }\n System.out.println(problem170a(xs));\n }\n\n private static int problem170a(int[] xs) {\n for (int i = 0; i < xs.length; i++) {\n if (xs[i] == 0) return (i + 1);\n }\n return 0;\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] strings = br.readLine().split(" ");
int[] xs = new int[strings.length];
for (int i = 0; i < xs.length; i++) {
xs[i] = Integer.parseInt(strings[i]);
}
System.out.println(problem170a(xs));
}
private static int problem170a(int[] xs) {
for (int i = 0; i < xs.length; i++) {
if (xs[i] == 0) return (i + 1);
}
return 0;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
61,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint[] num = new int[5];\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tnum[i] = in.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tif(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint[] num = new int[5];\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tnum[i] = in.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tif(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint[] num = new int[5];\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tnum[i] = in.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tif(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint[] num = new int[5];\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tnum[i] = in.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tif(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int[] num = new int[5];",
"num",
"new int[5]",
"5",
"for(int i=0; i<num.length; i++) {\n\t\t\tnum[i] = in.nextInt();\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\tnum[i] = in.nextInt();\n\t\t}",
"{\n\t\t\tnum[i] = in.nextInt();\n\t\t}",
"num[i] = in.nextInt()",
"num[i]",
"num",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"for(int i=0; i<num.length; i++) {\n\t\t\tif(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\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] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}",
"num[i] != i+1",
"num[i]",
"num",
"i",
"i+1",
"i",
"1",
"{\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint[] num = new int[5];\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tnum[i] = in.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tif(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\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\t\tScanner in = new Scanner(System.in);\n\n\t\tint[] num = new int[5];\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tnum[i] = in.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<num.length; i++) {\n\t\t\tif(num[i] != i+1) {\n\t\t\t\tSystem.out.println(i+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner in = new Scanner(System.in);
int[] num = new int[5];
for(int i=0; i<num.length; i++) {
num[i] = in.nextInt();
}
for(int i=0; i<num.length; i++) {
if(num[i] != i+1) {
System.out.println(i+1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
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,
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
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint[] nums = new int[5];\n\n\t\tint index = 0;\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint[] nums = new int[5];\n\n\t\tint index = 0;\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\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 s = new Scanner(System.in);\n\n\t\tint[] nums = new int[5];\n\n\t\tint index = 0;\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint[] nums = new int[5];\n\n\t\tint index = 0;\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int[] nums = new int[5];",
"nums",
"new int[5]",
"5",
"int index = 0;",
"index",
"0",
"for(index = 0 ; index < 5 ; index++) {\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}",
"index = 0 ;",
"index = 0",
"index",
"0",
"index < 5",
"index",
"5",
"index++",
"index++",
"index",
"{\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}",
"{\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}",
"nums[index] = s.nextInt()",
"nums[index]",
"nums",
"index",
"s.nextInt()",
"s.nextInt",
"s",
"for(index = 0 ; index < 5 ; index++) {\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"index = 0 ;",
"index = 0",
"index",
"0",
"index < 5",
"index",
"5",
"index++",
"index++",
"index",
"{\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}",
"nums[index] == 0",
"nums[index]",
"nums",
"index",
"0",
"{\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(index+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"index+1",
"index",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint[] nums = new int[5];\n\n\t\tint index = 0;\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\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 s = new Scanner(System.in);\n\n\t\tint[] nums = new int[5];\n\n\t\tint index = 0;\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tnums[index] = s.nextInt();\n\t\t}\n\n\t\tfor(index = 0 ; index < 5 ; index++) {\n\n\t\t\tif(nums[index] == 0) {\n\t\t\t\tSystem.out.println(index+1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int[] nums = new int[5];
int index = 0;
for(index = 0 ; index < 5 ; index++) {
nums[index] = s.nextInt();
}
for(index = 0 ; index < 5 ; index++) {
if(nums[index] == 0) {
System.out.println(index+1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
4,
18,
4,
18,
13,
17,
29,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
32,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
30,
69
],
[
69,
70
],
[
25,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
71,
75
],
[
75,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
71,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
86,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
96,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
85,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
71,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
71,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
71,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
136,
137
],
[
71,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
144,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
154,
161
],
[
140,
162
],
[
162,
163
],
[
71,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
170,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
166,
183
],
[
183,
184
]
]
| [
"import java.io.BufferedOutputStream;\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.math.BigInteger;\nimport java.util.ArrayList;\nimport java.util.StringTokenizer;\n\n\nclass Main{\n\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n static class FastReader {\n\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }\n }\n\n // static int MOD=1000000000+7;\n// public static void sortbyCol(int arr[][],int col)\n// {\n// Arrays.sort(arr,new Comparator<int[]>(){\n// @Override\n// public int compare(int[] o1, int[] o2) {\n// // To sort in descending order revert\n// // the '>' Operator\n// if(o1[col]>o2[col])\n// return 1;\n// else\n// return -1;\n// }\n// });\n// }\n\n\n public static void main(String[] args) throws java.lang.Exception {\n FastReader sc = new FastReader();\n// int t1=sc.nextInt();\n//\n// for(int t=0;t<t1;++t)\n// {\n//\n// }\n int ans=0;\n for(int i=0;i<5;++i)\n {\n if(sc.nextInt()==0)\n ans=i+1;\n }\n System.out.println(ans);\n }\n\n}\n\n// out.println(al.toString().replaceAll(\"[\\\\[|\\\\]|,]\",\"\"));",
"import java.io.BufferedOutputStream;",
"BufferedOutputStream",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main{\n\n public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n\n static class FastReader {\n\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }\n }\n\n // static int MOD=1000000000+7;\n// public static void sortbyCol(int arr[][],int col)\n// {\n// Arrays.sort(arr,new Comparator<int[]>(){\n// @Override\n// public int compare(int[] o1, int[] o2) {\n// // To sort in descending order revert\n// // the '>' Operator\n// if(o1[col]>o2[col])\n// return 1;\n// else\n// return -1;\n// }\n// });\n// }\n\n\n public static void main(String[] args) throws java.lang.Exception {\n FastReader sc = new FastReader();\n// int t1=sc.nextInt();\n//\n// for(int t=0;t<t1;++t)\n// {\n//\n// }\n int ans=0;\n for(int i=0;i<5;++i)\n {\n if(sc.nextInt()==0)\n ans=i+1;\n }\n System.out.println(ans);\n }\n\n}",
"Main",
"public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));",
"out",
"new PrintWriter(new BufferedOutputStream(System.out))",
"public static void main(String[] args) throws java.lang.Exception {\n FastReader sc = new FastReader();\n// int t1=sc.nextInt();\n//\n// for(int t=0;t<t1;++t)\n// {\n//\n// }\n int ans=0;\n for(int i=0;i<5;++i)\n {\n if(sc.nextInt()==0)\n ans=i+1;\n }\n System.out.println(ans);\n }",
"main",
"{\n FastReader sc = new FastReader();\n// int t1=sc.nextInt();\n//\n// for(int t=0;t<t1;++t)\n// {\n//\n// }\n int ans=0;\n for(int i=0;i<5;++i)\n {\n if(sc.nextInt()==0)\n ans=i+1;\n }\n System.out.println(ans);\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int ans=0;",
"ans",
"0",
"for(int i=0;i<5;++i)\n {\n if(sc.nextInt()==0)\n ans=i+1;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"++i",
"++i",
"i",
"{\n if(sc.nextInt()==0)\n ans=i+1;\n }",
"{\n if(sc.nextInt()==0)\n ans=i+1;\n }",
"if(sc.nextInt()==0)\n ans=i+1;",
"sc.nextInt()==0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"ans=i+1",
"ans",
"i+1",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static class FastReader {\n\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String[] nextSArray() {\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }",
"nextSArray",
"{\n String sr[] = null;\n try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }\n return sr;\n }",
"String sr[] = null;",
"sr",
"null",
"try {\n sr = br.readLine().trim().split(\" \");\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n sr = br.readLine().trim().split(\" \");\n }",
"sr = br.readLine().trim().split(\" \")",
"sr",
"br.readLine().trim().split(\" \")",
"br.readLine().trim().split",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"return sr;",
"sr",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str"
]
| import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.StringTokenizer;
class Main{
public static PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String[] nextSArray() {
String sr[] = null;
try {
sr = br.readLine().trim().split(" ");
} catch (IOException e) {
e.printStackTrace();
}
return sr;
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
// static int MOD=1000000000+7;
// public static void sortbyCol(int arr[][],int col)
// {
// Arrays.sort(arr,new Comparator<int[]>(){
// @Override
// public int compare(int[] o1, int[] o2) {
// // To sort in descending order revert
// // the '>' Operator
// if(o1[col]>o2[col])
// return 1;
// else
// return -1;
// }
// });
// }
public static void main(String[] args) throws java.lang.Exception {
FastReader sc = new FastReader();
// int t1=sc.nextInt();
//
// for(int t=0;t<t1;++t)
// {
//
// }
int ans=0;
for(int i=0;i<5;++i)
{
if(sc.nextInt()==0)
ans=i+1;
}
System.out.println(ans);
}
}
// out.println(al.toString().replaceAll("[\\[|\\]|,]",""));
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
17,
4,
18,
13,
4,
18,
13,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int iResult = 0;\n for (int i = 1; i <= 5; i++) {\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }\n System.out.print(iResult);\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int iResult = 0;\n for (int i = 1; i <= 5; i++) {\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }\n System.out.print(iResult);\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int iResult = 0;\n for (int i = 1; i <= 5; i++) {\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }\n System.out.print(iResult);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int iResult = 0;\n for (int i = 1; i <= 5; i++) {\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }\n System.out.print(iResult);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int iResult = 0;",
"iResult",
"0",
"for (int i = 1; i <= 5; i++) {\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }",
"{\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }",
"if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }",
"0 == Integer.parseInt(sc.next())",
"0",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"{\n iResult = i;\n }",
"iResult = i",
"iResult",
"i",
"System.out.print(iResult)",
"System.out.print",
"System.out",
"System",
"System.out",
"iResult",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int iResult = 0;\n for (int i = 1; i <= 5; i++) {\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }\n System.out.print(iResult);\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int iResult = 0;\n for (int i = 1; i <= 5; i++) {\n if (0 == Integer.parseInt(sc.next())) {\n iResult = i;\n }\n }\n System.out.print(iResult);\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int iResult = 0;
for (int i = 1; i <= 5; i++) {
if (0 == Integer.parseInt(sc.next())) {
iResult = i;
}
}
System.out.print(iResult);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
0,
13,
2,
13,
17,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
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
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.*;\n \npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = 5;\n\t\tint count = 0;\n\t\tint[] x = new int[N];\n\t\tfor(int i = 0; i < N; i ++){\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\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\tint N = 5;\n\t\tint count = 0;\n\t\tint[] x = new int[N];\n\t\tfor(int i = 0; i < N; i ++){\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = 5;\n\t\tint count = 0;\n\t\tint[] x = new int[N];\n\t\tfor(int i = 0; i < N; i ++){\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = 5;\n\t\tint count = 0;\n\t\tint[] x = new int[N];\n\t\tfor(int i = 0; i < N; i ++){\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = 5;",
"N",
"5",
"int count = 0;",
"count",
"0",
"int[] x = new int[N];",
"x",
"new int[N]",
"N",
"for(int i = 0; i < N; i ++){\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i ++",
"i ++",
"i",
"{\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}",
"count = i + 1",
"count",
"i + 1",
"i",
"1",
"break;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = 5;\n\t\tint count = 0;\n\t\tint[] x = new int[N];\n\t\tfor(int i = 0; i < N; i ++){\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = 5;\n\t\tint count = 0;\n\t\tint[] x = new int[N];\n\t\tfor(int i = 0; i < N; i ++){\n\t\t\tx[i] = sc.nextInt(); \n\n\t\t\tif(x[i] == 0){\n\t\t\t\tcount = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = 5;
int count = 0;
int[] x = new int[N];
for(int i = 0; i < N; i ++){
x[i] = sc.nextInt();
if(x[i] == 0){
count = i + 1;
break;
}
}
System.out.println(count);
}
} |
[
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,
41,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
40,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
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
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
48,
55
],
[
43,
56
],
[
56,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] A = new int[5];\n\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = sc.nextInt();\n\t\t}\n\n\t\tint count = 1;\n\t\tfor(int x : A) {\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] A = new int[5];\n\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = sc.nextInt();\n\t\t}\n\n\t\tint count = 1;\n\t\tfor(int x : A) {\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] A = new int[5];\n\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = sc.nextInt();\n\t\t}\n\n\t\tint count = 1;\n\t\tfor(int x : A) {\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] A = new int[5];\n\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = sc.nextInt();\n\t\t}\n\n\t\tint count = 1;\n\t\tfor(int x : A) {\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] A = new int[5];",
"A",
"new int[5]",
"5",
"for(int i=0; i<5; i++) {\n\t\t\tA[i] = sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tA[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tA[i] = sc.nextInt();\n\t\t}",
"A[i] = sc.nextInt()",
"A[i]",
"A",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int count = 1;",
"count",
"1",
"for(int x : A) {\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}",
"int x",
"A",
"{\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}",
"{\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}",
"if(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}",
"x==0",
"x",
"0",
"{\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.print(count)",
"System.out.print",
"System.out",
"System",
"System.out",
"count",
"break;",
"count++",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] A = new int[5];\n\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = sc.nextInt();\n\t\t}\n\n\t\tint count = 1;\n\t\tfor(int x : A) {\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint[] A = new int[5];\n\n\t\tfor(int i=0; i<5; i++) {\n\t\t\tA[i] = sc.nextInt();\n\t\t}\n\n\t\tint count = 1;\n\t\tfor(int x : A) {\n\t\t\tif(x==0) {\n\t\t\t\tSystem.out.print(count);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tcount++;\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] A = new int[5];
for(int i=0; i<5; i++) {
A[i] = sc.nextInt();
}
int count = 1;
for(int x : A) {
if(x==0) {
System.out.print(count);
break;
}
count++;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
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,
4,
18,
18,
13,
13,
2,
13,
17,
3,
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
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
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
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
39,
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 try (Scanner sc = new Scanner(System.in)) {\n // in\n for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // in\n for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // in\n for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)) {\n // in\n for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n // in\n for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }",
"{\n // in\n for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }",
"{\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }",
"int in = Integer.parseInt(sc.next());",
"in",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"if (in == 0) {\n System.out.println(i + 1);\n break;\n }",
"in == 0",
"in",
"0",
"{\n System.out.println(i + 1);\n break;\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // in\n for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // in\n for (int i = 0; i < 5; i++) {\n int in = Integer.parseInt(sc.next());\n if (in == 0) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
// in
for (int i = 0; i < 5; i++) {
int in = Integer.parseInt(sc.next());
if (in == 0) {
System.out.println(i + 1);
break;
}
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
20,
41,
13,
2,
17,
17,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
2,
2,
2,
2,
13,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
13,
13,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
13,
0,
13,
2,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
20,
29,
2,
4,
18,
13,
13,
13,
23,
13,
12,
13,
30,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
40,
18,
13,
13,
30,
11,
1,
41,
13,
2,
17,
13,
2,
13,
17,
1,
0,
13,
13,
30,
0,
18,
13,
13,
17,
12,
13,
30,
14,
2,
13,
17,
29,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
3,
4,
18,
13,
13,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
30,
4,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
17,
41,
13,
17,
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
],
[
402,
17
],
[
402,
18
],
[
18,
19
],
[
18,
20
],
[
402,
21
],
[
21,
22
],
[
21,
23
],
[
402,
24
],
[
24,
25
],
[
402,
26
],
[
26,
27
],
[
26,
28
],
[
402,
29
],
[
29,
30
],
[
29,
31
],
[
402,
33
],
[
33,
34
],
[
33,
35
],
[
402,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
402,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
44,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
43,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
402,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
402,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
402,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
91,
97
],
[
90,
98
],
[
86,
99
],
[
99,
100
],
[
86,
101
],
[
101,
102
],
[
402,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
103,
112
],
[
112,
113
],
[
103,
114
],
[
114,
115
],
[
402,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
126,
128
],
[
121,
129
],
[
120,
130
],
[
116,
131
],
[
131,
132
],
[
116,
133
],
[
133,
134
],
[
402,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
139,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
135,
148
],
[
148,
149
],
[
402,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
161,
167
],
[
167,
168
],
[
167,
169
],
[
160,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
172,
174
],
[
160,
175
],
[
175,
176
],
[
175,
177
],
[
152,
178
],
[
178,
179
],
[
150,
180
],
[
180,
181
],
[
150,
182
],
[
182,
183
],
[
402,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
186,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
199,
204
],
[
184,
205
],
[
205,
206
],
[
402,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
209,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
215,
220
],
[
220,
221
],
[
220,
222
],
[
215,
223
],
[
223,
224
],
[
224,
225
],
[
215,
226
],
[
227,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
238,
240
],
[
234,
241
],
[
241,
242
],
[
241,
243
],
[
234,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
234,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
402,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
261,
262
],
[
256,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
263,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
263,
273
],
[
273,
274
],
[
274,
275
],
[
263,
276
],
[
277,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
278,
284
],
[
284,
285
],
[
256,
286
],
[
286,
287
],
[
254,
288
],
[
288,
289
],
[
402,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
292,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
300,
303
],
[
303,
304
],
[
303,
305
],
[
290,
306
],
[
306,
307
],
[
290,
308
],
[
308,
309
],
[
402,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
317
],
[
317,
318
],
[
313,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
320,
323
],
[
323,
324
],
[
323,
325
],
[
310,
326
],
[
326,
327
],
[
310,
328
],
[
328,
329
],
[
402,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
332,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
332,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
341,
346
],
[
346,
347
],
[
346,
348
],
[
341,
349
],
[
349,
350
],
[
350,
351
],
[
341,
352
],
[
353,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
353,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
358,
362
],
[
362,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
365,
367
],
[
362,
368
],
[
332,
369
],
[
369,
370
],
[
370,
371
],
[
369,
372
],
[
402,
373
],
[
373,
374
],
[
373,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
375,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
380,
383
],
[
379,
384
],
[
384,
385
],
[
385,
386
],
[
375,
387
],
[
387,
388
],
[
388,
389
],
[
373,
390
],
[
390,
391
],
[
402,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
394,
396
],
[
392,
398
],
[
398,
399
],
[
398,
400
],
[
0,
401
],
[
401,
402
],
[
401,
403
]
]
| [
"import javax.swing.plaf.metal.MetalInternalFrameTitlePane;\nimport java.math.BigInteger;\nimport java.util.*;\nimport java.io.*;\nimport java.text.*;\n\npublic class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n static long mod = (long) 1000000007;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static long add(long a, long b) {\n return (a + b) % mod;\n }\n\n static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }\n\n static int modpow(int x, int y) {\n int res = 1;\n// x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res *= x;\n x = x * x;\n y /= 2;\n }\n return res;\n }\n\n// static class pair {\n// String a;\n// int b;\n//\n// pair(String x, int y) {\n// a = x;\n// b = y;\n// }\n// }\n\n static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s) % mod;\n }\n\n static boolean v[] = new boolean[1000005];\n\n static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }\n\n static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n static int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n static DecimalFormat df = new DecimalFormat(\"0.000000000000000000000\");\n\n static class trie {\n trie a[] = new trie[26];\n int cnt = 0;\n }\n\n static int maxn = (int) 3e5 + 5;\n\n static long gcd(long a, long b) {\n if (b == 0)\n return a;\n else\n return gcd(b, a % b);\n }\n\n static void solve() {\n int a[] = new int[5];\n int ans=-1;\n for (int i = 0; i < 5; i++) {\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }\n out.println(ans);\n }\n\n public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n}\n",
"import javax.swing.plaf.metal.MetalInternalFrameTitlePane;",
"MetalInternalFrameTitlePane",
"javax.swing.plaf.metal",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.text.*;",
"text.*",
"java",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n static long mod = (long) 1000000007;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static long add(long a, long b) {\n return (a + b) % mod;\n }\n\n static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }\n\n static int modpow(int x, int y) {\n int res = 1;\n// x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res *= x;\n x = x * x;\n y /= 2;\n }\n return res;\n }\n\n// static class pair {\n// String a;\n// int b;\n//\n// pair(String x, int y) {\n// a = x;\n// b = y;\n// }\n// }\n\n static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s) % mod;\n }\n\n static boolean v[] = new boolean[1000005];\n\n static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }\n\n static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n static int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n static DecimalFormat df = new DecimalFormat(\"0.000000000000000000000\");\n\n static class trie {\n trie a[] = new trie[26];\n int cnt = 0;\n }\n\n static int maxn = (int) 3e5 + 5;\n\n static long gcd(long a, long b) {\n if (b == 0)\n return a;\n else\n return gcd(b, a % b);\n }\n\n static void solve() {\n int a[] = new int[5];\n int ans=-1;\n for (int i = 0; i < 5; i++) {\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }\n out.println(ans);\n }\n\n public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n}",
"Main",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);",
"br",
"new BufferedReader(new InputStreamReader(System.in), 32768)",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static StringTokenizer t;",
"t",
"static long mod = (long) 1000000007;",
"mod",
"(long) 1000000007",
"static boolean v[] = new boolean[1000005];",
"v",
"new boolean[1000005]",
"1000005",
"static DecimalFormat df = new DecimalFormat(\"0.000000000000000000000\");",
"df",
"new DecimalFormat(\"0.000000000000000000000\")",
"static int maxn = (int) 3e5 + 5;",
"maxn",
"(int) 3e5 + 5",
"(int) 3e5",
"5",
"static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }",
"sn",
"{\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }",
"while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"t == null || !t.hasMoreTokens()",
"t == null",
"t",
"null",
"!t.hasMoreTokens()",
"t.hasMoreTokens()",
"t.hasMoreTokens",
"t",
"{\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }",
"try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }",
"catch (IOException e) {\n throw new RuntimeException();\n }",
"IOException e",
"{\n throw new RuntimeException();\n }",
"throw new RuntimeException();",
"new RuntimeException()",
"{\n t = new StringTokenizer(br.readLine());\n }",
"t = new StringTokenizer(br.readLine())",
"t",
"new StringTokenizer(br.readLine())",
"return t.nextToken();",
"t.nextToken()",
"t.nextToken",
"t",
"static int ni() {\n return Integer.parseInt(sn());\n }",
"ni",
"{\n return Integer.parseInt(sn());\n }",
"return Integer.parseInt(sn());",
"Integer.parseInt(sn())",
"Integer.parseInt",
"Integer",
"sn()",
"sn",
"static long nlo() {\n return Long.parseLong(sn());\n }",
"nlo",
"{\n return Long.parseLong(sn());\n }",
"return Long.parseLong(sn());",
"Long.parseLong(sn())",
"Long.parseLong",
"Long",
"sn()",
"sn",
"static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }",
"pro",
"{\n return (a % mod * b % mod) % mod;\n }",
"return (a % mod * b % mod) % mod;",
"(a % mod * b % mod) % mod",
"(a % mod * b % mod)",
"a % mod * b",
"a % mod",
"a",
"mod",
"b",
"mod",
"mod",
"long a",
"a",
"long b",
"b",
"static long add(long a, long b) {\n return (a + b) % mod;\n }",
"add",
"{\n return (a + b) % mod;\n }",
"return (a + b) % mod;",
"(a + b) % mod",
"(a + b)",
"a",
"b",
"mod",
"long a",
"a",
"long b",
"b",
"static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }",
"sub",
"{\n return ((a % mod - b % mod) + mod) % mod;\n }",
"return ((a % mod - b % mod) + mod) % mod;",
"((a % mod - b % mod) + mod) % mod",
"((a % mod - b % mod) + mod)",
"(a % mod - b % mod)",
"a % mod",
"a",
"mod",
"b % mod",
"b",
"mod",
"mod",
"mod",
"long a",
"a",
"long b",
"b",
"static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }",
"pow",
"{\n return (int) (Math.log10(n) / Math.log10(2));\n }",
"return (int) (Math.log10(n) / Math.log10(2));",
"(int) (Math.log10(n) / Math.log10(2))",
"Math.log10(n)",
"Math.log10",
"Math",
"n",
"Math.log10(2)",
"Math.log10",
"Math",
"2",
"int n",
"n",
"static int modpow(int x, int y) {\n int res = 1;\n// x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res *= x;\n x = x * x;\n y /= 2;\n }\n return res;\n }",
"modpow",
"{\n int res = 1;\n// x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res *= x;\n x = x * x;\n y /= 2;\n }\n return res;\n }",
"int res = 1;",
"res",
"1",
"while (y > 0) {\n if (y % 2 != 0)\n res *= x;\n x = x * x;\n y /= 2;\n }",
"y > 0",
"y",
"0",
"{\n if (y % 2 != 0)\n res *= x;\n x = x * x;\n y /= 2;\n }",
"if (y % 2 != 0)\n res *= x;",
"y % 2 != 0",
"y % 2",
"y",
"2",
"0",
"res *= x",
"res",
"x",
"x = x * x",
"x",
"x * x",
"x",
"x",
"y /= 2",
"y",
"2",
"return res;",
"res",
"int x",
"x",
"int y",
"y",
"static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s) % mod;\n }",
"modInverse",
"{\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s) % mod;\n }",
"BigInteger n1 = new BigInteger(Long.toString(n));",
"n1",
"new BigInteger(Long.toString(n))",
"String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();",
"s",
"(n1.modInverse(new BigInteger(Long.toString(mod)))).toString()",
"(n1.modInverse(new BigInteger(Long.toString(mod)))).toString",
"(n1.modInverse(new BigInteger(Long.toString(mod))))",
"n1.modInverse",
"n1",
"new BigInteger(Long.toString(mod))",
"return Long.parseLong(s) % mod;",
"Long.parseLong(s) % mod",
"Long.parseLong(s)",
"Long.parseLong",
"Long",
"s",
"mod",
"long n",
"n",
"static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }",
"seive",
"{\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }",
"v[1] = true",
"v[1]",
"v",
"1",
"true",
"for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i < 1000005",
"i",
"1000005",
"i++",
"i++",
"i",
"{\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }",
"{\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }",
"if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }",
"!v[i]",
"v[i]",
"v",
"i",
"{\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }",
"for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;",
"int j = 2 * i;",
"int j = 2 * i;",
"j",
"2 * i",
"2",
"i",
"j < 1000005",
"j",
"1000005",
"j += i",
"j += i",
"j",
"i",
"v[j] = true;",
"v[j] = true",
"v[j]",
"v",
"j",
"true",
"static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"isprime",
"{\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"if (n == 1)\n return false;",
"n == 1",
"n",
"1",
"return false;",
"false",
"for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i * i <= n",
"i * i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (n % i == 0)\n return false;\n }",
"{\n if (n % i == 0)\n return false;\n }",
"if (n % i == 0)\n return false;",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"long n",
"n",
"static int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }",
"gcd",
"{\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }",
"if (b == 0)\n return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcd(b, a % b);",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static long gcd(long a, long b) {\n if (b == 0)\n return a;\n else\n return gcd(b, a % b);\n }",
"gcd",
"{\n if (b == 0)\n return a;\n else\n return gcd(b, a % b);\n }",
"if (b == 0)\n return a;\n else\n return gcd(b, a % b);",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcd(b, a % b);",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static void solve() {\n int a[] = new int[5];\n int ans=-1;\n for (int i = 0; i < 5; i++) {\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }\n out.println(ans);\n }",
"solve",
"{\n int a[] = new int[5];\n int ans=-1;\n for (int i = 0; i < 5; i++) {\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }\n out.println(ans);\n }",
"int a[] = new int[5];",
"a",
"new int[5]",
"5",
"int ans=-1;",
"ans",
"-1",
"1",
"for (int i = 0; i < 5; i++) {\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }",
"{\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }",
"int t=ni();",
"t",
"ni()",
"ni",
"if(t==0)\n {\n ans=i+1;\n break;\n }",
"t==0",
"t",
"0",
"{\n ans=i+1;\n break;\n }",
"ans=i+1",
"ans",
"i+1",
"i",
"1",
"break;",
"out.println(ans)",
"out.println",
"out",
"ans",
"public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }",
"main",
"{\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }",
"int t = 1;",
"t",
"1",
"while (t-- > 0) {\n solve();\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n solve();\n }",
"solve()",
"solve",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"static class trie {\n trie a[] = new trie[26];\n int cnt = 0;\n }",
"trie",
"trie a[] = new trie[26];",
"a",
"new trie[26]",
"26",
"int cnt = 0;",
"cnt",
"0",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n static long mod = (long) 1000000007;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static long add(long a, long b) {\n return (a + b) % mod;\n }\n\n static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }\n\n static int modpow(int x, int y) {\n int res = 1;\n// x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res *= x;\n x = x * x;\n y /= 2;\n }\n return res;\n }\n\n// static class pair {\n// String a;\n// int b;\n//\n// pair(String x, int y) {\n// a = x;\n// b = y;\n// }\n// }\n\n static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s) % mod;\n }\n\n static boolean v[] = new boolean[1000005];\n\n static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }\n\n static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n static int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n static DecimalFormat df = new DecimalFormat(\"0.000000000000000000000\");\n\n static class trie {\n trie a[] = new trie[26];\n int cnt = 0;\n }\n\n static int maxn = (int) 3e5 + 5;\n\n static long gcd(long a, long b) {\n if (b == 0)\n return a;\n else\n return gcd(b, a % b);\n }\n\n static void solve() {\n int a[] = new int[5];\n int ans=-1;\n for (int i = 0; i < 5; i++) {\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }\n out.println(ans);\n }\n\n public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n}",
"public class Main {\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);\n static PrintWriter out = new PrintWriter(System.out);\n static StringTokenizer t;\n\n static String sn() {\n while (t == null || !t.hasMoreTokens()) {\n try {\n t = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException();\n }\n }\n return t.nextToken();\n }\n\n static int ni() {\n return Integer.parseInt(sn());\n }\n\n static long nlo() {\n return Long.parseLong(sn());\n }\n\n static long mod = (long) 1000000007;\n\n static long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n static long add(long a, long b) {\n return (a + b) % mod;\n }\n\n static long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n static int pow(int n) {\n return (int) (Math.log10(n) / Math.log10(2));\n }\n\n static int modpow(int x, int y) {\n int res = 1;\n// x %= mod;\n while (y > 0) {\n if (y % 2 != 0)\n res *= x;\n x = x * x;\n y /= 2;\n }\n return res;\n }\n\n// static class pair {\n// String a;\n// int b;\n//\n// pair(String x, int y) {\n// a = x;\n// b = y;\n// }\n// }\n\n static long modInverse(long n) {\n BigInteger n1 = new BigInteger(Long.toString(n));\n String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();\n return Long.parseLong(s) % mod;\n }\n\n static boolean v[] = new boolean[1000005];\n\n static void seive() {\n v[1] = true;\n for (int i = 2; i < 1000005; i++) {\n if (!v[i]) {\n for (int j = 2 * i; j < 1000005; j += i)\n v[j] = true;\n }\n }\n }\n\n static boolean isprime(long n) {\n if (n == 1)\n return false;\n for (int i = 2; i * i <= n; i++) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n static int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n static DecimalFormat df = new DecimalFormat(\"0.000000000000000000000\");\n\n static class trie {\n trie a[] = new trie[26];\n int cnt = 0;\n }\n\n static int maxn = (int) 3e5 + 5;\n\n static long gcd(long a, long b) {\n if (b == 0)\n return a;\n else\n return gcd(b, a % b);\n }\n\n static void solve() {\n int a[] = new int[5];\n int ans=-1;\n for (int i = 0; i < 5; i++) {\n int t=ni();\n if(t==0)\n {\n ans=i+1;\n break;\n }\n }\n out.println(ans);\n }\n\n public static void main(String args[]) {\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n out.close();\n }\n}",
"Main"
]
| import javax.swing.plaf.metal.MetalInternalFrameTitlePane;
import java.math.BigInteger;
import java.util.*;
import java.io.*;
import java.text.*;
public class Main {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in), 32768);
static PrintWriter out = new PrintWriter(System.out);
static StringTokenizer t;
static String sn() {
while (t == null || !t.hasMoreTokens()) {
try {
t = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException();
}
}
return t.nextToken();
}
static int ni() {
return Integer.parseInt(sn());
}
static long nlo() {
return Long.parseLong(sn());
}
static long mod = (long) 1000000007;
static long pro(long a, long b) {
return (a % mod * b % mod) % mod;
}
static long add(long a, long b) {
return (a + b) % mod;
}
static long sub(long a, long b) {
return ((a % mod - b % mod) + mod) % mod;
}
static int pow(int n) {
return (int) (Math.log10(n) / Math.log10(2));
}
static int modpow(int x, int y) {
int res = 1;
// x %= mod;
while (y > 0) {
if (y % 2 != 0)
res *= x;
x = x * x;
y /= 2;
}
return res;
}
// static class pair {
// String a;
// int b;
//
// pair(String x, int y) {
// a = x;
// b = y;
// }
// }
static long modInverse(long n) {
BigInteger n1 = new BigInteger(Long.toString(n));
String s = (n1.modInverse(new BigInteger(Long.toString(mod)))).toString();
return Long.parseLong(s) % mod;
}
static boolean v[] = new boolean[1000005];
static void seive() {
v[1] = true;
for (int i = 2; i < 1000005; i++) {
if (!v[i]) {
for (int j = 2 * i; j < 1000005; j += i)
v[j] = true;
}
}
}
static boolean isprime(long n) {
if (n == 1)
return false;
for (int i = 2; i * i <= n; i++) {
if (n % i == 0)
return false;
}
return true;
}
static int gcd(int a, int b) {
if (b == 0)
return a;
return gcd(b, a % b);
}
static DecimalFormat df = new DecimalFormat("0.000000000000000000000");
static class trie {
trie a[] = new trie[26];
int cnt = 0;
}
static int maxn = (int) 3e5 + 5;
static long gcd(long a, long b) {
if (b == 0)
return a;
else
return gcd(b, a % b);
}
static void solve() {
int a[] = new int[5];
int ans=-1;
for (int i = 0; i < 5; i++) {
int t=ni();
if(t==0)
{
ans=i+1;
break;
}
}
out.println(ans);
}
public static void main(String args[]) {
int t = 1;
while (t-- > 0) {
solve();
}
out.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
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
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
6,
51
],
[
51,
52
]
]
| [
"import java.util.Scanner;\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int p = 0;\n for(int i = 0; i < 5; i++) {\n int v = sc.nextInt();\n if(v == 0) p = i+1;\n }\n sc.close();\n System.out.println(p);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int p = 0;\n for(int i = 0; i < 5; i++) {\n int v = sc.nextInt();\n if(v == 0) p = i+1;\n }\n sc.close();\n System.out.println(p);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int p = 0;\n for(int i = 0; i < 5; i++) {\n int v = sc.nextInt();\n if(v == 0) p = i+1;\n }\n sc.close();\n System.out.println(p);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int p = 0;\n for(int i = 0; i < 5; i++) {\n int v = sc.nextInt();\n if(v == 0) p = i+1;\n }\n sc.close();\n System.out.println(p);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int p = 0;",
"p",
"0",
"for(int i = 0; i < 5; i++) {\n int v = sc.nextInt();\n if(v == 0) p = i+1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int v = sc.nextInt();\n if(v == 0) p = i+1;\n }",
"{\n int v = sc.nextInt();\n if(v == 0) p = i+1;\n }",
"int v = sc.nextInt();",
"v",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(v == 0) p = i+1;",
"v == 0",
"v",
"0",
"p = i+1",
"p",
"i+1",
"i",
"1",
"sc.close()",
"sc.close",
"sc",
"System.out.println(p)",
"System.out.println",
"System.out",
"System",
"System.out",
"p",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int p = 0;
for(int i = 0; i < 5; i++) {
int v = sc.nextInt();
if(v == 0) p = i+1;
}
sc.close();
System.out.println(p);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
2,
2,
2,
2,
13,
13,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
44,
52
],
[
6,
53
],
[
53,
54
]
]
| [
"import java.util.*;\nclass Main{\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int x1=sc.nextInt();\n int x2=sc.nextInt();\n int x3=sc.nextInt();\n int x4=sc.nextInt();\n int x5=sc.nextInt();\n System.out.println(15-(x1+x2+x3+x4+x5));\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 int x1=sc.nextInt();\n int x2=sc.nextInt();\n int x3=sc.nextInt();\n int x4=sc.nextInt();\n int x5=sc.nextInt();\n System.out.println(15-(x1+x2+x3+x4+x5));\n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int x1=sc.nextInt();\n int x2=sc.nextInt();\n int x3=sc.nextInt();\n int x4=sc.nextInt();\n int x5=sc.nextInt();\n System.out.println(15-(x1+x2+x3+x4+x5));\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n int x1=sc.nextInt();\n int x2=sc.nextInt();\n int x3=sc.nextInt();\n int x4=sc.nextInt();\n int x5=sc.nextInt();\n System.out.println(15-(x1+x2+x3+x4+x5));\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x1=sc.nextInt();",
"x1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x2=sc.nextInt();",
"x2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x3=sc.nextInt();",
"x3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x4=sc.nextInt();",
"x4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x5=sc.nextInt();",
"x5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(15-(x1+x2+x3+x4+x5))",
"System.out.println",
"System.out",
"System",
"System.out",
"15-(x1+x2+x3+x4+x5)",
"15",
"(x1+x2+x3+x4+x5)",
"x4",
"x3",
"x1+x2+x3+x4+x5",
"x1",
"x2",
"x3",
"x4",
"x5",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int x1=sc.nextInt();
int x2=sc.nextInt();
int x3=sc.nextInt();
int x4=sc.nextInt();
int x5=sc.nextInt();
System.out.println(15-(x1+x2+x3+x4+x5));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 1;\n for (int i = 0; i < 5; i++) {\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 1;\n for (int i = 0; i < 5; i++) {\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 1;\n for (int i = 0; i < 5; i++) {\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int ans = 1;\n for (int i = 0; i < 5; i++) {\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int ans = 1;",
"ans",
"1",
"for (int i = 0; i < 5; i++) {\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }",
"{\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 0) {\n ans += i;\n }",
"x == 0",
"x",
"0",
"{\n ans += i;\n }",
"ans += i",
"ans",
"i",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 1;\n for (int i = 0; i < 5; i++) {\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int ans = 1;\n for (int i = 0; i < 5; i++) {\n int x = sc.nextInt();\n if (x == 0) {\n ans += i;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int ans = 1;
for (int i = 0; i < 5; i++) {
int x = sc.nextInt();
if (x == 0) {
ans += i;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
32,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
37,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tfor (int i = 0; i < x.length; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tfor (int i = 0; i < x.length; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tfor (int i = 0; i < x.length; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tfor (int i = 0; i < x.length; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x = new int[5];",
"x",
"new int[5]",
"5",
"for (int i = 0; i < x.length; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"sc.nextInt() == 0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"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[] x = new int[5];\n\t\tfor (int i = 0; i < x.length; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[5];\n\t\tfor (int i = 0; i < x.length; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] x = new int[5];
for (int i = 0; i < x.length; i++) {
if(sc.nextInt() == 0) {
System.out.println(i + 1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
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,
4,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
0,
13,
17,
3,
14,
13,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
89,
8
],
[
89,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
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
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
11,
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
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
11,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
9,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] a = new int[5];\n for (int i = 0; i < 5; i++) {\n a[i] = scan.nextInt();\n }\n\n Arrays.sort(a);\n boolean s = true;\n for (int i = 0; i < a.length; i++) {\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }\n\n if(s) System.out.println(5);\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"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[] a = new int[5];\n for (int i = 0; i < 5; i++) {\n a[i] = scan.nextInt();\n }\n\n Arrays.sort(a);\n boolean s = true;\n for (int i = 0; i < a.length; i++) {\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }\n\n if(s) System.out.println(5);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] a = new int[5];\n for (int i = 0; i < 5; i++) {\n a[i] = scan.nextInt();\n }\n\n Arrays.sort(a);\n boolean s = true;\n for (int i = 0; i < a.length; i++) {\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }\n\n if(s) System.out.println(5);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int[] a = new int[5];\n for (int i = 0; i < 5; i++) {\n a[i] = scan.nextInt();\n }\n\n Arrays.sort(a);\n boolean s = true;\n for (int i = 0; i < a.length; i++) {\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }\n\n if(s) System.out.println(5);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] a = new int[5];",
"a",
"new int[5]",
"5",
"for (int i = 0; i < 5; i++) {\n a[i] = scan.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n a[i] = scan.nextInt();\n }",
"{\n a[i] = scan.nextInt();\n }",
"a[i] = scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"boolean s = true;",
"s",
"true",
"for (int i = 0; i < a.length; i++) {\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }",
"{\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }",
"if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }",
"i != a[i]",
"i",
"a[i]",
"a",
"i",
"{\n System.out.println(i);\n s = false;\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"s = false",
"s",
"false",
"break;",
"if(s) System.out.println(5);",
"s",
"System.out.println(5)",
"System.out.println",
"System.out",
"System",
"System.out",
"5",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] a = new int[5];\n for (int i = 0; i < 5; i++) {\n a[i] = scan.nextInt();\n }\n\n Arrays.sort(a);\n boolean s = true;\n for (int i = 0; i < a.length; i++) {\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }\n\n if(s) System.out.println(5);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int[] a = new int[5];\n for (int i = 0; i < 5; i++) {\n a[i] = scan.nextInt();\n }\n\n Arrays.sort(a);\n boolean s = true;\n for (int i = 0; i < a.length; i++) {\n if(i != a[i]){\n System.out.println(i);\n s = false;\n break;\n }\n }\n\n if(s) System.out.println(5);\n }\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int[] a = new int[5];
for (int i = 0; i < 5; i++) {
a[i] = scan.nextInt();
}
Arrays.sort(a);
boolean s = true;
for (int i = 0; i < a.length; i++) {
if(i != a[i]){
System.out.println(i);
s = false;
break;
}
}
if(s) System.out.println(5);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
37,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = 5;\n\n for (int i = 0; i < N; i++) {\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = 5;\n\n for (int i = 0; i < N; i++) {\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }\n}",
"Main",
"public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = 5;\n\n for (int i = 0; i < N; i++) {\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int N = 5;\n\n for (int i = 0; i < N; i++) {\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int N = 5;",
"N",
"5",
"for (int i = 0; i < N; i++) {\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\n }\n }",
"{\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\n }\n }",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (x == 0) {\n System.out.println(i + 1);\n return;\n }",
"x == 0",
"x",
"0",
"{\n System.out.println(i + 1);\n return;\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"return;",
"String... args",
"args",
"public class Main {\n public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = 5;\n\n for (int i = 0; i < N; i++) {\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }\n}",
"public class Main {\n public static void main(String... args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = 5;\n\n for (int i = 0; i < N; i++) {\n int x = scanner.nextInt();\n if (x == 0) {\n System.out.println(i + 1);\n return;\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 N = 5;
for (int i = 0; i < N; i++) {
int x = scanner.nextInt();
if (x == 0) {
System.out.println(i + 1);
return;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
28,
13,
13,
30,
30,
0,
13,
17,
14,
4,
18,
17,
13,
3,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
59,
11
],
[
59,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
12,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.PrintWriter;\n\npublic class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n\n String[] input_array = br.readLine().split(\" \");\n int result = 0;\n\n for(String str : input_array) {\n result += 1;\n if(\"0\".equals(str)) break;\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n\n String[] input_array = br.readLine().split(\" \");\n int result = 0;\n\n for(String str : input_array) {\n result += 1;\n if(\"0\".equals(str)) break;\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n\n String[] input_array = br.readLine().split(\" \");\n int result = 0;\n\n for(String str : input_array) {\n result += 1;\n if(\"0\".equals(str)) break;\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n\n String[] input_array = br.readLine().split(\" \");\n int result = 0;\n\n for(String str : input_array) {\n result += 1;\n if(\"0\".equals(str)) break;\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }",
"BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));",
"br",
"new BufferedReader(new java.io.InputStreamReader(System.in))",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"String[] input_array = br.readLine().split(\" \");",
"input_array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int result = 0;",
"result",
"0",
"for(String str : input_array) {\n result += 1;\n if(\"0\".equals(str)) break;\n }",
"String str",
"input_array",
"{\n result += 1;\n if(\"0\".equals(str)) break;\n }",
"{\n result += 1;\n if(\"0\".equals(str)) break;\n }",
"result += 1",
"result",
"1",
"if(\"0\".equals(str)) break;",
"\"0\".equals(str)",
"\"0\".equals",
"\"0\"",
"str",
"break;",
"pw.println(result)",
"pw.println",
"pw",
"result",
"br.close()",
"br.close",
"br",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n\n String[] input_array = br.readLine().split(\" \");\n int result = 0;\n\n for(String str : input_array) {\n result += 1;\n if(\"0\".equals(str)) break;\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n\n String[] input_array = br.readLine().split(\" \");\n int result = 0;\n\n for(String str : input_array) {\n result += 1;\n if(\"0\".equals(str)) break;\n }\n\n pw.println(result);\n br.close();\n pw.close();\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));
PrintWriter pw = new PrintWriter(System.out);
String[] input_array = br.readLine().split(" ");
int result = 0;
for(String str : input_array) {
result += 1;
if("0".equals(str)) break;
}
pw.println(result);
br.close();
pw.close();
}
} |
[
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,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
31,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"sc.nextInt() == 0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.print(i + 1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() == 0) {\n\t\t\t\tSystem.out.print(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int i = 0; i < 5; i++) {
if (sc.nextInt() == 0) {
System.out.print(i + 1);
break;
}
}
sc.close();
}
}
|
[
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,
13,
30,
4,
18,
18,
13,
13,
13,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
]
| [
"import java.util.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n \n for (int i = 1; i <= 5; i++) {\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n \n for (int i = 1; i <= 5; i++) {\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n \n for (int i = 1; i <= 5; i++) {\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }\n }",
"main",
"{\n \n Scanner scan = new Scanner(System.in);\n \n for (int i = 1; i <= 5; i++) {\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int i = 1; i <= 5; i++) {\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }",
"{\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }",
"int A_i = scan.nextInt();",
"A_i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (A_i != i) {\n System.out.println(i);\n return;\n }",
"A_i != i",
"A_i",
"i",
"{\n System.out.println(i);\n return;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"return;",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n \n for (int i = 1; i <= 5; i++) {\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n \n for (int i = 1; i <= 5; i++) {\n int A_i = scan.nextInt();\n if (A_i != i) {\n System.out.println(i);\n return;\n }\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for (int i = 1; i <= 5; i++) {
int A_i = scan.nextInt();
if (A_i != i) {
System.out.println(i);
return;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
13,
13,
41,
13,
4,
18,
13,
4,
13,
13,
41,
13,
4,
18,
13,
4,
13,
13,
41,
13,
4,
18,
13,
4,
13,
13,
41,
13,
4,
18,
13,
4,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
4,
18,
13,
17,
40,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
336,
11
],
[
336,
12
],
[
12,
13
],
[
12,
14
],
[
336,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
17,
42
],
[
42,
43
],
[
42,
44
],
[
17,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
17,
50
],
[
50,
51
],
[
50,
52
],
[
17,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
17,
58
],
[
58,
59
],
[
58,
60
],
[
15,
61
],
[
61,
62
],
[
336,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
65,
81
],
[
81,
82
],
[
63,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
85,
92
],
[
92,
93
],
[
92,
94
],
[
85,
96
],
[
96,
97
],
[
96,
98
],
[
85,
99
],
[
99,
100
],
[
99,
101
],
[
85,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
105,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
116,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
112,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
135,
136
],
[
104,
137
],
[
137,
138
],
[
85,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
142,
150
],
[
150,
151
],
[
151,
152
],
[
85,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
161,
163
],
[
153,
164
],
[
164,
165
],
[
85,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
176,
178
],
[
169,
179
],
[
179,
180
],
[
168,
181
],
[
181,
182
],
[
182,
183
],
[
85,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
187,
191
],
[
191,
192
],
[
186,
193
],
[
193,
194
],
[
193,
195
],
[
186,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
186,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
204,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
186,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
85,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
220,
224
],
[
224,
225
],
[
219,
226
],
[
226,
227
],
[
226,
228
],
[
219,
229
],
[
229,
230
],
[
229,
231
],
[
219,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
219,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
236,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
219,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
253,
254
],
[
253,
255
],
[
248,
256
],
[
256,
257
],
[
257,
258
],
[
219,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
267,
269
],
[
262,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
276,
278
],
[
262,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
280,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
279,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
291,
295
],
[
279,
296
],
[
296,
297
],
[
297,
298
],
[
261,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
85,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
305,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
314,
316
],
[
311,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
319,
321
],
[
310,
322
],
[
322,
323
],
[
305,
324
],
[
324,
325
],
[
85,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
330,
333
],
[
333,
334
],
[
0,
335
],
[
335,
336
],
[
335,
337
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n static int count = 1;\n\n public static void main(String[] args) {\n FastScanner scanner = new FastScanner();\n int x1 = scanner.nextInt();\n print(x1);\n int x2 = scanner.nextInt();\n print(x2);\n int x3 = scanner.nextInt();\n print(x3);\n int x4 = scanner.nextInt();\n print(x4);\n int x5 = scanner.nextInt();\n print(x5);\n }\n\n private static void print(int number) {\n if(number == 0) {\n System.out.println(count);\n System.exit(0);\n }\n count++;\n }\n\n}\n\nclass FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n static int count = 1;\n\n public static void main(String[] args) {\n FastScanner scanner = new FastScanner();\n int x1 = scanner.nextInt();\n print(x1);\n int x2 = scanner.nextInt();\n print(x2);\n int x3 = scanner.nextInt();\n print(x3);\n int x4 = scanner.nextInt();\n print(x4);\n int x5 = scanner.nextInt();\n print(x5);\n }\n\n private static void print(int number) {\n if(number == 0) {\n System.out.println(count);\n System.exit(0);\n }\n count++;\n }\n\n}",
"Main",
"static int count = 1;",
"count",
"1",
"public static void main(String[] args) {\n FastScanner scanner = new FastScanner();\n int x1 = scanner.nextInt();\n print(x1);\n int x2 = scanner.nextInt();\n print(x2);\n int x3 = scanner.nextInt();\n print(x3);\n int x4 = scanner.nextInt();\n print(x4);\n int x5 = scanner.nextInt();\n print(x5);\n }",
"main",
"{\n FastScanner scanner = new FastScanner();\n int x1 = scanner.nextInt();\n print(x1);\n int x2 = scanner.nextInt();\n print(x2);\n int x3 = scanner.nextInt();\n print(x3);\n int x4 = scanner.nextInt();\n print(x4);\n int x5 = scanner.nextInt();\n print(x5);\n }",
"FastScanner scanner = new FastScanner();",
"scanner",
"new FastScanner()",
"int x1 = scanner.nextInt();",
"x1",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"print(x1)",
"print",
"x1",
"int x2 = scanner.nextInt();",
"x2",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"print(x2)",
"print",
"x2",
"int x3 = scanner.nextInt();",
"x3",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"print(x3)",
"print",
"x3",
"int x4 = scanner.nextInt();",
"x4",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"print(x4)",
"print",
"x4",
"int x5 = scanner.nextInt();",
"x5",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"print(x5)",
"print",
"x5",
"String[] args",
"args",
"private static void print(int number) {\n if(number == 0) {\n System.out.println(count);\n System.exit(0);\n }\n count++;\n }",
"print",
"{\n if(number == 0) {\n System.out.println(count);\n System.exit(0);\n }\n count++;\n }",
"if(number == 0) {\n System.out.println(count);\n System.exit(0);\n }",
"number == 0",
"number",
"0",
"{\n System.out.println(count);\n System.exit(0);\n }",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"System.exit(0)",
"System.exit",
"System",
"0",
"count++",
"count",
"int number",
"number",
"class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"readByte",
"{\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n static int count = 1;\n\n public static void main(String[] args) {\n FastScanner scanner = new FastScanner();\n int x1 = scanner.nextInt();\n print(x1);\n int x2 = scanner.nextInt();\n print(x2);\n int x3 = scanner.nextInt();\n print(x3);\n int x4 = scanner.nextInt();\n print(x4);\n int x5 = scanner.nextInt();\n print(x5);\n }\n\n private static void print(int number) {\n if(number == 0) {\n System.out.println(count);\n System.exit(0);\n }\n count++;\n }\n\n}",
"public class Main {\n static int count = 1;\n\n public static void main(String[] args) {\n FastScanner scanner = new FastScanner();\n int x1 = scanner.nextInt();\n print(x1);\n int x2 = scanner.nextInt();\n print(x2);\n int x3 = scanner.nextInt();\n print(x3);\n int x4 = scanner.nextInt();\n print(x4);\n int x5 = scanner.nextInt();\n print(x5);\n }\n\n private static void print(int number) {\n if(number == 0) {\n System.out.println(count);\n System.exit(0);\n }\n count++;\n }\n\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;
public class Main {
static int count = 1;
public static void main(String[] args) {
FastScanner scanner = new FastScanner();
int x1 = scanner.nextInt();
print(x1);
int x2 = scanner.nextInt();
print(x2);
int x3 = scanner.nextInt();
print(x3);
int x4 = scanner.nextInt();
print(x4);
int x5 = scanner.nextInt();
print(x5);
}
private static void print(int number) {
if(number == 0) {
System.out.println(count);
System.exit(0);
}
count++;
}
}
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[ptr++];
else
return -1;
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr]))
ptr++;
return hasNextByte();
}
public String next() {
if (!hasNext())
throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext())
throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)
throw new NumberFormatException();
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
13,
14,
2,
13,
17,
0,
13,
13,
40,
13,
4,
13,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
13,
4,
18,
13,
14,
40,
13,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
17,
2,
17,
4,
13,
2,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
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
],
[
375,
11
],
[
375,
12
],
[
12,
13
],
[
375,
14
],
[
14,
15
],
[
375,
16
],
[
16,
17
],
[
16,
18
],
[
375,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
25,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
32,
44
],
[
44,
45
],
[
21,
46
],
[
46,
47
],
[
46,
48
],
[
375,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
51,
66
],
[
66,
67
],
[
51,
68
],
[
68,
69
],
[
69,
70
],
[
51,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
80,
84
],
[
79,
85
],
[
51,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
49,
91
],
[
91,
92
],
[
375,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
93,
100
],
[
100,
101
],
[
375,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
102,
109
],
[
109,
110
],
[
375,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
113,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
111,
123
],
[
123,
124
],
[
375,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
375,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
375,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
375,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
375,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
375,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
164,
169
],
[
169,
170
],
[
169,
171
],
[
169,
172
],
[
172,
173
],
[
172,
174
],
[
160,
175
],
[
175,
176
],
[
160,
177
],
[
177,
178
],
[
375,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
183,
188
],
[
188,
189
],
[
188,
190
],
[
188,
191
],
[
191,
192
],
[
191,
193
],
[
179,
194
],
[
194,
195
],
[
179,
196
],
[
196,
197
],
[
375,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
202,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
213,
215
],
[
198,
216
],
[
216,
217
],
[
375,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
225,
230
],
[
230,
231
],
[
230,
232
],
[
225,
233
],
[
233,
234
],
[
234,
235
],
[
225,
236
],
[
237,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
220,
244
],
[
244,
245
],
[
218,
246
],
[
246,
247
],
[
375,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
255,
260
],
[
260,
261
],
[
260,
262
],
[
255,
263
],
[
263,
264
],
[
264,
265
],
[
255,
266
],
[
267,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
272,
273
],
[
250,
274
],
[
274,
275
],
[
248,
276
],
[
276,
277
],
[
375,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
278,
282
],
[
282,
283
],
[
278,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
278,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
290,
296
],
[
296,
297
],
[
278,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
302,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
301,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
311,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
300,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
278,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
330,
333
],
[
333,
334
],
[
278,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
339,
342
],
[
342,
343
],
[
278,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
348,
351
],
[
351,
352
],
[
278,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
355,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
359,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
370,
371
],
[
355,
372
],
[
372,
373
],
[
0,
374
],
[
374,
375
],
[
374,
376
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\npublic class Main\n{ \n public static void process()throws IOException\n {\n int i=1;\n int ans=0;\n while(i<=5)\n {\n int x=ni();\n if(x==0)\n ans=i;\n i++;\n }\n pn(ans);\n } \n \n \n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n\n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n\n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n\n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}\n \n \n \n\n ",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n{ \n public static void process()throws IOException\n {\n int i=1;\n int ans=0;\n while(i<=5)\n {\n int x=ni();\n if(x==0)\n ans=i;\n i++;\n }\n pn(ans);\n } \n \n \n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n\n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n\n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n\n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"Main",
"static AnotherReader sc;",
"sc",
"static PrintWriter out;",
"out",
"static boolean multipleTC=false;",
"multipleTC",
"false",
"public static void process()throws IOException\n {\n int i=1;\n int ans=0;\n while(i<=5)\n {\n int x=ni();\n if(x==0)\n ans=i;\n i++;\n }\n pn(ans);\n }",
"process",
"{\n int i=1;\n int ans=0;\n while(i<=5)\n {\n int x=ni();\n if(x==0)\n ans=i;\n i++;\n }\n pn(ans);\n }",
"int i=1;",
"i",
"1",
"int ans=0;",
"ans",
"0",
"while(i<=5)\n {\n int x=ni();\n if(x==0)\n ans=i;\n i++;\n }",
"i<=5",
"i",
"5",
"{\n int x=ni();\n if(x==0)\n ans=i;\n i++;\n }",
"int x=ni();",
"x",
"ni()",
"ni",
"if(x==0)\n ans=i;",
"x==0",
"x",
"0",
"ans=i",
"ans",
"i",
"i++",
"i",
"pn(ans)",
"pn",
"ans",
"public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n\n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }",
"main",
"{\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n\n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"sc=new AnotherReader()",
"sc",
"new AnotherReader()",
"boolean oj = true;",
"oj",
"true",
"long s = System.currentTimeMillis();",
"s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"process()",
"process",
"out.flush()",
"out.flush",
"out",
"if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");",
"!oj",
"oj",
"System.out.println(System.currentTimeMillis()-s+\"ms\")",
"System.out.println",
"System.out",
"System",
"System.out",
"System.currentTimeMillis()-s+\"ms\"",
"System.currentTimeMillis()-s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"s",
"\"ms\"",
"System.out.close()",
"System.out.close",
"System.out",
"System",
"System.out",
"String[]args",
"args",
"static void pn(Object o){out.println(o);}",
"pn",
"{out.println(o);}",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"static void p(Object o){out.print(o);}",
"p",
"{out.print(o);}",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"static void pni(Object o){out.println(o);System.out.flush();}",
"pni",
"{out.println(o);System.out.flush();}",
"out.println(o)",
"out.println",
"out",
"o",
"System.out.flush()",
"System.out.flush",
"System.out",
"System",
"System.out",
"Object o",
"o",
"static int ni()throws IOException{return sc.nextInt();}",
"ni",
"{return sc.nextInt();}",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"static long nl()throws IOException{return sc.nextLong();}",
"nl",
"{return sc.nextLong();}",
"return sc.nextLong();",
"sc.nextLong()",
"sc.nextLong",
"sc",
"static double nd()throws IOException{return sc.nextDouble();}",
"nd",
"{return sc.nextDouble();}",
"return sc.nextDouble();",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"static String nln()throws IOException{return sc.nextLine();}",
"nln",
"{return sc.nextLine();}",
"return sc.nextLine();",
"sc.nextLine()",
"sc.nextLine",
"sc",
"static String nn()throws IOException{return sc.next();}",
"nn",
"{return sc.next();}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}",
"gcd",
"{return (b==0)?a:gcd(b,a%b);}",
"return (b==0)?a:gcd(b,a%b);",
"(b==0)?a:gcd(b,a%b)",
"(b==0)",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}",
"gcd",
"{return (b==0)?a:gcd(b,a%b);}",
"return (b==0)?a:gcd(b,a%b);",
"(b==0)?a:gcd(b,a%b)",
"(b==0)",
"b",
"0",
"a",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}",
"bit",
"{return (n==0)?0:(1+bit(n&(n-1)));}",
"return (n==0)?0:(1+bit(n&(n-1)));",
"(n==0)?0:(1+bit(n&(n-1)))",
"(n==0)",
"n",
"0",
"0",
"(1+bit(n&(n-1)))",
"1",
"bit(n&(n-1))",
"bit",
"n&(n-1)",
"n",
"(n-1)",
"n",
"1",
"long n",
"n",
"static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}",
"iarr",
"{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}",
"int[]ARR=new int[N];",
"ARR",
"new int[N]",
"N",
"for(int i=0;i<N;i++){ARR[i]=ni();}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{ARR[i]=ni();}",
"{ARR[i]=ni();}",
"ARR[i]=ni()",
"ARR[i]",
"ARR",
"i",
"ni()",
"ni",
"return ARR;",
"ARR",
"int N",
"N",
"static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}",
"larr",
"{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}",
"long[]ARR=new long[N];",
"ARR",
"new long[N]",
"N",
"for(int i=0;i<N;i++){ARR[i]=nl();}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{ARR[i]=nl();}",
"{ARR[i]=nl();}",
"ARR[i]=nl()",
"ARR[i]",
"ARR",
"i",
"nl()",
"nl",
"return ARR;",
"ARR",
"int N",
"N",
" static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}",
"AnotherReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}",
"AnotherReader",
"{\n br=new BufferedReader(new InputStreamReader(System.in));}",
"br=new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}",
"AnotherReader",
"{\n br = new BufferedReader(new FileReader(\"input.txt\"));}",
"br = new BufferedReader(new FileReader(\"input.txt\"))",
"br",
"new BufferedReader(new FileReader(\"input.txt\"))",
"int a",
"a",
"String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); }",
"while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}",
"try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }",
"catch (IOException e){ e.printStackTrace(); }",
"IOException e",
"{ e.printStackTrace(); }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() throws IOException{\n return Integer.parseInt(next());}",
"nextInt",
"{\n return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() throws IOException\n {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble()throws IOException { return Double.parseDouble(next()); }",
"nextDouble",
"{ return Double.parseDouble(next()); }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}",
"nextLine",
"{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}",
"String str = \"\";",
"str",
"\"\"",
"try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();}",
"catch (IOException e){\n e.printStackTrace();}",
"IOException e",
"{\n e.printStackTrace();}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main\n{ \n public static void process()throws IOException\n {\n int i=1;\n int ans=0;\n while(i<=5)\n {\n int x=ni();\n if(x==0)\n ans=i;\n i++;\n }\n pn(ans);\n } \n \n \n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n\n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n\n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n\n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"public class Main\n{ \n public static void process()throws IOException\n {\n int i=1;\n int ans=0;\n while(i<=5)\n {\n int x=ni();\n if(x==0)\n ans=i;\n i++;\n }\n pn(ans);\n } \n \n \n static AnotherReader sc;\n static PrintWriter out;\n public static void main(String[]args)throws IOException\n {\n out = new PrintWriter(System.out);\n sc=new AnotherReader();\n boolean oj = true;\n\n //oj = System.getProperty(\"ONLINE_JUDGE\") != null;\n //if(!oj) sc=new AnotherReader(100);\n\n long s = System.currentTimeMillis();\n //int T=ni(); while(T-->0)\n process();\n out.flush();\n if(!oj)\n System.out.println(System.currentTimeMillis()-s+\"ms\");\n System.out.close(); \n }\n\n static void pn(Object o){out.println(o);}\n static void p(Object o){out.print(o);}\n static void pni(Object o){out.println(o);System.out.flush();}\n static int ni()throws IOException{return sc.nextInt();}\n static long nl()throws IOException{return sc.nextLong();}\n static double nd()throws IOException{return sc.nextDouble();}\n static String nln()throws IOException{return sc.nextLine();}\n static String nn()throws IOException{return sc.next();}\n static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}\n static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}\n static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}\n static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}\n static boolean multipleTC=false;\n\n/////////////////////////////////////////////////////////////////////////////////////////////////////////\n static class AnotherReader{BufferedReader br; StringTokenizer st;\n AnotherReader()throws FileNotFoundException{\n br=new BufferedReader(new InputStreamReader(System.in));}\n AnotherReader(int a)throws FileNotFoundException{\n br = new BufferedReader(new FileReader(\"input.txt\"));}\n String next()throws IOException{\n while (st == null || !st.hasMoreElements()) {try{\n st = new StringTokenizer(br.readLine());}\n catch (IOException e){ e.printStackTrace(); }}\n return st.nextToken(); } int nextInt() throws IOException{\n return Integer.parseInt(next());}\n long nextLong() throws IOException\n {return Long.parseLong(next());}\n double nextDouble()throws IOException { return Double.parseDouble(next()); }\n String nextLine() throws IOException{ String str = \"\"; try{\n str = br.readLine();} catch (IOException e){\n e.printStackTrace();} return str;}}\n \n/////////////////////////////////////////////////////////////////////////////////////////////////////////////\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
import java.math.*;
public class Main
{
public static void process()throws IOException
{
int i=1;
int ans=0;
while(i<=5)
{
int x=ni();
if(x==0)
ans=i;
i++;
}
pn(ans);
}
static AnotherReader sc;
static PrintWriter out;
public static void main(String[]args)throws IOException
{
out = new PrintWriter(System.out);
sc=new AnotherReader();
boolean oj = true;
//oj = System.getProperty("ONLINE_JUDGE") != null;
//if(!oj) sc=new AnotherReader(100);
long s = System.currentTimeMillis();
//int T=ni(); while(T-->0)
process();
out.flush();
if(!oj)
System.out.println(System.currentTimeMillis()-s+"ms");
System.out.close();
}
static void pn(Object o){out.println(o);}
static void p(Object o){out.print(o);}
static void pni(Object o){out.println(o);System.out.flush();}
static int ni()throws IOException{return sc.nextInt();}
static long nl()throws IOException{return sc.nextLong();}
static double nd()throws IOException{return sc.nextDouble();}
static String nln()throws IOException{return sc.nextLine();}
static String nn()throws IOException{return sc.next();}
static long gcd(long a, long b)throws IOException{return (b==0)?a:gcd(b,a%b);}
static int gcd(int a, int b)throws IOException{return (b==0)?a:gcd(b,a%b);}
static int bit(long n)throws IOException{return (n==0)?0:(1+bit(n&(n-1)));}
static int[] iarr(int N)throws IOException{int[]ARR=new int[N];for(int i=0;i<N;i++){ARR[i]=ni();}return ARR;}
static long[] larr(int N)throws IOException{long[]ARR=new long[N];for(int i=0;i<N;i++){ARR[i]=nl();}return ARR;}
static boolean multipleTC=false;
/////////////////////////////////////////////////////////////////////////////////////////////////////////
static class AnotherReader{BufferedReader br; StringTokenizer st;
AnotherReader()throws FileNotFoundException{
br=new BufferedReader(new InputStreamReader(System.in));}
AnotherReader(int a)throws FileNotFoundException{
br = new BufferedReader(new FileReader("input.txt"));}
String next()throws IOException{
while (st == null || !st.hasMoreElements()) {try{
st = new StringTokenizer(br.readLine());}
catch (IOException e){ e.printStackTrace(); }}
return st.nextToken(); } int nextInt() throws IOException{
return Integer.parseInt(next());}
long nextLong() throws IOException
{return Long.parseLong(next());}
double nextDouble()throws IOException { return Double.parseDouble(next()); }
String nextLine() throws IOException{ String str = ""; try{
str = br.readLine();} catch (IOException e){
e.printStackTrace();} return str;}}
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
}
|
[
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,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
31,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i = 1;i <= 5;i++){\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i = 1;i <= 5;i++){\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i = 1;i <= 5;i++){\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n for(int i = 1;i <= 5;i++){\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i = 1;i <= 5;i++){\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }",
"{\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }",
"if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }",
"scan.nextInt() == 0",
"scan.nextInt()",
"scan.nextInt",
"scan",
"0",
"{\n System.out.println(i);\n return;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"return;",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i = 1;i <= 5;i++){\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }\n }\n}",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i = 1;i <= 5;i++){\n if(scan.nextInt() == 0){\n System.out.println(i);\n return;\n }\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
for(int i = 1;i <= 5;i++){
if(scan.nextInt() == 0){
System.out.println(i);
return;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
39,
13,
13,
13,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
78,
5
],
[
78,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
39,
43
],
[
39,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tint x[] = {x1, x2, x3, x4, x5};\n\t\tfor(int i=0; i < x.length; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\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\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tint x[] = {x1, x2, x3, x4, x5};\n\t\tfor(int i=0; i < x.length; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tint x[] = {x1, x2, x3, x4, x5};\n\t\tfor(int i=0; i < x.length; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tint x[] = {x1, x2, x3, x4, x5};\n\t\tfor(int i=0; i < x.length; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x1 = sc.nextInt();",
"x1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x2 = sc.nextInt();",
"x2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x3 = sc.nextInt();",
"x3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x4 = sc.nextInt();",
"x4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x5 = sc.nextInt();",
"x5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x[] = {x1, x2, x3, x4, x5};",
"x",
"{x1, x2, x3, x4, x5}",
"x1",
"x2",
"x3",
"x4",
"x5",
"for(int i=0; i < x.length; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}\n\t\t}",
"if(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t}",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tint x[] = {x1, x2, x3, x4, x5};\n\t\tfor(int i=0; i < x.length; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\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\t\tScanner sc = new Scanner(System.in);\n\t\tint x1 = sc.nextInt();\n\t\tint x2 = sc.nextInt();\n\t\tint x3 = sc.nextInt();\n\t\tint x4 = sc.nextInt();\n\t\tint x5 = sc.nextInt();\n\t\tint x[] = {x1, x2, x3, x4, x5};\n\t\tfor(int i=0; i < x.length; i++) {\n\t\t\tif(x[i] == 0) {\n\t\t\t\tSystem.out.println(i + 1);\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 sc = new Scanner(System.in);
int x1 = sc.nextInt();
int x2 = sc.nextInt();
int x3 = sc.nextInt();
int x4 = sc.nextInt();
int x5 = sc.nextInt();
int x[] = {x1, x2, x3, x4, x5};
for(int i=0; i < x.length; i++) {
if(x[i] == 0) {
System.out.println(i + 1);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
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,
14,
2,
18,
13,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
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
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n\t\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int result = 0;\n\t int[] array = new int[5];\n\t for(int i = 0; i<5; i++) {\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }\n\n\n\n\n\n\t System.out.println(result);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\t\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int result = 0;\n\t int[] array = new int[5];\n\t for(int i = 0; i<5; i++) {\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }\n\n\n\n\n\n\t System.out.println(result);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int result = 0;\n\t int[] array = new int[5];\n\t for(int i = 0; i<5; i++) {\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }\n\n\n\n\n\n\t System.out.println(result);\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n\t int result = 0;\n\t int[] array = new int[5];\n\t for(int i = 0; i<5; i++) {\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }\n\n\n\n\n\n\t System.out.println(result);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int result = 0;",
"result",
"0",
"int[] array = new int[5];",
"array",
"new int[5]",
"5",
"for(int i = 0; i<5; i++) {\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }",
"{\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(array[i]==0) result = i+1;",
"array[i]==0",
"array[i]",
"array",
"i",
"0",
"result = i+1",
"result",
"i+1",
"i",
"1",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n\t\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int result = 0;\n\t int[] array = new int[5];\n\t for(int i = 0; i<5; i++) {\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }\n\n\n\n\n\n\t System.out.println(result);\n\t}\n}",
"public class Main {\n\n\t\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int result = 0;\n\t int[] array = new int[5];\n\t for(int i = 0; i<5; i++) {\n\t \tarray[i] = sc.nextInt();\n\t if(array[i]==0) result = i+1;\n\n\t }\n\n\n\n\n\n\t System.out.println(result);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int result = 0;
int[] array = new int[5];
for(int i = 0; i<5; i++) {
array[i] = sc.nextInt();
if(array[i]==0) result = i+1;
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
99,
14
],
[
99,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
17,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
76,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
15,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
]
| [
"import java.lang.reflect.Array;\nimport java.util.*;\nimport java.io.*;\nimport java.lang.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if (a == 0)\n System.out.println(\"1\");\n else if (b == 0)\n System.out.println(\"2\");\n else if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");\n\n\n }\n}",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if (a == 0)\n System.out.println(\"1\");\n else if (b == 0)\n System.out.println(\"2\");\n else if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");\n\n\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if (a == 0)\n System.out.println(\"1\");\n else if (b == 0)\n System.out.println(\"2\");\n else if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if (a == 0)\n System.out.println(\"1\");\n else if (b == 0)\n System.out.println(\"2\");\n else if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int e = sc.nextInt();",
"e",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a == 0)\n System.out.println(\"1\");\n else if (b == 0)\n System.out.println(\"2\");\n else if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");",
"a == 0",
"a",
"0",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if (b == 0)\n System.out.println(\"2\");\n else if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");",
"b == 0",
"b",
"0",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");",
"c == 0",
"c",
"0",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");",
"d == 0",
"d",
"0",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"if (e == 0)\n System.out.println(\"5\");",
"e == 0",
"e",
"0",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if (a == 0)\n System.out.println(\"1\");\n else if (b == 0)\n System.out.println(\"2\");\n else if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");\n\n\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int a = sc.nextInt();\n int b = sc.nextInt();\n int c = sc.nextInt();\n int d = sc.nextInt();\n int e = sc.nextInt();\n\n if (a == 0)\n System.out.println(\"1\");\n else if (b == 0)\n System.out.println(\"2\");\n else if (c == 0)\n System.out.println(\"3\");\n else if (d == 0)\n System.out.println(\"4\");\n else if (e == 0)\n System.out.println(\"5\");\n\n\n }\n}",
"Main"
]
| import java.lang.reflect.Array;
import java.util.*;
import java.io.*;
import java.lang.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
int d = sc.nextInt();
int e = sc.nextInt();
if (a == 0)
System.out.println("1");
else if (b == 0)
System.out.println("2");
else if (c == 0)
System.out.println("3");
else if (d == 0)
System.out.println("4");
else if (e == 0)
System.out.println("5");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n String[] x = input.split(\" \");\n for(int i = 0 ; i < x.length ; i++){\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n String[] x = input.split(\" \");\n for(int i = 0 ; i < x.length ; i++){\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n String[] x = input.split(\" \");\n for(int i = 0 ; i < x.length ; i++){\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n String[] x = input.split(\" \");\n for(int i = 0 ; i < x.length ; i++){\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"String input = stdIn.nextLine();",
"input",
"stdIn.nextLine()",
"stdIn.nextLine",
"stdIn",
"String[] x = input.split(\" \");",
"x",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"for(int i = 0 ; i < x.length ; i++){\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }",
"{\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }",
"if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }",
"x[i].equals(\"0\")",
"x[i].equals",
"x[i]",
"x",
"i",
"\"0\"",
"{\n System.out.println(i + 1);\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n String[] x = input.split(\" \");\n for(int i = 0 ; i < x.length ; i++){\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String input = stdIn.nextLine();\n String[] x = input.split(\" \");\n for(int i = 0 ; i < x.length ; i++){\n if(x[i].equals(\"0\")){\n System.out.println(i + 1);\n }\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
String input = stdIn.nextLine();
String[] x = input.split(" ");
for(int i = 0 ; i < x.length ; i++){
if(x[i].equals("0")){
System.out.println(i + 1);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
24,
56
],
[
56,
57
]
]
| [
"import java.util.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.HashMap;\nimport java.util.TreeMap;\nimport java.util.ArrayDeque;\nimport java.awt.Point;\n \nclass Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n for(int i=1; i<=5; i++) {\n if(sc.nextInt()==0) {\n System.out.println(i);\n }\n }\n } \n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.TreeMap;",
"TreeMap",
"java.util",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.awt.Point;",
"Point",
"java.awt",
"class Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n for(int i=1; i<=5; i++) {\n if(sc.nextInt()==0) {\n System.out.println(i);\n }\n }\n } \n}",
"Main",
"public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n for(int i=1; i<=5; i++) {\n if(sc.nextInt()==0) {\n System.out.println(i);\n }\n }\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n \n for(int i=1; i<=5; i++) {\n if(sc.nextInt()==0) {\n System.out.println(i);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=1; i<=5; i++) {\n if(sc.nextInt()==0) {\n System.out.println(i);\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(sc.nextInt()==0) {\n System.out.println(i);\n }\n }",
"{\n if(sc.nextInt()==0) {\n System.out.println(i);\n }\n }",
"if(sc.nextInt()==0) {\n System.out.println(i);\n }",
"sc.nextInt()==0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n System.out.println(i);\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args"
]
| import java.util.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.TreeMap;
import java.util.ArrayDeque;
import java.awt.Point;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
for(int i=1; i<=5; i++) {
if(sc.nextInt()==0) {
System.out.println(i);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
83,
11
],
[
83,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
83,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
25,
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
],
[
25,
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
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
72,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int[] A = new int[5];\n for (int i = 0; i < 5; i++) {\n A[i] = scan.nextInt();\n }\n for (int i = 0; i < 5; i++) {\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int[] A = new int[5];\n for (int i = 0; i < 5; i++) {\n A[i] = scan.nextInt();\n }\n for (int i = 0; i < 5; i++) {\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }",
"main",
"{\n Main main = new Main();\n main.solve();\n }",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"String[] args",
"args",
"public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int[] A = new int[5];\n for (int i = 0; i < 5; i++) {\n A[i] = scan.nextInt();\n }\n for (int i = 0; i < 5; i++) {\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }",
"solve",
"{\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int[] A = new int[5];\n for (int i = 0; i < 5; i++) {\n A[i] = scan.nextInt();\n }\n for (int i = 0; i < 5; i++) {\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }",
"Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"int[] A = new int[5];",
"A",
"new int[5]",
"5",
"for (int i = 0; i < 5; i++) {\n A[i] = scan.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n A[i] = scan.nextInt();\n }",
"{\n A[i] = scan.nextInt();\n }",
"A[i] = scan.nextInt()",
"A[i]",
"A",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for (int i = 0; i < 5; i++) {\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }",
"{\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }",
"if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }",
"A[i] == 0",
"A[i]",
"A",
"i",
"0",
"{\n System.out.println(i + 1);\n return;\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"return;",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int[] A = new int[5];\n for (int i = 0; i < 5; i++) {\n A[i] = scan.nextInt();\n }\n for (int i = 0; i < 5; i++) {\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int[] A = new int[5];\n for (int i = 0; i < 5; i++) {\n A[i] = scan.nextInt();\n }\n for (int i = 0; i < 5; i++) {\n if (A[i] == 0) {\n System.out.println(i + 1);\n return;\n }\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solve();
}
public void solve() {
Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int[] A = new int[5];
for (int i = 0; i < 5; i++) {
A[i] = scan.nextInt();
}
for (int i = 0; i < 5; i++) {
if (A[i] == 0) {
System.out.println(i + 1);
return;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
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,
0,
13,
2,
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
],
[
71,
11
],
[
71,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
14,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
12,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a[]=new int[5],p=0;\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tfor(int i=0; i<5; i++) {\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}\n\t\tSystem.out.println(p);\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a[]=new int[5],p=0;\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tfor(int i=0; i<5; i++) {\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}\n\t\tSystem.out.println(p);\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a[]=new int[5],p=0;\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tfor(int i=0; i<5; i++) {\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}\n\t\tSystem.out.println(p);\n\t}",
"main",
"{\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a[]=new int[5],p=0;\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tfor(int i=0; i<5; i++) {\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}\n\t\tSystem.out.println(p);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a[]=new int[5]",
"a",
"new int[5]",
"5",
"p=0;",
"p",
"0",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"for(int i=0; i<5; i++) {\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}",
"{\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}",
"a[i]=Integer.parseInt(st.nextToken())",
"a[i]",
"a",
"i",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(a[i]==0) p=i+1;",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"p=i+1",
"p",
"i+1",
"i",
"1",
"System.out.println(p)",
"System.out.println",
"System.out",
"System",
"System.out",
"p",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a[]=new int[5],p=0;\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tfor(int i=0; i<5; i++) {\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}\n\t\tSystem.out.println(p);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args)throws java.lang.Exception\n {\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a[]=new int[5],p=0;\n\t\tStringTokenizer st = new StringTokenizer(br.readLine());\n\t\tfor(int i=0; i<5; i++) {\n\t\t\ta[i]=Integer.parseInt(st.nextToken());\n\t\t\tif(a[i]==0) p=i+1;\n\t\t}\n\t\tSystem.out.println(p);\n\t}\n\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
public class Main {
public static void main(String[] args)throws java.lang.Exception
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a[]=new int[5],p=0;
StringTokenizer st = new StringTokenizer(br.readLine());
for(int i=0; i<5; i++) {
a[i]=Integer.parseInt(st.nextToken());
if(a[i]==0) p=i+1;
}
System.out.println(p);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
3,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
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
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.Scanner;\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\tint ans = -1;\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}\n}\n\n",
"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\tint ans = -1;\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\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\t\n\t\tint ans = -1;\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint ans = -1;\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int ans = -1;",
"ans",
"-1",
"1",
"for (int i = 1; i <= 5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0",
"x",
"0",
"{\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}",
"ans = i",
"ans",
"i",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint ans = -1;\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\n\t\t\n\t\tsc.close();\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\tint ans = -1;\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\t\n\t\t\tif (x == 0) {\n\t\t\t\tans = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(ans);\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 ans = -1;
for (int i = 1; i <= 5; i++) {
int x = sc.nextInt();
if (x == 0) {
ans = i;
break;
}
}
System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
51,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
77,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
8,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
6,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
]
| [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n\tScanner stdIn = new Scanner(System.in);\n int a[] = new int[5];\n a[0] = stdIn.nextInt();\n a[1] = stdIn.nextInt();\n a[2] = stdIn.nextInt();\n a[3] = stdIn.nextInt();\n a[4] = stdIn.nextInt();\n if (a[0] == 0) {\n System.out.println(\"1\");\n }\n if (a[1] == 0) {\n System.out.println(\"2\");\n }\n if (a[2] == 0) {\n System.out.println(\"3\");\n }\n if (a[3] == 0) {\n System.out.println(\"4\");\n }\n if (a[4] == 0) {\n System.out.println(\"5\");\n }\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 a[] = new int[5];\n a[0] = stdIn.nextInt();\n a[1] = stdIn.nextInt();\n a[2] = stdIn.nextInt();\n a[3] = stdIn.nextInt();\n a[4] = stdIn.nextInt();\n if (a[0] == 0) {\n System.out.println(\"1\");\n }\n if (a[1] == 0) {\n System.out.println(\"2\");\n }\n if (a[2] == 0) {\n System.out.println(\"3\");\n }\n if (a[3] == 0) {\n System.out.println(\"4\");\n }\n if (a[4] == 0) {\n System.out.println(\"5\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner stdIn = new Scanner(System.in);\n int a[] = new int[5];\n a[0] = stdIn.nextInt();\n a[1] = stdIn.nextInt();\n a[2] = stdIn.nextInt();\n a[3] = stdIn.nextInt();\n a[4] = stdIn.nextInt();\n if (a[0] == 0) {\n System.out.println(\"1\");\n }\n if (a[1] == 0) {\n System.out.println(\"2\");\n }\n if (a[2] == 0) {\n System.out.println(\"3\");\n }\n if (a[3] == 0) {\n System.out.println(\"4\");\n }\n if (a[4] == 0) {\n System.out.println(\"5\");\n }\n }",
"main",
"{\n\tScanner stdIn = new Scanner(System.in);\n int a[] = new int[5];\n a[0] = stdIn.nextInt();\n a[1] = stdIn.nextInt();\n a[2] = stdIn.nextInt();\n a[3] = stdIn.nextInt();\n a[4] = stdIn.nextInt();\n if (a[0] == 0) {\n System.out.println(\"1\");\n }\n if (a[1] == 0) {\n System.out.println(\"2\");\n }\n if (a[2] == 0) {\n System.out.println(\"3\");\n }\n if (a[3] == 0) {\n System.out.println(\"4\");\n }\n if (a[4] == 0) {\n System.out.println(\"5\");\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int a[] = new int[5];",
"a",
"new int[5]",
"5",
"a[0] = stdIn.nextInt()",
"a[0]",
"a",
"0",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"a[1] = stdIn.nextInt()",
"a[1]",
"a",
"1",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"a[2] = stdIn.nextInt()",
"a[2]",
"a",
"2",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"a[3] = stdIn.nextInt()",
"a[3]",
"a",
"3",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"a[4] = stdIn.nextInt()",
"a[4]",
"a",
"4",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if (a[0] == 0) {\n System.out.println(\"1\");\n }",
"a[0] == 0",
"a[0]",
"a",
"0",
"0",
"{\n System.out.println(\"1\");\n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if (a[1] == 0) {\n System.out.println(\"2\");\n }",
"a[1] == 0",
"a[1]",
"a",
"1",
"0",
"{\n System.out.println(\"2\");\n }",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if (a[2] == 0) {\n System.out.println(\"3\");\n }",
"a[2] == 0",
"a[2]",
"a",
"2",
"0",
"{\n System.out.println(\"3\");\n }",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if (a[3] == 0) {\n System.out.println(\"4\");\n }",
"a[3] == 0",
"a[3]",
"a",
"3",
"0",
"{\n System.out.println(\"4\");\n }",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"if (a[4] == 0) {\n System.out.println(\"5\");\n }",
"a[4] == 0",
"a[4]",
"a",
"4",
"0",
"{\n System.out.println(\"5\");\n }",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\tScanner stdIn = new Scanner(System.in);\n int a[] = new int[5];\n a[0] = stdIn.nextInt();\n a[1] = stdIn.nextInt();\n a[2] = stdIn.nextInt();\n a[3] = stdIn.nextInt();\n a[4] = stdIn.nextInt();\n if (a[0] == 0) {\n System.out.println(\"1\");\n }\n if (a[1] == 0) {\n System.out.println(\"2\");\n }\n if (a[2] == 0) {\n System.out.println(\"3\");\n }\n if (a[3] == 0) {\n System.out.println(\"4\");\n }\n if (a[4] == 0) {\n System.out.println(\"5\");\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n\tScanner stdIn = new Scanner(System.in);\n int a[] = new int[5];\n a[0] = stdIn.nextInt();\n a[1] = stdIn.nextInt();\n a[2] = stdIn.nextInt();\n a[3] = stdIn.nextInt();\n a[4] = stdIn.nextInt();\n if (a[0] == 0) {\n System.out.println(\"1\");\n }\n if (a[1] == 0) {\n System.out.println(\"2\");\n }\n if (a[2] == 0) {\n System.out.println(\"3\");\n }\n if (a[3] == 0) {\n System.out.println(\"4\");\n }\n if (a[4] == 0) {\n System.out.println(\"5\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
int a[] = new int[5];
a[0] = stdIn.nextInt();
a[1] = stdIn.nextInt();
a[2] = stdIn.nextInt();
a[3] = stdIn.nextInt();
a[4] = stdIn.nextInt();
if (a[0] == 0) {
System.out.println("1");
}
if (a[1] == 0) {
System.out.println("2");
}
if (a[2] == 0) {
System.out.println("3");
}
if (a[3] == 0) {
System.out.println("4");
}
if (a[4] == 0) {
System.out.println("5");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
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
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int result = 1;\n for (result=1; result<=5; result++) {\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }\n System.out.println(result);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int result = 1;\n for (result=1; result<=5; result++) {\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int result = 1;\n for (result=1; result<=5; result++) {\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }\n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int result = 1;\n for (result=1; result<=5; result++) {\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int result = 1;",
"result",
"1",
"for (result=1; result<=5; result++) {\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }",
"result=1;",
"result=1",
"result",
"1",
"result<=5",
"result",
"5",
"result++",
"result++",
"result",
"{\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }",
"{\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }",
"int xi = sc.nextInt();",
"xi",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (xi == 0) {\n break;\n }",
"xi == 0",
"xi",
"0",
"{\n break;\n }",
"break;",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int result = 1;\n for (result=1; result<=5; result++) {\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int result = 1;\n for (result=1; result<=5; result++) {\n int xi = sc.nextInt();\n if (xi == 0) {\n break;\n }\n }\n System.out.println(result);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int result = 1;
for (result=1; result<=5; result++) {
int xi = sc.nextInt();
if (xi == 0) {
break;
}
}
System.out.println(result);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
2,
17,
17,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
29,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
13,
29,
17,
29,
17,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
13,
0,
13,
17,
14,
40,
4,
13,
4,
18,
13,
13,
0,
13,
17,
14,
4,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
13,
13,
38,
5,
13,
30,
29,
17,
30,
29,
4,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
13,
41,
13,
17,
0,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
0,
13,
17,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
2,
17,
2,
17,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
279,
17
],
[
279,
18
],
[
18,
19
],
[
18,
20
],
[
279,
21
],
[
21,
22
],
[
21,
23
],
[
279,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
279,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
42,
54
],
[
54,
55
],
[
31,
56
],
[
56,
57
],
[
29,
58
],
[
58,
59
],
[
29,
60
],
[
60,
61
],
[
279,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
69,
67
],
[
79,
68
],
[
76,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
79,
79
],
[
79,
80
],
[
79,
81
],
[
69,
82
],
[
82,
83
],
[
82,
84
],
[
62,
85
],
[
85,
86
],
[
279,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
89,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
96,
106
],
[
106,
107
],
[
107,
108
],
[
96,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
115,
117
],
[
110,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
118,
126
],
[
126,
127
],
[
126,
128
],
[
110,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
129,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
89,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
87,
155
],
[
155,
156
],
[
87,
157
],
[
157,
158
],
[
279,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
161,
168
],
[
168,
169
],
[
168,
170
],
[
161,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
161,
177
],
[
177,
178
],
[
177,
179
],
[
161,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
180,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
180,
190
],
[
190,
191
],
[
191,
192
],
[
180,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
161,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
159,
202
],
[
202,
203
],
[
279,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
207,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
207,
217
],
[
217,
218
],
[
218,
219
],
[
207,
220
],
[
221,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
223,
228
],
[
222,
229
],
[
229,
230
],
[
206,
231
],
[
231,
232
],
[
204,
233
],
[
233,
234
],
[
279,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
241,
246
],
[
246,
247
],
[
246,
248
],
[
241,
249
],
[
249,
250
],
[
250,
251
],
[
241,
252
],
[
253,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
253,
259
],
[
259,
260
],
[
259,
261
],
[
237,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
262,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
271,
273
],
[
268,
274
],
[
267,
275
],
[
235,
276
],
[
276,
277
],
[
0,
278
],
[
278,
279
],
[
278,
280
]
]
| [
" import java.io.DataInputStream;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.util.*;\n\nimport javax.sound.sampled.ReverbType;\n\npublic class Main {\n\n\t static Scanner scan=new Scanner(System.in);\n\t static int cnt=0;\n\t static int M=(int)1e9+7;\n\tstatic boolean issamedi(int i,int j){\n\t\tif(i>0&&j<0)\n\t\t\treturn false;\n\t\tif(i>0&&j>0&&i>j)\n\t\t\treturn false;\n\t\treturn true;\n\t\t\n\t\t\n\t}\n\n\t\n\t\tstatic boolean isvowel(char c) {\n\t\t\treturn c=='a'||c=='e'||c=='i'||c=='o'||c=='u';\n\t\t\t\n\t\t}\n\t public static int maxVowels(String s, int k) {\n\t int i=0;\n\t ArrayList<Integer>lenghts=new ArrayList<Integer>();\n\t for(int j=0;j<s.length();j++) {\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }\n\t try {\n\t return Collections.max(lenghts);\n\t }\n\t catch (NoSuchElementException e) {\n\t return 0;}\n\t }\n\t\n\t static int convert(int n) {\n\t\t String s=String.valueOf(n);\n\t\t String s1=\"\";\n\t\t s1+=s.charAt(0);\n\t\t int c=0;\n\t\t for(int i=1;i<s.length();i++)\n\t\t s1+='0';\n\t\t return Integer.parseInt(s1);\n\t }\n\t static boolean ispositive(ArrayList<Integer>ar) {\n\t\t for(int i=0;i<ar.size();i++) {\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }\n\t\t return false;\n\t\t \n\t }\n\tpublic static void main(String[] args) throws IOException {\nint sum=0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}\n\t\tSystem.out.println((5*(5+1)/2)-sum);\n\t\t\n\t\t\n }\n\n\n\n\n\t\n\t\n\n\t\n\t\n\n\t\n\n\t\n}",
"import java.io.DataInputStream;",
"DataInputStream",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import javax.sound.sampled.ReverbType;",
"ReverbType",
"javax.sound.sampled",
"public class Main {\n\n\t static Scanner scan=new Scanner(System.in);\n\t static int cnt=0;\n\t static int M=(int)1e9+7;\n\tstatic boolean issamedi(int i,int j){\n\t\tif(i>0&&j<0)\n\t\t\treturn false;\n\t\tif(i>0&&j>0&&i>j)\n\t\t\treturn false;\n\t\treturn true;\n\t\t\n\t\t\n\t}\n\n\t\n\t\tstatic boolean isvowel(char c) {\n\t\t\treturn c=='a'||c=='e'||c=='i'||c=='o'||c=='u';\n\t\t\t\n\t\t}\n\t public static int maxVowels(String s, int k) {\n\t int i=0;\n\t ArrayList<Integer>lenghts=new ArrayList<Integer>();\n\t for(int j=0;j<s.length();j++) {\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }\n\t try {\n\t return Collections.max(lenghts);\n\t }\n\t catch (NoSuchElementException e) {\n\t return 0;}\n\t }\n\t\n\t static int convert(int n) {\n\t\t String s=String.valueOf(n);\n\t\t String s1=\"\";\n\t\t s1+=s.charAt(0);\n\t\t int c=0;\n\t\t for(int i=1;i<s.length();i++)\n\t\t s1+='0';\n\t\t return Integer.parseInt(s1);\n\t }\n\t static boolean ispositive(ArrayList<Integer>ar) {\n\t\t for(int i=0;i<ar.size();i++) {\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }\n\t\t return false;\n\t\t \n\t }\n\tpublic static void main(String[] args) throws IOException {\nint sum=0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}\n\t\tSystem.out.println((5*(5+1)/2)-sum);\n\t\t\n\t\t\n }\n\n\n\n\n\t\n\t\n\n\t\n\t\n\n\t\n\n\t\n}",
"Main",
"static Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"static int cnt=0;",
"cnt",
"0",
"static int M=(int)1e9+7;",
"M",
"(int)1e9+7",
"(int)1e9",
"7",
"static boolean issamedi(int i,int j){\n\t\tif(i>0&&j<0)\n\t\t\treturn false;\n\t\tif(i>0&&j>0&&i>j)\n\t\t\treturn false;\n\t\treturn true;\n\t\t\n\t\t\n\t}",
"issamedi",
"{\n\t\tif(i>0&&j<0)\n\t\t\treturn false;\n\t\tif(i>0&&j>0&&i>j)\n\t\t\treturn false;\n\t\treturn true;\n\t\t\n\t\t\n\t}",
"if(i>0&&j<0)\n\t\t\treturn false;",
"i>0&&j<0",
"i>0",
"i",
"0",
"j<0",
"j",
"0",
"return false;",
"false",
"if(i>0&&j>0&&i>j)\n\t\t\treturn false;",
"i>0&&j>0&&i>j",
"i>0&&j>0&&i>j",
"i>0",
"i",
"0",
"j>0",
"j",
"0",
"i>j",
"i",
"j",
"return false;",
"false",
"return true;",
"true",
"int i",
"i",
"int j",
"j",
"static boolean isvowel(char c) {\n\t\t\treturn c=='a'||c=='e'||c=='i'||c=='o'||c=='u';\n\t\t\t\n\t\t}",
"isvowel",
"{\n\t\t\treturn c=='a'||c=='e'||c=='i'||c=='o'||c=='u';\n\t\t\t\n\t\t}",
"return c=='a'||c=='e'||c=='i'||c=='o'||c=='u';",
"c=='a'||c=='e'||c=='i'||c=='o'||c=='u'",
"c=='o'",
"c=='i'",
"c=='a'||c=='e'||c=='i'||c=='o'||c=='u'",
"c=='a'",
"c",
"'a'",
"c=='e'",
"c",
"'e'",
"c=='i'",
"c",
"'i'",
"c=='o'",
"c",
"'o'",
"c=='u'",
"c",
"'u'",
"char c",
"c",
"public static int maxVowels(String s, int k) {\n\t int i=0;\n\t ArrayList<Integer>lenghts=new ArrayList<Integer>();\n\t for(int j=0;j<s.length();j++) {\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }\n\t try {\n\t return Collections.max(lenghts);\n\t }\n\t catch (NoSuchElementException e) {\n\t return 0;}\n\t }",
"maxVowels",
"{\n\t int i=0;\n\t ArrayList<Integer>lenghts=new ArrayList<Integer>();\n\t for(int j=0;j<s.length();j++) {\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }\n\t try {\n\t return Collections.max(lenghts);\n\t }\n\t catch (NoSuchElementException e) {\n\t return 0;}\n\t }",
"int i=0;",
"i",
"0",
"ArrayList<Integer>lenghts=new ArrayList<Integer>();",
"lenghts",
"new ArrayList<Integer>()",
"for(int j=0;j<s.length();j++) {\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<s.length()",
"j",
"s.length()",
"s.length",
"s",
"j++",
"j++",
"j",
"{\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }",
"{\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }",
"if(i==k)\n\t \t\ti=0;",
"i==k",
"i",
"k",
"i=0",
"i",
"0",
"if(!isvowel(s.charAt(j)))\n\t \t\ti=0;",
"!isvowel(s.charAt(j))",
"isvowel(s.charAt(j))",
"isvowel",
"s.charAt(j)",
"s.charAt",
"s",
"j",
"i=0",
"i",
"0",
"if(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}",
"isvowel(s.charAt(j))",
"isvowel",
"s.charAt(j)",
"s.charAt",
"s",
"j",
"{\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}",
"i++",
"i",
"lenghts.add(i)",
"lenghts.add",
"lenghts",
"i",
"try {\n\t return Collections.max(lenghts);\n\t }\n\t catch (NoSuchElementException e) {\n\t return 0;}",
"catch (NoSuchElementException e) {\n\t return 0;}",
"NoSuchElementException e",
"{\n\t return 0;}",
"return 0;",
"0",
"{\n\t return Collections.max(lenghts);\n\t }",
"return Collections.max(lenghts);",
"Collections.max(lenghts)",
"Collections.max",
"Collections",
"lenghts",
"String s",
"s",
"int k",
"k",
"static int convert(int n) {\n\t\t String s=String.valueOf(n);\n\t\t String s1=\"\";\n\t\t s1+=s.charAt(0);\n\t\t int c=0;\n\t\t for(int i=1;i<s.length();i++)\n\t\t s1+='0';\n\t\t return Integer.parseInt(s1);\n\t }",
"convert",
"{\n\t\t String s=String.valueOf(n);\n\t\t String s1=\"\";\n\t\t s1+=s.charAt(0);\n\t\t int c=0;\n\t\t for(int i=1;i<s.length();i++)\n\t\t s1+='0';\n\t\t return Integer.parseInt(s1);\n\t }",
"String s=String.valueOf(n);",
"s",
"String.valueOf(n)",
"String.valueOf",
"String",
"n",
"String s1=\"\";",
"s1",
"\"\"",
"s1+=s.charAt(0)",
"s1",
"s.charAt(0)",
"s.charAt",
"s",
"0",
"int c=0;",
"c",
"0",
"for(int i=1;i<s.length();i++)\n\t\t s1+='0';",
"int i=1;",
"int i=1;",
"i",
"1",
"i<s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"s1+='0';",
"s1+='0'",
"s1",
"'0'",
"return Integer.parseInt(s1);",
"Integer.parseInt(s1)",
"Integer.parseInt",
"Integer",
"s1",
"int n",
"n",
"static boolean ispositive(ArrayList<Integer>ar) {\n\t\t for(int i=0;i<ar.size();i++) {\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }\n\t\t return false;\n\t\t \n\t }",
"ispositive",
"{\n\t\t for(int i=0;i<ar.size();i++) {\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }\n\t\t return false;\n\t\t \n\t }",
"for(int i=0;i<ar.size();i++) {\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ar.size()",
"i",
"ar.size()",
"ar.size",
"ar",
"i++",
"i++",
"i",
"{\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }",
"{\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }",
"if(ar.get(i)>0)\n\t\t\t\t return true;",
"ar.get(i)>0",
"ar.get(i)",
"ar.get",
"ar",
"i",
"0",
"return true;",
"true",
"return false;",
"false",
"ArrayList<Integer>ar",
"ar",
"public static void main(String[] args) throws IOException {\nint sum=0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}\n\t\tSystem.out.println((5*(5+1)/2)-sum);\n\t\t\n\t\t\n }",
"main",
"{\nint sum=0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}\n\t\tSystem.out.println((5*(5+1)/2)-sum);\n\t\t\n\t\t\n }",
"int sum=0;",
"sum",
"0",
"for(int i=0;i<5;i++) {\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}",
"{\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}",
"int a=scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"sum+=a",
"sum",
"a",
"System.out.println((5*(5+1)/2)-sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"(5*(5+1)/2)-sum",
"(5*(5+1)/2)",
"5*(5+1)",
"5",
"(5+1)",
"5",
"1",
"2",
"sum",
"String[] args",
"args",
"public class Main {\n\n\t static Scanner scan=new Scanner(System.in);\n\t static int cnt=0;\n\t static int M=(int)1e9+7;\n\tstatic boolean issamedi(int i,int j){\n\t\tif(i>0&&j<0)\n\t\t\treturn false;\n\t\tif(i>0&&j>0&&i>j)\n\t\t\treturn false;\n\t\treturn true;\n\t\t\n\t\t\n\t}\n\n\t\n\t\tstatic boolean isvowel(char c) {\n\t\t\treturn c=='a'||c=='e'||c=='i'||c=='o'||c=='u';\n\t\t\t\n\t\t}\n\t public static int maxVowels(String s, int k) {\n\t int i=0;\n\t ArrayList<Integer>lenghts=new ArrayList<Integer>();\n\t for(int j=0;j<s.length();j++) {\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }\n\t try {\n\t return Collections.max(lenghts);\n\t }\n\t catch (NoSuchElementException e) {\n\t return 0;}\n\t }\n\t\n\t static int convert(int n) {\n\t\t String s=String.valueOf(n);\n\t\t String s1=\"\";\n\t\t s1+=s.charAt(0);\n\t\t int c=0;\n\t\t for(int i=1;i<s.length();i++)\n\t\t s1+='0';\n\t\t return Integer.parseInt(s1);\n\t }\n\t static boolean ispositive(ArrayList<Integer>ar) {\n\t\t for(int i=0;i<ar.size();i++) {\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }\n\t\t return false;\n\t\t \n\t }\n\tpublic static void main(String[] args) throws IOException {\nint sum=0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}\n\t\tSystem.out.println((5*(5+1)/2)-sum);\n\t\t\n\t\t\n }\n\n\n\n\n\t\n\t\n\n\t\n\t\n\n\t\n\n\t\n}",
"public class Main {\n\n\t static Scanner scan=new Scanner(System.in);\n\t static int cnt=0;\n\t static int M=(int)1e9+7;\n\tstatic boolean issamedi(int i,int j){\n\t\tif(i>0&&j<0)\n\t\t\treturn false;\n\t\tif(i>0&&j>0&&i>j)\n\t\t\treturn false;\n\t\treturn true;\n\t\t\n\t\t\n\t}\n\n\t\n\t\tstatic boolean isvowel(char c) {\n\t\t\treturn c=='a'||c=='e'||c=='i'||c=='o'||c=='u';\n\t\t\t\n\t\t}\n\t public static int maxVowels(String s, int k) {\n\t int i=0;\n\t ArrayList<Integer>lenghts=new ArrayList<Integer>();\n\t for(int j=0;j<s.length();j++) {\n\t \tif(i==k)\n\t \t\ti=0;\n\t \tif(!isvowel(s.charAt(j)))\n\t \t\ti=0;\n\t \tif(isvowel(s.charAt(j))) {\n\t \t\ti++;\n\t \t\tlenghts.add(i);\n\t \t\t}\n\t \t\n\t }\n\t try {\n\t return Collections.max(lenghts);\n\t }\n\t catch (NoSuchElementException e) {\n\t return 0;}\n\t }\n\t\n\t static int convert(int n) {\n\t\t String s=String.valueOf(n);\n\t\t String s1=\"\";\n\t\t s1+=s.charAt(0);\n\t\t int c=0;\n\t\t for(int i=1;i<s.length();i++)\n\t\t s1+='0';\n\t\t return Integer.parseInt(s1);\n\t }\n\t static boolean ispositive(ArrayList<Integer>ar) {\n\t\t for(int i=0;i<ar.size();i++) {\n\t\t\t if(ar.get(i)>0)\n\t\t\t\t return true;\n\t\t\t }\n\t\t return false;\n\t\t \n\t }\n\tpublic static void main(String[] args) throws IOException {\nint sum=0;\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tint a=scan.nextInt();\n\t\t\tsum+=a;\n\t\t\t\n\t\t}\n\t\tSystem.out.println((5*(5+1)/2)-sum);\n\t\t\n\t\t\n }\n\n\n\n\n\t\n\t\n\n\t\n\t\n\n\t\n\n\t\n}",
"Main"
]
| import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.*;
import javax.sound.sampled.ReverbType;
public class Main {
static Scanner scan=new Scanner(System.in);
static int cnt=0;
static int M=(int)1e9+7;
static boolean issamedi(int i,int j){
if(i>0&&j<0)
return false;
if(i>0&&j>0&&i>j)
return false;
return true;
}
static boolean isvowel(char c) {
return c=='a'||c=='e'||c=='i'||c=='o'||c=='u';
}
public static int maxVowels(String s, int k) {
int i=0;
ArrayList<Integer>lenghts=new ArrayList<Integer>();
for(int j=0;j<s.length();j++) {
if(i==k)
i=0;
if(!isvowel(s.charAt(j)))
i=0;
if(isvowel(s.charAt(j))) {
i++;
lenghts.add(i);
}
}
try {
return Collections.max(lenghts);
}
catch (NoSuchElementException e) {
return 0;}
}
static int convert(int n) {
String s=String.valueOf(n);
String s1="";
s1+=s.charAt(0);
int c=0;
for(int i=1;i<s.length();i++)
s1+='0';
return Integer.parseInt(s1);
}
static boolean ispositive(ArrayList<Integer>ar) {
for(int i=0;i<ar.size();i++) {
if(ar.get(i)>0)
return true;
}
return false;
}
public static void main(String[] args) throws IOException {
int sum=0;
for(int i=0;i<5;i++) {
int a=scan.nextInt();
sum+=a;
}
System.out.println((5*(5+1)/2)-sum);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner userInput = new Scanner(System.in);\n int output = 0;\n for (int i = 0; i < 5; i++) {\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }\n System.out.println(output);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner userInput = new Scanner(System.in);\n int output = 0;\n for (int i = 0; i < 5; i++) {\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }\n System.out.println(output);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner userInput = new Scanner(System.in);\n int output = 0;\n for (int i = 0; i < 5; i++) {\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }\n System.out.println(output);\n }",
"main",
"{\n Scanner userInput = new Scanner(System.in);\n int output = 0;\n for (int i = 0; i < 5; i++) {\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }\n System.out.println(output);\n }",
"Scanner userInput = new Scanner(System.in);",
"userInput",
"new Scanner(System.in)",
"int output = 0;",
"output",
"0",
"for (int i = 0; i < 5; i++) {\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }",
"{\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }",
"int findOutput = userInput.nextInt();",
"findOutput",
"userInput.nextInt()",
"userInput.nextInt",
"userInput",
"if (findOutput == 0) {\n output = i + 1;\n }",
"findOutput == 0",
"findOutput",
"0",
"{\n output = i + 1;\n }",
"output = i + 1",
"output",
"i + 1",
"i",
"1",
"System.out.println(output)",
"System.out.println",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner userInput = new Scanner(System.in);\n int output = 0;\n for (int i = 0; i < 5; i++) {\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }\n System.out.println(output);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner userInput = new Scanner(System.in);\n int output = 0;\n for (int i = 0; i < 5; i++) {\n\n int findOutput = userInput.nextInt();\n if (findOutput == 0) {\n output = i + 1;\n }\n }\n System.out.println(output);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner userInput = new Scanner(System.in);
int output = 0;
for (int i = 0; i < 5; i++) {
int findOutput = userInput.nextInt();
if (findOutput == 0) {
output = i + 1;
}
}
System.out.println(output);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
61,
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
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
9,
47
],
[
47,
48
],
[
61,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
49,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic final long DIVIDE_NUMBER = 1000000007;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint answer = 0;\n\n\t\tfor (int i = 1; i < 6; i++) {\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}\n\n\t\tprintln(answer);\n\t}\n\n\tpublic static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic final long DIVIDE_NUMBER = 1000000007;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint answer = 0;\n\n\t\tfor (int i = 1; i < 6; i++) {\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}\n\n\t\tprintln(answer);\n\t}\n\n\tpublic static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}\n}",
"Main",
"static final long DIVIDE_NUMBER = 1000000007;",
"DIVIDE_NUMBER",
"1000000007",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint answer = 0;\n\n\t\tfor (int i = 1; i < 6; i++) {\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}\n\n\t\tprintln(answer);\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint answer = 0;\n\n\t\tfor (int i = 1; i < 6; i++) {\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}\n\n\t\tprintln(answer);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int answer = 0;",
"answer",
"0",
"for (int i = 1; i < 6; i++) {\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 6",
"i",
"6",
"i++",
"i++",
"i",
"{\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}",
"int target = scan.nextInt();",
"target",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}",
"target == 0",
"target",
"0",
"{\n\n\t\t\t\tanswer = i;\n\t\t\t}",
"answer = i",
"answer",
"i",
"println(answer)",
"println",
"answer",
"String[] args",
"args",
"public static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}",
"println",
"{\n\t\tSystem.out.println(target);\n\t}",
"System.out.println(target)",
"System.out.println",
"System.out",
"System",
"System.out",
"target",
"Object target",
"target",
"public class Main {\n\n\tstatic final long DIVIDE_NUMBER = 1000000007;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint answer = 0;\n\n\t\tfor (int i = 1; i < 6; i++) {\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}\n\n\t\tprintln(answer);\n\t}\n\n\tpublic static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}\n}",
"public class Main {\n\n\tstatic final long DIVIDE_NUMBER = 1000000007;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint answer = 0;\n\n\t\tfor (int i = 1; i < 6; i++) {\n\n\t\t\tint target = scan.nextInt();\n\n\t\t\tif (target == 0) {\n\n\t\t\t\tanswer = i;\n\t\t\t}\n\t\t}\n\n\t\tprintln(answer);\n\t}\n\n\tpublic static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static final long DIVIDE_NUMBER = 1000000007;
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int answer = 0;
for (int i = 1; i < 6; i++) {
int target = scan.nextInt();
if (target == 0) {
answer = i;
}
}
println(answer);
}
public static void println(Object target) {
System.out.println(target);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
4,
18,
18,
13,
13,
40,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
71,
80
],
[
14,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
12,
88
],
[
88,
89
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] s = br.readLine().split(\" \");\n int[] arr = new int[5];\n for(int i=0; i<5; i++)\n arr[i] = Integer.parseInt(s[i]);\n \n for(int i=0; i<5; i++) {\n if(arr[i] == 0) {\n System.out.print(i+1);\n return;\n }\n }\n System.out.print(-1);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] s = br.readLine().split(\" \");\n int[] arr = new int[5];\n for(int i=0; i<5; i++)\n arr[i] = Integer.parseInt(s[i]);\n \n for(int i=0; i<5; i++) {\n if(arr[i] == 0) {\n System.out.print(i+1);\n return;\n }\n }\n System.out.print(-1);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] s = br.readLine().split(\" \");\n int[] arr = new int[5];\n for(int i=0; i<5; i++)\n arr[i] = Integer.parseInt(s[i]);\n \n for(int i=0; i<5; i++) {\n if(arr[i] == 0) {\n System.out.print(i+1);\n return;\n }\n }\n System.out.print(-1);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] s = br.readLine().split(\" \");\n int[] arr = new int[5];\n for(int i=0; i<5; i++)\n arr[i] = Integer.parseInt(s[i]);\n \n for(int i=0; i<5; i++) {\n if(arr[i] == 0) {\n System.out.print(i+1);\n return;\n }\n }\n System.out.print(-1);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] s = br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int[] arr = new int[5];",
"arr",
"new int[5]",
"5",
"for(int i=0; i<5; i++)\n arr[i] = Integer.parseInt(s[i]);",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"arr[i] = Integer.parseInt(s[i]);",
"arr[i] = Integer.parseInt(s[i])",
"arr[i]",
"arr",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"for(int i=0; i<5; i++) {\n if(arr[i] == 0) {\n System.out.print(i+1);\n return;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(arr[i] == 0) {\n System.out.print(i+1);\n return;\n }\n }",
"{\n if(arr[i] == 0) {\n System.out.print(i+1);\n return;\n }\n }",
"if(arr[i] == 0) {\n System.out.print(i+1);\n return;\n }",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\n System.out.print(i+1);\n return;\n }",
"System.out.print(i+1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"return;",
"System.out.print(-1)",
"System.out.print",
"System.out",
"System",
"System.out",
"-1",
"1",
"String[] args",
"args"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] s = br.readLine().split(" ");
int[] arr = new int[5];
for(int i=0; i<5; i++)
arr[i] = Integer.parseInt(s[i]);
for(int i=0; i<5; i++) {
if(arr[i] == 0) {
System.out.print(i+1);
return;
}
}
System.out.print(-1);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
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
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n \n \tInteger result=15;\n \tfor(int i=0;i<5;i++){\n Integer num = scan.nextInt();\n result-=num;\n }\n System.out.println(result);\n }\n}",
"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 \n \tInteger result=15;\n \tfor(int i=0;i<5;i++){\n Integer num = scan.nextInt();\n result-=num;\n }\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n \n \tInteger result=15;\n \tfor(int i=0;i<5;i++){\n Integer num = scan.nextInt();\n result-=num;\n }\n System.out.println(result);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n \n \tInteger result=15;\n \tfor(int i=0;i<5;i++){\n Integer num = scan.nextInt();\n result-=num;\n }\n System.out.println(result);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"Integer result=15;",
"result",
"15",
"for(int i=0;i<5;i++){\n Integer num = scan.nextInt();\n result-=num;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n Integer num = scan.nextInt();\n result-=num;\n }",
"{\n Integer num = scan.nextInt();\n result-=num;\n }",
"Integer num = scan.nextInt();",
"num",
"scan.nextInt()",
"scan.nextInt",
"scan",
"result-=num",
"result",
"num",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n \n \tInteger result=15;\n \tfor(int i=0;i<5;i++){\n Integer num = scan.nextInt();\n result-=num;\n }\n System.out.println(result);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n \n \tInteger result=15;\n \tfor(int i=0;i<5;i++){\n Integer num = scan.nextInt();\n result-=num;\n }\n System.out.println(result);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
Integer result=15;
for(int i=0;i<5;i++){
Integer num = scan.nextInt();
result-=num;
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
30,
0,
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,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
73,
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.util.Scanner;\n\npublic class Main{\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x1 = in.nextInt();\n int x2 = in.nextInt();\n int x3 = in.nextInt();\n int x4 = in.nextInt();\n int x5 = in.nextInt();\n\n int ans = 0;\n if (x1 == 0) {\n ans = 1;\n } else if (x2 == 0) {\n ans = 2;\n } else if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x1 = in.nextInt();\n int x2 = in.nextInt();\n int x3 = in.nextInt();\n int x4 = in.nextInt();\n int x5 = in.nextInt();\n\n int ans = 0;\n if (x1 == 0) {\n ans = 1;\n } else if (x2 == 0) {\n ans = 2;\n } else if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x1 = in.nextInt();\n int x2 = in.nextInt();\n int x3 = in.nextInt();\n int x4 = in.nextInt();\n int x5 = in.nextInt();\n\n int ans = 0;\n if (x1 == 0) {\n ans = 1;\n } else if (x2 == 0) {\n ans = 2;\n } else if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int x1 = in.nextInt();\n int x2 = in.nextInt();\n int x3 = in.nextInt();\n int x4 = in.nextInt();\n int x5 = in.nextInt();\n\n int ans = 0;\n if (x1 == 0) {\n ans = 1;\n } else if (x2 == 0) {\n ans = 2;\n } else if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }\n System.out.println(ans);\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int x1 = in.nextInt();",
"x1",
"in.nextInt()",
"in.nextInt",
"in",
"int x2 = in.nextInt();",
"x2",
"in.nextInt()",
"in.nextInt",
"in",
"int x3 = in.nextInt();",
"x3",
"in.nextInt()",
"in.nextInt",
"in",
"int x4 = in.nextInt();",
"x4",
"in.nextInt()",
"in.nextInt",
"in",
"int x5 = in.nextInt();",
"x5",
"in.nextInt()",
"in.nextInt",
"in",
"int ans = 0;",
"ans",
"0",
"if (x1 == 0) {\n ans = 1;\n } else if (x2 == 0) {\n ans = 2;\n } else if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }",
"x1 == 0",
"x1",
"0",
"{\n ans = 1;\n }",
"ans = 1",
"ans",
"1",
"if (x2 == 0) {\n ans = 2;\n } else if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }",
"x2 == 0",
"x2",
"0",
"{\n ans = 2;\n }",
"ans = 2",
"ans",
"2",
"if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }",
"x3 == 0",
"x3",
"0",
"{\n ans = 3;\n }",
"ans = 3",
"ans",
"3",
"if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }",
"x4 == 0",
"x4",
"0",
"{\n ans = 4;\n }",
"ans = 4",
"ans",
"4",
"{\n ans = 5;\n }",
"ans = 5",
"ans",
"5",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x1 = in.nextInt();\n int x2 = in.nextInt();\n int x3 = in.nextInt();\n int x4 = in.nextInt();\n int x5 = in.nextInt();\n\n int ans = 0;\n if (x1 == 0) {\n ans = 1;\n } else if (x2 == 0) {\n ans = 2;\n } else if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }\n System.out.println(ans);\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x1 = in.nextInt();\n int x2 = in.nextInt();\n int x3 = in.nextInt();\n int x4 = in.nextInt();\n int x5 = in.nextInt();\n\n int ans = 0;\n if (x1 == 0) {\n ans = 1;\n } else if (x2 == 0) {\n ans = 2;\n } else if (x3 == 0) {\n ans = 3;\n } else if (x4 == 0) {\n ans = 4;\n } else {\n ans = 5;\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int x1 = in.nextInt();
int x2 = in.nextInt();
int x3 = in.nextInt();
int x4 = in.nextInt();
int x5 = in.nextInt();
int ans = 0;
if (x1 == 0) {
ans = 1;
} else if (x2 == 0) {
ans = 2;
} else if (x3 == 0) {
ans = 3;
} else if (x4 == 0) {
ans = 4;
} else {
ans = 5;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
]
]
| [
"import java.util.*; \nclass Main \n{\npublic static void main(String []args) \n{\nScanner sc = new Scanner(System.in); \nint x1 = sc.nextInt(); \nint x2 = sc.nextInt(); \nint x3 = sc.nextInt(); \nint x4 = sc.nextInt(); \nint x5 = sc.nextInt(); \n \nif(x1==0) \n{\nSystem.out.println(\"1\");\n} \nelse if(x2==0) \n{\nSystem.out.println(\"2\");\n} \nelse if(x3==0) \n{\nSystem.out.println(\"3\");\n} \nelse if(x4==0) \n{\nSystem.out.println(\"4\");\n} \nelse \n{\nSystem.out.println(\"5\");\n} \n} \n}",
"import java.util.*;",
"util.*",
"java",
"class Main \n{\npublic static void main(String []args) \n{\nScanner sc = new Scanner(System.in); \nint x1 = sc.nextInt(); \nint x2 = sc.nextInt(); \nint x3 = sc.nextInt(); \nint x4 = sc.nextInt(); \nint x5 = sc.nextInt(); \n \nif(x1==0) \n{\nSystem.out.println(\"1\");\n} \nelse if(x2==0) \n{\nSystem.out.println(\"2\");\n} \nelse if(x3==0) \n{\nSystem.out.println(\"3\");\n} \nelse if(x4==0) \n{\nSystem.out.println(\"4\");\n} \nelse \n{\nSystem.out.println(\"5\");\n} \n} \n}",
"Main",
"public static void main(String []args) \n{\nScanner sc = new Scanner(System.in); \nint x1 = sc.nextInt(); \nint x2 = sc.nextInt(); \nint x3 = sc.nextInt(); \nint x4 = sc.nextInt(); \nint x5 = sc.nextInt(); \n \nif(x1==0) \n{\nSystem.out.println(\"1\");\n} \nelse if(x2==0) \n{\nSystem.out.println(\"2\");\n} \nelse if(x3==0) \n{\nSystem.out.println(\"3\");\n} \nelse if(x4==0) \n{\nSystem.out.println(\"4\");\n} \nelse \n{\nSystem.out.println(\"5\");\n} \n}",
"main",
"{\nScanner sc = new Scanner(System.in); \nint x1 = sc.nextInt(); \nint x2 = sc.nextInt(); \nint x3 = sc.nextInt(); \nint x4 = sc.nextInt(); \nint x5 = sc.nextInt(); \n \nif(x1==0) \n{\nSystem.out.println(\"1\");\n} \nelse if(x2==0) \n{\nSystem.out.println(\"2\");\n} \nelse if(x3==0) \n{\nSystem.out.println(\"3\");\n} \nelse if(x4==0) \n{\nSystem.out.println(\"4\");\n} \nelse \n{\nSystem.out.println(\"5\");\n} \n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x1 = sc.nextInt();",
"x1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x2 = sc.nextInt();",
"x2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x3 = sc.nextInt();",
"x3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x4 = sc.nextInt();",
"x4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x5 = sc.nextInt();",
"x5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x1==0) \n{\nSystem.out.println(\"1\");\n} \nelse if(x2==0) \n{\nSystem.out.println(\"2\");\n} \nelse if(x3==0) \n{\nSystem.out.println(\"3\");\n} \nelse if(x4==0) \n{\nSystem.out.println(\"4\");\n} \nelse \n{\nSystem.out.println(\"5\");\n}",
"x1==0",
"x1",
"0",
"{\nSystem.out.println(\"1\");\n}",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if(x2==0) \n{\nSystem.out.println(\"2\");\n} \nelse if(x3==0) \n{\nSystem.out.println(\"3\");\n} \nelse if(x4==0) \n{\nSystem.out.println(\"4\");\n} \nelse \n{\nSystem.out.println(\"5\");\n}",
"x2==0",
"x2",
"0",
"{\nSystem.out.println(\"2\");\n}",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if(x3==0) \n{\nSystem.out.println(\"3\");\n} \nelse if(x4==0) \n{\nSystem.out.println(\"4\");\n} \nelse \n{\nSystem.out.println(\"5\");\n}",
"x3==0",
"x3",
"0",
"{\nSystem.out.println(\"3\");\n}",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if(x4==0) \n{\nSystem.out.println(\"4\");\n} \nelse \n{\nSystem.out.println(\"5\");\n}",
"x4==0",
"x4",
"0",
"{\nSystem.out.println(\"4\");\n}",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"{\nSystem.out.println(\"5\");\n}",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"String []args",
"args"
]
| import java.util.*;
class Main
{
public static void main(String []args)
{
Scanner sc = new Scanner(System.in);
int x1 = sc.nextInt();
int x2 = sc.nextInt();
int x3 = sc.nextInt();
int x4 = sc.nextInt();
int x5 = sc.nextInt();
if(x1==0)
{
System.out.println("1");
}
else if(x2==0)
{
System.out.println("2");
}
else if(x3==0)
{
System.out.println("3");
}
else if(x4==0)
{
System.out.println("4");
}
else
{
System.out.println("5");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
36,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
36,
29,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
445,
8
],
[
445,
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
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
9,
47
],
[
47,
48
],
[
445,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
49,
57
],
[
57,
58
],
[
49,
59
],
[
59,
60
],
[
49,
61
],
[
61,
62
],
[
49,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
63,
71
],
[
71,
72
],
[
49,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
76,
81
],
[
81,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
87,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
75,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
49,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
118,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
118,
132
],
[
132,
133
],
[
132,
134
],
[
118,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
139,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
118,
148
],
[
148,
149
],
[
148,
150
],
[
118,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
151,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
162,
164
],
[
157,
165
],
[
165,
166
],
[
156,
167
],
[
167,
168
],
[
167,
169
],
[
156,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
172,
174
],
[
156,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
118,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
49,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
185,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
185,
199
],
[
199,
200
],
[
199,
201
],
[
185,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
206,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
185,
215
],
[
215,
216
],
[
215,
217
],
[
185,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
218,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
229,
231
],
[
224,
232
],
[
232,
233
],
[
223,
234
],
[
234,
235
],
[
234,
236
],
[
223,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
223,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
185,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
49,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
257,
262
],
[
262,
263
],
[
262,
264
],
[
257,
265
],
[
265,
266
],
[
266,
267
],
[
257,
268
],
[
269,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
275,
276
],
[
252,
277
],
[
277,
278
],
[
250,
279
],
[
279,
280
],
[
49,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
283,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
288,
293
],
[
293,
294
],
[
293,
295
],
[
288,
296
],
[
296,
297
],
[
297,
298
],
[
288,
299
],
[
300,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
305,
306
],
[
306,
307
],
[
283,
308
],
[
308,
309
],
[
281,
310
],
[
310,
311
],
[
49,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
314,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
314,
328
],
[
328,
329
],
[
328,
330
],
[
314,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
331,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
337,
340
],
[
336,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
314,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
49,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
351,
356
],
[
356,
357
],
[
357,
358
],
[
357,
359
],
[
356,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
351,
364
],
[
364,
365
],
[
364,
366
],
[
351,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
367,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
373,
376
],
[
372,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
351,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
49,
385
],
[
385,
386
],
[
385,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
393,
396
],
[
387,
397
],
[
397,
398
],
[
401,
399
],
[
411,
400
],
[
408,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
401,
405
],
[
405,
406
],
[
405,
407
],
[
408,
408
],
[
408,
409
],
[
408,
410
],
[
411,
411
],
[
411,
412
],
[
411,
413
],
[
401,
414
],
[
414,
415
],
[
414,
416
],
[
416,
417
],
[
385,
418
],
[
418,
419
],
[
49,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
423,
424
],
[
425,
425
],
[
425,
426
],
[
426,
427
],
[
426,
428
],
[
425,
429
],
[
429,
430
],
[
429,
431
],
[
425,
432
],
[
432,
433
],
[
432,
434
],
[
434,
435
],
[
420,
436
],
[
436,
437
],
[
49,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
0,
444
],
[
444,
445
],
[
444,
446
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n for (int i = 1; i <= 5; ++i) {\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n for (int i = 1; i <= 5; ++i) {\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n for (int i = 1; i <= 5; ++i) {\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }\n w.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n for (int i = 1; i <= 5; ++i) {\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }\n w.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"PrintWriter w = new PrintWriter(System.out);",
"w",
"new PrintWriter(System.out)",
"for (int i = 1; i <= 5; ++i) {\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"++i",
"++i",
"i",
"{\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }",
"{\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }",
"int temp = in.nextInt();",
"temp",
"in.nextInt()",
"in.nextInt",
"in",
"if (temp == 0)\n w.println(i);",
"temp == 0",
"temp",
"0",
"w.println(i)",
"w.println",
"w",
"i",
"w.close()",
"w.close",
"w",
"String[] args",
"args",
"static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"private SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"snext",
"{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1)\n throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0)\n return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }",
"int a[] = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = this.nextInt();\n }",
"{\n a[i] = this.nextInt();\n }",
"a[i] = this.nextInt()",
"a[i]",
"a",
"i",
"this.nextInt()",
"this.nextInt",
"this",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }",
"nextLongArray",
"{\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }",
"long a[] = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = this.nextLong();\n }",
"{\n a[i] = this.nextLong();\n }",
"a[i] = this.nextLong()",
"a[i]",
"a",
"i",
"this.nextLong()",
"this.nextLong",
"this",
"return a;",
"a",
"int n",
"n",
"public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c))\n c = snext();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n for (int i = 1; i <= 5; ++i) {\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n for (int i = 1; i <= 5; ++i) {\n int temp = in.nextInt();\n if (temp == 0)\n w.println(i);\n }\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
InputReader in = new InputReader(System.in);
PrintWriter w = new PrintWriter(System.out);
for (int i = 1; i <= 5; ++i) {
int temp = in.nextInt();
if (temp == 0)
w.println(i);
}
w.close();
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
private SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int snext() {
if (snumChars == -1)
throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int a[] = new int[n];
for (int i = 0; i < n; i++) {
a[i] = this.nextInt();
}
return a;
}
public long[] nextLongArray(int n) {
long a[] = new long[n];
for (int i = 0; i < n; i++) {
a[i] = this.nextLong();
}
return a;
}
public String readString() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isSpaceChar(c));
return res.toString();
}
public String nextLine() {
int c = snext();
while (isSpaceChar(c))
c = snext();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isEndOfLine(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null)
return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
4,
18,
13,
17,
13,
0,
13,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
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
],
[
123,
17
],
[
123,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
45,
49
],
[
44,
50
],
[
43,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
20,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
20,
60
],
[
60,
61
],
[
61,
62
],
[
18,
63
],
[
63,
64
],
[
123,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
65,
69
],
[
69,
70
],
[
65,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
65,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
80,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
79,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
65,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
65,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}\n\t\tout.println(ans);\n\t\t\n\t\tout.flush();\n\t}\n\t\n\tstatic class MyScanner {\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer tokenizer;\n\t\t\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\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.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}\n\t\tout.println(ans);\n\t\t\n\t\tout.flush();\n\t}\n\t\n\tstatic class MyScanner {\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer tokenizer;\n\t\t\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}\n\t\tout.println(ans);\n\t\t\n\t\tout.flush();\n\t}",
"main",
"{\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}\n\t\tout.println(ans);\n\t\t\n\t\tout.flush();\n\t}",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}",
"{\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}",
"if (sc.nextInt() - 1 != i) ans = i + 1;",
"sc.nextInt() - 1 != i",
"sc.nextInt() - 1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"1",
"i",
"ans = i + 1",
"ans",
"i + 1",
"i",
"1",
"out.println(ans)",
"out.println",
"out",
"ans",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class MyScanner {\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer tokenizer;\n\t\t\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}",
"MyScanner",
"private BufferedReader br;",
"br",
"private StringTokenizer tokenizer;",
"tokenizer",
"public MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"MyScanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"public String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t}",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}\n\t\tout.println(ans);\n\t\t\n\t\tout.flush();\n\t}\n\t\n\tstatic class MyScanner {\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer tokenizer;\n\t\t\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tMyScanner sc = new MyScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint ans = 0;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tif (sc.nextInt() - 1 != i) ans = i + 1;\n\t\t}\n\t\tout.println(ans);\n\t\t\n\t\tout.flush();\n\t}\n\t\n\tstatic class MyScanner {\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer tokenizer;\n\t\t\n\t\tpublic MyScanner() {\n\t\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t}\n\t\t\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\t\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) throws IOException {
MyScanner sc = new MyScanner();
PrintWriter out = new PrintWriter(System.out);
int ans = 0;
for (int i = 0; i < 5; i++) {
if (sc.nextInt() - 1 != i) ans = i + 1;
}
out.println(ans);
out.flush();
}
static class MyScanner {
private BufferedReader br;
private StringTokenizer tokenizer;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
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,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
56,
11
],
[
56,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
33,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
12,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.*;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int counter = 0;\n for(int i = 0;i < 5;i++){\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int counter = 0;\n for(int i = 0;i < 5;i++){\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int counter = 0;\n for(int i = 0;i < 5;i++){\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int counter = 0;\n for(int i = 0;i < 5;i++){\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int counter = 0;",
"counter",
"0",
"for(int i = 0;i < 5;i++){\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }",
"{\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"counter += 1",
"counter",
"1",
"if(x == 0){\n System.out.println(counter);\n }",
"x == 0",
"x",
"0",
"{\n System.out.println(counter);\n }",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int counter = 0;\n for(int i = 0;i < 5;i++){\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int counter = 0;\n for(int i = 0;i < 5;i++){\n int x = sc.nextInt();\n counter += 1;\n if(x == 0){\n System.out.println(counter);\n }\n }\n }\n}",
"Main"
]
| import java.util.*;
import java.math.BigDecimal;
import java.math.RoundingMode;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int counter = 0;
for(int i = 0;i < 5;i++){
int x = sc.nextInt();
counter += 1;
if(x == 0){
System.out.println(counter);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
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,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
72,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String[] a = sc.nextLine().split(\" \");\n \n int[] nums = new int[a.length];\n \n for(int i=0; i<nums.length; i++) {\n nums[i] = Integer.parseInt(a[i]);\n }\n \n for(int i = 0; i<nums.length; i++) {\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\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\n Scanner sc = new Scanner(System.in);\n\n String[] a = sc.nextLine().split(\" \");\n \n int[] nums = new int[a.length];\n \n for(int i=0; i<nums.length; i++) {\n nums[i] = Integer.parseInt(a[i]);\n }\n \n for(int i = 0; i<nums.length; i++) {\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\n }\n \n \n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String[] a = sc.nextLine().split(\" \");\n \n int[] nums = new int[a.length];\n \n for(int i=0; i<nums.length; i++) {\n nums[i] = Integer.parseInt(a[i]);\n }\n \n for(int i = 0; i<nums.length; i++) {\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\n }\n \n \n\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n String[] a = sc.nextLine().split(\" \");\n \n int[] nums = new int[a.length];\n \n for(int i=0; i<nums.length; i++) {\n nums[i] = Integer.parseInt(a[i]);\n }\n \n for(int i = 0; i<nums.length; i++) {\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\n }\n \n \n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] a = sc.nextLine().split(\" \");",
"a",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int[] nums = new int[a.length];",
"nums",
"new int[a.length]",
"a.length",
"a",
"a.length",
"for(int i=0; i<nums.length; i++) {\n nums[i] = Integer.parseInt(a[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<nums.length",
"i",
"nums.length",
"nums",
"nums.length",
"i++",
"i++",
"i",
"{\n nums[i] = Integer.parseInt(a[i]);\n }",
"{\n nums[i] = Integer.parseInt(a[i]);\n }",
"nums[i] = Integer.parseInt(a[i])",
"nums[i]",
"nums",
"i",
"Integer.parseInt(a[i])",
"Integer.parseInt",
"Integer",
"a[i]",
"a",
"i",
"for(int i = 0; i<nums.length; i++) {\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<nums.length",
"i",
"nums.length",
"nums",
"nums.length",
"i++",
"i++",
"i",
"{\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\n }",
"{\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\n }",
"if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }",
"nums[i] == 0",
"nums[i]",
"nums",
"i",
"0",
"{\n System.out.println(i+1);\n break;\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String[] a = sc.nextLine().split(\" \");\n \n int[] nums = new int[a.length];\n \n for(int i=0; i<nums.length; i++) {\n nums[i] = Integer.parseInt(a[i]);\n }\n \n for(int i = 0; i<nums.length; i++) {\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\n }\n \n \n\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n String[] a = sc.nextLine().split(\" \");\n \n int[] nums = new int[a.length];\n \n for(int i=0; i<nums.length; i++) {\n nums[i] = Integer.parseInt(a[i]);\n }\n \n for(int i = 0; i<nums.length; i++) {\n if (nums[i] == 0) {\n System.out.println(i+1);\n break;\n }\n }\n \n \n\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] a = sc.nextLine().split(" ");
int[] nums = new int[a.length];
for(int i=0; i<nums.length; i++) {
nums[i] = Integer.parseInt(a[i]);
}
for(int i = 0; i<nums.length; i++) {
if (nums[i] == 0) {
System.out.println(i+1);
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
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,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
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
],
[
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
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
6,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.util.*;\n\npublic class Main\n{\n\tpublic static void main(String ards[])\n {\n \tScanner sc=new Scanner(System.in);\n \tint[] x=new int[5];\n \tint res=0;\n \tfor(int i=0;i<5;i++)\n {\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }\n \tSystem.out.println(res);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String ards[])\n {\n \tScanner sc=new Scanner(System.in);\n \tint[] x=new int[5];\n \tint res=0;\n \tfor(int i=0;i<5;i++)\n {\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }\n \tSystem.out.println(res);\n }\n}",
"Main",
"public static void main(String ards[])\n {\n \tScanner sc=new Scanner(System.in);\n \tint[] x=new int[5];\n \tint res=0;\n \tfor(int i=0;i<5;i++)\n {\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }\n \tSystem.out.println(res);\n }",
"main",
"{\n \tScanner sc=new Scanner(System.in);\n \tint[] x=new int[5];\n \tint res=0;\n \tfor(int i=0;i<5;i++)\n {\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }\n \tSystem.out.println(res);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x=new int[5];",
"x",
"new int[5]",
"5",
"int res=0;",
"res",
"0",
"for(int i=0;i<5;i++)\n {\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }",
"{\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }",
"x[i]=sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x[i]==0)\n \tres=i+1;",
"x[i]==0",
"x[i]",
"x",
"i",
"0",
"res=i+1",
"res",
"i+1",
"i",
"1",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String ards[]",
"ards",
"public class Main\n{\n\tpublic static void main(String ards[])\n {\n \tScanner sc=new Scanner(System.in);\n \tint[] x=new int[5];\n \tint res=0;\n \tfor(int i=0;i<5;i++)\n {\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }\n \tSystem.out.println(res);\n }\n}",
"public class Main\n{\n\tpublic static void main(String ards[])\n {\n \tScanner sc=new Scanner(System.in);\n \tint[] x=new int[5];\n \tint res=0;\n \tfor(int i=0;i<5;i++)\n {\n \tx[i]=sc.nextInt();\n \tif(x[i]==0)\n \tres=i+1;\n }\n \tSystem.out.println(res);\n }\n}",
"Main"
]
| import java.util.*;
public class Main
{
public static void main(String ards[])
{
Scanner sc=new Scanner(System.in);
int[] x=new int[5];
int res=0;
for(int i=0;i<5;i++)
{
x[i]=sc.nextInt();
if(x[i]==0)
res=i+1;
}
System.out.println(res);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n \n if(x1==0)System.out.println(1);\n if(x2==0)System.out.println(2);\n if(x3==0)System.out.println(3);\n if(x4==0)System.out.println(4);\n if(x5==0)System.out.println(5);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n \n if(x1==0)System.out.println(1);\n if(x2==0)System.out.println(2);\n if(x3==0)System.out.println(3);\n if(x4==0)System.out.println(4);\n if(x5==0)System.out.println(5);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n \n if(x1==0)System.out.println(1);\n if(x2==0)System.out.println(2);\n if(x3==0)System.out.println(3);\n if(x4==0)System.out.println(4);\n if(x5==0)System.out.println(5);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n \n if(x1==0)System.out.println(1);\n if(x2==0)System.out.println(2);\n if(x3==0)System.out.println(3);\n if(x4==0)System.out.println(4);\n if(x5==0)System.out.println(5);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x1 = sc.nextInt();",
"x1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x2 = sc.nextInt();",
"x2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x3 = sc.nextInt();",
"x3",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x4 = sc.nextInt();",
"x4",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x5 = sc.nextInt();",
"x5",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x1==0)System.out.println(1);",
"x1==0",
"x1",
"0",
"System.out.println(1)",
"System.out.println",
"System.out",
"System",
"System.out",
"1",
"if(x2==0)System.out.println(2);",
"x2==0",
"x2",
"0",
"System.out.println(2)",
"System.out.println",
"System.out",
"System",
"System.out",
"2",
"if(x3==0)System.out.println(3);",
"x3==0",
"x3",
"0",
"System.out.println(3)",
"System.out.println",
"System.out",
"System",
"System.out",
"3",
"if(x4==0)System.out.println(4);",
"x4==0",
"x4",
"0",
"System.out.println(4)",
"System.out.println",
"System.out",
"System",
"System.out",
"4",
"if(x5==0)System.out.println(5);",
"x5==0",
"x5",
"0",
"System.out.println(5)",
"System.out.println",
"System.out",
"System",
"System.out",
"5",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n \n if(x1==0)System.out.println(1);\n if(x2==0)System.out.println(2);\n if(x3==0)System.out.println(3);\n if(x4==0)System.out.println(4);\n if(x5==0)System.out.println(5);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x1 = sc.nextInt();\n int x2 = sc.nextInt();\n int x3 = sc.nextInt();\n int x4 = sc.nextInt();\n int x5 = sc.nextInt();\n \n if(x1==0)System.out.println(1);\n if(x2==0)System.out.println(2);\n if(x3==0)System.out.println(3);\n if(x4==0)System.out.println(4);\n if(x5==0)System.out.println(5);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x1 = sc.nextInt();
int x2 = sc.nextInt();
int x3 = sc.nextInt();
int x4 = sc.nextInt();
int x5 = sc.nextInt();
if(x1==0)System.out.println(1);
if(x2==0)System.out.println(2);
if(x3==0)System.out.println(3);
if(x4==0)System.out.println(4);
if(x5==0)System.out.println(5);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
14,
2,
13,
17,
0,
13,
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
],
[
10,
12
],
[
0,
13
],
[
69,
14
],
[
69,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
44,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
17,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
15,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport static java.lang.System.*;\nimport static java.lang.Math.*;\n\npublic class Main\n{\t\n\tpublic static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tint ans=0;\n\t\t\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}\n\t\t\t\n\t\tout.println(ans);\n\t\t\n\t}\n\t\n\t\n}\n\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main\n{\t\n\tpublic static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tint ans=0;\n\t\t\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}\n\t\t\t\n\t\tout.println(ans);\n\t\t\n\t}\n\t\n\t\n}",
"Main",
"public static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tint ans=0;\n\t\t\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}\n\t\t\t\n\t\tout.println(ans);\n\t\t\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tint ans=0;\n\t\t\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}\n\t\t\t\n\t\tout.println(ans);\n\t\t\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String []s=br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int ans=0;",
"ans",
"0",
"for(int i=0;i<5;i++)\n\t\t{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}",
"{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}",
"int a=Integer.parseInt(s[i]);",
"a",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"if(a==0)\n\t\t\t\t\tans=i+1;",
"a==0",
"a",
"0",
"ans=i+1",
"ans",
"i+1",
"i",
"1",
"out.println(ans)",
"out.println",
"out",
"ans",
"String []args",
"args",
"public class Main\n{\t\n\tpublic static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tint ans=0;\n\t\t\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}\n\t\t\t\n\t\tout.println(ans);\n\t\t\n\t}\n\t\n\t\n}",
"public class Main\n{\t\n\tpublic static void main(String []args)throws IOException\n\t{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString []s=br.readLine().split(\" \");\n\t\t\n\t\tint ans=0;\n\t\t\n\t\tfor(int i=0;i<5;i++)\n\t\t{\n\t\t\tint a=Integer.parseInt(s[i]);\n\t\t\t\tif(a==0)\n\t\t\t\t\tans=i+1;\n\t\t}\n\t\t\t\n\t\tout.println(ans);\n\t\t\n\t}\n\t\n\t\n}",
"Main"
]
| import java.io.*;
import java.util.*;
import static java.lang.System.*;
import static java.lang.Math.*;
public class Main
{
public static void main(String []args)throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String []s=br.readLine().split(" ");
int ans=0;
for(int i=0;i<5;i++)
{
int a=Integer.parseInt(s[i]);
if(a==0)
ans=i+1;
}
out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
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,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
106,
17
],
[
106,
18
],
[
18,
19
],
[
106,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
20,
53
],
[
53,
54
],
[
106,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
63,
68
],
[
57,
69
],
[
69,
70
],
[
69,
71
],
[
57,
72
],
[
72,
73
],
[
72,
74
],
[
57,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
76,
84
],
[
84,
85
],
[
85,
86
],
[
76,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
96,
98
],
[
57,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
55,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.math.BigDecimal;\nimport java.nio.file.Files;\nimport java.nio.charset.StandardCharsets;\n//给出两个数a,b 求出[a,b]中各位数字之和能整除原数的数的个数。\npublic class Main {\n\n int mod ;\n void solve(int[] arr) {\n for(int i=0;i<arr.length;i++){\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }\n\n }\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n//\n// int n = Integer.parseInt(s[0]);\n// int w = Integer.parseInt(s[1]);\n// int[] volumn = new int[n];\n// int[] values = new int[n];\n// for(int i=0;i<n;i++) {\n// s = br.readLine().split(\" \");\n// volumn[i] = Integer.parseInt(s[0]);\n// values[i] = Integer.parseInt(s[1]);\n// }\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = Integer.parseInt(s[i]);\n }\n test.solve(arr);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.nio.file.Files;",
"Files",
"java.nio.file",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n\n int mod ;\n void solve(int[] arr) {\n for(int i=0;i<arr.length;i++){\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }\n\n }\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n//\n// int n = Integer.parseInt(s[0]);\n// int w = Integer.parseInt(s[1]);\n// int[] volumn = new int[n];\n// int[] values = new int[n];\n// for(int i=0;i<n;i++) {\n// s = br.readLine().split(\" \");\n// volumn[i] = Integer.parseInt(s[0]);\n// values[i] = Integer.parseInt(s[1]);\n// }\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = Integer.parseInt(s[i]);\n }\n test.solve(arr);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"Main",
"int mod ;",
"mod",
"void solve(int[] arr) {\n for(int i=0;i<arr.length;i++){\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }\n\n }",
"solve",
"{\n for(int i=0;i<arr.length;i++){\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }\n\n }",
"for(int i=0;i<arr.length;i++){\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }",
"{\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }",
"if(arr[i]==0){\n System.out.println((i+1));\n }",
"arr[i]==0",
"arr[i]",
"arr",
"i",
"0",
"{\n System.out.println((i+1));\n }",
"System.out.println((i+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"(i+1)",
"i",
"1",
"int[] arr",
"arr",
"public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n//\n// int n = Integer.parseInt(s[0]);\n// int w = Integer.parseInt(s[1]);\n// int[] volumn = new int[n];\n// int[] values = new int[n];\n// for(int i=0;i<n;i++) {\n// s = br.readLine().split(\" \");\n// volumn[i] = Integer.parseInt(s[0]);\n// values[i] = Integer.parseInt(s[1]);\n// }\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = Integer.parseInt(s[i]);\n }\n test.solve(arr);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }",
"main",
"{\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n//\n// int n = Integer.parseInt(s[0]);\n// int w = Integer.parseInt(s[1]);\n// int[] volumn = new int[n];\n// int[] values = new int[n];\n// for(int i=0;i<n;i++) {\n// s = br.readLine().split(\" \");\n// volumn[i] = Integer.parseInt(s[0]);\n// values[i] = Integer.parseInt(s[1]);\n// }\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = Integer.parseInt(s[i]);\n }\n test.solve(arr);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] s = br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"Main test = new Main();",
"test",
"new Main()",
"int[] arr = new int[5];",
"arr",
"new int[5]",
"5",
"for(int i=0;i<5;i++){\n arr[i] = Integer.parseInt(s[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n arr[i] = Integer.parseInt(s[i]);\n }",
"{\n arr[i] = Integer.parseInt(s[i]);\n }",
"arr[i] = Integer.parseInt(s[i])",
"arr[i]",
"arr",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"test.solve(arr)",
"test.solve",
"test",
"arr",
"String[] args",
"args",
"public class Main {\n\n int mod ;\n void solve(int[] arr) {\n for(int i=0;i<arr.length;i++){\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }\n\n }\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n//\n// int n = Integer.parseInt(s[0]);\n// int w = Integer.parseInt(s[1]);\n// int[] volumn = new int[n];\n// int[] values = new int[n];\n// for(int i=0;i<n;i++) {\n// s = br.readLine().split(\" \");\n// volumn[i] = Integer.parseInt(s[0]);\n// values[i] = Integer.parseInt(s[1]);\n// }\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = Integer.parseInt(s[i]);\n }\n test.solve(arr);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"public class Main {\n\n int mod ;\n void solve(int[] arr) {\n for(int i=0;i<arr.length;i++){\n if(arr[i]==0){\n System.out.println((i+1));\n }\n }\n\n }\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n//\n// int n = Integer.parseInt(s[0]);\n// int w = Integer.parseInt(s[1]);\n// int[] volumn = new int[n];\n// int[] values = new int[n];\n// for(int i=0;i<n;i++) {\n// s = br.readLine().split(\" \");\n// volumn[i] = Integer.parseInt(s[0]);\n// values[i] = Integer.parseInt(s[1]);\n// }\n int[] arr = new int[5];\n for(int i=0;i<5;i++){\n arr[i] = Integer.parseInt(s[i]);\n }\n test.solve(arr);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.math.BigDecimal;
import java.nio.file.Files;
import java.nio.charset.StandardCharsets;
//给出两个数a,b 求出[a,b]中各位数字之和能整除原数的数的个数。
public class Main {
int mod ;
void solve(int[] arr) {
for(int i=0;i<arr.length;i++){
if(arr[i]==0){
System.out.println((i+1));
}
}
}
public static void main(String[] args) throws IOException {
// Use the Scanner class
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] s = br.readLine().split(" ");
Main test = new Main();
//
// int n = Integer.parseInt(s[0]);
// int w = Integer.parseInt(s[1]);
// int[] volumn = new int[n];
// int[] values = new int[n];
// for(int i=0;i<n;i++) {
// s = br.readLine().split(" ");
// volumn[i] = Integer.parseInt(s[0]);
// values[i] = Integer.parseInt(s[1]);
// }
int[] arr = new int[5];
for(int i=0;i<5;i++){
arr[i] = Integer.parseInt(s[i]);
}
test.solve(arr);
//int tot = Integer.parseInt(br.readLine());
// int i =1;
// System.out.println();
// while(tot>0){
//
// String s = br.readLine();
// String[] sr = s.split(" ");
// List<Long> ls = new ArrayList<>();
// for(String ss:sr){
// ls.add(Long.parseLong(ss));
// }
// Main tt = new Main();
// tt.sol(ls);
// // String Buffer to store answer
// StringBuffer sb = new StringBuffer();
//// Solution obj = new Solution();
////
//// System.out.println("Case #"+i+": "+obj.sol());
// tot--;
// i++;
// }
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
2,
17,
17,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
29,
12,
13,
30,
4,
18,
20,
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
],
[
66,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
66,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
66,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
66,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
49,
56
],
[
66,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e6 + 1;\n\t\n\t\n\tvoid doIt() {\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e6 + 1;\n\t\n\t\n\tvoid doIt() {\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int MOD = 998244353;",
"MOD",
"998244353",
"final int MAX = Integer.MAX_VALUE;",
"MAX",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"final long LMAX = Long.MAX_VALUE;",
"LMAX",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"int len = (int)1e6 + 1;",
"len",
"(int)1e6 + 1",
"(int)1e6",
"1",
"void doIt() {\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"doIt",
"{\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"for(int i = 1; i <= 5; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"if(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}",
"sc.nextInt() == 0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"return;",
"public static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}",
"main",
"{\n\t\tnew Main().doIt();\n\t}",
"new Main().doIt()",
"new Main().doIt",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e6 + 1;\n\t\n\t\n\tvoid doIt() {\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n\n}",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e6 + 1;\n\t\n\t\n\tvoid doIt() {\n\t\tfor(int i = 1; i <= 5; i++) {\n\t\t\tif(sc.nextInt() == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
final int MOD = 998244353;
final int MAX = Integer.MAX_VALUE;
final long LMAX = Long.MAX_VALUE;
int len = (int)1e6 + 1;
void doIt() {
for(int i = 1; i <= 5; i++) {
if(sc.nextInt() == 0) {
System.out.println(i);
return;
}
}
}
public static void main(String[] args) {
new Main().doIt();
}
}
|
[
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,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
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
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] ary = new int[5];\n for(int i=0; i<5; i++){\n ary[i] = Integer.parseInt(sc.next());\n }\n\n for(int i=0; i<5; i++){\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] ary = new int[5];\n for(int i=0; i<5; i++){\n ary[i] = Integer.parseInt(sc.next());\n }\n\n for(int i=0; i<5; i++){\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] ary = new int[5];\n for(int i=0; i<5; i++){\n ary[i] = Integer.parseInt(sc.next());\n }\n\n for(int i=0; i<5; i++){\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int[] ary = new int[5];\n for(int i=0; i<5; i++){\n ary[i] = Integer.parseInt(sc.next());\n }\n\n for(int i=0; i<5; i++){\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] ary = new int[5];",
"ary",
"new int[5]",
"5",
"for(int i=0; i<5; i++){\n ary[i] = Integer.parseInt(sc.next());\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n ary[i] = Integer.parseInt(sc.next());\n }",
"{\n ary[i] = Integer.parseInt(sc.next());\n }",
"ary[i] = Integer.parseInt(sc.next())",
"ary[i]",
"ary",
"i",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"for(int i=0; i<5; i++){\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }",
"{\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }",
"if(ary[i] == 0){\n System.out.println((i+1));\n }",
"ary[i] == 0",
"ary[i]",
"ary",
"i",
"0",
"{\n System.out.println((i+1));\n }",
"System.out.println((i+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"(i+1)",
"i",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] ary = new int[5];\n for(int i=0; i<5; i++){\n ary[i] = Integer.parseInt(sc.next());\n }\n\n for(int i=0; i<5; i++){\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] ary = new int[5];\n for(int i=0; i<5; i++){\n ary[i] = Integer.parseInt(sc.next());\n }\n\n for(int i=0; i<5; i++){\n if(ary[i] == 0){\n System.out.println((i+1));\n }\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] ary = new int[5];
for(int i=0; i<5; i++){
ary[i] = Integer.parseInt(sc.next());
}
for(int i=0; i<5; i++){
if(ary[i] == 0){
System.out.println((i+1));
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
20,
12,
13,
30,
41,
13,
17,
11,
1,
30,
30,
14,
2,
4,
13,
17,
30,
4,
13,
13,
3,
40,
13,
23,
13,
12,
13,
30,
41,
13,
2,
17,
13,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
4,
18,
17,
4,
18,
13,
13,
2,
13,
4,
18,
17,
30,
40,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
17,
30,
29,
2,
13,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
8,
2,
2,
13,
17,
2,
13,
17,
13,
2,
4,
13,
2,
13,
17,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
465,
5
],
[
465,
6
],
[
6,
7
],
[
6,
8
],
[
465,
9
],
[
9,
10
],
[
9,
11
],
[
465,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
15,
18
],
[
15,
19
],
[
14,
20
],
[
465,
21
],
[
21,
22
],
[
21,
23
],
[
465,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
33,
44
],
[
44,
45
],
[
24,
46
],
[
46,
47
],
[
465,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
48,
60
],
[
60,
61
],
[
465,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
92,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
88,
101
],
[
101,
102
],
[
102,
103
],
[
64,
104
],
[
104,
105
],
[
62,
106
],
[
106,
107
],
[
465,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
465,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
465,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
465,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
465,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
465,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
153,
155
],
[
148,
156
],
[
156,
157
],
[
157,
158
],
[
148,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
145,
168
],
[
168,
169
],
[
465,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
179,
181
],
[
174,
182
],
[
174,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
186,
188
],
[
183,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
191,
193
],
[
170,
194
],
[
194,
195
],
[
465,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
204,
206
],
[
204,
207
],
[
196,
208
],
[
208,
209
],
[
196,
210
],
[
210,
211
],
[
465,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
220,
222
],
[
220,
223
],
[
212,
224
],
[
224,
225
],
[
212,
226
],
[
226,
227
],
[
465,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
232,
237
],
[
237,
238
],
[
237,
239
],
[
237,
240
],
[
240,
241
],
[
240,
242
],
[
228,
243
],
[
243,
244
],
[
228,
245
],
[
245,
246
],
[
465,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
251,
256
],
[
256,
257
],
[
256,
258
],
[
256,
259
],
[
259,
260
],
[
259,
261
],
[
247,
262
],
[
262,
263
],
[
247,
264
],
[
264,
265
],
[
465,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
269,
274
],
[
266,
275
],
[
275,
276
],
[
465,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
280,
285
],
[
277,
286
],
[
286,
287
],
[
465,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
291,
296
],
[
288,
297
],
[
297,
298
],
[
465,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
302,
307
],
[
299,
308
],
[
308,
309
],
[
465,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
313,
318
],
[
310,
319
],
[
319,
320
],
[
465,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
324,
329
],
[
329,
330
],
[
330,
331
],
[
321,
332
],
[
332,
333
],
[
465,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
337,
342
],
[
334,
343
],
[
343,
344
],
[
465,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
348,
353
],
[
345,
354
],
[
354,
355
],
[
465,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
359,
364
],
[
356,
365
],
[
365,
366
],
[
465,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
370,
375
],
[
367,
376
],
[
376,
377
],
[
465,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
383,
385
],
[
381,
386
],
[
378,
387
],
[
387,
388
],
[
465,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
393,
396
],
[
393,
397
],
[
389,
398
],
[
398,
399
],
[
389,
400
],
[
400,
401
],
[
465,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
406,
409
],
[
406,
410
],
[
402,
411
],
[
411,
412
],
[
402,
413
],
[
413,
414
],
[
465,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
418,
419
],
[
419,
420
],
[
420,
421
],
[
419,
422
],
[
419,
423
],
[
415,
424
],
[
424,
425
],
[
415,
426
],
[
426,
427
],
[
465,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
433,
434
],
[
432,
435
],
[
432,
436
],
[
428,
437
],
[
437,
438
],
[
428,
439
],
[
439,
440
],
[
0,
441
],
[
441,
442
],
[
441,
443
],
[
443,
444
],
[
441,
445
],
[
445,
446
],
[
441,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
450,
451
],
[
451,
452
],
[
451,
453
],
[
450,
454
],
[
449,
455
],
[
455,
456
],
[
456,
457
],
[
456,
458
],
[
455,
459
],
[
447,
460
],
[
460,
461
],
[
447,
462
],
[
462,
463
],
[
0,
464
],
[
464,
465
],
[
464,
466
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint i = 1;\n\t\tfor (;;) {\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\n\tstatic int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int abcount(String str) {\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n}\n\nclass XY {\n\tint h;\n\tint c;\n\n\tXY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint i = 1;\n\t\tfor (;;) {\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\n\tstatic int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int abcount(String str) {\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n}",
"Main",
"public static String Y = \"Yes\";",
"Y",
"\"Yes\"",
"public static String N = \"No\";",
"N",
"\"No\"",
"public static long MOD = (long) (Math.pow(10, 9) + 7);",
"MOD",
"(long) (Math.pow(10, 9) + 7)",
"Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"public static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\tint i = 1;\n\t\tfor (;;) {\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\t}",
"main",
"{\n\t\tint i = 1;\n\t\tfor (;;) {\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\t}",
"int i = 1;",
"i",
"1",
"for (;;) {\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}",
";",
"{\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}",
"{\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}",
"if (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}",
"ni() == 0",
"ni()",
"ni",
"0",
"{\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}",
"out(i)",
"out",
"i",
"break;",
"i++",
"i",
"String[] args",
"args",
"static int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}",
"ketasuu",
"{\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}",
"String str = \"\" + n;",
"str",
"\"\" + n",
"\"\"",
"n",
"return str.length();",
"str.length()",
"str.length",
"str",
"int n",
"n",
"static int abcount(String str) {\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}",
"abcount",
"{\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}",
"int count = 0;",
"count",
"0",
"int len = str.length();",
"len",
"str.length()",
"str.length",
"str",
"for (int i = 0; i < len - 1; i++) {\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len - 1",
"i",
"len - 1",
"len",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}",
"\"AB\".equals(str.substring(i, i + \"AB\".length()))",
"\"AB\".equals",
"\"AB\"",
"str.substring(i, i + \"AB\".length())",
"str.substring",
"str",
"i",
"i + \"AB\".length()",
"i",
"\"AB\".length()",
"\"AB\".length",
"\"AB\"",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"return count;",
"count",
"String str",
"str",
"static int ni() {\n\t\treturn sc.nextInt();\n\t}",
"ni",
"{\n\t\treturn sc.nextInt();\n\t}",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"static long nl() {\n\t\treturn sc.nextLong();\n\t}",
"nl",
"{\n\t\treturn sc.nextLong();\n\t}",
"return sc.nextLong();",
"sc.nextLong()",
"sc.nextLong",
"sc",
"static double nd() {\n\t\treturn sc.nextDouble();\n\t}",
"nd",
"{\n\t\treturn sc.nextDouble();\n\t}",
"return sc.nextDouble();",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"static String n() {\n\t\treturn sc.next();\n\t}",
"n",
"{\n\t\treturn sc.next();\n\t}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}",
"nc",
"{\n\t\treturn sc.next().toCharArray();\n\t}",
"return sc.next().toCharArray();",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"static int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}",
"kaijo",
"{\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}",
"if (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}",
"n == 0 || n == 1",
"n == 0",
"n",
"0",
"n == 1",
"n",
"1",
"{\n\t\t\treturn 1;\n\t\t}",
"return 1;",
"1",
"{\n\t\t\treturn n * kaijo(n - 1);\n\t\t}",
"return n * kaijo(n - 1);",
"n * kaijo(n - 1)",
"n",
"kaijo(n - 1)",
"kaijo",
"n - 1",
"n",
"1",
"int n",
"n",
"static int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}",
"fib",
"{\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}",
"return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);",
"(n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1)",
"(n == 1 || n == 0)",
"n == 1",
"n",
"1",
"n == 0",
"n",
"0",
"n",
"fib(n - 2) + fib(n - 1)",
"fib(n - 2)",
"fib",
"n - 2",
"n",
"2",
"fib(n - 1)",
"fib",
"n - 1",
"n",
"1",
"int n",
"n",
"static long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"lcm",
"{\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"return m * n / gcd(m, n);",
"m * n / gcd(m, n)",
"m * n",
"m",
"n",
"gcd(m, n)",
"gcd",
"m",
"n",
"long m",
"m",
"long n",
"n",
"static int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"lcm",
"{\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"return m * n / gcd(m, n);",
"m * n / gcd(m, n)",
"m * n",
"m",
"n",
"gcd(m, n)",
"gcd",
"m",
"n",
"int m",
"m",
"int n",
"n",
"static long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"gcd",
"{\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"return (b == 0) ? a : gcd(b, a % b);",
"(b == 0) ? a : gcd(b, a % b)",
"(b == 0)",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"gcd",
"{\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"return (b == 0) ? a : gcd(b, a % b);",
"(b == 0) ? a : gcd(b, a % b)",
"(b == 0)",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static void out(String info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"String info",
"info",
"static void out(int info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"int info",
"info",
"static void out(double info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"double info",
"info",
"static void out(long info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"long info",
"info",
"static void out(char info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"char info",
"info",
"static void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}",
"out",
"{\n\t\tSystem.out.println(obj.toString());\n\t}",
"System.out.println(obj.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"obj.toString()",
"obj.toString",
"obj",
"Object obj",
"obj",
"static void outn(String info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"String info",
"info",
"static void outn(int info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"int info",
"info",
"static void outn(double info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"double info",
"info",
"static void outn(long info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"long info",
"info",
"static void outn(char info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"char info",
"info",
"static double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}",
"max",
"{\n\t\treturn Math.max(d, e);\n\t}",
"return Math.max(d, e);",
"Math.max(d, e)",
"Math.max",
"Math",
"d",
"e",
"double d",
"d",
"double e",
"e",
"static long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}",
"max",
"{\n\t\treturn Math.max(a, b);\n\t}",
"return Math.max(a, b);",
"Math.max(a, b)",
"Math.max",
"Math",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}",
"min",
"{\n\t\treturn Math.min(d, e);\n\t}",
"return Math.min(d, e);",
"Math.min(d, e)",
"Math.min",
"Math",
"d",
"e",
"double d",
"d",
"double e",
"e",
"static long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}",
"min",
"{\n\t\treturn Math.min(a, b);\n\t}",
"return Math.min(a, b);",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"long a",
"a",
"long b",
"b",
"class XY {\n\tint h;\n\tint c;\n\n\tXY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}\n}",
"XY",
"int h;",
"h",
"int c;",
"c",
"XY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}",
"XY",
"{\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}",
"this.h = h",
"this.h",
"this",
"this.h",
"h",
"this.c = c",
"this.c",
"this",
"this.c",
"c",
"int h",
"h",
"int c",
"c",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint i = 1;\n\t\tfor (;;) {\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\n\tstatic int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int abcount(String str) {\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n}",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint i = 1;\n\t\tfor (;;) {\n\n\t\t\tif (ni() == 0) {\n\t\t\t\tout(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\n\tstatic int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int abcount(String str) {\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (\"AB\".equals(str.substring(i, i + \"AB\".length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic long min(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static String Y = "Yes";
public static String N = "No";
public static long MOD = (long) (Math.pow(10, 9) + 7);
public static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
int i = 1;
for (;;) {
if (ni() == 0) {
out(i);
break;
}
i++;
}
}
/*
* 以下メソッド集
*/
static int ketasuu(int n) {
String str = "" + n;
return str.length();
}
static int abcount(String str) {
int count = 0;
int len = str.length();
for (int i = 0; i < len - 1; i++) {
if ("AB".equals(str.substring(i, i + "AB".length()))) {
count++;
}
}
return count;
}
static int ni() {
return sc.nextInt();
}
static long nl() {
return sc.nextLong();
}
static double nd() {
return sc.nextDouble();
}
static String n() {
return sc.next();
}
static char[] nc() {
return sc.next().toCharArray();
}
static int kaijo(int n) {
if (n == 0 || n == 1) {
return 1;
} else {
return n * kaijo(n - 1);
}
}
static int fib(int n) {
return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);
}
static long lcm(long m, long n) {
return m * n / gcd(m, n);
}
static int lcm(int m, int n) {
return m * n / gcd(m, n);
}
static long gcd(long a, long b) {
return (b == 0) ? a : gcd(b, a % b);
}
static int gcd(int a, int b) {
return (b == 0) ? a : gcd(b, a % b);
}
static void out(String info) {
System.out.println(info);
}
static void out(int info) {
System.out.println(info);
}
static void out(double info) {
System.out.println(info);
}
static void out(long info) {
System.out.println(info);
}
static void out(char info) {
System.out.println(info);
}
static void out(Object obj) {
System.out.println(obj.toString());
}
static void outn(String info) {
System.out.print(info);
}
static void outn(int info) {
System.out.print(info);
}
static void outn(double info) {
System.out.print(info);
}
static void outn(long info) {
System.out.print(info);
}
static void outn(char info) {
System.out.print(info);
}
static double max(double d, double e) {
return Math.max(d, e);
}
static long max(long a, long b) {
return Math.max(a, b);
}
static double min(double d, double e) {
return Math.min(d, e);
}
static long min(long a, long b) {
return Math.min(a, b);
}
}
class XY {
int h;
int c;
XY(int h, int c) {
this.h = h;
this.c = c;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
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
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n for(int i = 0; i < 5; i++){\n sum += sc.nextInt();\n }\n System.out.println(15 - sum);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n for(int i = 0; i < 5; i++){\n sum += sc.nextInt();\n }\n System.out.println(15 - sum);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n for(int i = 0; i < 5; i++){\n sum += sc.nextInt();\n }\n System.out.println(15 - sum);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n for(int i = 0; i < 5; i++){\n sum += sc.nextInt();\n }\n System.out.println(15 - sum);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int sum = 0;",
"sum",
"0",
"for(int i = 0; i < 5; i++){\n sum += sc.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n sum += sc.nextInt();\n }",
"{\n sum += sc.nextInt();\n }",
"sum += sc.nextInt()",
"sum",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(15 - sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"15 - sum",
"15",
"sum",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n for(int i = 0; i < 5; i++){\n sum += sc.nextInt();\n }\n System.out.println(15 - sum);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int sum = 0;\n for(int i = 0; i < 5; i++){\n sum += sc.nextInt();\n }\n System.out.println(15 - sum);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int sum = 0;
for(int i = 0; i < 5; i++){
sum += sc.nextInt();
}
System.out.println(15 - sum);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[6];\n\t\tx[1] = Integer.parseInt(sc.next());\n\t\tx[2] = Integer.parseInt(sc.next());\n\t\tx[3] = Integer.parseInt(sc.next());\n\t\tx[4] = Integer.parseInt(sc.next());\n\t\tx[5] = Integer.parseInt(sc.next());\n\n\t\t// 0になっているのを見つける\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[6];\n\t\tx[1] = Integer.parseInt(sc.next());\n\t\tx[2] = Integer.parseInt(sc.next());\n\t\tx[3] = Integer.parseInt(sc.next());\n\t\tx[4] = Integer.parseInt(sc.next());\n\t\tx[5] = Integer.parseInt(sc.next());\n\n\t\t// 0になっているのを見つける\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[6];\n\t\tx[1] = Integer.parseInt(sc.next());\n\t\tx[2] = Integer.parseInt(sc.next());\n\t\tx[3] = Integer.parseInt(sc.next());\n\t\tx[4] = Integer.parseInt(sc.next());\n\t\tx[5] = Integer.parseInt(sc.next());\n\n\t\t// 0になっているのを見つける\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[6];\n\t\tx[1] = Integer.parseInt(sc.next());\n\t\tx[2] = Integer.parseInt(sc.next());\n\t\tx[3] = Integer.parseInt(sc.next());\n\t\tx[4] = Integer.parseInt(sc.next());\n\t\tx[5] = Integer.parseInt(sc.next());\n\n\t\t// 0になっているのを見つける\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x[] = new int[6];",
"x",
"new int[6]",
"6",
"x[1] = Integer.parseInt(sc.next())",
"x[1]",
"x",
"1",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"x[2] = Integer.parseInt(sc.next())",
"x[2]",
"x",
"2",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"x[3] = Integer.parseInt(sc.next())",
"x[3]",
"x",
"3",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"x[4] = Integer.parseInt(sc.next())",
"x[4]",
"x",
"4",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"x[5] = Integer.parseInt(sc.next())",
"x[5]",
"x",
"5",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"for (int i = 1; i <= 5; i++) {\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}",
"if (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i);\n\t\t\t}",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[6];\n\t\tx[1] = Integer.parseInt(sc.next());\n\t\tx[2] = Integer.parseInt(sc.next());\n\t\tx[3] = Integer.parseInt(sc.next());\n\t\tx[4] = Integer.parseInt(sc.next());\n\t\tx[5] = Integer.parseInt(sc.next());\n\n\t\t// 0になっているのを見つける\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// 入力\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[6];\n\t\tx[1] = Integer.parseInt(sc.next());\n\t\tx[2] = Integer.parseInt(sc.next());\n\t\tx[3] = Integer.parseInt(sc.next());\n\t\tx[4] = Integer.parseInt(sc.next());\n\t\tx[5] = Integer.parseInt(sc.next());\n\n\t\t// 0になっているのを見つける\n\t\tfor (int i = 1; i <= 5; i++) {\n\t\t\tif (x[i] == 0) {\n\t\t\t\tSystem.out.println(i);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
// 入力
Scanner sc = new Scanner(System.in);
int x[] = new int[6];
x[1] = Integer.parseInt(sc.next());
x[2] = Integer.parseInt(sc.next());
x[3] = Integer.parseInt(sc.next());
x[4] = Integer.parseInt(sc.next());
x[5] = Integer.parseInt(sc.next());
// 0になっているのを見つける
for (int i = 1; i <= 5; i++) {
if (x[i] == 0) {
System.out.println(i);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
41,
13,
4,
18,
13,
40,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
40,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
40,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
40,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
104,
5
],
[
104,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
26,
28
],
[
24,
29
],
[
8,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
8,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
8,
47
],
[
47,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
8,
64
],
[
64,
65
],
[
8,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
8,
81
],
[
81,
82
],
[
8,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
8,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
8,
98
],
[
98,
99
],
[
99,
100
],
[
6,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
]
| [
"import java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 1;\n\t\tint a = sc.nextInt();\n\t\tif (a == 0 ) System.out.println(ans);\n\t\tint b = sc.nextInt();\n\t\tans++;\n\t\tif (b == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint c = sc.nextInt();\n\t\tif (c == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint d = sc.nextInt();\n\t\tif (d == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint e = sc.nextInt();\n\t\tif (e == 0 ) System.out.println(ans);\n\n\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 1;\n\t\tint a = sc.nextInt();\n\t\tif (a == 0 ) System.out.println(ans);\n\t\tint b = sc.nextInt();\n\t\tans++;\n\t\tif (b == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint c = sc.nextInt();\n\t\tif (c == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint d = sc.nextInt();\n\t\tif (d == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint e = sc.nextInt();\n\t\tif (e == 0 ) System.out.println(ans);\n\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 1;\n\t\tint a = sc.nextInt();\n\t\tif (a == 0 ) System.out.println(ans);\n\t\tint b = sc.nextInt();\n\t\tans++;\n\t\tif (b == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint c = sc.nextInt();\n\t\tif (c == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint d = sc.nextInt();\n\t\tif (d == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint e = sc.nextInt();\n\t\tif (e == 0 ) System.out.println(ans);\n\n\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 1;\n\t\tint a = sc.nextInt();\n\t\tif (a == 0 ) System.out.println(ans);\n\t\tint b = sc.nextInt();\n\t\tans++;\n\t\tif (b == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint c = sc.nextInt();\n\t\tif (c == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint d = sc.nextInt();\n\t\tif (d == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint e = sc.nextInt();\n\t\tif (e == 0 ) System.out.println(ans);\n\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int ans = 1;",
"ans",
"1",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a == 0 ) System.out.println(ans);",
"a == 0",
"a",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"ans++",
"ans",
"if (b == 0 ) System.out.println(ans);",
"b == 0",
"b",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"ans++",
"ans",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (c == 0 ) System.out.println(ans);",
"c == 0",
"c",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"ans++",
"ans",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (d == 0 ) System.out.println(ans);",
"d == 0",
"d",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"ans++",
"ans",
"int e = sc.nextInt();",
"e",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (e == 0 ) System.out.println(ans);",
"e == 0",
"e",
"0",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 1;\n\t\tint a = sc.nextInt();\n\t\tif (a == 0 ) System.out.println(ans);\n\t\tint b = sc.nextInt();\n\t\tans++;\n\t\tif (b == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint c = sc.nextInt();\n\t\tif (c == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint d = sc.nextInt();\n\t\tif (d == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint e = sc.nextInt();\n\t\tif (e == 0 ) System.out.println(ans);\n\n\n\t\tsc.close();\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint ans = 1;\n\t\tint a = sc.nextInt();\n\t\tif (a == 0 ) System.out.println(ans);\n\t\tint b = sc.nextInt();\n\t\tans++;\n\t\tif (b == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint c = sc.nextInt();\n\t\tif (c == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint d = sc.nextInt();\n\t\tif (d == 0 ) System.out.println(ans);\n\t\tans++;\n\t\tint e = sc.nextInt();\n\t\tif (e == 0 ) System.out.println(ans);\n\n\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 ans = 1;
int a = sc.nextInt();
if (a == 0 ) System.out.println(ans);
int b = sc.nextInt();
ans++;
if (b == 0 ) System.out.println(ans);
ans++;
int c = sc.nextInt();
if (c == 0 ) System.out.println(ans);
ans++;
int d = sc.nextInt();
if (d == 0 ) System.out.println(ans);
ans++;
int e = sc.nextInt();
if (e == 0 ) System.out.println(ans);
sc.close();
}
}
|
[
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,
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,
18,
13,
13,
2,
13,
17,
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
],
[
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
],
[
33,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
37,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
52,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
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> al = new ArrayList<>();\n\t\tfor(int p =0; p<5; p++) {\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}\n\t\tfor(int p=0; p<al.size(); p++) {\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int p =0; p<5; p++) {\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}\n\t\tfor(int p=0; p<al.size(); p++) {\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 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\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int p =0; p<5; p++) {\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}\n\t\tfor(int p=0; p<al.size(); p++) {\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int p =0; p<5; p++) {\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}\n\t\tfor(int p=0; p<al.size(); p++) {\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"for(int p =0; p<5; p++) {\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}",
"int p =0;",
"int p =0;",
"p",
"0",
"p<5",
"p",
"5",
"p++",
"p++",
"p",
"{\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}",
"{\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"al.add(num)",
"al.add",
"al",
"num",
"for(int p=0; p<al.size(); p++) {\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}\n\t\t}",
"int p=0;",
"int p=0;",
"p",
"0",
"p<al.size()",
"p",
"al.size()",
"al.size",
"al",
"p++",
"p++",
"p",
"{\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}\n\t\t}",
"if(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}",
"al.get(p)==0",
"al.get(p)",
"al.get",
"al",
"p",
"0",
"{\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}",
"System.out.println(p + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"p + 1",
"p",
"1",
"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> al = new ArrayList<>();\n\t\tfor(int p =0; p<5; p++) {\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}\n\t\tfor(int p=0; p<al.size(); p++) {\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\t\tfor(int p =0; p<5; p++) {\n\t\t\tint num = sc.nextInt();\n\t\t\tal.add(num);\n\t\t}\n\t\tfor(int p=0; p<al.size(); p++) {\n\t\t\tif(al.get(p)==0) {\n\t\t\t\tSystem.out.println(p + 1);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> al = new ArrayList<>();
for(int p =0; p<5; p++) {
int num = sc.nextInt();
al.add(num);
}
for(int p=0; p<al.size(); p++) {
if(al.get(p)==0) {
System.out.println(p + 1);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
40,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
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
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
]
| [
"import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = 1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}\t\t\t\t\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = 1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}\t\t\t\t\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = 1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}\t\t\t\t\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = 1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}\t\t\t\t\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int num = 1;",
"num",
"1",
"for (int i=0; i<5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x==0) {\n\t\t\t\tbreak;\n\t\t\t}",
"x==0",
"x",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"num++",
"num",
"System.out.print(num)",
"System.out.print",
"System.out",
"System",
"System.out",
"num",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = 1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}\t\t\t\t\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num = 1;\n\t\tfor (int i=0; i<5; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tif (x==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tnum++;\n\t\t}\t\t\t\t\n\t\tSystem.out.print(num);\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int num = 1;
for (int i=0; i<5; i++) {
int x = sc.nextInt();
if (x==0) {
break;
}
num++;
}
System.out.print(num);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n int x1 = scan.nextInt();\n int x2 = scan.nextInt();\n int x3 = scan.nextInt();\n int x4 = scan.nextInt();\n int x5 = scan.nextInt();\n int ans = 0;\n \n if(x1 == 0)\n ans = 1;\n else if(x2 == 0)\n ans = 2;\n else if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;\n \n System.out.println(ans);\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 int x1 = scan.nextInt();\n int x2 = scan.nextInt();\n int x3 = scan.nextInt();\n int x4 = scan.nextInt();\n int x5 = scan.nextInt();\n int ans = 0;\n \n if(x1 == 0)\n ans = 1;\n else if(x2 == 0)\n ans = 2;\n else if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;\n \n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n int x1 = scan.nextInt();\n int x2 = scan.nextInt();\n int x3 = scan.nextInt();\n int x4 = scan.nextInt();\n int x5 = scan.nextInt();\n int ans = 0;\n \n if(x1 == 0)\n ans = 1;\n else if(x2 == 0)\n ans = 2;\n else if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;\n \n System.out.println(ans);\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n int x1 = scan.nextInt();\n int x2 = scan.nextInt();\n int x3 = scan.nextInt();\n int x4 = scan.nextInt();\n int x5 = scan.nextInt();\n int ans = 0;\n \n if(x1 == 0)\n ans = 1;\n else if(x2 == 0)\n ans = 2;\n else if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;\n \n System.out.println(ans);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x1 = scan.nextInt();",
"x1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x2 = scan.nextInt();",
"x2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x3 = scan.nextInt();",
"x3",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x4 = scan.nextInt();",
"x4",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int x5 = scan.nextInt();",
"x5",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int ans = 0;",
"ans",
"0",
"if(x1 == 0)\n ans = 1;\n else if(x2 == 0)\n ans = 2;\n else if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;",
"x1 == 0",
"x1",
"0",
"ans = 1",
"ans",
"1",
"if(x2 == 0)\n ans = 2;\n else if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;",
"x2 == 0",
"x2",
"0",
"ans = 2",
"ans",
"2",
"if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;",
"x3 == 0",
"x3",
"0",
"ans = 3",
"ans",
"3",
"if(x4 == 0)\n ans = 4;\n else\n ans = 5;",
"x4 == 0",
"x4",
"0",
"ans = 4",
"ans",
"4",
"ans = 5",
"ans",
"5",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n int x1 = scan.nextInt();\n int x2 = scan.nextInt();\n int x3 = scan.nextInt();\n int x4 = scan.nextInt();\n int x5 = scan.nextInt();\n int ans = 0;\n \n if(x1 == 0)\n ans = 1;\n else if(x2 == 0)\n ans = 2;\n else if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;\n \n System.out.println(ans);\n }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n int x1 = scan.nextInt();\n int x2 = scan.nextInt();\n int x3 = scan.nextInt();\n int x4 = scan.nextInt();\n int x5 = scan.nextInt();\n int ans = 0;\n \n if(x1 == 0)\n ans = 1;\n else if(x2 == 0)\n ans = 2;\n else if(x3 == 0)\n ans = 3;\n else if(x4 == 0)\n ans = 4;\n else\n ans = 5;\n \n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x1 = scan.nextInt();
int x2 = scan.nextInt();
int x3 = scan.nextInt();
int x4 = scan.nextInt();
int x5 = scan.nextInt();
int ans = 0;
if(x1 == 0)
ans = 1;
else if(x2 == 0)
ans = 2;
else if(x3 == 0)
ans = 3;
else if(x4 == 0)
ans = 4;
else
ans = 5;
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
13,
2,
13,
17,
29,
23,
13,
23,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
28,
13,
13,
30,
0,
13,
4,
18,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
13,
0,
13,
13,
0,
13,
17,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
0,
13,
17,
30,
30,
11,
1,
0,
13,
17,
2,
13,
2,
13,
17,
1,
0,
13,
2,
13,
17,
30,
30,
0,
13,
4,
18,
13,
2,
2,
13,
2,
13,
17,
17,
2,
13,
17,
0,
13,
4,
18,
13,
2,
2,
13,
13,
17,
2,
13,
17,
0,
13,
13,
0,
13,
2,
13,
17,
0,
13,
13,
42,
2,
2,
13,
13,
2,
13,
13,
0,
18,
13,
40,
13,
8,
2,
18,
13,
13,
18,
13,
13,
18,
13,
40,
13,
18,
13,
40,
13,
42,
2,
13,
13,
0,
18,
13,
40,
13,
18,
13,
40,
13,
42,
2,
13,
13,
0,
18,
13,
40,
13,
18,
13,
40,
13,
11,
1,
0,
13,
13,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
13,
4,
13,
18,
13,
13,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
4,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
732,
20
],
[
732,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
23,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
43,
48
],
[
23,
49
],
[
49,
50
],
[
50,
51
],
[
21,
52
],
[
52,
53
],
[
732,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
58,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
95,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
105,
107
],
[
101,
108
],
[
56,
109
],
[
109,
110
],
[
56,
111
],
[
111,
112
],
[
56,
113
],
[
113,
114
],
[
732,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
119,
125
],
[
125,
126
],
[
125,
127
],
[
125,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
131,
135
],
[
119,
136
],
[
136,
137
],
[
117,
138
],
[
138,
139
],
[
115,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
151,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
150,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
150,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
169,
171
],
[
142,
172
],
[
172,
173
],
[
140,
174
],
[
174,
175
],
[
140,
176
],
[
176,
177
],
[
115,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
184,
185
],
[
184,
186
],
[
180,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
192,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
202,
203
],
[
202,
204
],
[
191,
205
],
[
205,
206
],
[
205,
207
],
[
191,
208
],
[
208,
209
],
[
208,
210
],
[
191,
211
],
[
211,
212
],
[
211,
213
],
[
180,
214
],
[
214,
215
],
[
178,
216
],
[
216,
217
],
[
178,
218
],
[
218,
219
],
[
178,
220
],
[
220,
221
],
[
115,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
227,
229
],
[
224,
230
],
[
230,
231
],
[
224,
232
],
[
232,
233
],
[
224,
234
],
[
234,
235
],
[
224,
236
],
[
236,
237
],
[
224,
238
],
[
238,
239
],
[
224,
240
],
[
240,
241
],
[
224,
242
],
[
242,
243
],
[
224,
244
],
[
244,
245
],
[
244,
246
],
[
224,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
248,
253
],
[
253,
254
],
[
253,
255
],
[
248,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
248,
260
],
[
261,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
262,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
269,
271
],
[
262,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
275,
277
],
[
262,
278
],
[
279,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
282,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
288,
290
],
[
285,
291
],
[
282,
292
],
[
292,
293
],
[
292,
294
],
[
279,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
298,
299
],
[
297,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
300,
304
],
[
297,
305
],
[
305,
306
],
[
305,
307
],
[
279,
308
],
[
308,
309
],
[
308,
310
],
[
279,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
313,
315
],
[
279,
316
],
[
316,
317
],
[
316,
318
],
[
279,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
324
],
[
324,
325
],
[
324,
326
],
[
319,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
327,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
333,
337
],
[
337,
338
],
[
337,
339
],
[
332,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
332,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
279,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
348,
352
],
[
352,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
352,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
279,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
365,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
279,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
374,
379
],
[
379,
380
],
[
379,
381
],
[
374,
382
],
[
382,
383
],
[
383,
384
],
[
374,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
386,
390
],
[
390,
391
],
[
390,
392
],
[
222,
393
],
[
393,
394
],
[
115,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
398,
402
],
[
402,
403
],
[
397,
404
],
[
404,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
407,
409
],
[
405,
410
],
[
395,
411
],
[
411,
412
],
[
395,
413
],
[
413,
414
],
[
115,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
418,
419
],
[
418,
420
],
[
420,
421
],
[
420,
422
],
[
417,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
425,
427
],
[
423,
428
],
[
428,
429
],
[
428,
430
],
[
423,
431
],
[
431,
432
],
[
432,
433
],
[
423,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
437,
438
],
[
437,
439
],
[
439,
440
],
[
439,
441
],
[
437,
442
],
[
417,
443
],
[
443,
444
],
[
415,
445
],
[
445,
446
],
[
415,
447
],
[
447,
448
],
[
732,
449
],
[
449,
450
],
[
449,
451
],
[
451,
452
],
[
449,
453
],
[
453,
454
],
[
453,
455
],
[
449,
457
],
[
457,
458
],
[
449,
459
],
[
459,
460
],
[
449,
461
],
[
461,
462
],
[
449,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
467,
469
],
[
466,
470
],
[
463,
471
],
[
471,
472
],
[
449,
473
],
[
473,
474
],
[
473,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
476,
481
],
[
481,
482
],
[
475,
483
],
[
483,
484
],
[
484,
485
],
[
484,
486
],
[
483,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
487,
491
],
[
491,
492
],
[
492,
493
],
[
492,
494
],
[
494,
495
],
[
495,
496
],
[
491,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
500,
501
],
[
501,
502
],
[
500,
503
],
[
487,
504
],
[
504,
505
],
[
505,
506
],
[
505,
507
],
[
504,
508
],
[
508,
509
],
[
509,
510
],
[
475,
511
],
[
511,
512
],
[
512,
513
],
[
512,
514
],
[
514,
515
],
[
449,
516
],
[
516,
517
],
[
516,
518
],
[
518,
519
],
[
519,
520
],
[
519,
521
],
[
521,
522
],
[
518,
523
],
[
523,
524
],
[
524,
525
],
[
524,
526
],
[
523,
527
],
[
527,
528
],
[
527,
529
],
[
529,
530
],
[
518,
531
],
[
531,
532
],
[
531,
533
],
[
518,
534
],
[
534,
535
],
[
535,
536
],
[
535,
537
],
[
534,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
541,
542
],
[
538,
543
],
[
543,
544
],
[
543,
545
],
[
545,
546
],
[
518,
547
],
[
547,
548
],
[
547,
549
],
[
518,
550
],
[
550,
551
],
[
551,
552
],
[
552,
553
],
[
552,
554
],
[
550,
555
],
[
555,
556
],
[
556,
557
],
[
557,
558
],
[
558,
559
],
[
558,
560
],
[
557,
561
],
[
561,
562
],
[
561,
563
],
[
556,
564
],
[
564,
565
],
[
555,
566
],
[
566,
567
],
[
566,
568
],
[
555,
569
],
[
569,
570
],
[
569,
571
],
[
571,
572
],
[
571,
573
],
[
555,
574
],
[
574,
575
],
[
574,
576
],
[
576,
577
],
[
518,
578
],
[
578,
579
],
[
579,
580
],
[
579,
581
],
[
449,
582
],
[
582,
583
],
[
582,
584
],
[
584,
585
],
[
585,
586
],
[
585,
587
],
[
587,
588
],
[
584,
589
],
[
589,
590
],
[
590,
591
],
[
590,
592
],
[
589,
593
],
[
593,
594
],
[
593,
595
],
[
595,
596
],
[
584,
597
],
[
597,
598
],
[
597,
599
],
[
584,
600
],
[
600,
601
],
[
601,
602
],
[
601,
603
],
[
600,
604
],
[
604,
605
],
[
605,
606
],
[
605,
607
],
[
607,
608
],
[
604,
609
],
[
609,
610
],
[
609,
611
],
[
611,
612
],
[
584,
613
],
[
613,
614
],
[
613,
615
],
[
584,
616
],
[
616,
617
],
[
617,
618
],
[
618,
619
],
[
618,
620
],
[
616,
621
],
[
621,
622
],
[
622,
623
],
[
623,
624
],
[
624,
625
],
[
624,
626
],
[
623,
627
],
[
627,
628
],
[
627,
629
],
[
622,
630
],
[
630,
631
],
[
621,
632
],
[
632,
633
],
[
632,
634
],
[
621,
635
],
[
635,
636
],
[
635,
637
],
[
637,
638
],
[
637,
639
],
[
621,
640
],
[
640,
641
],
[
640,
642
],
[
642,
643
],
[
584,
644
],
[
644,
645
],
[
645,
646
],
[
645,
647
],
[
449,
648
],
[
648,
649
],
[
648,
650
],
[
650,
651
],
[
651,
652
],
[
651,
653
],
[
653,
654
],
[
650,
655
],
[
655,
656
],
[
656,
657
],
[
656,
658
],
[
655,
659
],
[
659,
660
],
[
659,
661
],
[
661,
662
],
[
650,
663
],
[
663,
664
],
[
663,
665
],
[
650,
666
],
[
666,
667
],
[
667,
668
],
[
668,
669
],
[
668,
670
],
[
666,
671
],
[
671,
672
],
[
672,
673
],
[
673,
674
],
[
672,
675
],
[
671,
676
],
[
676,
677
],
[
676,
678
],
[
678,
679
],
[
650,
680
],
[
680,
681
],
[
681,
682
],
[
682,
683
],
[
449,
684
],
[
684,
685
],
[
684,
686
],
[
686,
687
],
[
687,
688
],
[
688,
689
],
[
688,
690
],
[
687,
691
],
[
691,
692
],
[
692,
693
],
[
693,
694
],
[
692,
695
],
[
686,
696
],
[
696,
697
],
[
700,
698
],
[
710,
699
],
[
707,
700
],
[
700,
701
],
[
701,
702
],
[
701,
703
],
[
700,
704
],
[
704,
705
],
[
704,
706
],
[
707,
707
],
[
707,
708
],
[
707,
709
],
[
710,
710
],
[
710,
711
],
[
710,
712
],
[
700,
713
],
[
713,
714
],
[
713,
715
],
[
715,
716
],
[
684,
717
],
[
717,
718
],
[
449,
719
],
[
719,
720
],
[
719,
721
],
[
721,
722
],
[
722,
723
],
[
723,
724
],
[
449,
725
],
[
725,
726
],
[
725,
727
],
[
727,
728
],
[
727,
729
],
[
729,
730
],
[
0,
731
],
[
731,
732
],
[
731,
733
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.*;\nimport java.util.InputMismatchException;\n\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Manan Patel\n */\npublic class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }\n\n static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int a[] = new int[5];\n for (int i = 0 ; i < 5 ; i++)\n a[i] = sc.nextInt();\n for (int i = 0 ; i < 5 ; i++){\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }\n }\n }\n static class f{\n public static long max(long a[]){\n long ans = Long.MIN_VALUE;\n for (long i : a)\n ans = Math.max(ans , i);\n return ans;\n }\n public static long power(long x, int y){\n long res = 1;\n while (y > 0)\n {\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }\n return res;\n }\n public static long powerm(long x, long y, long p) {\n long res = 1;\n x %= p;\n while (y > 0) {\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }\n return res;\n }\n public static void sort(int[] arr) {\n int n = arr.length, mid, h, s, l, i, j, k;\n int[] res = new int[n];\n for (s = 1; s < n; s <<= 1) {\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }\n }\n public static long gcd(long a, long b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n public static long findGCD(long arr[], int n)\n {\n long result = arr[0];\n for (int i = 1; i < n; i++)\n result = gcd(arr[i], result);\n return result;\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n}",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"public class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }\n\n static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int a[] = new int[5];\n for (int i = 0 ; i < 5 ; i++)\n a[i] = sc.nextInt();\n for (int i = 0 ; i < 5 ; i++){\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }\n }\n }\n static class f{\n public static long max(long a[]){\n long ans = Long.MIN_VALUE;\n for (long i : a)\n ans = Math.max(ans , i);\n return ans;\n }\n public static long power(long x, int y){\n long res = 1;\n while (y > 0)\n {\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }\n return res;\n }\n public static long powerm(long x, long y, long p) {\n long res = 1;\n x %= p;\n while (y > 0) {\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }\n return res;\n }\n public static void sort(int[] arr) {\n int n = arr.length, mid, h, s, l, i, j, k;\n int[] res = new int[n];\n for (s = 1; s < n; s <<= 1) {\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }\n }\n public static long gcd(long a, long b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n public static long findGCD(long arr[], int n)\n {\n long result = arr[0];\n for (int i = 1; i < n; i++)\n result = gcd(arr[i], result);\n return result;\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter w = new PrintWriter(outputStream);",
"w",
"new PrintWriter(outputStream)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve(1 , in, w)",
"solver.solve",
"solver",
"1",
"in",
"w",
"w.close()",
"w.close",
"w",
"String[] args",
"args",
"static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int a[] = new int[5];\n for (int i = 0 ; i < 5 ; i++)\n a[i] = sc.nextInt();\n for (int i = 0 ; i < 5 ; i++){\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }\n }\n }",
"Solution",
"public void solve(int tc, InputReader sc, PrintWriter w) {\n int a[] = new int[5];\n for (int i = 0 ; i < 5 ; i++)\n a[i] = sc.nextInt();\n for (int i = 0 ; i < 5 ; i++){\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }\n }",
"solve",
"{\n int a[] = new int[5];\n for (int i = 0 ; i < 5 ; i++)\n a[i] = sc.nextInt();\n for (int i = 0 ; i < 5 ; i++){\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }\n }",
"int a[] = new int[5];",
"a",
"new int[5]",
"5",
"for (int i = 0 ; i < 5 ; i++)\n a[i] = sc.nextInt();",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"a[i] = sc.nextInt();",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int i = 0 ; i < 5 ; i++){\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }",
"{\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }",
"if (a[i] == 0){\n w.println(i + 1);\n return;\n }",
"a[i] == 0",
"a[i]",
"a",
"i",
"0",
"{\n w.println(i + 1);\n return;\n }",
"w.println(i + 1)",
"w.println",
"w",
"i + 1",
"i",
"1",
"return;",
"int tc",
"tc",
"InputReader sc",
"sc",
"PrintWriter w",
"w",
"static class f{\n public static long max(long a[]){\n long ans = Long.MIN_VALUE;\n for (long i : a)\n ans = Math.max(ans , i);\n return ans;\n }\n public static long power(long x, int y){\n long res = 1;\n while (y > 0)\n {\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }\n return res;\n }\n public static long powerm(long x, long y, long p) {\n long res = 1;\n x %= p;\n while (y > 0) {\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }\n return res;\n }\n public static void sort(int[] arr) {\n int n = arr.length, mid, h, s, l, i, j, k;\n int[] res = new int[n];\n for (s = 1; s < n; s <<= 1) {\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }\n }\n public static long gcd(long a, long b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n public static long findGCD(long arr[], int n)\n {\n long result = arr[0];\n for (int i = 1; i < n; i++)\n result = gcd(arr[i], result);\n return result;\n }\n\n }",
"f",
"public static long max(long a[]){\n long ans = Long.MIN_VALUE;\n for (long i : a)\n ans = Math.max(ans , i);\n return ans;\n }",
"max",
"{\n long ans = Long.MIN_VALUE;\n for (long i : a)\n ans = Math.max(ans , i);\n return ans;\n }",
"long ans = Long.MIN_VALUE;",
"ans",
"Long.MIN_VALUE",
"Long",
"Long.MIN_VALUE",
"for (long i : a)\n ans = Math.max(ans , i);",
"long i",
"a",
"ans = Math.max(ans , i);",
"ans = Math.max(ans , i)",
"ans",
"Math.max(ans , i)",
"Math.max",
"Math",
"ans",
"i",
"return ans;",
"ans",
"long a[]",
"a",
"public static long power(long x, int y){\n long res = 1;\n while (y > 0)\n {\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }\n return res;\n }",
"power",
"{\n long res = 1;\n while (y > 0)\n {\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }\n return res;\n }",
"long res = 1;",
"res",
"1",
"while (y > 0)\n {\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }",
"y > 0",
"y",
"0",
"{\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }",
"if ((y & 1) == 1)\n res = (res*x);",
"(y & 1) == 1",
"(y & 1)",
"y",
"1",
"1",
"res = (res*x)",
"res",
"(res*x)",
"res",
"x",
"y = y >> 1",
"y",
"y >> 1",
"y",
"1",
"x = x * x",
"x",
"x * x",
"x",
"x",
"return res;",
"res",
"long x",
"x",
"int y",
"y",
"public static long powerm(long x, long y, long p) {\n long res = 1;\n x %= p;\n while (y > 0) {\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }\n return res;\n }",
"powerm",
"{\n long res = 1;\n x %= p;\n while (y > 0) {\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }\n return res;\n }",
"long res = 1;",
"res",
"1",
"x %= p",
"x",
"p",
"while (y > 0) {\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }",
"y > 0",
"y",
"0",
"{\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }",
"if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }",
"(y & 1) == 1",
"(y & 1)",
"y",
"1",
"1",
"{\n res *= x;\n res %= p;\n }",
"res *= x",
"res",
"x",
"res %= p",
"res",
"p",
"y >>= 1",
"y",
"1",
"x *= x",
"x",
"x",
"x %= p",
"x",
"p",
"return res;",
"res",
"long x",
"x",
"long y",
"y",
"long p",
"p",
"public static void sort(int[] arr) {\n int n = arr.length, mid, h, s, l, i, j, k;\n int[] res = new int[n];\n for (s = 1; s < n; s <<= 1) {\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }\n }",
"sort",
"{\n int n = arr.length, mid, h, s, l, i, j, k;\n int[] res = new int[n];\n for (s = 1; s < n; s <<= 1) {\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }\n }",
"int n = arr.length",
"n",
"arr.length",
"arr",
"arr.length",
"mid",
"mid",
"h",
"h",
"s",
"s",
"l",
"l",
"i",
"i",
"j",
"j",
"k;",
"k",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for (s = 1; s < n; s <<= 1) {\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }",
"s = 1;",
"s = 1",
"s",
"1",
"s < n",
"s",
"n",
"s <<= 1",
"s <<= 1",
"s",
"1",
"{\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }",
"{\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }",
"for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }",
"l = 0;",
"l = 0",
"l",
"0",
"l < n - 1",
"l",
"n - 1",
"n",
"1",
"l += (s << 1)",
"l += (s << 1)",
"l",
"(s << 1)",
"s",
"1",
"{\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }",
"{\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }",
"h = Math.min(l + (s << 1) - 1, n - 1)",
"h",
"Math.min(l + (s << 1) - 1, n - 1)",
"Math.min",
"Math",
"l + (s << 1) - 1",
"l + (s << 1)",
"l",
"(s << 1)",
"s",
"1",
"1",
"n - 1",
"n",
"1",
"mid = Math.min(l + s - 1, n - 1)",
"mid",
"Math.min(l + s - 1, n - 1)",
"Math.min",
"Math",
"l + s - 1",
"l + s",
"l",
"s",
"1",
"n - 1",
"n",
"1",
"i = l",
"i",
"l",
"j = mid + 1",
"j",
"mid + 1",
"mid",
"1",
"k = l",
"k",
"l",
"while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);",
"i <= mid && j <= h",
"i <= mid",
"i",
"mid",
"j <= h",
"j",
"h",
"res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++])",
"res[k++]",
"res",
"k++",
"k",
"(arr[i] <= arr[j] ? arr[i++] : arr[j++])",
"arr[i] <= arr[j]",
"arr[i]",
"arr",
"i",
"arr[j]",
"arr",
"j",
"arr[i++]",
"arr",
"i++",
"i",
"arr[j++]",
"arr",
"j++",
"j",
"while (i <= mid)\n res[k++] = arr[i++];",
"i <= mid",
"i",
"mid",
"res[k++] = arr[i++]",
"res[k++]",
"res",
"k++",
"k",
"arr[i++]",
"arr",
"i++",
"i",
"while (j <= h)\n res[k++] = arr[j++];",
"j <= h",
"j",
"h",
"res[k++] = arr[j++]",
"res[k++]",
"res",
"k++",
"k",
"arr[j++]",
"arr",
"j++",
"j",
"for (k = l; k <= h; k++)\n arr[k] = res[k];",
"k = l;",
"k = l",
"k",
"l",
"k <= h",
"k",
"h",
"k++",
"k++",
"k",
"arr[k] = res[k];",
"arr[k] = res[k]",
"arr[k]",
"arr",
"k",
"res[k]",
"res",
"k",
"int[] arr",
"arr",
"public static long gcd(long a, long b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }",
"gcd",
"{\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }",
"if (a == 0)\n return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"long a",
"a",
"long b",
"b",
"public static long findGCD(long arr[], int n)\n {\n long result = arr[0];\n for (int i = 1; i < n; i++)\n result = gcd(arr[i], result);\n return result;\n }",
"findGCD",
"{\n long result = arr[0];\n for (int i = 1; i < n; i++)\n result = gcd(arr[i], result);\n return result;\n }",
"long result = arr[0];",
"result",
"arr[0]",
"arr",
"0",
"for (int i = 1; i < n; i++)\n result = gcd(arr[i], result);",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"result = gcd(arr[i], result);",
"result = gcd(arr[i], result)",
"result",
"gcd(arr[i], result)",
"gcd",
"arr[i]",
"arr",
"i",
"result",
"return result;",
"result",
"long arr[]",
"arr",
"int n",
"n",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0)\n return -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9')\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }",
"readString",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null)\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public String next() {\n return readString();\n }",
"next",
"{\n return readString();\n }",
"return readString();",
"readString()",
"readString",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }\n\n static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int a[] = new int[5];\n for (int i = 0 ; i < 5 ; i++)\n a[i] = sc.nextInt();\n for (int i = 0 ; i < 5 ; i++){\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }\n }\n }\n static class f{\n public static long max(long a[]){\n long ans = Long.MIN_VALUE;\n for (long i : a)\n ans = Math.max(ans , i);\n return ans;\n }\n public static long power(long x, int y){\n long res = 1;\n while (y > 0)\n {\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }\n return res;\n }\n public static long powerm(long x, long y, long p) {\n long res = 1;\n x %= p;\n while (y > 0) {\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }\n return res;\n }\n public static void sort(int[] arr) {\n int n = arr.length, mid, h, s, l, i, j, k;\n int[] res = new int[n];\n for (s = 1; s < n; s <<= 1) {\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }\n }\n public static long gcd(long a, long b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n public static long findGCD(long arr[], int n)\n {\n long result = arr[0];\n for (int i = 1; i < n; i++)\n result = gcd(arr[i], result);\n return result;\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n}",
"public class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n Solution solver = new Solution();\n //int testCount = Integer.parseInt(in.next());\n //for (int i = 1; i <= testCount; i++)\n solver.solve(1 , in, w);\n w.close();\n }\n\n static class Solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int a[] = new int[5];\n for (int i = 0 ; i < 5 ; i++)\n a[i] = sc.nextInt();\n for (int i = 0 ; i < 5 ; i++){\n if (a[i] == 0){\n w.println(i + 1);\n return;\n }\n }\n }\n }\n static class f{\n public static long max(long a[]){\n long ans = Long.MIN_VALUE;\n for (long i : a)\n ans = Math.max(ans , i);\n return ans;\n }\n public static long power(long x, int y){\n long res = 1;\n while (y > 0)\n {\n if ((y & 1) == 1)\n res = (res*x);\n y = y >> 1;\n x = x * x;\n }\n return res;\n }\n public static long powerm(long x, long y, long p) {\n long res = 1;\n x %= p;\n while (y > 0) {\n if ((y & 1) == 1) {\n res *= x;\n res %= p;\n }\n y >>= 1;\n x *= x;\n x %= p;\n }\n return res;\n }\n public static void sort(int[] arr) {\n int n = arr.length, mid, h, s, l, i, j, k;\n int[] res = new int[n];\n for (s = 1; s < n; s <<= 1) {\n for (l = 0; l < n - 1; l += (s << 1)) {\n h = Math.min(l + (s << 1) - 1, n - 1);\n mid = Math.min(l + s - 1, n - 1);\n i = l;\n j = mid + 1;\n k = l;\n while (i <= mid && j <= h)\n res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);\n while (i <= mid)\n res[k++] = arr[i++];\n while (j <= h)\n res[k++] = arr[j++];\n for (k = l; k <= h; k++)\n arr[k] = res[k];\n }\n }\n }\n public static long gcd(long a, long b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n public static long findGCD(long arr[], int n)\n {\n long result = arr[0];\n for (int i = 1; i < n; i++)\n result = gcd(arr[i], result);\n return result;\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.*;
import java.util.InputMismatchException;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Manan Patel
*/
public class Main{
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter w = new PrintWriter(outputStream);
Solution solver = new Solution();
//int testCount = Integer.parseInt(in.next());
//for (int i = 1; i <= testCount; i++)
solver.solve(1 , in, w);
w.close();
}
static class Solution {
public void solve(int tc, InputReader sc, PrintWriter w) {
int a[] = new int[5];
for (int i = 0 ; i < 5 ; i++)
a[i] = sc.nextInt();
for (int i = 0 ; i < 5 ; i++){
if (a[i] == 0){
w.println(i + 1);
return;
}
}
}
}
static class f{
public static long max(long a[]){
long ans = Long.MIN_VALUE;
for (long i : a)
ans = Math.max(ans , i);
return ans;
}
public static long power(long x, int y){
long res = 1;
while (y > 0)
{
if ((y & 1) == 1)
res = (res*x);
y = y >> 1;
x = x * x;
}
return res;
}
public static long powerm(long x, long y, long p) {
long res = 1;
x %= p;
while (y > 0) {
if ((y & 1) == 1) {
res *= x;
res %= p;
}
y >>= 1;
x *= x;
x %= p;
}
return res;
}
public static void sort(int[] arr) {
int n = arr.length, mid, h, s, l, i, j, k;
int[] res = new int[n];
for (s = 1; s < n; s <<= 1) {
for (l = 0; l < n - 1; l += (s << 1)) {
h = Math.min(l + (s << 1) - 1, n - 1);
mid = Math.min(l + s - 1, n - 1);
i = l;
j = mid + 1;
k = l;
while (i <= mid && j <= h)
res[k++] = (arr[i] <= arr[j] ? arr[i++] : arr[j++]);
while (i <= mid)
res[k++] = arr[i++];
while (j <= h)
res[k++] = arr[j++];
for (k = l; k <= h; k++)
arr[k] = res[k];
}
}
}
public static long gcd(long a, long b)
{
if (a == 0)
return b;
return gcd(b % a, a);
}
public static long findGCD(long arr[], int n)
{
long result = arr[0];
for (int i = 1; i < n; i++)
result = gcd(arr[i], result);
return result;
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1)
throw new InputMismatchException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
while (!isSpaceChar(c));
return res * sgn;
}
public String readString() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
}
while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null)
return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public String next() {
return readString();
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
]
]
| [
"import java.util.*;\nclass Main{\n \tpublic static void main(String[]args){\n \tScanner sc=new Scanner(System.in);\n int ans=15;\n \tfor(int i=0;i<5;i++)ans-=sc.nextInt();\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n \tpublic static void main(String[]args){\n \tScanner sc=new Scanner(System.in);\n int ans=15;\n \tfor(int i=0;i<5;i++)ans-=sc.nextInt();\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[]args){\n \tScanner sc=new Scanner(System.in);\n int ans=15;\n \tfor(int i=0;i<5;i++)ans-=sc.nextInt();\n System.out.println(ans);\n }",
"main",
"{\n \tScanner sc=new Scanner(System.in);\n int ans=15;\n \tfor(int i=0;i<5;i++)ans-=sc.nextInt();\n System.out.println(ans);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int ans=15;",
"ans",
"15",
"for(int i=0;i<5;i++)ans-=sc.nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"ans-=sc.nextInt();",
"ans-=sc.nextInt()",
"ans",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[]args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[]args){
Scanner sc=new Scanner(System.in);
int ans=15;
for(int i=0;i<5;i++)ans-=sc.nextInt();
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
64,
73
],
[
15,
74
],
[
74,
75
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\nimport java.math.BigDecimal;\n\nclass Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[5];\n\t\t\n\t\tfor(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tif(num[i] == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[5];\n\t\t\n\t\tfor(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tif(num[i] == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[5];\n\t\t\n\t\tfor(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tif(num[i] == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[5];\n\t\t\n\t\tfor(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tif(num[i] == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] num = new int[5];",
"num",
"new int[5]",
"5",
"for(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}",
"{\n\t\t\tnum[i] = sc.nextInt();\n\t\t}",
"num[i] = sc.nextInt()",
"num[i]",
"num",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i = 0; i < 5; i++)\n\t\t{\n\t\t\tif(num[i] == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tif(num[i] == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(num[i] == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(num[i] == 0)\n\t\t\t{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"num[i] == 0",
"num[i]",
"num",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(i + 1);\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"String[] args",
"args"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.BigDecimal;
class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int[] num = new int[5];
for(int i = 0; i < 5; i++)
{
num[i] = sc.nextInt();
}
for(int i = 0; i < 5; i++)
{
if(num[i] == 0)
{
System.out.println(i + 1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
30,
41,
13,
20,
4,
18,
20,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
13,
13,
29,
30,
40,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
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
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
22,
29
],
[
29,
30
],
[
30,
31
],
[
15,
32
],
[
32,
33
],
[
13,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
34,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
40,
53
],
[
53,
54
],
[
40,
55
],
[
55,
56
],
[
34,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
59,
66
],
[
66,
67
],
[
66,
68
],
[
59,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
78,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
13,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
87,
94
],
[
94,
95
],
[
94,
96
],
[
87,
98
],
[
98,
99
],
[
98,
100
],
[
87,
101
],
[
101,
102
],
[
101,
103
],
[
87,
104
],
[
104,
105
],
[
104,
106
],
[
87,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
115,
116
],
[
110,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
121,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
117,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
109,
142
],
[
142,
143
],
[
87,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
147,
155
],
[
155,
156
],
[
156,
157
],
[
87,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
166,
168
],
[
158,
169
],
[
169,
170
],
[
87,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
181,
183
],
[
174,
184
],
[
184,
185
],
[
173,
186
],
[
186,
187
],
[
187,
188
],
[
87,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
192,
196
],
[
196,
197
],
[
191,
198
],
[
198,
199
],
[
198,
200
],
[
191,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
191,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
210,
213
],
[
209,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
191,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
87,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
225,
229
],
[
229,
230
],
[
224,
231
],
[
231,
232
],
[
231,
233
],
[
224,
234
],
[
234,
235
],
[
234,
236
],
[
224,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
224,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
245,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
224,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
258
],
[
258,
259
],
[
258,
260
],
[
253,
261
],
[
261,
262
],
[
262,
263
],
[
224,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
272,
273
],
[
272,
274
],
[
267,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
281,
283
],
[
267,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
285,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
284,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
296,
300
],
[
284,
301
],
[
301,
302
],
[
302,
303
],
[
266,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
87,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
310,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
319,
321
],
[
316,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
324,
326
],
[
315,
327
],
[
327,
328
],
[
310,
329
],
[
329,
330
],
[
87,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
335,
338
],
[
338,
339
],
[
87,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
347,
352
],
[
352,
353
],
[
352,
354
],
[
347,
355
],
[
355,
356
],
[
356,
357
],
[
347,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
359,
363
],
[
363,
364
],
[
342,
365
],
[
365,
366
],
[
340,
367
],
[
367,
368
],
[
87,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
371,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
376,
381
],
[
381,
382
],
[
381,
383
],
[
376,
384
],
[
384,
385
],
[
385,
386
],
[
376,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
392
],
[
392,
393
],
[
371,
394
],
[
394,
395
],
[
369,
396
],
[
396,
397
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\nclass Main {\n\n static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n int[] x = sc.nextIntArray(5);\n int count = 1;\n for (int i : x) {\n if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }\n }\n }\n }\n\n public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }\n\n // FastScanner\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"class Main {\n\n static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n int[] x = sc.nextIntArray(5);\n int count = 1;\n for (int i : x) {\n if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }\n }\n }\n }\n\n public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }\n\n // FastScanner\n static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}",
"Main",
"public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }",
"main",
"{\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }",
"final FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }",
"{\n new Solver(sc, w).run();\n w.flush();\n }",
"final PrintWriter w = new PrintWriter(System.out)",
"final PrintWriter w = new PrintWriter(System.out)",
"new PrintWriter(System.out)",
"new Solver(sc, w).run()",
"new Solver(sc, w).run",
"new Solver(sc, w)",
"w.flush()",
"w.flush",
"w",
"final String[] args",
"args",
"static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n int[] x = sc.nextIntArray(5);\n int count = 1;\n for (int i : x) {\n if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }\n }\n }\n }",
"Solver",
"final FastScanner sc;",
"sc",
"final PrintWriter writer;",
"writer",
"Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }",
"Solver",
"{\n this.sc = sc;\n this.writer = writer;\n }",
"this.sc = sc",
"this.sc",
"this",
"this.sc",
"sc",
"this.writer = writer",
"this.writer",
"this",
"this.writer",
"writer",
"final FastScanner sc",
"sc",
"final PrintWriter writer",
"writer",
"void run() {\n int[] x = sc.nextIntArray(5);\n int count = 1;\n for (int i : x) {\n if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }\n }\n }",
"run",
"{\n int[] x = sc.nextIntArray(5);\n int count = 1;\n for (int i : x) {\n if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }\n }\n }",
"int[] x = sc.nextIntArray(5);",
"x",
"sc.nextIntArray(5)",
"sc.nextIntArray",
"sc",
"5",
"int count = 1;",
"count",
"1",
"for (int i : x) {\n if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }\n }",
"int i",
"x",
"{\n if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }\n }",
"{\n if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }\n }",
"if (i == 0) {\n writer.println(count);\n return;\n } else {\n count++;\n }",
"i == 0",
"i",
"0",
"{\n writer.println(count);\n return;\n }",
"writer.println(count)",
"writer.println",
"writer",
"count",
"return;",
"{\n count++;\n }",
"count++",
"count",
"static class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n public FastScanner() {\n }\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"public FastScanner() {\n }",
"FastScanner",
"{\n }",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }",
"catch (final IOException e) {\n e.printStackTrace();\n }",
"final IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"readByte",
"{\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private boolean isPrintableChar(final int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"final int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n final StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"final StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"final long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"nextIntArray",
"{\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"final int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"final int n",
"n",
"public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"nextLongArray",
"{\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"final long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"final int n",
"n"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
class Main {
static class Solver {
final FastScanner sc;
final PrintWriter writer;
Solver(final FastScanner sc, final PrintWriter writer) {
this.sc = sc;
this.writer = writer;
}
void run() {
int[] x = sc.nextIntArray(5);
int count = 1;
for (int i : x) {
if (i == 0) {
writer.println(count);
return;
} else {
count++;
}
}
}
}
public static void main(final String[] args) {
final FastScanner sc = new FastScanner();
try (final PrintWriter w = new PrintWriter(System.out)) {
new Solver(sc, w).run();
w.flush();
}
}
// FastScanner
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
public FastScanner() {
}
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (final IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[ptr++];
else
return -1;
}
private boolean isPrintableChar(final int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr]))
ptr++;
return hasNextByte();
}
public String next() {
if (!hasNext())
throw new NoSuchElementException();
final StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext())
throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
final long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)
throw new NumberFormatException();
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(final int n) {
final int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(final int n) {
final long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return 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,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
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
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
42,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.*;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int[] n = new int[5];\n \n for(int i=0; i<5; i++){\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int[] n = new int[5];\n \n for(int i=0; i<5; i++){\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int[] n = new int[5];\n \n for(int i=0; i<5; i++){\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int[] n = new int[5];\n \n for(int i=0; i<5; i++){\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] n = new int[5];",
"n",
"new int[5]",
"5",
"for(int i=0; i<5; i++){\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }",
"{\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }",
"n[i] = sc.nextInt()",
"n[i]",
"n",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n[i]==0){\n System.out.println(i+1);\n return;\n }",
"n[i]==0",
"n[i]",
"n",
"i",
"0",
"{\n System.out.println(i+1);\n return;\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int[] n = new int[5];\n \n for(int i=0; i<5; i++){\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int[] n = new int[5];\n \n for(int i=0; i<5; i++){\n n[i] = sc.nextInt();\n if(n[i]==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] n = new int[5];
for(int i=0; i<5; i++){
n[i] = sc.nextInt();
if(n[i]==0){
System.out.println(i+1);
return;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
152,
20
],
[
152,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
23,
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
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
21,
61
],
[
61,
62
],
[
152,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
70,
74
],
[
67,
75
],
[
63,
76
],
[
76,
77
],
[
63,
78
],
[
78,
79
],
[
63,
80
],
[
80,
81
],
[
152,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
98,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
92,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
82,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
82,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
134,
135
],
[
134,
136
],
[
129,
137
],
[
137,
138
],
[
138,
139
],
[
129,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
124,
147
],
[
147,
148
],
[
122,
149
],
[
149,
150
],
[
0,
151
],
[
151,
152
],
[
151,
153
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\nimport java.lang.Math;\nimport java.util.Map;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int[] ar = fs.readArray(5);\n\n for (int i =0; i<5;i++) {\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }\n\n\n\n\n\n\n }\n public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}\n",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"import java.util.Map;",
"Map",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int[] ar = fs.readArray(5);\n\n for (int i =0; i<5;i++) {\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }\n\n\n\n\n\n\n }\n public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int[] ar = fs.readArray(5);\n\n for (int i =0; i<5;i++) {\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }\n\n\n\n\n\n\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n int[] ar = fs.readArray(5);\n\n for (int i =0; i<5;i++) {\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }\n\n\n\n\n\n\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"int[] ar = fs.readArray(5);",
"ar",
"fs.readArray(5)",
"fs.readArray",
"fs",
"5",
"for (int i =0; i<5;i++) {\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }",
"int i =0;",
"int i =0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }",
"{\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }",
"if (ar[i] == 0) {\n System.out.println(i+1);\n }",
"ar[i] == 0",
"ar[i]",
"ar",
"i",
"0",
"{\n System.out.println(i+1);\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String[] args",
"args",
"public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }",
"convertFromBaseToBase",
"{\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }",
"return Integer.toString(Integer.parseInt(str, fromBase), toBase);",
"Integer.toString(Integer.parseInt(str, fromBase), toBase)",
"Integer.toString",
"Integer",
"Integer.parseInt(str, fromBase)",
"Integer.parseInt",
"Integer",
"str",
"fromBase",
"toBase",
"String str",
"str",
"int fromBase",
"fromBase",
"int toBase",
"toBase",
"static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st=new StringTokenizer(br.readLine());\n }",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"readArray",
"{\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int[] ar = fs.readArray(5);\n\n for (int i =0; i<5;i++) {\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }\n\n\n\n\n\n\n }\n public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int[] ar = fs.readArray(5);\n\n for (int i =0; i<5;i++) {\n if (ar[i] == 0) {\n System.out.println(i+1);\n }\n }\n\n\n\n\n\n\n }\n public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
import java.lang.Math;
import java.util.Map;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
int[] ar = fs.readArray(5);
for (int i =0; i<5;i++) {
if (ar[i] == 0) {
System.out.println(i+1);
}
}
}
public static String convertFromBaseToBase(String str, int fromBase, int toBase) {
return Integer.toString(Integer.parseInt(str, fromBase), toBase);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
public String next() {
while (!st.hasMoreElements())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\n\n/**\n * Main\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x[] = new int[5];\n\n // Enter x[0] - x[4]\n for(int i = 0; i < x.length; i++) {\n x[i] = scan.nextInt();\n }\n\n // Output x[i] if its value is 0\n for(int i = 0; i < x.length; i++) {\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }\n\n scan.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x[] = new int[5];\n\n // Enter x[0] - x[4]\n for(int i = 0; i < x.length; i++) {\n x[i] = scan.nextInt();\n }\n\n // Output x[i] if its value is 0\n for(int i = 0; i < x.length; i++) {\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }\n\n scan.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x[] = new int[5];\n\n // Enter x[0] - x[4]\n for(int i = 0; i < x.length; i++) {\n x[i] = scan.nextInt();\n }\n\n // Output x[i] if its value is 0\n for(int i = 0; i < x.length; i++) {\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }\n\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int x[] = new int[5];\n\n // Enter x[0] - x[4]\n for(int i = 0; i < x.length; i++) {\n x[i] = scan.nextInt();\n }\n\n // Output x[i] if its value is 0\n for(int i = 0; i < x.length; i++) {\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }\n\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x[] = new int[5];",
"x",
"new int[5]",
"5",
"for(int i = 0; i < x.length; i++) {\n x[i] = scan.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n x[i] = scan.nextInt();\n }",
"{\n x[i] = scan.nextInt();\n }",
"x[i] = scan.nextInt()",
"x[i]",
"x",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int i = 0; i < x.length; i++) {\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.length",
"i",
"x.length",
"x",
"x.length",
"i++",
"i++",
"i",
"{\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }",
"{\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }",
"if(x[i] == 0) {\n System.out.println(i + 1);\n }",
"x[i] == 0",
"x[i]",
"x",
"i",
"0",
"{\n System.out.println(i + 1);\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x[] = new int[5];\n\n // Enter x[0] - x[4]\n for(int i = 0; i < x.length; i++) {\n x[i] = scan.nextInt();\n }\n\n // Output x[i] if its value is 0\n for(int i = 0; i < x.length; i++) {\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }\n\n scan.close();\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x[] = new int[5];\n\n // Enter x[0] - x[4]\n for(int i = 0; i < x.length; i++) {\n x[i] = scan.nextInt();\n }\n\n // Output x[i] if its value is 0\n for(int i = 0; i < x.length; i++) {\n if(x[i] == 0) {\n System.out.println(i + 1);\n }\n }\n\n scan.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
/**
* Main
*/
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x[] = new int[5];
// Enter x[0] - x[4]
for(int i = 0; i < x.length; i++) {
x[i] = scan.nextInt();
}
// Output x[i] if its value is 0
for(int i = 0; i < x.length; i++) {
if(x[i] == 0) {
System.out.println(i + 1);
}
}
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
4,
18,
13,
2,
13,
17,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
178,
35
],
[
178,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
38,
52
],
[
52,
53
],
[
52,
54
],
[
38,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
38,
63
],
[
63,
64
],
[
64,
65
],
[
36,
66
],
[
66,
67
],
[
178,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
77,
87
],
[
87,
88
],
[
88,
89
],
[
77,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
91,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
99,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
108,
109
],
[
108,
110
],
[
70,
111
],
[
111,
112
],
[
70,
113
],
[
113,
114
],
[
178,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
115,
119
],
[
119,
120
],
[
115,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
127,
129
],
[
121,
130
],
[
130,
131
],
[
115,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
135,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
145,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
134,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
115,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
115,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
175,
176
],
[
0,
177
],
[
177,
178
],
[
177,
179
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.Random;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\npublic class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n\n solver.call(in,out);\n out.close();\n }\n\n static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n int[] arr = new int[5];\n for(int i=0;i<arr.length;i++){\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }\n\n\n\n }\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }\n}",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n\n solver.call(in,out);\n out.close();\n }\n\n static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n int[] arr = new int[5];\n for(int i=0;i<arr.length;i++){\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }\n\n\n\n }\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n\n solver.call(in,out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n\n solver.call(in,out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"TaskA solver = new TaskA();",
"solver",
"new TaskA()",
"solver.call(in,out)",
"solver.call",
"solver",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n int[] arr = new int[5];\n for(int i=0;i<arr.length;i++){\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }\n\n\n\n }\n }",
"TaskA",
"public void call(InputReader in, PrintWriter out) {\n int[] arr = new int[5];\n for(int i=0;i<arr.length;i++){\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }\n\n\n\n }",
"call",
"{\n int[] arr = new int[5];\n for(int i=0;i<arr.length;i++){\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }\n\n\n\n }",
"int[] arr = new int[5];",
"arr",
"new int[5]",
"5",
"for(int i=0;i<arr.length;i++){\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }",
"{\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }",
"arr[i] = in.nextInt()",
"arr[i]",
"arr",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"if(arr[i]==0)\n out.println(i+1);",
"arr[i]==0",
"arr[i]",
"arr",
"i",
"0",
"out.println(i+1)",
"out.println",
"out",
"i+1",
"i",
"1",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\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 tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n\n solver.call(in,out);\n out.close();\n }\n\n static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n int[] arr = new int[5];\n for(int i=0;i<arr.length;i++){\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }\n\n\n\n }\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskA solver = new TaskA();\n\n solver.call(in,out);\n out.close();\n }\n\n static class TaskA {\n public void call(InputReader in, PrintWriter out) {\n int[] arr = new int[5];\n for(int i=0;i<arr.length;i++){\n arr[i] = in.nextInt();\n if(arr[i]==0)\n out.println(i+1);\n }\n\n\n\n }\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.Random;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
TaskA solver = new TaskA();
solver.call(in,out);
out.close();
}
static class TaskA {
public void call(InputReader in, PrintWriter out) {
int[] arr = new int[5];
for(int i=0;i<arr.length;i++){
arr[i] = in.nextInt();
if(arr[i]==0)
out.println(i+1);
}
}
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public long nextLong() {
return Long.parseLong(next());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
14,
2,
2,
13,
17,
13,
30,
4,
18,
13,
17,
29,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
2,
2,
13,
13,
17,
2,
13,
13,
30,
4,
18,
13,
17,
29,
4,
18,
13,
17,
30,
4,
18,
13,
17,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
138,
17
],
[
138,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
138,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
79,
84
],
[
72,
85
],
[
85,
86
],
[
85,
87
],
[
72,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
100,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
107,
113
],
[
113,
114
],
[
113,
115
],
[
106,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
116,
121
],
[
72,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
66,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
53,
131
],
[
131,
132
],
[
53,
133
],
[
133,
134
],
[
53,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ABC170_b solver = new ABC170_b();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ABC170_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int X = in.nextInt();\n int Y = in.nextInt();\n if ((Y % 2) == 0) {\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n } else {\n out.println(\"No\");\n }\n\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ABC170_b solver = new ABC170_b();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ABC170_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int X = in.nextInt();\n int Y = in.nextInt();\n if ((Y % 2) == 0) {\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n } else {\n out.println(\"No\");\n }\n\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ABC170_b solver = new ABC170_b();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ABC170_b solver = new ABC170_b();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"ABC170_b solver = new ABC170_b();",
"solver",
"new ABC170_b()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class ABC170_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int X = in.nextInt();\n int Y = in.nextInt();\n if ((Y % 2) == 0) {\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n } else {\n out.println(\"No\");\n }\n\n\n }\n\n }",
"ABC170_b",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n int X = in.nextInt();\n int Y = in.nextInt();\n if ((Y % 2) == 0) {\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n } else {\n out.println(\"No\");\n }\n\n\n }",
"solve",
"{\n int X = in.nextInt();\n int Y = in.nextInt();\n if ((Y % 2) == 0) {\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n } else {\n out.println(\"No\");\n }\n\n\n }",
"int X = in.nextInt();",
"X",
"in.nextInt()",
"in.nextInt",
"in",
"int Y = in.nextInt();",
"Y",
"in.nextInt()",
"in.nextInt",
"in",
"if ((Y % 2) == 0) {\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n } else {\n out.println(\"No\");\n }",
"(Y % 2) == 0",
"(Y % 2)",
"Y",
"2",
"0",
"{\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n }",
"if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }",
"Y / 2 == X",
"Y / 2",
"Y",
"2",
"X",
"{\n out.println(\"Yes\");\n return;\n }",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"return;",
"int four = 0;",
"four",
"0",
"for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= X",
"i",
"X",
"i++",
"i++",
"i",
"{\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }",
"{\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }",
"four = i * 4",
"four",
"i * 4",
"i",
"4",
"if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }",
"((Y - four) / 2) == (X - i)",
"((Y - four) / 2)",
"(Y - four)",
"Y",
"four",
"2",
"(X - i)",
"X",
"i",
"{\n out.println(\"Yes\");\n return;\n }",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"return;",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"{\n out.println(\"No\");\n }",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ABC170_b solver = new ABC170_b();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ABC170_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int X = in.nextInt();\n int Y = in.nextInt();\n if ((Y % 2) == 0) {\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n } else {\n out.println(\"No\");\n }\n\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ABC170_b solver = new ABC170_b();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ABC170_b {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n int X = in.nextInt();\n int Y = in.nextInt();\n if ((Y % 2) == 0) {\n if (Y / 2 == X) {\n out.println(\"Yes\");\n return;\n }\n int four = 0;\n for (int i = 1; i <= X; i++) {\n four = i * 4;\n if (((Y - four) / 2) == (X - i)) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n } else {\n out.println(\"No\");\n }\n\n\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
ABC170_b solver = new ABC170_b();
solver.solve(1, in, out);
out.close();
}
static class ABC170_b {
public void solve(int testNumber, Scanner in, PrintWriter out) {
int X = in.nextInt();
int Y = in.nextInt();
if ((Y % 2) == 0) {
if (Y / 2 == X) {
out.println("Yes");
return;
}
int four = 0;
for (int i = 1; i <= X; i++) {
four = i * 4;
if (((Y - four) / 2) == (X - i)) {
out.println("Yes");
return;
}
}
out.println("No");
} else {
out.println("No");
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
2,
13,
17,
2,
2,
13,
13,
17,
14,
2,
13,
13,
0,
13,
17,
4,
18,
18,
13,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
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) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint x = scn.nextInt();\n\t\tint y = scn.nextInt();\n \tint t = 0;\n \tint c = 0;\n \tString ans = \"No\";\n \tfor(int i=0; i<=x; i++){\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }\n \tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint x = scn.nextInt();\n\t\tint y = scn.nextInt();\n \tint t = 0;\n \tint c = 0;\n \tString ans = \"No\";\n \tfor(int i=0; i<=x; i++){\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }\n \tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint x = scn.nextInt();\n\t\tint y = scn.nextInt();\n \tint t = 0;\n \tint c = 0;\n \tString ans = \"No\";\n \tfor(int i=0; i<=x; i++){\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }\n \tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint x = scn.nextInt();\n\t\tint y = scn.nextInt();\n \tint t = 0;\n \tint c = 0;\n \tString ans = \"No\";\n \tfor(int i=0; i<=x; i++){\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }\n \tSystem.out.println(ans);\n\t}",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"int x = scn.nextInt();",
"x",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int y = scn.nextInt();",
"y",
"scn.nextInt()",
"scn.nextInt",
"scn",
"int t = 0;",
"t",
"0",
"int c = 0;",
"c",
"0",
"String ans = \"No\";",
"ans",
"\"No\"",
"for(int i=0; i<=x; i++){\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }",
"{\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }",
"int num = i*2 + (x-i)*4;",
"num",
"i*2 + (x-i)*4",
"i*2",
"i",
"2",
"(x-i)*4",
"(x-i)",
"x",
"i",
"4",
"if(num==y) ans = \"Yes\";",
"num==y",
"num",
"y",
"ans = \"Yes\"",
"ans",
"\"Yes\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint x = scn.nextInt();\n\t\tint y = scn.nextInt();\n \tint t = 0;\n \tint c = 0;\n \tString ans = \"No\";\n \tfor(int i=0; i<=x; i++){\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }\n \tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint x = scn.nextInt();\n\t\tint y = scn.nextInt();\n \tint t = 0;\n \tint c = 0;\n \tString ans = \"No\";\n \tfor(int i=0; i<=x; i++){\n int num = i*2 + (x-i)*4;\n if(num==y) ans = \"Yes\";\n }\n \tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception{
Scanner scn = new Scanner(System.in);
int x = scn.nextInt();
int y = scn.nextInt();
int t = 0;
int c = 0;
String ans = "No";
for(int i=0; i<=x; i++){
int num = i*2 + (x-i)*4;
if(num==y) ans = "Yes";
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
22,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
22,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint x=sc.nextInt();\t\t//動物の総数\n\t\tint y=sc.nextInt();\t\t//足の総数\n\t\t\t\t\n\t\tif(y%2==1||x*4<y||x*2>y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint x=sc.nextInt();\t\t//動物の総数\n\t\tint y=sc.nextInt();\t\t//足の総数\n\t\t\t\t\n\t\tif(y%2==1||x*4<y||x*2>y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint x=sc.nextInt();\t\t//動物の総数\n\t\tint y=sc.nextInt();\t\t//足の総数\n\t\t\t\t\n\t\tif(y%2==1||x*4<y||x*2>y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint x=sc.nextInt();\t\t//動物の総数\n\t\tint y=sc.nextInt();\t\t//足の総数\n\t\t\t\t\n\t\tif(y%2==1||x*4<y||x*2>y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y=sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(y%2==1||x*4<y||x*2>y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"y%2==1||x*4<y||x*2>y",
"y%2==1||x*4<y||x*2>y",
"y%2==1",
"y%2",
"y",
"2",
"1",
"x*4<y",
"x*4",
"x",
"4",
"y",
"x*2>y",
"x*2",
"x",
"2",
"y",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint x=sc.nextInt();\t\t//動物の総数\n\t\tint y=sc.nextInt();\t\t//足の総数\n\t\t\t\t\n\t\tif(y%2==1||x*4<y||x*2>y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint x=sc.nextInt();\t\t//動物の総数\n\t\tint y=sc.nextInt();\t\t//足の総数\n\t\t\t\t\n\t\tif(y%2==1||x*4<y||x*2>y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc=new Scanner(System.in);
int x=sc.nextInt(); //動物の総数
int y=sc.nextInt(); //足の総数
if(y%2==1||x*4<y||x*2>y) {
System.out.println("No");
}else {
System.out.println("Yes");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
0,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
13,
14,
2,
2,
13,
13,
2,
13,
13,
30,
40,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
131,
5
],
[
131,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
8,
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
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
71,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
83,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
83,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
107,
108
],
[
108,
109
],
[
8,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
110,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
6,
128
],
[
128,
129
],
[
0,
130
],
[
130,
131
],
[
130,
132
]
]
| [
"import java.util.Scanner;\npublic class Main{\npublic static void main( String [] args){\nScanner in= new Scanner( System.in);\nint c,t,X,Y,e,f,m,n,i,j,k;\nc= 2;\nt= 4;\nm= 0;\nX= in.nextInt();\nY= in.nextInt();\nfor (i=0;i<=X; i++){\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n} if (m==0){\nSystem.out.println (\"No\");\n}else {\n System.out.println (\"Yes\");\n }\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\npublic static void main( String [] args){\nScanner in= new Scanner( System.in);\nint c,t,X,Y,e,f,m,n,i,j,k;\nc= 2;\nt= 4;\nm= 0;\nX= in.nextInt();\nY= in.nextInt();\nfor (i=0;i<=X; i++){\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n} if (m==0){\nSystem.out.println (\"No\");\n}else {\n System.out.println (\"Yes\");\n }\n}\n}",
"Main",
"public static void main( String [] args){\nScanner in= new Scanner( System.in);\nint c,t,X,Y,e,f,m,n,i,j,k;\nc= 2;\nt= 4;\nm= 0;\nX= in.nextInt();\nY= in.nextInt();\nfor (i=0;i<=X; i++){\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n} if (m==0){\nSystem.out.println (\"No\");\n}else {\n System.out.println (\"Yes\");\n }\n}",
"main",
"{\nScanner in= new Scanner( System.in);\nint c,t,X,Y,e,f,m,n,i,j,k;\nc= 2;\nt= 4;\nm= 0;\nX= in.nextInt();\nY= in.nextInt();\nfor (i=0;i<=X; i++){\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n} if (m==0){\nSystem.out.println (\"No\");\n}else {\n System.out.println (\"Yes\");\n }\n}",
"Scanner in= new Scanner( System.in);",
"in",
"new Scanner( System.in)",
"int c",
"c",
"t",
"t",
"X",
"X",
"Y",
"Y",
"e",
"e",
"f",
"f",
"m",
"m",
"n",
"n",
"i",
"i",
"j",
"j",
"k;",
"k",
"c= 2",
"c",
"2",
"t= 4",
"t",
"4",
"m= 0",
"m",
"0",
"X= in.nextInt()",
"X",
"in.nextInt()",
"in.nextInt",
"in",
"Y= in.nextInt()",
"Y",
"in.nextInt()",
"in.nextInt",
"in",
"for (i=0;i<=X; i++){\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n}",
"i=0;",
"i=0",
"i",
"0",
"i<=X",
"i",
"X",
"i++",
"i++",
"i",
"{\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n}",
"{\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n}",
"e= c*i",
"e",
"c*i",
"c",
"i",
"for (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}",
"j= 0;",
"j= 0",
"j",
"0",
"j <= X",
"j",
"X",
"j++",
"j++",
"j",
"{\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}",
"{\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}",
"f= t*j",
"f",
"t*j",
"t",
"j",
"n= e+f",
"n",
"e+f",
"e",
"f",
"k= i+j",
"k",
"i+j",
"i",
"j",
"if (n==Y && k==X){\nm++;\n}",
"n==Y && k==X",
"n==Y",
"n",
"Y",
"k==X",
"k",
"X",
"{\nm++;\n}",
"m++",
"m",
"if (m==0){\nSystem.out.println (\"No\");\n}else {\n System.out.println (\"Yes\");\n }",
"m==0",
"m",
"0",
"{\nSystem.out.println (\"No\");\n}",
"System.out.println (\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n System.out.println (\"Yes\");\n }",
"System.out.println (\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String [] args",
"args",
"public class Main{\npublic static void main( String [] args){\nScanner in= new Scanner( System.in);\nint c,t,X,Y,e,f,m,n,i,j,k;\nc= 2;\nt= 4;\nm= 0;\nX= in.nextInt();\nY= in.nextInt();\nfor (i=0;i<=X; i++){\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n} if (m==0){\nSystem.out.println (\"No\");\n}else {\n System.out.println (\"Yes\");\n }\n}\n}",
"public class Main{\npublic static void main( String [] args){\nScanner in= new Scanner( System.in);\nint c,t,X,Y,e,f,m,n,i,j,k;\nc= 2;\nt= 4;\nm= 0;\nX= in.nextInt();\nY= in.nextInt();\nfor (i=0;i<=X; i++){\ne= c*i;\nfor (j= 0; j <= X; j++){\nf= t*j;\nn= e+f;\nk= i+j;\nif (n==Y && k==X){\nm++;\n}\n}\n} if (m==0){\nSystem.out.println (\"No\");\n}else {\n System.out.println (\"Yes\");\n }\n}\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main( String [] args){
Scanner in= new Scanner( System.in);
int c,t,X,Y,e,f,m,n,i,j,k;
c= 2;
t= 4;
m= 0;
X= in.nextInt();
Y= in.nextInt();
for (i=0;i<=X; i++){
e= c*i;
for (j= 0; j <= X; j++){
f= t*j;
n= e+f;
k= i+j;
if (n==Y && k==X){
m++;
}
}
} if (m==0){
System.out.println ("No");
}else {
System.out.println ("Yes");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
13,
41,
13,
2,
2,
17,
13,
2,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
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
],
[
37,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
34,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
53,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tfor (int turtle = 0; turtle <= x; ++turtle) {\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"No\");\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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tfor (int turtle = 0; turtle <= x; ++turtle) {\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"No\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tfor (int turtle = 0; turtle <= x; ++turtle) {\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"No\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tfor (int turtle = 0; turtle <= x; ++turtle) {\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"No\");\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int turtle = 0; turtle <= x; ++turtle) {\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int turtle = 0;",
"int turtle = 0;",
"turtle",
"0",
"turtle <= x",
"turtle",
"x",
"++turtle",
"++turtle",
"turtle",
"{\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int crane = x - turtle;",
"crane",
"x - turtle",
"x",
"turtle",
"int feet = 4 * turtle + 2 * crane;",
"feet",
"4 * turtle + 2 * crane",
"4 * turtle",
"4",
"turtle",
"2 * crane",
"2",
"crane",
"if (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}",
"feet == y",
"feet",
"y",
"{\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tfor (int turtle = 0; turtle <= x; ++turtle) {\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"No\");\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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tfor (int turtle = 0; turtle <= x; ++turtle) {\n\t\t\tint crane = x - turtle;\n\t\t\tint feet = 4 * turtle + 2 * crane;\n\t\t\tif (feet == y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"No\");\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
for (int turtle = 0; turtle <= x; ++turtle) {
int crane = x - turtle;
int feet = 4 * turtle + 2 * crane;
if (feet == y) {
System.out.println("Yes");
return;
}
}
System.out.println("No");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
2,
13,
17,
2,
2,
13,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
82,
11
],
[
82,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
82,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
25,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
51,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
67,
74
],
[
25,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int X = scan.nextInt();\n int Y = scan.nextInt();\n for (int i = 0; i <= X; i++) {\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int X = scan.nextInt();\n int Y = scan.nextInt();\n for (int i = 0; i <= X; i++) {\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }",
"main",
"{\n Main main = new Main();\n main.solve();\n }",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"String[] args",
"args",
"public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int X = scan.nextInt();\n int Y = scan.nextInt();\n for (int i = 0; i <= X; i++) {\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }",
"solve",
"{\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int X = scan.nextInt();\n int Y = scan.nextInt();\n for (int i = 0; i <= X; i++) {\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }",
"Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"int X = scan.nextInt();",
"X",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int Y = scan.nextInt();",
"Y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for (int i = 0; i <= X; i++) {\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= X",
"i",
"X",
"i++",
"i++",
"i",
"{\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"{\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"int total = i * 2 + (X - i) * 4;",
"total",
"i * 2 + (X - i) * 4",
"i * 2",
"i",
"2",
"(X - i) * 4",
"(X - i)",
"X",
"i",
"4",
"if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }",
"total == Y",
"total",
"Y",
"{\n System.out.println(\"Yes\");\n return;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int X = scan.nextInt();\n int Y = scan.nextInt();\n for (int i = 0; i <= X; i++) {\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int X = scan.nextInt();\n int Y = scan.nextInt();\n for (int i = 0; i <= X; i++) {\n int total = i * 2 + (X - i) * 4;\n if (total == Y) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solve();
}
public void solve() {
Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int X = scan.nextInt();
int Y = scan.nextInt();
for (int i = 0; i <= X; i++) {
int total = i * 2 + (X - i) * 4;
if (total == Y) {
System.out.println("Yes");
return;
}
}
System.out.println("No");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
2,
17,
13,
14,
2,
2,
13,
17,
2,
2,
13,
17,
17,
30,
41,
13,
2,
13,
17,
14,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
29,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
51,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tint X = in.nextInt();\n\t\tint Y = in.nextInt();\n\t\tint B = Y - 2*X;\n\t\tif(B>=0 && B%2==0) {\n\t\t\tint b = B/2;\n\t\t\tif(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\t\n\t\tin.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tint X = in.nextInt();\n\t\tint Y = in.nextInt();\n\t\tint B = Y - 2*X;\n\t\tif(B>=0 && B%2==0) {\n\t\t\tint b = B/2;\n\t\t\tif(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\t\n\t\tin.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\t\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tint X = in.nextInt();\n\t\tint Y = in.nextInt();\n\t\tint B = Y - 2*X;\n\t\tif(B>=0 && B%2==0) {\n\t\t\tint b = B/2;\n\t\t\tif(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\t\n\t\tin.close();\n\t}",
"main",
"{\n\t\t\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tint X = in.nextInt();\n\t\tint Y = in.nextInt();\n\t\tint B = Y - 2*X;\n\t\tif(B>=0 && B%2==0) {\n\t\t\tint b = B/2;\n\t\t\tif(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\t\n\t\tin.close();\n\t}",
"Scanner in = new java.util.Scanner(System.in);",
"in",
"new java.util.Scanner(System.in)",
"int X = in.nextInt();",
"X",
"in.nextInt()",
"in.nextInt",
"in",
"int Y = in.nextInt();",
"Y",
"in.nextInt()",
"in.nextInt",
"in",
"int B = Y - 2*X;",
"B",
"Y - 2*X",
"Y",
"2*X",
"2",
"X",
"if(B>=0 && B%2==0) {\n\t\t\tint b = B/2;\n\t\t\tif(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"B>=0 && B%2==0",
"B>=0",
"B",
"0",
"B%2==0",
"B%2",
"B",
"2",
"0",
"{\n\t\t\tint b = B/2;\n\t\t\tif(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}",
"int b = B/2;",
"b",
"B/2",
"B",
"2",
"if(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"X-b >= 0",
"X-b",
"X",
"b",
"0",
"{\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.exit(0)",
"System.exit",
"System",
"0",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tint X = in.nextInt();\n\t\tint Y = in.nextInt();\n\t\tint B = Y - 2*X;\n\t\tif(B>=0 && B%2==0) {\n\t\t\tint b = B/2;\n\t\t\tif(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\t\n\t\tin.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tint X = in.nextInt();\n\t\tint Y = in.nextInt();\n\t\tint B = Y - 2*X;\n\t\tif(B>=0 && B%2==0) {\n\t\t\tint b = B/2;\n\t\t\tif(X-b >= 0) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\t\n\t\tin.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner in = new java.util.Scanner(System.in);
int X = in.nextInt();
int Y = in.nextInt();
int B = Y - 2*X;
if(B>=0 && B%2==0) {
int b = B/2;
if(X-b >= 0) {
System.out.println("Yes");
System.exit(0);
}
}
System.out.println("No");
in.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
13,
2,
13,
17,
2,
13,
2,
13,
17,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
14,
2,
13,
4,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
4,
18,
4,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
14,
2,
13,
17,
29,
13,
14,
2,
13,
13,
29,
13,
14,
2,
13,
13,
29,
4,
13,
2,
13,
13,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
2,
2,
4,
18,
13,
17,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
4,
18,
13,
13,
17,
0,
18,
13,
2,
2,
4,
18,
13,
13,
17,
13,
41,
13,
20,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
13,
30,
41,
13,
4,
13,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
29,
2,
13,
13,
30,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
2,
13,
13,
30,
41,
13,
2,
4,
13,
13,
2,
13,
17,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
17,
30,
0,
13,
13,
0,
13,
13,
29,
2,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
381,
8
],
[
381,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
12,
16
],
[
11,
17
],
[
381,
18
],
[
18,
19
],
[
18,
20
],
[
381,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
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
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
46,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
46,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
23,
76
],
[
76,
77
],
[
77,
78
],
[
21,
79
],
[
79,
80
],
[
381,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
87,
98
],
[
98,
99
],
[
99,
100
],
[
87,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
110,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
110,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
121,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
129,
131
],
[
83,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
83,
136
],
[
136,
137
],
[
81,
138
],
[
138,
139
],
[
381,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
144,
150
],
[
143,
151
],
[
151,
152
],
[
143,
153
],
[
153,
154
],
[
140,
155
],
[
155,
156
],
[
381,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
159,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
159,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
159,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
159,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
190,
193
],
[
193,
194
],
[
193,
195
],
[
157,
196
],
[
196,
197
],
[
157,
198
],
[
198,
199
],
[
381,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
208,
210
],
[
208,
211
],
[
200,
212
],
[
212,
213
],
[
200,
214
],
[
214,
215
],
[
381,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
218,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
224,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
232,
236
],
[
231,
237
],
[
224,
238
],
[
238,
239
],
[
239,
240
],
[
224,
241
],
[
242,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
245,
247
],
[
242,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
252,
253
],
[
252,
254
],
[
255,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
255,
259
],
[
255,
260
],
[
242,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
265,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
265,
269
],
[
265,
270
],
[
261,
271
],
[
218,
272
],
[
272,
273
],
[
272,
274
],
[
218,
275
],
[
275,
276
],
[
216,
277
],
[
277,
278
],
[
381,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
282,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
292,
293
],
[
288,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
297,
299
],
[
297,
300
],
[
300,
301
],
[
300,
302
],
[
294,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
303,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
303,
314
],
[
314,
315
],
[
315,
316
],
[
317,
317
],
[
317,
318
],
[
317,
319
],
[
317,
320
],
[
279,
321
],
[
321,
322
],
[
279,
323
],
[
323,
324
],
[
381,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
328,
332
],
[
332,
333
],
[
328,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
334,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
346,
349
],
[
349,
350
],
[
349,
351
],
[
345,
352
],
[
342,
353
],
[
353,
354
],
[
353,
355
],
[
342,
356
],
[
356,
357
],
[
356,
358
],
[
342,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
359,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
365,
369
],
[
369,
370
],
[
369,
371
],
[
342,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
325,
376
],
[
376,
377
],
[
325,
378
],
[
378,
379
],
[
0,
380
],
[
380,
381
],
[
380,
382
]
]
| [
"import java.util.*;\nimport java.io.* ;\n/*\nNOTES:\n-more than 10 digits (10^10), use long\n-prefix sum of 1's and -1's to control flow of highlighting a region\n-log(a)/log(b) = log base b of a\n-create a position array if trying to see if elements show up next to each other sequentially\n i.e. elements 1,2,3 are within 3 spots of each other in an array\n arr[scannedInt - 1] = i; (position of i at p[i] in original)\n- use a freq array when counting instances of an element occurring\n- increment the counter first before simulating anything turn-based (two player game)\n\n */\n\npublic class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n while (t-- > 0) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n scan.close();\n\n }\n\n static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.* ;",
"io.*",
"java",
"public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n while (t-- > 0) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n scan.close();\n\n }\n\n static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}",
"Main",
"static long mod = (long)(Math.pow(10, 9) + 7);",
"mod",
"(long)(Math.pow(10, 9) + 7)",
"Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";",
"alpha",
"\"zabcdefghijklmnopqrstuvwxy\"",
"public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n while (t-- > 0) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n scan.close();\n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n while (t-- > 0) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n scan.close();\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long t = 1;",
"t",
"1",
"while (t-- > 0) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n int x = scan.nextInt();\n int y = scan.nextInt();\n if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");",
"y<=x*4 && y>=x*2 && y%2==0",
"y<=x*4 && y>=x*2 && y%2==0",
"y<=x*4",
"y",
"x*4",
"x",
"4",
"y>=x*2",
"y",
"x*2",
"x",
"2",
"y%2==0",
"y%2",
"y",
"2",
"0",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }",
"factors",
"{\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }",
"ArrayList<Integer> facts = new ArrayList<>();",
"facts",
"new ArrayList<>()",
"for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i<=(int)Math.sqrt(n)",
"i",
"(int)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"i++",
"i++",
"i",
"{\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }",
"{\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }",
"if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }",
"n%i == 0",
"n%i",
"n",
"i",
"0",
"{\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }",
"if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }",
"i == Math.sqrt(n)",
"i",
"Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"facts.add(i)",
"facts.add",
"facts",
"i",
"{\n facts.add(i);\n facts.add(n/i);\n }",
"facts.add(i)",
"facts.add",
"facts",
"i",
"facts.add(n/i)",
"facts.add",
"facts",
"n/i",
"n",
"i",
"Collections.sort(facts)",
"Collections.sort",
"Collections",
"facts",
"return facts;",
"facts",
"int n",
"n",
"static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }",
"isPrime",
"{\n if(factors(n).size() ==2) return true;\n else return false;\n }",
"if(factors(n).size() ==2) return true;\n else return false;",
"factors(n).size() ==2",
"factors(n).size()",
"factors(n).size",
"factors(n)",
"factors",
"n",
"2",
"return true;",
"true",
"return false;",
"false",
"int n",
"n",
"static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }",
"GCD",
"{\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }",
"if (a == 0) return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"if (b == 0) return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"if (a == b) return a;",
"a == b",
"a",
"b",
"return a;",
"a",
"if (a > b) return GCD(a-b, b);",
"a > b",
"a",
"b",
"return GCD(a-b, b);",
"GCD(a-b, b)",
"GCD",
"a-b",
"a",
"b",
"b",
"return GCD(a, b-a);",
"GCD(a, b-a)",
"GCD",
"a",
"b-a",
"b",
"a",
"long a",
"a",
"long b",
"b",
"static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }",
"LCM",
"{\n return (a*b)/(GCD(a,b));\n }",
"return (a*b)/(GCD(a,b));",
"(a*b)/(GCD(a,b))",
"(a*b)",
"a",
"b",
"(GCD(a,b))",
"GCD",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }",
"rev",
"{\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }",
"char[] arr = s.toCharArray();",
"arr",
"s.toCharArray()",
"s.toCharArray",
"s",
"for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<(s.length()+1)/2",
"i",
"(s.length()+1)/2",
"(s.length()+1)",
"s.length()",
"s.length",
"s",
"1",
"2",
"i++",
"i++",
"i",
"{\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }",
"{\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }",
"char temp = arr[i];",
"temp",
"arr[i]",
"arr",
"i",
"arr[i] = arr[s.length()-i-1]",
"arr[i]",
"arr",
"i",
"arr[s.length()-i-1]",
"arr",
"s.length()-i-1",
"s.length()-i-1",
"s.length()",
"s.length",
"s",
"i",
"1",
"arr[s.length()-i-1] = temp",
"arr[s.length()-i-1]",
"arr",
"s.length()-i-1",
"s.length()-i-1",
"s.length()",
"s.length",
"s",
"i",
"1",
"temp",
"String fin = new String(arr);",
"fin",
"new String(arr)",
"return fin;",
"fin",
"String s",
"s",
"static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }",
"pow",
"{\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }",
"if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }",
"N == 0",
"N",
"0",
"return 1;",
"1",
"if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }",
"N == 1",
"N",
"1",
"return a;",
"a",
"{\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }",
"long R = pow(a,N/2);",
"R",
"pow(a,N/2)",
"pow",
"a",
"N/2",
"N",
"2",
"if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }",
"N % 2 == 0",
"N % 2",
"N",
"2",
"0",
"{\n return R*R;\n }",
"return R*R;",
"R*R",
"R",
"R",
"{\n return R*R*a;\n }",
"return R*R*a;",
"R*R*a",
"R*R*a",
"R",
"R",
"a",
"long a",
"a",
"long N",
"N",
"static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }",
"powMod",
"{\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }",
"if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }",
"N == 0",
"N",
"0",
"return 1;",
"1",
"if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }",
"N == 1",
"N",
"1",
"return a % mod;",
"a % mod",
"a",
"mod",
"{\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }",
"long R = powMod(a,N/2) % mod;",
"R",
"powMod(a,N/2) % mod",
"powMod(a,N/2)",
"powMod",
"a",
"N/2",
"N",
"2",
"mod",
"R *= R",
"R",
"R",
"R %= mod",
"R",
"mod",
"if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }",
"N % 2 == 1",
"N % 2",
"N",
"2",
"1",
"{\n R *= a;\n R %= mod;\n }",
"R *= a",
"R",
"a",
"R %= mod",
"R",
"mod",
"return R % mod;",
"R % mod",
"R",
"mod",
"long a",
"a",
"long N",
"N",
"public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n while (t-- > 0) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n scan.close();\n\n }\n\n static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}",
"public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n while (t-- > 0) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if(y<=x*4 && y>=x*2 && y%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n scan.close();\n\n }\n\n static ArrayList factors(int n ){\n ArrayList<Integer> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add(i);\n else{\n facts.add(i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}",
"Main"
]
| import java.util.*;
import java.io.* ;
/*
NOTES:
-more than 10 digits (10^10), use long
-prefix sum of 1's and -1's to control flow of highlighting a region
-log(a)/log(b) = log base b of a
-create a position array if trying to see if elements show up next to each other sequentially
i.e. elements 1,2,3 are within 3 spots of each other in an array
arr[scannedInt - 1] = i; (position of i at p[i] in original)
- use a freq array when counting instances of an element occurring
- increment the counter first before simulating anything turn-based (two player game)
*/
public class Main {
static long mod = (long)(Math.pow(10, 9) + 7);
public static String alpha = "zabcdefghijklmnopqrstuvwxy";
public static void main(String[] args) throws IOException{
Scanner scan = new Scanner(System.in);
long t = 1;
while (t-- > 0) {
int x = scan.nextInt();
int y = scan.nextInt();
if(y<=x*4 && y>=x*2 && y%2==0) System.out.println("Yes");
else System.out.println("No");
}
scan.close();
}
static ArrayList factors(int n ){
ArrayList<Integer> facts = new ArrayList<>();
for(int i = 1; i<=(int)Math.sqrt(n); i++){
if(n%i == 0){
if( i == Math.sqrt(n)) facts.add(i);
else{
facts.add(i);
facts.add(n/i);
}
}
}
Collections.sort(facts);
return facts;
}
static boolean isPrime (int n){
if(factors(n).size() ==2) return true;
else return false;
}
static long GCD(long a, long b) {
// Everything divides 0
if (a == 0) return b;
if (b == 0) return a;
// base case
if (a == b) return a;
// a is greater
if (a > b) return GCD(a-b, b);
return GCD(a, b-a);
}
static long LCM(long a, long b){
return (a*b)/(GCD(a,b));
}
static String rev(String s){
char[] arr = s.toCharArray();
for(int i = 0; i<(s.length()+1)/2; i++){
char temp = arr[i];
arr[i] = arr[s.length()-i-1];
arr[s.length()-i-1] = temp;
}
String fin = new String(arr);
return fin;
}
static long pow(long a, long N) {
if (N == 0) return 1;
else if (N == 1) return a;
else {
long R = pow(a,N/2);
if (N % 2 == 0) {
return R*R;
}
else {
return R*R*a;
}
}
}
static long powMod(long a, long N) {
if (N == 0) return 1;
else if (N == 1) return a % mod;
else {
long R = powMod(a,N/2) % mod;
R *= R;
R %= mod;
if (N % 2 == 1) {
R *= a;
R %= mod;
}
return R % mod;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
14,
2,
2,
2,
17,
13,
2,
17,
13,
13,
30,
0,
13,
17,
3,
14,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
8,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.*;\npublic class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint a,b;//a鶴2,b亀4\n \tboolean isTrue = false;\n \tfor(a = 0; a <= x; a++){\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }\n \tif(isTrue) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint a,b;//a鶴2,b亀4\n \tboolean isTrue = false;\n \tfor(a = 0; a <= x; a++){\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }\n \tif(isTrue) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint a,b;//a鶴2,b亀4\n \tboolean isTrue = false;\n \tfor(a = 0; a <= x; a++){\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }\n \tif(isTrue) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint a,b;//a鶴2,b亀4\n \tboolean isTrue = false;\n \tfor(a = 0; a <= x; a++){\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }\n \tif(isTrue) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a",
"a",
"b;",
"b",
"boolean isTrue = false;",
"isTrue",
"false",
"for(a = 0; a <= x; a++){\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }",
"a = 0;",
"a = 0",
"a",
"0",
"a <= x",
"a",
"x",
"a++",
"a++",
"a",
"{\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }",
"{\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }",
"b = x - a",
"b",
"x - a",
"x",
"a",
"if(2*a + 4*b == y){\n isTrue = true;\n break;\n }",
"2*a + 4*b == y",
"2*a + 4*b",
"2*a",
"2",
"a",
"4*b",
"4",
"b",
"y",
"{\n isTrue = true;\n break;\n }",
"isTrue = true",
"isTrue",
"true",
"break;",
"if(isTrue) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");",
"isTrue",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint a,b;//a鶴2,b亀4\n \tboolean isTrue = false;\n \tfor(a = 0; a <= x; a++){\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }\n \tif(isTrue) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }\n}",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint a,b;//a鶴2,b亀4\n \tboolean isTrue = false;\n \tfor(a = 0; a <= x; a++){\n \tb = x - a;\n \tif(2*a + 4*b == y){\n isTrue = true;\n break;\n }\n }\n \tif(isTrue) System.out.println(\"Yes\");\n \telse System.out.println(\"No\");\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int a,b;//a鶴2,b亀4
boolean isTrue = false;
for(a = 0; a <= x; a++){
b = x - a;
if(2*a + 4*b == y){
isTrue = true;
break;
}
}
if(isTrue) System.out.println("Yes");
else System.out.println("No");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
29,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
17,
2,
2,
13,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
29,
30,
0,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
105,
5
],
[
105,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
31,
38
],
[
25,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
45,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
68,
78
],
[
67,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
79,
86
],
[
67,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
53,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
6,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint animal = sc.nextInt();\n\t\tint legs = sc.nextInt();\n\t\tboolean flag = true;\n\t\tif (legs > animal * 4) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else if (legs % 2 > 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint animal = sc.nextInt();\n\t\tint legs = sc.nextInt();\n\t\tboolean flag = true;\n\t\tif (legs > animal * 4) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else if (legs % 2 > 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint animal = sc.nextInt();\n\t\tint legs = sc.nextInt();\n\t\tboolean flag = true;\n\t\tif (legs > animal * 4) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else if (legs % 2 > 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint animal = sc.nextInt();\n\t\tint legs = sc.nextInt();\n\t\tboolean flag = true;\n\t\tif (legs > animal * 4) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else if (legs % 2 > 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int animal = sc.nextInt();",
"animal",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int legs = sc.nextInt();",
"legs",
"sc.nextInt()",
"sc.nextInt",
"sc",
"boolean flag = true;",
"flag",
"true",
"if (legs > animal * 4) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else if (legs % 2 > 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}",
"legs > animal * 4",
"legs",
"animal * 4",
"animal",
"4",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"if (legs % 2 > 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}",
"legs % 2 > 0",
"legs % 2",
"legs",
"2",
"0",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"{\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}",
"for (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= animal",
"i",
"animal",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}",
"if (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}",
"i*4 + (animal - i) * 2 == legs",
"i*4 + (animal - i) * 2",
"i*4",
"i",
"4",
"(animal - i) * 2",
"(animal - i)",
"animal",
"i",
"2",
"legs",
"{\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"{\n\t\t\t\t\tflag = false;\n\t\t\t\t}",
"flag = false",
"flag",
"false",
"if(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}",
"flag == false",
"flag",
"false",
"{\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"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 animal = sc.nextInt();\n\t\tint legs = sc.nextInt();\n\t\tboolean flag = true;\n\t\tif (legs > animal * 4) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else if (legs % 2 > 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint animal = sc.nextInt();\n\t\tint legs = sc.nextInt();\n\t\tboolean flag = true;\n\t\tif (legs > animal * 4) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else if (legs % 2 > 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\n\t\t\tfor (int i = 0; i <= animal; i++) {\n\t\t\t\tif (i*4 + (animal - i) * 2 == legs ) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\n\t\t\t\t}else {\n\t\t\t\t\tflag = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(flag == false) {\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t}\n\t\t}\n\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int animal = sc.nextInt();
int legs = sc.nextInt();
boolean flag = true;
if (legs > animal * 4) {
System.out.println("No");
return;
} else if (legs % 2 > 0) {
System.out.println("No");
return;
} else {
for (int i = 0; i <= animal; i++) {
if (i*4 + (animal - i) * 2 == legs ) {
System.out.println("Yes");
return;
}else {
flag = false;
}
}
if(flag == false) {
System.out.println("No");
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
41,
13,
2,
2,
17,
13,
2,
13,
17,
14,
2,
2,
2,
4,
18,
13,
13,
4,
18,
13,
13,
2,
13,
17,
2,
2,
13,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
30,
4,
18,
13,
17,
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
],
[
89,
14
],
[
89,
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
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
17,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
40,
50
],
[
50,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
52,
62
],
[
62,
63
],
[
62,
64
],
[
52,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
50,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
50,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
34,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
17,
83
],
[
83,
84
],
[
84,
85
],
[
15,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport java.lang.*;\nimport java.math.*;\n\npublic class Main\n{\n\tpublic static void main(String args[]) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tif(Y % 2 == 0)\n\t\t{\n\t\t\tint a = 2*X - (Y/2);\n \n\t\t\tif(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");\n\t\t}\n \n\t\telse\n\t\t{\n\t\t\tout.println(\"No\");\n\t\t}\n\t\t\n\t\tout.flush();\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n{\n\tpublic static void main(String args[]) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tif(Y % 2 == 0)\n\t\t{\n\t\t\tint a = 2*X - (Y/2);\n \n\t\t\tif(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");\n\t\t}\n \n\t\telse\n\t\t{\n\t\t\tout.println(\"No\");\n\t\t}\n\t\t\n\t\tout.flush();\n\t}\n}",
"Main",
"public static void main(String args[]) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tif(Y % 2 == 0)\n\t\t{\n\t\t\tint a = 2*X - (Y/2);\n \n\t\t\tif(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");\n\t\t}\n \n\t\telse\n\t\t{\n\t\t\tout.println(\"No\");\n\t\t}\n\t\t\n\t\tout.flush();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tif(Y % 2 == 0)\n\t\t{\n\t\t\tint a = 2*X - (Y/2);\n \n\t\t\tif(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");\n\t\t}\n \n\t\telse\n\t\t{\n\t\t\tout.println(\"No\");\n\t\t}\n\t\t\n\t\tout.flush();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int Y = sc.nextInt();",
"Y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(Y % 2 == 0)\n\t\t{\n\t\t\tint a = 2*X - (Y/2);\n \n\t\t\tif(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");\n\t\t}\n \n\t\telse\n\t\t{\n\t\t\tout.println(\"No\");\n\t\t}",
"Y % 2 == 0",
"Y % 2",
"Y",
"2",
"0",
"{\n\t\t\tint a = 2*X - (Y/2);\n \n\t\t\tif(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");\n\t\t}",
"int a = 2*X - (Y/2);",
"a",
"2*X - (Y/2)",
"2*X",
"2",
"X",
"(Y/2)",
"Y",
"2",
"if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");",
"Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0",
"Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0",
"Math.ceil(a) == Math.floor(a)",
"Math.ceil(a)",
"Math.ceil",
"Math",
"a",
"Math.floor(a)",
"Math.floor",
"Math",
"a",
"a >= 0",
"a",
"0",
"(X-a) >= 0",
"(X-a)",
"X",
"a",
"0",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"{\n\t\t\tout.println(\"No\");\n\t\t}",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"out.flush()",
"out.flush",
"out",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main(String args[]) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tif(Y % 2 == 0)\n\t\t{\n\t\t\tint a = 2*X - (Y/2);\n \n\t\t\tif(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");\n\t\t}\n \n\t\telse\n\t\t{\n\t\t\tout.println(\"No\");\n\t\t}\n\t\t\n\t\tout.flush();\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[]) throws java.lang.Exception\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tPrintWriter out = new PrintWriter(System.out);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tif(Y % 2 == 0)\n\t\t{\n\t\t\tint a = 2*X - (Y/2);\n \n\t\t\tif(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)\n\t\t\t\tout.println(\"Yes\");\n\t\t\telse\n\t\t\t\tout.println(\"No\");\n\t\t}\n \n\t\telse\n\t\t{\n\t\t\tout.println(\"No\");\n\t\t}\n\t\t\n\t\tout.flush();\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
import java.lang.*;
import java.math.*;
public class Main
{
public static void main(String args[]) throws java.lang.Exception
{
Scanner sc = new Scanner(System.in);
PrintWriter out = new PrintWriter(System.out);
int X = sc.nextInt();
int Y = sc.nextInt();
if(Y % 2 == 0)
{
int a = 2*X - (Y/2);
if(Math.ceil(a) == Math.floor(a) && a >= 0 && (X-a) >= 0)
out.println("Yes");
else
out.println("No");
}
else
{
out.println("No");
}
out.flush();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
30,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
6,
15
],
[
15,
16
],
[
86,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
19,
33
],
[
33,
34
],
[
33,
35
],
[
19,
36
],
[
36,
37
],
[
36,
38
],
[
19,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
19,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
19,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
58,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
49,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n \n \n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n \n int F=0;\n int T=0;\n \n F=X*4;\n T=X*2;\n \n if(T<=Y && F>=Y){\n if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n\t\t\n\t\t\n\t\t\n\t}\n\t\t\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n \n \n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n \n int F=0;\n int T=0;\n \n F=X*4;\n T=X*2;\n \n if(T<=Y && F>=Y){\n if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n\t\t\n\t\t\n\t\t\n\t}\n\t\t\n}",
"Main",
"public static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}",
"main",
"{\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}",
"Main main = new Main();",
"main",
"new Main()",
"main.run()",
"main.run",
"main",
"String[] args",
"args",
"public void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n \n int F=0;\n int T=0;\n \n F=X*4;\n T=X*2;\n \n if(T<=Y && F>=Y){\n if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n\t\t\n\t\t\n\t\t\n\t}",
"run",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n \n int F=0;\n int T=0;\n \n F=X*4;\n T=X*2;\n \n if(T<=Y && F>=Y){\n if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n\t\t\n\t\t\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int Y = sc.nextInt();",
"Y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int F=0;",
"F",
"0",
"int T=0;",
"T",
"0",
"F=X*4",
"F",
"X*4",
"X",
"4",
"T=X*2",
"T",
"X*2",
"X",
"2",
"if(T<=Y && F>=Y){\n if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }",
"T<=Y && F>=Y",
"T<=Y",
"T",
"Y",
"F>=Y",
"F",
"Y",
"{\n if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"Y%2==0",
"Y%2",
"Y",
"2",
"0",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n \n \n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n \n int F=0;\n int T=0;\n \n F=X*4;\n T=X*2;\n \n if(T<=Y && F>=Y){\n if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n\t\t\n\t\t\n\t\t\n\t}\n\t\t\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n \n \n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n \n int F=0;\n int T=0;\n \n F=X*4;\n T=X*2;\n \n if(T<=Y && F>=Y){\n if(Y%2==0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n\t\t\n\t\t\n\t\t\n\t}\n\t\t\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.run();
}
public void run() {
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
int F=0;
int T=0;
F=X*4;
T=X*2;
if(T<=Y && F>=Y){
if(Y%2==0){
System.out.println("Yes");
}else{
System.out.println("No");
}
}else{
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
13,
0,
13,
17,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
305,
23
],
[
305,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
305,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
61,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
93,
103
],
[
103,
104
],
[
103,
105
],
[
61,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
59,
110
],
[
110,
111
],
[
59,
112
],
[
112,
113
],
[
59,
114
],
[
114,
115
],
[
305,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
116,
124
],
[
124,
125
],
[
116,
126
],
[
126,
127
],
[
116,
128
],
[
128,
129
],
[
116,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
130,
138
],
[
138,
139
],
[
116,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
143,
148
],
[
148,
149
],
[
149,
150
],
[
142,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
159,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
155,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
142,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
116,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
187,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
187,
201
],
[
201,
202
],
[
201,
203
],
[
187,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
208,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
187,
217
],
[
217,
218
],
[
217,
219
],
[
187,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
220,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
231,
232
],
[
231,
233
],
[
226,
234
],
[
234,
235
],
[
235,
236
],
[
225,
237
],
[
237,
238
],
[
237,
239
],
[
225,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
242,
244
],
[
225,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
187,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
116,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
262,
265
],
[
255,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
253,
270
],
[
270,
271
],
[
116,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
275,
276
],
[
279,
277
],
[
289,
278
],
[
286,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
283,
284
],
[
283,
285
],
[
286,
286
],
[
286,
287
],
[
286,
288
],
[
289,
289
],
[
289,
290
],
[
289,
291
],
[
279,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
272,
296
],
[
296,
297
],
[
116,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
0,
304
],
[
304,
305
],
[
304,
306
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Vishal Burman\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BCraneAndTurtle solver = new BCraneAndTurtle();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BCraneAndTurtle {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n String ans = \"No\";\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }\n out.println(ans);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BCraneAndTurtle solver = new BCraneAndTurtle();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BCraneAndTurtle {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n String ans = \"No\";\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }\n out.println(ans);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BCraneAndTurtle solver = new BCraneAndTurtle();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BCraneAndTurtle solver = new BCraneAndTurtle();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"BCraneAndTurtle solver = new BCraneAndTurtle();",
"solver",
"new BCraneAndTurtle()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class BCraneAndTurtle {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n String ans = \"No\";\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }\n out.println(ans);\n }\n\n }",
"BCraneAndTurtle",
"public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n String ans = \"No\";\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }\n out.println(ans);\n }",
"solve",
"{\n int x = in.nextInt();\n int y = in.nextInt();\n String ans = \"No\";\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }\n out.println(ans);\n }",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"int y = in.nextInt();",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"String ans = \"No\";",
"ans",
"\"No\"",
"for (int i = 0; i <= x; i++) {\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }",
"{\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }",
"int j = x - i;",
"j",
"x - i",
"x",
"i",
"if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";",
"(i * 2) + (j * 4) == y",
"(i * 2) + (j * 4)",
"(i * 2)",
"i",
"2",
"(j * 4)",
"j",
"4",
"y",
"ans = \"Yes\"",
"ans",
"\"Yes\"",
"out.println(ans)",
"out.println",
"out",
"ans",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private InputReader.SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BCraneAndTurtle solver = new BCraneAndTurtle();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BCraneAndTurtle {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n String ans = \"No\";\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }\n out.println(ans);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n BCraneAndTurtle solver = new BCraneAndTurtle();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BCraneAndTurtle {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n String ans = \"No\";\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if ((i * 2) + (j * 4) == y)\n ans = \"Yes\";\n }\n out.println(ans);\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Vishal Burman
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
BCraneAndTurtle solver = new BCraneAndTurtle();
solver.solve(1, in, out);
out.close();
}
static class BCraneAndTurtle {
public void solve(int testNumber, InputReader in, PrintWriter out) {
int x = in.nextInt();
int y = in.nextInt();
String ans = "No";
for (int i = 0; i <= x; i++) {
int j = x - i;
if ((i * 2) + (j * 4) == y)
ans = "Yes";
}
out.println(ans);
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
2,
13,
13,
2,
2,
13,
13,
13,
14,
2,
13,
13,
30,
0,
13,
17,
14,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
4,
18,
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,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
8,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
63,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"import java.util.Scanner;\n\n// ABC170-B\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint tsuruLegs = 2;\n\t\tint kameLegs = 4;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tboolean bool = false;\n\n\t\tfor (int i = 0; i <= x; i++) {\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}\n\n\t\tif (bool) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint tsuruLegs = 2;\n\t\tint kameLegs = 4;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tboolean bool = false;\n\n\t\tfor (int i = 0; i <= x; i++) {\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}\n\n\t\tif (bool) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tint tsuruLegs = 2;\n\t\tint kameLegs = 4;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tboolean bool = false;\n\n\t\tfor (int i = 0; i <= x; i++) {\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}\n\n\t\tif (bool) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tint tsuruLegs = 2;\n\t\tint kameLegs = 4;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tboolean bool = false;\n\n\t\tfor (int i = 0; i <= x; i++) {\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}\n\n\t\tif (bool) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tsc.close();\n\t}",
"int tsuruLegs = 2;",
"tsuruLegs",
"2",
"int kameLegs = 4;",
"kameLegs",
"4",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"boolean bool = false;",
"bool",
"false",
"for (int i = 0; i <= x; i++) {\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}",
"int legs = i * tsuruLegs + (x - i) * kameLegs;",
"legs",
"i * tsuruLegs + (x - i) * kameLegs",
"i * tsuruLegs",
"i",
"tsuruLegs",
"(x - i) * kameLegs",
"(x - i)",
"x",
"i",
"kameLegs",
"if (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}",
"legs == y",
"legs",
"y",
"{\n\t\t\t\tbool = true;\n\t\t\t}",
"bool = true",
"bool",
"true",
"if (bool) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"bool",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint tsuruLegs = 2;\n\t\tint kameLegs = 4;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tboolean bool = false;\n\n\t\tfor (int i = 0; i <= x; i++) {\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}\n\n\t\tif (bool) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint tsuruLegs = 2;\n\t\tint kameLegs = 4;\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\n\t\tboolean bool = false;\n\n\t\tfor (int i = 0; i <= x; i++) {\n\t\t\tint legs = i * tsuruLegs + (x - i) * kameLegs;\n\n\t\t\tif (legs == y) {\n\t\t\t\tbool = true;\n\t\t\t}\n\t\t}\n\n\t\tif (bool) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
// ABC170-B
public class Main {
public static void main(String[] args) {
int tsuruLegs = 2;
int kameLegs = 4;
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
boolean bool = false;
for (int i = 0; i <= x; i++) {
int legs = i * tsuruLegs + (x - i) * kameLegs;
if (legs == y) {
bool = true;
}
}
if (bool) {
System.out.println("Yes");
} else {
System.out.println("No");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
13,
29,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
13,
17,
2,
2,
13,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
13,
29,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
57,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
73,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = s.nextInt();\n\n final String YES_STR = \"Yes\";\n final String NO_STR = \"No\";\n if (y % 2 == 1) {\n System.out.println(NO_STR);\n return;\n }\n\n int totalFoot = 0;\n // [i]を亀の数、[x-i]を鶴の数とする\n for (int i = 0 ; i <= x ; i++) {\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }\n System.out.println(NO_STR);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = s.nextInt();\n\n final String YES_STR = \"Yes\";\n final String NO_STR = \"No\";\n if (y % 2 == 1) {\n System.out.println(NO_STR);\n return;\n }\n\n int totalFoot = 0;\n // [i]を亀の数、[x-i]を鶴の数とする\n for (int i = 0 ; i <= x ; i++) {\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }\n System.out.println(NO_STR);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = s.nextInt();\n\n final String YES_STR = \"Yes\";\n final String NO_STR = \"No\";\n if (y % 2 == 1) {\n System.out.println(NO_STR);\n return;\n }\n\n int totalFoot = 0;\n // [i]を亀の数、[x-i]を鶴の数とする\n for (int i = 0 ; i <= x ; i++) {\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }\n System.out.println(NO_STR);\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = s.nextInt();\n\n final String YES_STR = \"Yes\";\n final String NO_STR = \"No\";\n if (y % 2 == 1) {\n System.out.println(NO_STR);\n return;\n }\n\n int totalFoot = 0;\n // [i]を亀の数、[x-i]を鶴の数とする\n for (int i = 0 ; i <= x ; i++) {\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }\n System.out.println(NO_STR);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int x = s.nextInt();",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"int y = s.nextInt();",
"y",
"s.nextInt()",
"s.nextInt",
"s",
"final String YES_STR = \"Yes\";",
"YES_STR",
"\"Yes\"",
"final String NO_STR = \"No\";",
"NO_STR",
"\"No\"",
"if (y % 2 == 1) {\n System.out.println(NO_STR);\n return;\n }",
"y % 2 == 1",
"y % 2",
"y",
"2",
"1",
"{\n System.out.println(NO_STR);\n return;\n }",
"System.out.println(NO_STR)",
"System.out.println",
"System.out",
"System",
"System.out",
"NO_STR",
"return;",
"int totalFoot = 0;",
"totalFoot",
"0",
"for (int i = 0 ; i <= x ; i++) {\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }",
"{\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }",
"totalFoot = (i * 4) + ((x - i) * 2)",
"totalFoot",
"(i * 4) + ((x - i) * 2)",
"(i * 4)",
"i",
"4",
"((x - i) * 2)",
"(x - i)",
"x",
"i",
"2",
"if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }",
"totalFoot == y",
"totalFoot",
"y",
"{\n System.out.println(YES_STR);\n return;\n }",
"System.out.println(YES_STR)",
"System.out.println",
"System.out",
"System",
"System.out",
"YES_STR",
"return;",
"System.out.println(NO_STR)",
"System.out.println",
"System.out",
"System",
"System.out",
"NO_STR",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = s.nextInt();\n\n final String YES_STR = \"Yes\";\n final String NO_STR = \"No\";\n if (y % 2 == 1) {\n System.out.println(NO_STR);\n return;\n }\n\n int totalFoot = 0;\n // [i]を亀の数、[x-i]を鶴の数とする\n for (int i = 0 ; i <= x ; i++) {\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }\n System.out.println(NO_STR);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int x = s.nextInt();\n int y = s.nextInt();\n\n final String YES_STR = \"Yes\";\n final String NO_STR = \"No\";\n if (y % 2 == 1) {\n System.out.println(NO_STR);\n return;\n }\n\n int totalFoot = 0;\n // [i]を亀の数、[x-i]を鶴の数とする\n for (int i = 0 ; i <= x ; i++) {\n totalFoot = (i * 4) + ((x - i) * 2);\n\n if (totalFoot == y) {\n System.out.println(YES_STR);\n return;\n }\n }\n System.out.println(NO_STR);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int x = s.nextInt();
int y = s.nextInt();
final String YES_STR = "Yes";
final String NO_STR = "No";
if (y % 2 == 1) {
System.out.println(NO_STR);
return;
}
int totalFoot = 0;
// [i]を亀の数、[x-i]を鶴の数とする
for (int i = 0 ; i <= x ; i++) {
totalFoot = (i * 4) + ((x - i) * 2);
if (totalFoot == y) {
System.out.println(YES_STR);
return;
}
}
System.out.println(NO_STR);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
13,
13,
2,
2,
2,
17,
13,
2,
17,
13,
13,
30,
0,
13,
17,
3,
14,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
51,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
8,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
72,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int sum = sc.nextInt();\n boolean flg = false;\n\n for (int x = 0; x <= count; x++) {\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }\n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int sum = sc.nextInt();\n boolean flg = false;\n\n for (int x = 0; x <= count; x++) {\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }\n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int sum = sc.nextInt();\n boolean flg = false;\n\n for (int x = 0; x <= count; x++) {\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }\n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int sum = sc.nextInt();\n boolean flg = false;\n\n for (int x = 0; x <= count; x++) {\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }\n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int count = sc.nextInt();",
"count",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int sum = sc.nextInt();",
"sum",
"sc.nextInt()",
"sc.nextInt",
"sc",
"boolean flg = false;",
"flg",
"false",
"for (int x = 0; x <= count; x++) {\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x <= count",
"x",
"count",
"x++",
"x++",
"x",
"{\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }",
"{\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }",
"for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }",
"int y = 0;",
"int y = 0;",
"y",
"0",
"y <= count",
"y",
"count",
"y++",
"y++",
"y",
"{\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }",
"{\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }",
"if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }",
"x + y == count && 2 * x + 4 * y == sum",
"x + y == count",
"x + y",
"x",
"y",
"count",
"2 * x + 4 * y == sum",
"2 * x + 4 * y",
"2 * x",
"2",
"x",
"4 * y",
"4",
"y",
"sum",
"{\n flg = true;\n break;\n }",
"flg = true",
"flg",
"true",
"break;",
"if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }",
"flg",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int sum = sc.nextInt();\n boolean flg = false;\n\n for (int x = 0; x <= count; x++) {\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }\n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int sum = sc.nextInt();\n boolean flg = false;\n\n for (int x = 0; x <= count; x++) {\n for (int y = 0; y <= count; y++) {\n if (x + y == count && 2 * x + 4 * y == sum) {\n flg = true;\n break;\n }\n }\n }\n if (flg) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int count = sc.nextInt();
int sum = sc.nextInt();
boolean flg = false;
for (int x = 0; x <= count; x++) {
for (int y = 0; y <= count; y++) {
if (x + y == count && 2 * x + 4 * y == sum) {
flg = true;
break;
}
}
}
if (flg) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
2,
17,
13,
41,
13,
2,
2,
17,
13,
13,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
8,
36
],
[
36,
37
],
[
39,
38
],
[
46,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
36,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
36,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n int tu = y-2*x;\n int ka = 4*x-y;\n\n if(tu>=0 && ka>=0 && tu%2==0 && ka%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n int tu = y-2*x;\n int ka = 4*x-y;\n\n if(tu>=0 && ka>=0 && tu%2==0 && ka%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n int tu = y-2*x;\n int ka = 4*x-y;\n\n if(tu>=0 && ka>=0 && tu%2==0 && ka%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n int tu = y-2*x;\n int ka = 4*x-y;\n\n if(tu>=0 && ka>=0 && tu%2==0 && ka%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int tu = y-2*x;",
"tu",
"y-2*x",
"y",
"2*x",
"2",
"x",
"int ka = 4*x-y;",
"ka",
"4*x-y",
"4*x",
"4",
"x",
"y",
"if(tu>=0 && ka>=0 && tu%2==0 && ka%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");",
"tu>=0 && ka>=0 && tu%2==0 && ka%2==0",
"tu%2==0",
"tu>=0 && ka>=0 && tu%2==0 && ka%2==0",
"tu>=0",
"tu",
"0",
"ka>=0",
"ka",
"0",
"tu%2==0",
"tu%2",
"tu",
"2",
"0",
"ka%2==0",
"ka%2",
"ka",
"2",
"0",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n int tu = y-2*x;\n int ka = 4*x-y;\n\n if(tu>=0 && ka>=0 && tu%2==0 && ka%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n int tu = y-2*x;\n int ka = 4*x-y;\n\n if(tu>=0 && ka>=0 && tu%2==0 && ka%2==0) System.out.println(\"Yes\");\n else System.out.println(\"No\");\n\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int tu = y-2*x;
int ka = 4*x-y;
if(tu>=0 && ka>=0 && tu%2==0 && ka%2==0) System.out.println("Yes");
else System.out.println("No");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
2,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
2,
13,
17,
17,
2,
2,
17,
13,
13,
2,
2,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
86,
11
],
[
86,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
14,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
14,
47
],
[
47,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
49,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
47,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
47,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
12,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\tint x = Integer.parseInt(array[0]);\n\tint y = Integer.parseInt(array[1]);\n\tint z = y % 4;\n\tif ((z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y) {\n\t System.out.println(\"Yes\");\n\t} else {\n\t System.out.println(\"No\");\n\t}\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\tint x = Integer.parseInt(array[0]);\n\tint y = Integer.parseInt(array[1]);\n\tint z = y % 4;\n\tif ((z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y) {\n\t System.out.println(\"Yes\");\n\t} else {\n\t System.out.println(\"No\");\n\t}\n\n }\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\tint x = Integer.parseInt(array[0]);\n\tint y = Integer.parseInt(array[1]);\n\tint z = y % 4;\n\tif ((z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y) {\n\t System.out.println(\"Yes\");\n\t} else {\n\t System.out.println(\"No\");\n\t}\n\n }",
"main",
"{\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\tint x = Integer.parseInt(array[0]);\n\tint y = Integer.parseInt(array[1]);\n\tint z = y % 4;\n\tif ((z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y) {\n\t System.out.println(\"Yes\");\n\t} else {\n\t System.out.println(\"No\");\n\t}\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String array[] = br.readLine().split(\" \");",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(array[0]);",
"x",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int y = Integer.parseInt(array[1]);",
"y",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"int z = y % 4;",
"z",
"y % 4",
"y",
"4",
"if ((z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y) {\n\t System.out.println(\"Yes\");\n\t} else {\n\t System.out.println(\"No\");\n\t}",
"(z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y",
"(z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y",
"(z == 0 || z % 2 == 0)",
"z == 0",
"z",
"0",
"z % 2 == 0",
"z % 2",
"z",
"2",
"0",
"4 * x >= y",
"4 * x",
"4",
"x",
"y",
"2 * x <= y",
"2 * x",
"2",
"x",
"y",
"{\n\t System.out.println(\"Yes\");\n\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n\t System.out.println(\"No\");\n\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\tint x = Integer.parseInt(array[0]);\n\tint y = Integer.parseInt(array[1]);\n\tint z = y % 4;\n\tif ((z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y) {\n\t System.out.println(\"Yes\");\n\t} else {\n\t System.out.println(\"No\");\n\t}\n\n }\n}",
"public class Main {\n public static void main(String args[]) throws IOException {\n\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString array[] = br.readLine().split(\" \");\n\tint x = Integer.parseInt(array[0]);\n\tint y = Integer.parseInt(array[1]);\n\tint z = y % 4;\n\tif ((z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y) {\n\t System.out.println(\"Yes\");\n\t} else {\n\t System.out.println(\"No\");\n\t}\n\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String array[] = br.readLine().split(" ");
int x = Integer.parseInt(array[0]);
int y = Integer.parseInt(array[1]);
int z = y % 4;
if ((z == 0 || z % 2 == 0) && 4 * x >= y && 2 * x <= y) {
System.out.println("Yes");
} else {
System.out.println("No");
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.