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,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
14,
2,
2,
4,
18,
13,
2,
13,
17,
13,
2,
2,
13,
17,
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
],
[
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
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
25,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
40,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
39,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
39,
61
],
[
61,
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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if(Y % 2 == 1){\n System.out.println(\"No\");\n }else{\n if(Math.round((double)Y/4) <= X && Y/2 >= X){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\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 int X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if(Y % 2 == 1){\n System.out.println(\"No\");\n }else{\n if(Math.round((double)Y/4) <= X && Y/2 >= X){\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 X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if(Y % 2 == 1){\n System.out.println(\"No\");\n }else{\n if(Math.round((double)Y/4) <= X && Y/2 >= X){\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 X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if(Y % 2 == 1){\n System.out.println(\"No\");\n }else{\n if(Math.round((double)Y/4) <= X && Y/2 >= X){\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 X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int Y = sc.nextInt();",
"Y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"if(Y % 2 == 1){\n System.out.println(\"No\");\n }else{\n if(Math.round((double)Y/4) <= X && Y/2 >= X){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"Y % 2 == 1",
"Y % 2",
"Y",
"2",
"1",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n if(Math.round((double)Y/4) <= X && Y/2 >= X){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"if(Math.round((double)Y/4) <= X && Y/2 >= X){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"Math.round((double)Y/4) <= X && Y/2 >= X",
"Math.round((double)Y/4) <= X",
"Math.round((double)Y/4)",
"Math.round",
"Math",
"(double)Y/4",
"(double)Y",
"4",
"X",
"Y/2 >= X",
"Y/2",
"Y",
"2",
"X",
"{\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 X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if(Y % 2 == 1){\n System.out.println(\"No\");\n }else{\n if(Math.round((double)Y/4) <= X && Y/2 >= X){\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 X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if(Y % 2 == 1){\n System.out.println(\"No\");\n }else{\n if(Math.round((double)Y/4) <= X && Y/2 >= X){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\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();
sc.close();
if(Y % 2 == 1){
System.out.println("No");
}else{
if(Math.round((double)Y/4) <= X && Y/2 >= X){
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,
2,
2,
2,
13,
17,
13,
2,
13,
2,
13,
17,
2,
2,
13,
17,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
56,
5
],
[
56,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
25,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n String anc = \"No\";\n if((A*2) <= B && B <= (A*4) &&(B%2) == 0){\n anc = \"Yes\";\n }\n System.out.println(anc);\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 A = sc.nextInt();\n int B = sc.nextInt();\n String anc = \"No\";\n if((A*2) <= B && B <= (A*4) &&(B%2) == 0){\n anc = \"Yes\";\n }\n System.out.println(anc);\n }\n }",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n String anc = \"No\";\n if((A*2) <= B && B <= (A*4) &&(B%2) == 0){\n anc = \"Yes\";\n }\n System.out.println(anc);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n String anc = \"No\";\n if((A*2) <= B && B <= (A*4) &&(B%2) == 0){\n anc = \"Yes\";\n }\n System.out.println(anc);\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",
"String anc = \"No\";",
"anc",
"\"No\"",
"if((A*2) <= B && B <= (A*4) &&(B%2) == 0){\n anc = \"Yes\";\n }",
"(A*2) <= B && B <= (A*4) &&(B%2) == 0",
"(A*2) <= B && B <= (A*4) &&(B%2) == 0",
"(A*2) <= B",
"(A*2)",
"A",
"2",
"B",
"B <= (A*4)",
"B",
"(A*4)",
"A",
"4",
"(B%2) == 0",
"(B%2)",
"B",
"2",
"0",
"{\n anc = \"Yes\";\n }",
"anc = \"Yes\"",
"anc",
"\"Yes\"",
"System.out.println(anc)",
"System.out.println",
"System.out",
"System",
"System.out",
"anc",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n String anc = \"No\";\n if((A*2) <= B && B <= (A*4) &&(B%2) == 0){\n anc = \"Yes\";\n }\n System.out.println(anc);\n }\n }",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int A = sc.nextInt();\n int B = sc.nextInt();\n String anc = \"No\";\n if((A*2) <= B && B <= (A*4) &&(B%2) == 0){\n anc = \"Yes\";\n }\n System.out.println(anc);\n }\n }",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int A = sc.nextInt();
int B = sc.nextInt();
String anc = "No";
if((A*2) <= B && B <= (A*4) &&(B%2) == 0){
anc = "Yes";
}
System.out.println(anc);
}
} |
[
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,
41,
13,
2,
13,
13,
14,
2,
2,
2,
17,
13,
2,
17,
13,
13,
30,
0,
13,
17,
3,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
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
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
]
]
| [
"import java.util.*;\nclass Main{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n String ans=\"No\";\n for(int i=0;i<=x;i++)\n {\n int c=x-i;\n\tif(2*i+4*c==y)\n {\n ans=\"Yes\";\n break;\n }\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n String ans=\"No\";\n for(int i=0;i<=x;i++)\n {\n int c=x-i;\n\tif(2*i+4*c==y)\n {\n ans=\"Yes\";\n break;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n String ans=\"No\";\n for(int i=0;i<=x;i++)\n {\n int c=x-i;\n\tif(2*i+4*c==y)\n {\n ans=\"Yes\";\n break;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n String ans=\"No\";\n for(int i=0;i<=x;i++)\n {\n int c=x-i;\n\tif(2*i+4*c==y)\n {\n ans=\"Yes\";\n break;\n }\n }\n System.out.println(ans);\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",
"String ans=\"No\";",
"ans",
"\"No\"",
"for(int i=0;i<=x;i++)\n {\n int c=x-i;\n\tif(2*i+4*c==y)\n {\n ans=\"Yes\";\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n int c=x-i;\n\tif(2*i+4*c==y)\n {\n ans=\"Yes\";\n break;\n }\n }",
"{\n int c=x-i;\n\tif(2*i+4*c==y)\n {\n ans=\"Yes\";\n break;\n }\n }",
"int c=x-i;",
"c",
"x-i",
"x",
"i",
"if(2*i+4*c==y)\n {\n ans=\"Yes\";\n break;\n }",
"2*i+4*c==y",
"2*i+4*c",
"2*i",
"2",
"i",
"4*c",
"4",
"c",
"y",
"{\n ans=\"Yes\";\n break;\n }",
"ans=\"Yes\"",
"ans",
"\"Yes\"",
"break;",
"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 x=sc.nextInt();
int y=sc.nextInt();
String ans="No";
for(int i=0;i<=x;i++)
{
int c=x-i;
if(2*i+4*c==y)
{
ans="Yes";
break;
}
}
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,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
2,
17,
13,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
2,
17,
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
],
[
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
22,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
35,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
48,
61
],
[
61,
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 sc = new Scanner(System.in);\n int n = sc.nextInt();\n int leg = sc.nextInt();\n if(leg % 2 == 1){\n \tSystem.out.println(\"No\");\n }else if(leg < 2 * n){\n \tSystem.out.println(\"No\");\n }else if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int leg = sc.nextInt();\n if(leg % 2 == 1){\n \tSystem.out.println(\"No\");\n }else if(leg < 2 * n){\n \tSystem.out.println(\"No\");\n }else if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int leg = sc.nextInt();\n if(leg % 2 == 1){\n \tSystem.out.println(\"No\");\n }else if(leg < 2 * n){\n \tSystem.out.println(\"No\");\n }else if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int leg = sc.nextInt();\n if(leg % 2 == 1){\n \tSystem.out.println(\"No\");\n }else if(leg < 2 * n){\n \tSystem.out.println(\"No\");\n }else if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int leg = sc.nextInt();",
"leg",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(leg % 2 == 1){\n \tSystem.out.println(\"No\");\n }else if(leg < 2 * n){\n \tSystem.out.println(\"No\");\n }else if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }",
"leg % 2 == 1",
"leg % 2",
"leg",
"2",
"1",
"{\n \tSystem.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(leg < 2 * n){\n \tSystem.out.println(\"No\");\n }else if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }",
"leg < 2 * n",
"leg",
"2 * n",
"2",
"n",
"{\n \tSystem.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }",
"leg > 4 * n",
"leg",
"4 * n",
"4",
"n",
"{\n \tSystem.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n \tSystem.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int leg = sc.nextInt();\n if(leg % 2 == 1){\n \tSystem.out.println(\"No\");\n }else if(leg < 2 * n){\n \tSystem.out.println(\"No\");\n }else if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int leg = sc.nextInt();\n if(leg % 2 == 1){\n \tSystem.out.println(\"No\");\n }else if(leg < 2 * n){\n \tSystem.out.println(\"No\");\n }else if(leg > 4 * n){\n \tSystem.out.println(\"No\");\n }else{\n \tSystem.out.println(\"Yes\");\n }\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception{
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int leg = sc.nextInt();
if(leg % 2 == 1){
System.out.println("No");
}else if(leg < 2 * n){
System.out.println("No");
}else if(leg > 4 * n){
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,
41,
13,
17,
41,
13,
17,
41,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
14,
2,
13,
13,
30,
0,
13,
2,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
17,
40,
13,
3,
14,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
40,
13,
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
],
[
113,
5
],
[
113,
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
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
69,
70
],
[
69,
71
],
[
63,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
63,
78
],
[
78,
79
],
[
63,
80
],
[
36,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
87,
94
],
[
94,
95
],
[
8,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
8,
107
],
[
107,
108
],
[
108,
109
],
[
6,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint Z = 0;\n\t\tint count = 0;\n\t\tint yesCount = 0;\n\n\t\tZ = X * 2;\n\n\t\tif (Z != Y) {\n\t\t\tfor (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (X * 2 == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}\n\t\tif (yesCount == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t//System.out.println(X - (count) + (\" \") + (count));\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\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint Z = 0;\n\t\tint count = 0;\n\t\tint yesCount = 0;\n\n\t\tZ = X * 2;\n\n\t\tif (Z != Y) {\n\t\t\tfor (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (X * 2 == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}\n\t\tif (yesCount == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t//System.out.println(X - (count) + (\" \") + (count));\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint Z = 0;\n\t\tint count = 0;\n\t\tint yesCount = 0;\n\n\t\tZ = X * 2;\n\n\t\tif (Z != Y) {\n\t\t\tfor (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (X * 2 == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}\n\t\tif (yesCount == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t//System.out.println(X - (count) + (\" \") + (count));\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint Z = 0;\n\t\tint count = 0;\n\t\tint yesCount = 0;\n\n\t\tZ = X * 2;\n\n\t\tif (Z != Y) {\n\t\t\tfor (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (X * 2 == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}\n\t\tif (yesCount == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t//System.out.println(X - (count) + (\" \") + (count));\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",
"int Z = 0;",
"Z",
"0",
"int count = 0;",
"count",
"0",
"int yesCount = 0;",
"yesCount",
"0",
"Z = X * 2",
"Z",
"X * 2",
"X",
"2",
"if (Z != Y) {\n\t\t\tfor (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (X * 2 == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}",
"Z != Y",
"Z",
"Y",
"{\n\t\t\tfor (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < X",
"i",
"X",
"i++",
"i++",
"i",
"{\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"Z = Z + 2",
"Z",
"Z + 2",
"Z",
"2",
"if (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"Z == Y",
"Z",
"Y",
"{\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"i = i + 1",
"i",
"i + 1",
"i",
"1",
"count = i",
"count",
"i",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"yesCount++",
"yesCount",
"break;",
"if (X * 2 == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}",
"X * 2 == Y",
"X * 2",
"X",
"2",
"Y",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"yesCount++",
"yesCount",
"if (yesCount == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"yesCount == 0",
"yesCount",
"0",
"{\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\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint Z = 0;\n\t\tint count = 0;\n\t\tint yesCount = 0;\n\n\t\tZ = X * 2;\n\n\t\tif (Z != Y) {\n\t\t\tfor (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (X * 2 == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}\n\t\tif (yesCount == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t//System.out.println(X - (count) + (\" \") + (count));\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint Z = 0;\n\t\tint count = 0;\n\t\tint yesCount = 0;\n\n\t\tZ = X * 2;\n\n\t\tif (Z != Y) {\n\t\t\tfor (int i = 0; i < X; i++) {\n\t\t\t\tZ = Z + 2;\n\t\t\t\tif (Z == Y) {\n\t\t\t\t\ti = i + 1;\n\t\t\t\t\tcount = i;\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\tyesCount++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (X * 2 == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\tyesCount++;\n\t\t}\n\t\tif (yesCount == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t//System.out.println(X - (count) + (\" \") + (count));\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 X = sc.nextInt();
int Y = sc.nextInt();
int Z = 0;
int count = 0;
int yesCount = 0;
Z = X * 2;
if (Z != Y) {
for (int i = 0; i < X; i++) {
Z = Z + 2;
if (Z == Y) {
i = i + 1;
count = i;
System.out.println("Yes");
yesCount++;
break;
}
}
} else if (X * 2 == Y) {
System.out.println("Yes");
yesCount++;
}
if (yesCount == 0) {
System.out.println("No");
}
//System.out.println(X - (count) + (" ") + (count));
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
2,
2,
2,
13,
17,
17,
2,
13,
2,
17,
13,
2,
13,
2,
17,
13,
17,
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
27,
45
],
[
27,
46
],
[
6,
47
],
[
47,
48
]
]
| [
"import java.util.*;\n\nclass 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 \tSystem.out.println(y%2 == 1 || y > 4*x || y < 2*x ? \"No\" : \"Yes\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"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 \tSystem.out.println(y%2 == 1 || y > 4*x || y < 2*x ? \"No\" : \"Yes\");\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 \tSystem.out.println(y%2 == 1 || y > 4*x || y < 2*x ? \"No\" : \"Yes\");\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tSystem.out.println(y%2 == 1 || y > 4*x || y < 2*x ? \"No\" : \"Yes\");\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",
"System.out.println(y%2 == 1 || y > 4*x || y < 2*x ? \"No\" : \"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"y%2 == 1 || y > 4*x || y < 2*x ? \"No\" : \"Yes\"",
"y%2 == 1 || y > 4*x || y < 2*x",
"y%2 == 1 || y > 4*x || y < 2*x",
"y%2 == 1",
"y%2",
"y",
"2",
"1",
"y > 4*x",
"y",
"4*x",
"4",
"x",
"y < 2*x",
"y",
"2*x",
"2",
"x",
"\"No\"",
"\"Yes\"",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
System.out.println(y%2 == 1 || y > 4*x || y < 2*x ? "No" : "Yes");
}
} |
[
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,
2,
13,
2,
17,
13,
17,
17,
2,
2,
2,
17,
13,
13,
17,
2,
13,
2,
17,
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
],
[
63,
5
],
[
63,
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
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
25,
33
],
[
24,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
24,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
22,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
22,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\t\tif((b-2*a)%2==0&&4*a-b>=0&&b>=2*a) {\n\t\t\tSystem.out.println(\"Yes\"); \n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\t\tif((b-2*a)%2==0&&4*a-b>=0&&b>=2*a) {\n\t\t\tSystem.out.println(\"Yes\"); \n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\t\tif((b-2*a)%2==0&&4*a-b>=0&&b>=2*a) {\n\t\t\tSystem.out.println(\"Yes\"); \n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\t\tif((b-2*a)%2==0&&4*a-b>=0&&b>=2*a) {\n\t\t\tSystem.out.println(\"Yes\"); \n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\n\t}",
"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",
"if((b-2*a)%2==0&&4*a-b>=0&&b>=2*a) {\n\t\t\tSystem.out.println(\"Yes\"); \n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"(b-2*a)%2==0&&4*a-b>=0&&b>=2*a",
"(b-2*a)%2==0&&4*a-b>=0&&b>=2*a",
"(b-2*a)%2==0",
"(b-2*a)%2",
"(b-2*a)",
"b",
"2*a",
"2",
"a",
"2",
"0",
"4*a-b>=0",
"4*a-b",
"4*a",
"4",
"a",
"b",
"0",
"b>=2*a",
"b",
"2*a",
"2",
"a",
"{\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\"",
"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 a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\t\tif((b-2*a)%2==0&&4*a-b>=0&&b>=2*a) {\n\t\t\tSystem.out.println(\"Yes\"); \n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a=sc.nextInt();\n\t\tint b=sc.nextInt();\n\t\tif((b-2*a)%2==0&&4*a-b>=0&&b>=2*a) {\n\t\t\tSystem.out.println(\"Yes\"); \n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\n\t}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
if((b-2*a)%2==0&&4*a-b>=0&&b>=2*a) {
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,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
2,
2,
13,
17,
2,
13,
17,
2,
13,
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
],
[
83,
5
],
[
83,
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
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
50,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
66,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for (int tu = 0; tu <= x; tu++) {\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }\n System.out.println(\"No\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for (int tu = 0; tu <= x; tu++) {\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }\n System.out.println(\"No\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for (int tu = 0; tu <= x; tu++) {\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }\n System.out.println(\"No\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for (int tu = 0; tu <= x; tu++) {\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }\n 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",
"for (int tu = 0; tu <= x; tu++) {\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }",
"int tu = 0;",
"int tu = 0;",
"tu",
"0",
"tu <= x",
"tu",
"x",
"tu++",
"tu++",
"tu",
"{\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }",
"{\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }",
"for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"int ka = 0;",
"int ka = 0;",
"ka",
"0",
"ka <= x - tu",
"ka",
"x - tu",
"x",
"tu",
"ka++",
"ka++",
"ka",
"{\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"{\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }",
"y == tu*2 + ka*4 && x == tu + ka",
"y == tu*2 + ka*4",
"y",
"tu*2 + ka*4",
"tu*2",
"tu",
"2",
"ka*4",
"ka",
"4",
"x == tu + ka",
"x",
"tu + ka",
"tu",
"ka",
"{\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\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for (int tu = 0; tu <= x; tu++) {\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }\n System.out.println(\"No\");\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for (int tu = 0; tu <= x; tu++) {\n for (int ka = 0; ka <= x - tu; ka++) {\n if (y == tu*2 + ka*4 && x == tu + ka) {\n System.out.println(\"Yes\");\n return;\n }\n }\n }\n 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();
for (int tu = 0; tu <= x; tu++) {
for (int ka = 0; ka <= x - tu; ka++) {
if (y == tu*2 + ka*4 && x == tu + ka) {
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,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
13,
13,
30,
41,
13,
2,
13,
13,
14,
2,
2,
2,
13,
17,
13,
2,
2,
13,
17,
17,
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
],
[
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
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
31,
38
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
43,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
61,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
73,
80
],
[
55,
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\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\n\t\tint all=sc.nextInt();\n \tint foot=sc.nextInt();\n \tint tsuru = all * 2;\n \tif (tsuru == foot){\n \tSystem.out.print(\"Yes\");\n \treturn;\n }else if(tsuru > foot){\n \tSystem.out.print(\"No\");\n \treturn;\n }else if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\n\t\tint all=sc.nextInt();\n \tint foot=sc.nextInt();\n \tint tsuru = all * 2;\n \tif (tsuru == foot){\n \tSystem.out.print(\"Yes\");\n \treturn;\n }else if(tsuru > foot){\n \tSystem.out.print(\"No\");\n \treturn;\n }else if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\n\t\tint all=sc.nextInt();\n \tint foot=sc.nextInt();\n \tint tsuru = all * 2;\n \tif (tsuru == foot){\n \tSystem.out.print(\"Yes\");\n \treturn;\n }else if(tsuru > foot){\n \tSystem.out.print(\"No\");\n \treturn;\n }else if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }\n\t}",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n\n\t\tint all=sc.nextInt();\n \tint foot=sc.nextInt();\n \tint tsuru = all * 2;\n \tif (tsuru == foot){\n \tSystem.out.print(\"Yes\");\n \treturn;\n }else if(tsuru > foot){\n \tSystem.out.print(\"No\");\n \treturn;\n }else if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int all=sc.nextInt();",
"all",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int foot=sc.nextInt();",
"foot",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int tsuru = all * 2;",
"tsuru",
"all * 2",
"all",
"2",
"if (tsuru == foot){\n \tSystem.out.print(\"Yes\");\n \treturn;\n }else if(tsuru > foot){\n \tSystem.out.print(\"No\");\n \treturn;\n }else if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }",
"tsuru == foot",
"tsuru",
"foot",
"{\n \tSystem.out.print(\"Yes\");\n \treturn;\n }",
"System.out.print(\"Yes\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"if(tsuru > foot){\n \tSystem.out.print(\"No\");\n \treturn;\n }else if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }",
"tsuru > foot",
"tsuru",
"foot",
"{\n \tSystem.out.print(\"No\");\n \treturn;\n }",
"System.out.print(\"No\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }",
"tsuru < foot",
"tsuru",
"foot",
"{\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }",
"int kame = foot - tsuru;",
"kame",
"foot - tsuru",
"foot",
"tsuru",
"if(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }",
"kame/2 <= all && kame%2 == 0",
"kame/2 <= all",
"kame/2",
"kame",
"2",
"all",
"kame%2 == 0",
"kame%2",
"kame",
"2",
"0",
"{\n System.out.print(\"Yes\");\n return;\n }",
"System.out.print(\"Yes\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"System.out.print(\"No\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\n\t\tint all=sc.nextInt();\n \tint foot=sc.nextInt();\n \tint tsuru = all * 2;\n \tif (tsuru == foot){\n \tSystem.out.print(\"Yes\");\n \treturn;\n }else if(tsuru > foot){\n \tSystem.out.print(\"No\");\n \treturn;\n }else if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\n\t\tint all=sc.nextInt();\n \tint foot=sc.nextInt();\n \tint tsuru = all * 2;\n \tif (tsuru == foot){\n \tSystem.out.print(\"Yes\");\n \treturn;\n }else if(tsuru > foot){\n \tSystem.out.print(\"No\");\n \treturn;\n }else if(tsuru < foot){\n \tint kame = foot - tsuru;\n \tif(kame/2 <= all && kame%2 == 0){\n System.out.print(\"Yes\");\n return;\n }\n \tSystem.out.print(\"No\");\n }\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int all=sc.nextInt();
int foot=sc.nextInt();
int tsuru = all * 2;
if (tsuru == foot){
System.out.print("Yes");
return;
}else if(tsuru > foot){
System.out.print("No");
return;
}else if(tsuru < foot){
int kame = foot - tsuru;
if(kame/2 <= all && kame%2 == 0){
System.out.print("Yes");
return;
}
System.out.print("No");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
17,
13,
2,
17,
2,
13,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
41,
13,
17,
42,
13,
30,
4,
13,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
17,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
18,
13,
13,
17,
30,
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,
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,
29,
4,
18,
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
],
[
253,
8
],
[
253,
9
],
[
9,
10
],
[
253,
11
],
[
11,
12
],
[
11,
13
],
[
253,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
16,
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
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
50,
57
],
[
16,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
253,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
66,
91
],
[
91,
92
],
[
91,
93
],
[
66,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
99,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
105,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
111,
115
],
[
110,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
110,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
64,
130
],
[
130,
131
],
[
253,
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
],
[
253,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
253,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
175,
176
],
[
253,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
253,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
193,
198
],
[
198,
199
],
[
198,
200
],
[
193,
201
],
[
201,
202
],
[
202,
203
],
[
193,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
188,
211
],
[
211,
212
],
[
186,
213
],
[
213,
214
],
[
253,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
253,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
230,
235
],
[
235,
236
],
[
235,
237
],
[
230,
238
],
[
238,
239
],
[
239,
240
],
[
230,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
225,
248
],
[
248,
249
],
[
223,
250
],
[
250,
251
],
[
0,
252
],
[
252,
253
],
[
252,
254
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint X = ni();\n\t\tint Y = ni();\n\t\tfor(int i = 0; i <= X; i++) {\n\t\t\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint X = ni();\n\t\tint Y = ni();\n\t\tfor(int i = 0; i <= X; i++) {\n\t\t\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main",
"//Switch input source (stdin/file)\n\tprivate static BufferedReader br;",
"br",
"//Input read utility\n\tprivate static StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"private static void solve(){\n\t\t//Implement solution here.\n\t\tint X = ni();\n\t\tint Y = ni();\n\t\tfor(int i = 0; i <= X; i++) {\n\t\t\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}",
"solve",
"{\n\t\t//Implement solution here.\n\t\tint X = ni();\n\t\tint Y = ni();\n\t\tfor(int i = 0; i <= X; i++) {\n\t\t\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}",
"int X = ni();",
"X",
"ni()",
"ni",
"int Y = ni();",
"Y",
"ni()",
"ni",
"for(int i = 0; i <= X; i++) {\n\t\t\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\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\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"if(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}",
"2 * i + 4 * (X - i) == Y",
"2 * i + 4 * (X - i)",
"2 * i",
"2",
"i",
"4 * (X - i)",
"4",
"(X - i)",
"X",
"i",
"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\"",
"public static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String debugDataPath = System.getenv(\"DD_PATH\");",
"debugDataPath",
"System.getenv(\"DD_PATH\")",
"System.getenv",
"System",
"\"DD_PATH\"",
"if(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"debugDataPath != null",
"debugDataPath",
"null",
"{\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}",
"br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"br",
"new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"boolean hasNext = true;",
"hasNext",
"true",
"while(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"hasNext",
"{\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"solve()",
"solve",
"try{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}",
"br.mark(1)",
"br.mark",
"br",
"1",
"if(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"br.read() > 0",
"br.read()",
"br.read",
"br",
"0",
"{\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t}",
"br.reset()",
"br.reset",
"br",
"System.out.println(\"---\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"---\"",
"{\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"hasNext = false",
"hasNext",
"false",
"String[] args",
"args",
"public static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"next",
"{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t}",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}",
"ni",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}",
"nl",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nd",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}",
"ns",
"{\n\t\treturn next().toCharArray();\n\t}",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"nal",
"{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl();",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint X = ni();\n\t\tint Y = ni();\n\t\tfor(int i = 0; i <= X; i++) {\n\t\t\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tint X = ni();\n\t\tint Y = ni();\n\t\tfor(int i = 0; i <= X; i++) {\n\t\t\tif(2 * i + 4 * (X - i) == Y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
private static void solve(){
//Implement solution here.
int X = ni();
int Y = ni();
for(int i = 0; i <= X; i++) {
if(2 * i + 4 * (X - i) == Y) {
System.out.println("Yes");
return;
}
}
System.out.println("No");
}
//Switch input source (stdin/file)
private static BufferedReader br;
public static void main(String[] args){
br = new BufferedReader(new InputStreamReader(System.in));
String debugDataPath = System.getenv("DD_PATH");
if(debugDataPath != null){
try{
br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));
}catch(Exception e){
throw new RuntimeException(e);
}
}
boolean hasNext = true;
while(hasNext){
solve();
try{
br.mark(1);
if(br.read() > 0){
br.reset();
System.out.println("---");
} else {
hasNext = false;
}
}catch(Exception e){
throw new RuntimeException(e);
}
}
}
//Input read utility
private static StringTokenizer tokenizer = null;
public static String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(br.readLine());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
//Get next single int
private static int ni() {
return Integer.parseInt(next());
}
//Get next single long
private static long nl() {
return Long.parseLong(next());
}
//Get next single double
private static double nd() {
return Double.parseDouble(next());
}
//Get next int array from one line
private static int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = ni();
return a;
}
//Get next char array from one line
private static char[] ns() {
return next().toCharArray();
}
//Get next long array from one line
private static long[] nal(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nl();
return a;
}
}
|
[
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,
17,
13,
13,
2,
13,
2,
17,
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
],
[
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
],
[
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
],
[
35,
37
],
[
37,
38
],
[
37,
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
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\t\n\t\tif(y%2==0 && 2*x<=y && y<=4*x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\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=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\t\n\t\tif(y%2==0 && 2*x<=y && y<=4*x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\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=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\t\n\t\tif(y%2==0 && 2*x<=y && y<=4*x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\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\t\n\t\tif(y%2==0 && 2*x<=y && y<=4*x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\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",
"if(y%2==0 && 2*x<=y && y<=4*x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"y%2==0 && 2*x<=y && y<=4*x",
"y%2==0 && 2*x<=y && y<=4*x",
"y%2==0",
"y%2",
"y",
"2",
"0",
"2*x<=y",
"2*x",
"2",
"x",
"y",
"y<=4*x",
"y",
"4*x",
"4",
"x",
"{\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\"",
"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\t\n\t\tif(y%2==0 && 2*x<=y && y<=4*x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\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=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\t\n\t\tif(y%2==0 && 2*x<=y && y<=4*x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\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=sc.nextInt();
int y=sc.nextInt();
if(y%2==0 && 2*x<=y && y<=4*x) {
System.out.println("Yes");
}
else {
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,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
17,
17,
2,
2,
17,
13,
13,
2,
2,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
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,
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
],
[
144,
14
],
[
144,
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
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
33,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
31,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
49,
56
],
[
17,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
15,
63
],
[
63,
64
],
[
144,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
75,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
65,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
65,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
117,
118
],
[
117,
119
],
[
112,
120
],
[
120,
121
],
[
121,
122
],
[
112,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
107,
130
],
[
130,
131
],
[
105,
132
],
[
132,
133
],
[
65,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x = fs.nextInt();\n int y = fs.nextInt();\n\n if(y % 2 != 0 || 4*x < y || 2*x > y) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\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 long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x = fs.nextInt();\n int y = fs.nextInt();\n\n if(y % 2 != 0 || 4*x < y || 2*x > y) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\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 long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x = fs.nextInt();\n int y = fs.nextInt();\n\n if(y % 2 != 0 || 4*x < y || 2*x > y) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n int x = fs.nextInt();\n int y = fs.nextInt();\n\n if(y % 2 != 0 || 4*x < y || 2*x > y) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"int x = fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int y = fs.nextInt();",
"y",
"fs.nextInt()",
"fs.nextInt",
"fs",
"if(y % 2 != 0 || 4*x < y || 2*x > y) {\n System.out.println(\"No\");\n return;\n }",
"y % 2 != 0 || 4*x < y || 2*x > y",
"y % 2 != 0 || 4*x < y || 2*x > y",
"y % 2 != 0",
"y % 2",
"y",
"2",
"0",
"4*x < y",
"4*x",
"4",
"x",
"y",
"2*x > y",
"2*x",
"2",
"x",
"y",
"{\n System.out.println(\"No\");\n return;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\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 long nextLong() {\n return Long.parseLong(next());\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(\"\")",
"String next() {\n while (!st.hasMoreTokens())\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.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"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",
"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 public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x = fs.nextInt();\n int y = fs.nextInt();\n\n if(y % 2 != 0 || 4*x < y || 2*x > y) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\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 long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n int x = fs.nextInt();\n int y = fs.nextInt();\n\n if(y % 2 != 0 || 4*x < y || 2*x > y) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\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 long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
int x = fs.nextInt();
int y = fs.nextInt();
if(y % 2 != 0 || 4*x < y || 2*x > y) {
System.out.println("No");
return;
}
System.out.println("Yes");
}
static class FastScanner {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
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;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
6,
12,
13,
30,
29,
2,
18,
13,
17,
18,
13,
17,
23,
13,
23,
13,
6,
12,
13,
30,
14,
2,
18,
13,
17,
18,
13,
17,
29,
40,
17,
29,
17,
23,
13,
23,
13,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
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,
13,
17,
4,
18,
13,
29,
4,
18,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
13,
29,
4,
13,
13,
13,
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,
17,
41,
13,
17,
0,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
0,
13,
2,
2,
13,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
20,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
20,
29,
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
],
[
2,
3
],
[
2,
4
],
[
4,
5
],
[
5,
6
],
[
6,
7
],
[
7,
8
],
[
7,
9
],
[
6,
10
],
[
10,
11
],
[
10,
12
],
[
2,
13
],
[
13,
14
],
[
2,
15
],
[
15,
16
],
[
0,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
18,
34
],
[
34,
35
],
[
18,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
],
[
0,
50
],
[
537,
51
],
[
537,
52
],
[
52,
53
],
[
52,
54
],
[
537,
55
],
[
55,
56
],
[
55,
57
],
[
537,
58
],
[
58,
59
],
[
58,
60
],
[
537,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
63,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
63,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
92,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
92,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
111,
119
],
[
63,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
63,
124
],
[
124,
125
],
[
125,
126
],
[
61,
127
],
[
127,
128
],
[
537,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
141,
143
],
[
133,
144
],
[
144,
145
],
[
145,
146
],
[
144,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
129,
154
],
[
154,
155
],
[
129,
156
],
[
156,
157
],
[
537,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
166,
169
],
[
160,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
170,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
177,
180
],
[
180,
181
],
[
180,
182
],
[
158,
183
],
[
183,
184
],
[
158,
185
],
[
185,
186
],
[
537,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
189,
196
],
[
196,
197
],
[
196,
198
],
[
189,
199
],
[
199,
200
],
[
199,
201
],
[
189,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
207,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
206,
220
],
[
220,
221
],
[
220,
222
],
[
206,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
189,
230
],
[
230,
231
],
[
187,
232
],
[
232,
233
],
[
187,
234
],
[
234,
235
],
[
187,
236
],
[
236,
237
],
[
537,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
244,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
251,
253
],
[
244,
254
],
[
254,
255
],
[
255,
256
],
[
244,
257
],
[
258,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
261,
264
],
[
264,
265
],
[
264,
266
],
[
258,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
269,
271
],
[
258,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
276,
278
],
[
258,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
240,
284
],
[
284,
285
],
[
238,
286
],
[
286,
287
],
[
537,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
294,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
301,
303
],
[
294,
304
],
[
304,
305
],
[
305,
306
],
[
294,
307
],
[
308,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
311,
314
],
[
314,
315
],
[
314,
316
],
[
308,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
319,
321
],
[
308,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
326,
327
],
[
326,
328
],
[
308,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
329,
333
],
[
290,
334
],
[
334,
335
],
[
288,
336
],
[
336,
337
],
[
537,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
340,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
344,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
351,
353
],
[
344,
354
],
[
354,
355
],
[
355,
356
],
[
344,
357
],
[
358,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
362,
363
],
[
361,
364
],
[
364,
365
],
[
364,
366
],
[
358,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
369,
371
],
[
358,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
372,
376
],
[
376,
377
],
[
376,
378
],
[
358,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
379,
383
],
[
340,
384
],
[
384,
385
],
[
385,
386
],
[
384,
387
],
[
384,
388
],
[
340,
389
],
[
389,
390
],
[
338,
391
],
[
391,
392
],
[
537,
393
],
[
393,
394
],
[
393,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
395,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
399,
404
],
[
404,
405
],
[
404,
406
],
[
406,
407
],
[
406,
408
],
[
399,
409
],
[
409,
410
],
[
410,
411
],
[
399,
412
],
[
413,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
416,
417
],
[
417,
418
],
[
416,
419
],
[
419,
420
],
[
419,
421
],
[
413,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
424,
426
],
[
413,
427
],
[
427,
428
],
[
428,
429
],
[
428,
430
],
[
427,
431
],
[
431,
432
],
[
431,
433
],
[
413,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
434,
438
],
[
395,
439
],
[
439,
440
],
[
440,
441
],
[
439,
442
],
[
439,
443
],
[
395,
444
],
[
444,
445
],
[
393,
446
],
[
446,
447
],
[
537,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
448,
452
],
[
452,
453
],
[
448,
454
],
[
454,
455
],
[
454,
456
],
[
456,
457
],
[
457,
458
],
[
457,
459
],
[
448,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
465,
466
],
[
465,
467
],
[
464,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
463,
472
],
[
472,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
476,
477
],
[
477,
478
],
[
478,
479
],
[
473,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
462,
484
],
[
484,
485
],
[
485,
486
],
[
486,
487
],
[
448,
488
],
[
488,
489
],
[
488,
490
],
[
490,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
492,
495
],
[
495,
496
],
[
448,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
501,
504
],
[
504,
505
],
[
448,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
509,
510
],
[
510,
511
],
[
511,
512
],
[
510,
513
],
[
513,
514
],
[
448,
515
],
[
515,
516
],
[
515,
517
],
[
517,
518
],
[
518,
519
],
[
518,
520
],
[
517,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
524,
525
],
[
525,
526
],
[
526,
527
],
[
521,
528
],
[
528,
529
],
[
529,
530
],
[
529,
531
],
[
531,
532
],
[
532,
533
],
[
517,
534
],
[
534,
535
],
[
0,
536
],
[
536,
537
],
[
536,
538
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport java.math.*;\nimport java.awt.Point;\n \npublic class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tint X = sc.ni();\n\t\tint Y = sc.ni();\n\t\t\n\t\tfor (int c = 0; c <= X; c++) {\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpw.println(\"No\");\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \n br = new BufferedReader(new 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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t}",
"@Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }",
"compare",
"{\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }",
"return a[0]-b[0]; //ascending order",
"a[0]-b[0]",
"a[0]",
"a",
"0",
"b[0]",
"b",
"0",
"int[] a",
"a",
"int[] b",
"b",
"Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t}",
"@Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }",
"compare",
"{\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }",
"if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;",
"a[0] < b[0]",
"a[0]",
"a",
"0",
"b[0]",
"b",
"0",
"return -1;",
"-1",
"1",
"return 1;",
"1",
"long[] a",
"a",
"long[] b",
"b",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.awt.Point;",
"Point",
"java.awt",
"public class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tint X = sc.ni();\n\t\tint Y = sc.ni();\n\t\t\n\t\tfor (int c = 0; c <= X; c++) {\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpw.println(\"No\");\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \n br = new BufferedReader(new 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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Main",
"static final long MOD = 998244353L;",
"MOD",
"998244353L",
"//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";",
"letters",
"\"abcdefghijklmnopqrstuvwxyz\"",
"//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;",
"INF",
"1000000007",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tint X = sc.ni();\n\t\tint Y = sc.ni();\n\t\t\n\t\tfor (int c = 0; c <= X; c++) {\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpw.println(\"No\");\n\t\tpw.close();\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tint X = sc.ni();\n\t\tint Y = sc.ni();\n\t\t\n\t\tfor (int c = 0; c <= X; c++) {\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpw.println(\"No\");\n\t\tpw.close();\n\t}",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int X = sc.ni();",
"X",
"sc.ni()",
"sc.ni",
"sc",
"int Y = sc.ni();",
"Y",
"sc.ni()",
"sc.ni",
"sc",
"for (int c = 0; c <= X; c++) {\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int c = 0;",
"int c = 0;",
"c",
"0",
"c <= X",
"c",
"X",
"c++",
"c++",
"c",
"{\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int t = X-c;",
"t",
"X-c",
"X",
"c",
"int l = 2*c+4*t;",
"l",
"2*c+4*t",
"2*c",
"2",
"c",
"4*t",
"4",
"t",
"if (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}",
"l==Y",
"l",
"Y",
"{\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}",
"pw.println(\"Yes\")",
"pw.println",
"pw",
"\"Yes\"",
"pw.close()",
"pw.close",
"pw",
"return;",
"pw.println(\"No\")",
"pw.println",
"pw",
"\"No\"",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}",
"dist",
"{\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}",
"return (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));",
"(Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]))",
"Math.abs(p2[0]-p1[0])",
"Math.abs",
"Math",
"p2[0]-p1[0]",
"p2[0]",
"p2",
"0",
"p1[0]",
"p1",
"0",
"Math.abs(p2[1]-p1[1])",
"Math.abs",
"Math",
"p2[1]-p1[1]",
"p2[1]",
"p2",
"1",
"p1[1]",
"p1",
"1",
"long[] p1",
"p1",
"long[] p2",
"p2",
"//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}",
"gcd",
"{\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}",
"if (a < b) return gcd(b,a);",
"a < b",
"a",
"b",
"return gcd(b,a);",
"gcd(b,a)",
"gcd",
"b",
"a",
"if (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn 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",
"//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}",
"power",
"{ \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}",
"if (y < 0) return 0L;",
"y < 0",
"y",
"0",
"return 0L;",
"0L",
"long ans = 1;",
"ans",
"1",
"x %= m",
"x",
"m",
"while (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t}",
"y > 0",
"y",
"0",
"{ \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t}",
"if(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m;",
"y % 2 == 1",
"y % 2",
"y",
"2",
"1",
"ans = (ans * x) % m",
"ans",
"(ans * x) % m",
"(ans * x)",
"ans",
"x",
"m",
"y /= 2",
"y",
"2",
"x = (x * x) % m",
"x",
"(x * x) % m",
"(x * x)",
"x",
"x",
"m",
"return ans;",
"ans",
"long x",
"x",
"long y",
"y",
"long m",
"m",
"public static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"shuffle",
"{\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"int temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"return array;",
"array",
"int[] array",
"array",
"public static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"shuffle",
"{\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"long temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"return array;",
"array",
"long[] array",
"array",
"public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"sort",
"{\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"int[] temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"Arrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t})",
"Arrays.sort",
"Arrays",
"array",
"new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t}",
"return array;",
"array",
"int[][] array",
"array",
"public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"sort",
"{\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"long[] temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"Arrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t})",
"Arrays.sort",
"Arrays",
"array",
"new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t}",
"return array;",
"array",
"long[][] array",
"array",
"static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \n br = new BufferedReader(new 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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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 }",
"FastScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastScanner() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"FastScanner",
"{ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new 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 ni() { \n return Integer.parseInt(next()); \n }",
"ni",
"{ \n return Integer.parseInt(next()); \n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nl() { \n return Long.parseLong(next()); \n }",
"nl",
"{ \n return Long.parseLong(next()); \n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nd() { \n return Double.parseDouble(next()); \n }",
"nd",
"{ \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\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tint X = sc.ni();\n\t\tint Y = sc.ni();\n\t\t\n\t\tfor (int c = 0; c <= X; c++) {\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpw.println(\"No\");\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \n br = new BufferedReader(new 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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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 class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tint X = sc.ni();\n\t\tint Y = sc.ni();\n\t\t\n\t\tfor (int c = 0; c <= X; c++) {\n\t\t\tint t = X-c;\n\t\t\tint l = 2*c+4*t;\n\t\t\tif (l==Y) {\n\t\t\t\tpw.println(\"Yes\");\n\t\t\t\tpw.close();\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpw.println(\"No\");\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \n br = new BufferedReader(new 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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Main"
]
| import java.io.*;
import java.util.*;
import java.math.*;
import java.awt.Point;
public class Main {
static final long MOD = 998244353L;
//static final long INF = 1000000000000000007L;
static String letters = "abcdefghijklmnopqrstuvwxyz";
//static final long MOD = 1000000007L;
static final int INF = 1000000007;
public static void main(String[] args) {
FastScanner sc = new FastScanner();
PrintWriter pw = new PrintWriter(System.out);
/*int Q = sc.ni();
for (int q = 0; q < Q; q++) {
int N = sc.ni();
}*/
int X = sc.ni();
int Y = sc.ni();
for (int c = 0; c <= X; c++) {
int t = X-c;
int l = 2*c+4*t;
if (l==Y) {
pw.println("Yes");
pw.close();
return;
}
}
pw.println("No");
pw.close();
}
public static long dist(long[] p1, long[] p2) {
return (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));
}
//Find the GCD of two numbers
public static long gcd(long a, long b) {
if (a < b) return gcd(b,a);
if (b == 0)
return a;
else
return gcd(b,a%b);
}
//Fast exponentiation (x^y mod m)
public static long power(long x, long y, long m) {
if (y < 0) return 0L;
long ans = 1;
x %= m;
while (y > 0) {
if(y % 2 == 1)
ans = (ans * x) % m;
y /= 2;
x = (x * x) % m;
}
return ans;
}
public static int[] shuffle(int[] array) {
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
int temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
return array;
}
public static long[] shuffle(long[] array) {
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
long temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
return array;
}
public static int[][] sort(int[][] array) {
//Sort an array (immune to quicksort TLE)
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
int[] temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
Arrays.sort(array, new Comparator<int[]>() {
@Override
public int compare(int[] a, int[] b) {
return a[0]-b[0]; //ascending order
}
});
return array;
}
public static long[][] sort(long[][] array) {
//Sort an array (immune to quicksort TLE)
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
long[] temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
Arrays.sort(array, new Comparator<long[]>() {
@Override
public int compare(long[] a, long[] b) {
if (a[0] < b[0])
return -1;
else
return 1;
}
});
return array;
}
static class FastScanner {
BufferedReader br;
StringTokenizer st;
public FastScanner() {
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 ni() {
return Integer.parseInt(next());
}
long nl() {
return Long.parseLong(next());
}
double nd() {
return Double.parseDouble(next());
}
String nextLine() {
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,
41,
13,
41,
13,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
14,
2,
2,
2,
13,
17,
13,
2,
13,
2,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
36,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.*;\n\npublic class Main {\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x,y;\n String ans = \"No\";\n\n x = scan.nextInt();\n y = scan.nextInt();\n\n if(y%2 == 0) {\n if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }\n }\n\n System.out.println(ans);\n scan.close();\n\n}\n\n};",
"import java.util.*;",
"util.*",
"java",
"public class Main {\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x,y;\n String ans = \"No\";\n\n x = scan.nextInt();\n y = scan.nextInt();\n\n if(y%2 == 0) {\n if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }\n }\n\n System.out.println(ans);\n scan.close();\n\n}\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x,y;\n String ans = \"No\";\n\n x = scan.nextInt();\n y = scan.nextInt();\n\n if(y%2 == 0) {\n if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }\n }\n\n System.out.println(ans);\n scan.close();\n\n}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int x,y;\n String ans = \"No\";\n\n x = scan.nextInt();\n y = scan.nextInt();\n\n if(y%2 == 0) {\n if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }\n }\n\n System.out.println(ans);\n scan.close();\n\n}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x",
"x",
"y;",
"y",
"String ans = \"No\";",
"ans",
"\"No\"",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(y%2 == 0) {\n if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }\n }",
"y%2 == 0",
"y%2",
"y",
"2",
"0",
"{\n if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }\n }",
"if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }",
"(x * 2) <= y && y <= (x * 4)",
"(x * 2) <= y",
"(x * 2)",
"x",
"2",
"y",
"y <= (x * 4)",
"y",
"(x * 4)",
"x",
"4",
"{\n ans = \"Yes\";\n }",
"ans = \"Yes\"",
"ans",
"\"Yes\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x,y;\n String ans = \"No\";\n\n x = scan.nextInt();\n y = scan.nextInt();\n\n if(y%2 == 0) {\n if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }\n }\n\n System.out.println(ans);\n scan.close();\n\n}\n\n}",
"public class Main {\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x,y;\n String ans = \"No\";\n\n x = scan.nextInt();\n y = scan.nextInt();\n\n if(y%2 == 0) {\n if((x * 2) <= y && y <= (x * 4)) {\n ans = \"Yes\";\n }\n }\n\n System.out.println(ans);\n scan.close();\n\n}\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x,y;
String ans = "No";
x = scan.nextInt();
y = scan.nextInt();
if(y%2 == 0) {
if((x * 2) <= y && y <= (x * 4)) {
ans = "Yes";
}
}
System.out.println(ans);
scan.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,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
17,
13,
2,
17,
2,
13,
13,
13,
30,
0,
13,
17,
3,
4,
18,
18,
13,
13,
8,
13,
17,
17,
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
],
[
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
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n boolean flag = false;\n for (int i = 0; i <= x; i++) {\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\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 x = sc.nextInt();\n int y = sc.nextInt();\n boolean flag = false;\n for (int i = 0; i <= x; i++) {\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n boolean flag = false;\n for (int i = 0; i <= x; i++) {\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n boolean flag = false;\n for (int i = 0; i <= x; i++) {\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"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",
"boolean flag = false;",
"flag",
"false",
"for (int i = 0; i <= x; i++) {\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }",
"{\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }",
"if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }",
"(4 * i) + (2 * (x - i)) == y",
"(4 * i) + (2 * (x - i))",
"(4 * i)",
"4",
"i",
"(2 * (x - i))",
"2",
"(x - i)",
"x",
"i",
"y",
"{\n flag = true;\n break;\n }",
"flag = true",
"flag",
"true",
"break;",
"System.out.println(flag?\"Yes\":\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"flag?\"Yes\":\"No\"",
"flag",
"\"Yes\"",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n boolean flag = false;\n for (int i = 0; i <= x; i++) {\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n boolean flag = false;\n for (int i = 0; i <= x; i++) {\n if ((4 * i) + (2 * (x - i)) == y) {\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
boolean flag = false;
for (int i = 0; i <= x; i++) {
if ((4 * i) + (2 * (x - i)) == y) {
flag = true;
break;
}
}
System.out.println(flag?"Yes":"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,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
0,
13,
2,
2,
17,
13,
2,
17,
13,
14,
2,
13,
13,
30,
0,
13,
17,
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
],
[
89,
5
],
[
89,
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
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
45,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
68,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint n = 0;\n\t\tint m = 0;\n\t\tint s = 0;\n\n\t\tfor(int i = 0;i<X+1;i++) {\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}\n\t\tif(s==1) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\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\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint n = 0;\n\t\tint m = 0;\n\t\tint s = 0;\n\n\t\tfor(int i = 0;i<X+1;i++) {\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}\n\t\tif(s==1) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint n = 0;\n\t\tint m = 0;\n\t\tint s = 0;\n\n\t\tfor(int i = 0;i<X+1;i++) {\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}\n\t\tif(s==1) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint n = 0;\n\t\tint m = 0;\n\t\tint s = 0;\n\n\t\tfor(int i = 0;i<X+1;i++) {\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}\n\t\tif(s==1) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\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 n = 0;",
"n",
"0",
"int m = 0;",
"m",
"0",
"int s = 0;",
"s",
"0",
"for(int i = 0;i<X+1;i++) {\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<X+1",
"i",
"X+1",
"X",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}",
"m=X-i",
"m",
"X-i",
"X",
"i",
"n=2*i+4*m",
"n",
"2*i+4*m",
"2*i",
"2",
"i",
"4*m",
"4",
"m",
"if(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}",
"n==Y",
"n",
"Y",
"{\n\t\t\t\ts=1;\n\t\t\t}",
"s=1",
"s",
"1",
"if(s==1) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"s==1",
"s",
"1",
"{\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\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint n = 0;\n\t\tint m = 0;\n\t\tint s = 0;\n\n\t\tfor(int i = 0;i<X+1;i++) {\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}\n\t\tif(s==1) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\tint n = 0;\n\t\tint m = 0;\n\t\tint s = 0;\n\n\t\tfor(int i = 0;i<X+1;i++) {\n\t\t\tm=X-i;\n\t\t\tn=2*i+4*m;\n\t\t\tif(n==Y) {\n\t\t\t\ts=1;\n\t\t\t}\n\t\t}\n\t\tif(s==1) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\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 = sc.nextInt();
int Y = sc.nextInt();
int n = 0;
int m = 0;
int s = 0;
for(int i = 0;i<X+1;i++) {
m=X-i;
n=2*i+4*m;
if(n==Y) {
s=1;
}
}
if(s==1) {
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,
4,
18,
13,
14,
2,
2,
2,
2,
2,
13,
2,
13,
17,
2,
2,
13,
17,
17,
2,
13,
17,
2,
13,
13,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
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
],
[
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
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
29,
27
],
[
43,
28
],
[
40,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
25,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
25,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
58,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
73,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 0 && y == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 0 && y == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 0 && y == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 0 && y == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.close()",
"scan.close",
"scan",
"if (y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 0 && y == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2",
"x >= y",
"x > 50",
"y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2",
"y > x * 4",
"y",
"x * 4",
"x",
"4",
"y % 2 == 1",
"y % 2",
"y",
"2",
"1",
"x > 50",
"x",
"50",
"x >= y",
"x",
"y",
"y < x * 2",
"y",
"x * 2",
"x",
"2",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if (x > 0 && y == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"x > 0 && y == 0",
"x > 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"x > 25 && y > 100",
"x > 25",
"x",
"25",
"y > 100",
"y",
"100",
"{\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\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 0 && y == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tscan.close();\n\n\t\tif (y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 0 && y == 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else if (x > 25 && y > 100) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
scan.close();
if (y > x * 4 || y % 2 == 1 || x > 50 || x >= y || y < x * 2) {
System.out.println("No");
} else if (x > 0 && y == 0) {
System.out.println("No");
} else if (x > 25 && y > 100) {
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,
41,
13,
20,
17,
17,
41,
13,
4,
13,
13,
13,
13,
4,
18,
18,
13,
13,
8,
13,
17,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
14,
2,
13,
17,
30,
29,
2,
2,
13,
17,
2,
13,
17,
14,
2,
18,
18,
13,
13,
13,
17,
29,
18,
18,
13,
13,
13,
29,
0,
18,
18,
13,
13,
13,
2,
4,
13,
2,
13,
17,
2,
13,
17,
13,
4,
13,
2,
13,
17,
2,
13,
17,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
115,
5
],
[
115,
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,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
29,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
39,
42
],
[
6,
43
],
[
43,
44
],
[
115,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
47,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
69,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
47,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
90,
98
],
[
89,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
45,
108
],
[
108,
109
],
[
45,
110
],
[
110,
111
],
[
45,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n Boolean[][] dp=new Boolean[101][101];\n boolean as = dfs(x,y,dp);\n System.out.println(as ? \"Yes\" : \"No\");\n }\n\n private static boolean dfs(int x, int y, Boolean[][] dp) {\n if(y < 0){\n return false;\n }\n if(x <= 0){\n return x == 0 && y == 0;\n }\n if(dp[x][y] != null) return dp[x][y];\n return dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp);\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 int x = scan.nextInt();\n int y = scan.nextInt();\n Boolean[][] dp=new Boolean[101][101];\n boolean as = dfs(x,y,dp);\n System.out.println(as ? \"Yes\" : \"No\");\n }\n\n private static boolean dfs(int x, int y, Boolean[][] dp) {\n if(y < 0){\n return false;\n }\n if(x <= 0){\n return x == 0 && y == 0;\n }\n if(dp[x][y] != null) return dp[x][y];\n return dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n Boolean[][] dp=new Boolean[101][101];\n boolean as = dfs(x,y,dp);\n System.out.println(as ? \"Yes\" : \"No\");\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n Boolean[][] dp=new Boolean[101][101];\n boolean as = dfs(x,y,dp);\n System.out.println(as ? \"Yes\" : \"No\");\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Boolean[][] dp=new Boolean[101][101];",
"dp",
"new Boolean[101][101]",
"101",
"101",
"boolean as = dfs(x,y,dp);",
"as",
"dfs(x,y,dp)",
"dfs",
"x",
"y",
"dp",
"System.out.println(as ? \"Yes\" : \"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"as ? \"Yes\" : \"No\"",
"as",
"\"Yes\"",
"\"No\"",
"String[] args",
"args",
"private static boolean dfs(int x, int y, Boolean[][] dp) {\n if(y < 0){\n return false;\n }\n if(x <= 0){\n return x == 0 && y == 0;\n }\n if(dp[x][y] != null) return dp[x][y];\n return dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp);\n }",
"dfs",
"{\n if(y < 0){\n return false;\n }\n if(x <= 0){\n return x == 0 && y == 0;\n }\n if(dp[x][y] != null) return dp[x][y];\n return dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp);\n }",
"if(y < 0){\n return false;\n }",
"y < 0",
"y",
"0",
"{\n return false;\n }",
"return false;",
"false",
"if(x <= 0){\n return x == 0 && y == 0;\n }",
"x <= 0",
"x",
"0",
"{\n return x == 0 && y == 0;\n }",
"return x == 0 && y == 0;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"if(dp[x][y] != null) return dp[x][y];",
"dp[x][y] != null",
"dp[x][y]",
"dp[x]",
"dp",
"x",
"y",
"null",
"return dp[x][y];",
"dp[x][y]",
"dp[x]",
"dp",
"x",
"y",
"return dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp);",
"dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp)",
"dp[x][y]",
"dp[x]",
"dp",
"x",
"y",
"dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp)",
"dfs(x-1,y-2,dp)",
"dfs",
"x-1",
"x",
"1",
"y-2",
"y",
"2",
"dp",
"dfs(x-1,y-4,dp)",
"dfs",
"x-1",
"x",
"1",
"y-4",
"y",
"4",
"dp",
"int x",
"x",
"int y",
"y",
"Boolean[][] dp",
"dp",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n Boolean[][] dp=new Boolean[101][101];\n boolean as = dfs(x,y,dp);\n System.out.println(as ? \"Yes\" : \"No\");\n }\n\n private static boolean dfs(int x, int y, Boolean[][] dp) {\n if(y < 0){\n return false;\n }\n if(x <= 0){\n return x == 0 && y == 0;\n }\n if(dp[x][y] != null) return dp[x][y];\n return dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n Boolean[][] dp=new Boolean[101][101];\n boolean as = dfs(x,y,dp);\n System.out.println(as ? \"Yes\" : \"No\");\n }\n\n private static boolean dfs(int x, int y, Boolean[][] dp) {\n if(y < 0){\n return false;\n }\n if(x <= 0){\n return x == 0 && y == 0;\n }\n if(dp[x][y] != null) return dp[x][y];\n return dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
Boolean[][] dp=new Boolean[101][101];
boolean as = dfs(x,y,dp);
System.out.println(as ? "Yes" : "No");
}
private static boolean dfs(int x, int y, Boolean[][] dp) {
if(y < 0){
return false;
}
if(x <= 0){
return x == 0 && y == 0;
}
if(dp[x][y] != null) return dp[x][y];
return dp[x][y] = dfs(x-1,y-2,dp) || dfs(x-1,y-4,dp);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
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,
0,
13,
17,
3,
14,
2,
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
],
[
78,
8
],
[
78,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
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
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
42,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
9,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint x = s.nextInt();\n\t\tint y = s.nextInt();\n\t\t\n\t\tint flag=0;\n\t\tfor(int i=0;i<=x;i++) {\n\t\t\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag==0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint x = s.nextInt();\n\t\tint y = s.nextInt();\n\t\t\n\t\tint flag=0;\n\t\tfor(int i=0;i<=x;i++) {\n\t\t\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag==0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint x = s.nextInt();\n\t\tint y = s.nextInt();\n\t\t\n\t\tint flag=0;\n\t\tfor(int i=0;i<=x;i++) {\n\t\t\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag==0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint x = s.nextInt();\n\t\tint y = s.nextInt();\n\t\t\n\t\tint flag=0;\n\t\tfor(int i=0;i<=x;i++) {\n\t\t\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag==0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}",
"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",
"int flag=0;",
"flag",
"0",
"for(int i=0;i<=x;i++) {\n\t\t\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\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\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}",
"i*2+(x-i)*4==y",
"i*2+(x-i)*4",
"i*2",
"i",
"2",
"(x-i)*4",
"(x-i)",
"x",
"i",
"4",
"y",
"{\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"flag=1",
"flag",
"1",
"break;",
"if(flag==0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"flag==0",
"flag",
"0",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\t\n\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint x = s.nextInt();\n\t\tint y = s.nextInt();\n\t\t\n\t\tint flag=0;\n\t\tfor(int i=0;i<=x;i++) {\n\t\t\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag==0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}",
"public class Main {\n\t\n\n\t\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tint x = s.nextInt();\n\t\tint y = s.nextInt();\n\t\t\n\t\tint flag=0;\n\t\tfor(int i=0;i<=x;i++) {\n\t\t\tif(i*2+(x-i)*4==y) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\tflag=1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tif(flag==0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int x = s.nextInt();
int y = s.nextInt();
int flag=0;
for(int i=0;i<=x;i++) {
if(i*2+(x-i)*4==y) {
System.out.println("Yes");
flag=1;
break;
}
}
if(flag==0) {
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,
4,
18,
18,
13,
13,
8,
2,
2,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
2,
2,
13,
17,
17,
17,
17,
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
],
[
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
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
27,
45
],
[
27,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
]
| [
"import java.util.Scanner;\n\n/**\n * B - Crane and Turtle\n * 庭に何匹かの動物がいます。\n * これらはそれぞれ、2 本の足を持つ鶴か 4 本の足を持つ亀のいずれかです。\n * 高橋くんは、「庭の動物の総数は X 匹で、それらの足の総数は Y 本である」と発言しています。\n * この発言が正しいような鶴と亀の数の組合せが存在するか判定してください。\n */\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner( System.in );\n // 入力値\n int x = sc.nextInt();\n int y = sc.nextInt();\n System.out.println( ( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? \"No\" : \"Yes\" );\n\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner( System.in );\n // 入力値\n int x = sc.nextInt();\n int y = sc.nextInt();\n System.out.println( ( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? \"No\" : \"Yes\" );\n\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner( System.in );\n // 入力値\n int x = sc.nextInt();\n int y = sc.nextInt();\n System.out.println( ( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? \"No\" : \"Yes\" );\n\n sc.close();\n }",
"main",
"{\n\n Scanner sc = new Scanner( System.in );\n // 入力値\n int x = sc.nextInt();\n int y = sc.nextInt();\n System.out.println( ( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? \"No\" : \"Yes\" );\n\n sc.close();\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",
"System.out.println( ( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? \"No\" : \"Yes\" )",
"System.out.println",
"System.out",
"System",
"System.out",
"( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? \"No\" : \"Yes\"",
"( x * 4 < y || x * 2 > y || y % 2 == 1 )",
"x * 4 < y || x * 2 > y || y % 2 == 1",
"x * 4 < y",
"x * 4",
"x",
"4",
"y",
"x * 2 > y",
"x * 2",
"x",
"2",
"y",
"y % 2 == 1",
"y % 2",
"y",
"2",
"1",
"\"No\"",
"\"Yes\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner( System.in );\n // 入力値\n int x = sc.nextInt();\n int y = sc.nextInt();\n System.out.println( ( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? \"No\" : \"Yes\" );\n\n sc.close();\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner( System.in );\n // 入力値\n int x = sc.nextInt();\n int y = sc.nextInt();\n System.out.println( ( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? \"No\" : \"Yes\" );\n\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
/**
* B - Crane and Turtle
* 庭に何匹かの動物がいます。
* これらはそれぞれ、2 本の足を持つ鶴か 4 本の足を持つ亀のいずれかです。
* 高橋くんは、「庭の動物の総数は X 匹で、それらの足の総数は Y 本である」と発言しています。
* この発言が正しいような鶴と亀の数の組合せが存在するか判定してください。
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner( System.in );
// 入力値
int x = sc.nextInt();
int y = sc.nextInt();
System.out.println( ( x * 4 < y || x * 2 > y || y % 2 == 1 ) ? "No" : "Yes" );
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
2,
17,
13,
13,
17,
14,
2,
2,
2,
2,
13,
17,
17,
2,
13,
17,
2,
13,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
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,
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
],
[
158,
14
],
[
158,
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
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
17,
43
],
[
43,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
43,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
43,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
17,
65
],
[
65,
66
],
[
66,
67
],
[
15,
68
],
[
68,
69
],
[
158,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
81,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
86,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
80,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
70,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
108,
109
],
[
70,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
117,
125
],
[
125,
126
],
[
126,
127
],
[
117,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
112,
135
],
[
135,
136
],
[
110,
137
],
[
137,
138
],
[
70,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
70,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
155,
156
],
[
0,
157
],
[
157,
158
],
[
157,
159
]
]
| [
"/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\nimport java.math.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\npublic class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\tint x=fs.nextInt();\n\tint y=fs.nextInt();\n\tint a=(4*x-y)/2;\n\tif(y%2==0&&a>=0&&a<=x)\n\tout.println(\"Yes\");\n\t\n\t\telse\n\t\tout.println(\"No\");\n\tout.close();\n\t\t\n\t\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"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\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\tint x=fs.nextInt();\n\tint y=fs.nextInt();\n\tint a=(4*x-y)/2;\n\tif(y%2==0&&a>=0&&a<=x)\n\tout.println(\"Yes\");\n\t\n\t\telse\n\t\tout.println(\"No\");\n\tout.close();\n\t\t\n\t\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\tint x=fs.nextInt();\n\tint y=fs.nextInt();\n\tint a=(4*x-y)/2;\n\tif(y%2==0&&a>=0&&a<=x)\n\tout.println(\"Yes\");\n\t\n\t\telse\n\t\tout.println(\"No\");\n\tout.close();\n\t\t\n\t\n\t}",
"main",
"{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\tint x=fs.nextInt();\n\tint y=fs.nextInt();\n\tint a=(4*x-y)/2;\n\tif(y%2==0&&a>=0&&a<=x)\n\tout.println(\"Yes\");\n\t\n\t\telse\n\t\tout.println(\"No\");\n\tout.close();\n\t\t\n\t\n\t}",
"PrintWriter out=new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"FastScanner fs=new FastScanner();",
"fs",
"new FastScanner()",
"int x=fs.nextInt();",
"x",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int y=fs.nextInt();",
"y",
"fs.nextInt()",
"fs.nextInt",
"fs",
"int a=(4*x-y)/2;",
"a",
"(4*x-y)/2",
"(4*x-y)",
"4*x",
"4",
"x",
"y",
"2",
"if(y%2==0&&a>=0&&a<=x)\n\tout.println(\"Yes\");\n\t\n\t\telse\n\t\tout.println(\"No\");",
"y%2==0&&a>=0&&a<=x",
"y%2==0&&a>=0&&a<=x",
"y%2==0",
"y%2",
"y",
"2",
"0",
"a>=0",
"a",
"0",
"a<=x",
"a",
"x",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}",
"while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"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",
"int[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"readArray",
"{\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}",
"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",
"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",
"double nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t return Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\tint x=fs.nextInt();\n\tint y=fs.nextInt();\n\tint a=(4*x-y)/2;\n\tif(y%2==0&&a>=0&&a<=x)\n\tout.println(\"Yes\");\n\t\n\t\telse\n\t\tout.println(\"No\");\n\tout.close();\n\t\t\n\t\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"public class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\t\tPrintWriter out=new PrintWriter(System.out);\n\tFastScanner fs=new FastScanner();\n\tint x=fs.nextInt();\n\tint y=fs.nextInt();\n\tint a=(4*x-y)/2;\n\tif(y%2==0&&a>=0&&a<=x)\n\tout.println(\"Yes\");\n\t\n\t\telse\n\t\tout.println(\"No\");\n\tout.close();\n\t\t\n\t\n\t}\n\tstatic class FastScanner {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st=new StringTokenizer(\"\");\n\t\tString next() {\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tint nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tint[] readArray(int n) {\n\t\t\tint[] a=new int[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextInt();\n\t\t\treturn a;\n\t\t}\n\t\tlong nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tdouble nextDouble(){\n\t\t return Double.parseDouble(next());\n\t\t}\n}\n}",
"Main"
]
| /* package codechef; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
import java.math.*;
/* Name of the class has to be "Main" only if the class is public. */
public class Main
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
PrintWriter out=new PrintWriter(System.out);
FastScanner fs=new FastScanner();
int x=fs.nextInt();
int y=fs.nextInt();
int a=(4*x-y)/2;
if(y%2==0&&a>=0&&a<=x)
out.println("Yes");
else
out.println("No");
out.close();
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
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;
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble(){
return Double.parseDouble(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
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
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
10,
24
],
[
24,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
24,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
24,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
8,
54
],
[
54,
55
]
]
| [
"import java.util.*;\n\nclass Main {\n private static Scanner sc;\n\n public static void main(final String[] args) {\n sc = new Scanner(System.in);\n int a = sc.nextInt(),b = sc.nextInt();\n if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}\n\n\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"class Main {\n private static Scanner sc;\n\n public static void main(final String[] args) {\n sc = new Scanner(System.in);\n int a = sc.nextInt(),b = sc.nextInt();\n if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(final String[] args) {\n sc = new Scanner(System.in);\n int a = sc.nextInt(),b = sc.nextInt();\n if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }",
"main",
"{\n sc = new Scanner(System.in);\n int a = sc.nextInt(),b = sc.nextInt();\n if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println(\"Yes\");\n else System.out.println(\"No\");\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println(\"Yes\");\n else System.out.println(\"No\");",
"a*4 >= b && a*2 <= b && b%2 == 0",
"a*4 >= b && a*2 <= b && b%2 == 0",
"a*4 >= b",
"a*4",
"a",
"4",
"b",
"a*2 <= b",
"a*2",
"a",
"2",
"b",
"b%2 == 0",
"b%2",
"b",
"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\"",
"final String[] args",
"args"
]
| import java.util.*;
class Main {
private static Scanner sc;
public static void main(final String[] args) {
sc = new Scanner(System.in);
int a = sc.nextInt(),b = sc.nextInt();
if(a*4 >= b && a*2 <= b && b%2 == 0)System.out.println("Yes");
else System.out.println("No");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
17,
13,
2,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
0,
13,
17,
3,
14,
2,
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
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
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
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int flag = 0;\n for(int i=0 ; i<=x ; i++){\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }\n if(flag == 0){\n System.out.println(\"No\");\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int flag = 0;\n for(int i=0 ; i<=x ; i++){\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }\n if(flag == 0){\n System.out.println(\"No\");\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int flag = 0;\n for(int i=0 ; i<=x ; i++){\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }\n if(flag == 0){\n System.out.println(\"No\");\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int flag = 0;\n for(int i=0 ; i<=x ; i++){\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }\n if(flag == 0){\n System.out.println(\"No\");\n }\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 flag = 0;",
"flag",
"0",
"for(int i=0 ; i<=x ; i++){\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }",
"int i=0 ;",
"int i=0 ;",
"i",
"0",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }",
"{\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }",
"if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }",
"(2*x+2*i)==y",
"(2*x+2*i)",
"2*x",
"2",
"x",
"2*i",
"2",
"i",
"y",
"{\n System.out.println(\"Yes\");\n flag=1;\n break;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"flag=1",
"flag",
"1",
"break;",
"if(flag == 0){\n System.out.println(\"No\");\n }",
"flag == 0",
"flag",
"0",
"{\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) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int flag = 0;\n for(int i=0 ; i<=x ; i++){\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }\n if(flag == 0){\n System.out.println(\"No\");\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int flag = 0;\n for(int i=0 ; i<=x ; i++){\n if((2*x+2*i)==y){\n System.out.println(\"Yes\");\n flag=1;\n break;\n }\n }\n if(flag == 0){\n System.out.println(\"No\");\n }\n \n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int flag = 0;
for(int i=0 ; i<=x ; i++){
if((2*x+2*i)==y){
System.out.println("Yes");
flag=1;
break;
}
}
if(flag == 0){
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,
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,
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
],
[
95,
5
],
[
95,
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
],
[
37,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
8,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
76,
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.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint X = s.nextInt();\n\t\tint Y = s.nextInt();\n\t\tboolean juge = false;\n\t\tfor(int x=0; x<=X; x++) {\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}\n\t\tif(juge) {System.out.println(\"Yes\");}\n\t\telse {System.out.println(\"No\");}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint X = s.nextInt();\n\t\tint Y = s.nextInt();\n\t\tboolean juge = false;\n\t\tfor(int x=0; x<=X; x++) {\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}\n\t\tif(juge) {System.out.println(\"Yes\");}\n\t\telse {System.out.println(\"No\");}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint X = s.nextInt();\n\t\tint Y = s.nextInt();\n\t\tboolean juge = false;\n\t\tfor(int x=0; x<=X; x++) {\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}\n\t\tif(juge) {System.out.println(\"Yes\");}\n\t\telse {System.out.println(\"No\");}\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tint X = s.nextInt();\n\t\tint Y = s.nextInt();\n\t\tboolean juge = false;\n\t\tfor(int x=0; x<=X; x++) {\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}\n\t\tif(juge) {System.out.println(\"Yes\");}\n\t\telse {System.out.println(\"No\");}\n\t}",
"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",
"boolean juge = false;",
"juge",
"false",
"for(int x=0; x<=X; x++) {\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}",
"int x=0;",
"int x=0;",
"x",
"0",
"x<=X",
"x",
"X",
"x++",
"x++",
"x",
"{\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}",
"{\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}",
"for(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}",
"int y=0;",
"int y=0;",
"y",
"0",
"y<=X",
"y",
"X",
"y++",
"y++",
"y",
"{\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}",
"if(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}",
"x+y == X && 2*x + 4*y == Y",
"x+y == X",
"x+y",
"x",
"y",
"X",
"2*x + 4*y == Y",
"2*x + 4*y",
"2*x",
"2",
"x",
"4*y",
"4",
"y",
"Y",
"{\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}",
"juge =true",
"juge",
"true",
"break;",
"if(juge) {break;}",
"juge",
"{break;}",
"break;",
"if(juge) {System.out.println(\"Yes\");}\n\t\telse {System.out.println(\"No\");}",
"juge",
"{System.out.println(\"Yes\");}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{System.out.println(\"No\");}",
"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\t\tScanner s = new Scanner(System.in);\n\t\tint X = s.nextInt();\n\t\tint Y = s.nextInt();\n\t\tboolean juge = false;\n\t\tfor(int x=0; x<=X; x++) {\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}\n\t\tif(juge) {System.out.println(\"Yes\");}\n\t\telse {System.out.println(\"No\");}\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 = s.nextInt();\n\t\tint Y = s.nextInt();\n\t\tboolean juge = false;\n\t\tfor(int x=0; x<=X; x++) {\n\t\t\tfor(int y=0; y<=X; y++) {\n\t\t\t\tif(x+y == X && 2*x + 4*y == Y) {\n\t\t\t\t\tjuge =true; break;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(juge) {break;}\n\t\t}\n\t\tif(juge) {System.out.println(\"Yes\");}\n\t\telse {System.out.println(\"No\");}\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 X = s.nextInt();
int Y = s.nextInt();
boolean juge = false;
for(int x=0; x<=X; x++) {
for(int y=0; y<=X; y++) {
if(x+y == X && 2*x + 4*y == Y) {
juge =true; break;
}
}
if(juge) {break;}
}
if(juge) {System.out.println("Yes");}
else {System.out.println("No");}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
40,
2,
13,
17,
2,
17,
13,
41,
13,
2,
13,
13,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
77,
8
],
[
77,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
43,
42
],
[
50,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
40,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
40,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
9,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.*;\nimport java.lang.Integer; \n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n double x = sc.nextInt(); // 頭数\n double y = sc.nextInt(); // 足の数\n double crane = -(y/2) + 2*x;\n double turtle = x - crane;\n if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Integer;",
"Integer",
"java.lang",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n double x = sc.nextInt(); // 頭数\n double y = sc.nextInt(); // 足の数\n double crane = -(y/2) + 2*x;\n double turtle = x - crane;\n if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n double x = sc.nextInt(); // 頭数\n double y = sc.nextInt(); // 足の数\n double crane = -(y/2) + 2*x;\n double turtle = x - crane;\n if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n double x = sc.nextInt(); // 頭数\n double y = sc.nextInt(); // 足の数\n double crane = -(y/2) + 2*x;\n double turtle = x - crane;\n if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"double x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"double crane = -(y/2) + 2*x;",
"crane",
"-(y/2) + 2*x",
"-(y/2)",
"(y/2)",
"y",
"2",
"2*x",
"2",
"x",
"double turtle = x - crane;",
"turtle",
"x - crane",
"x",
"crane",
"if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0",
"turtle % 1 != 0",
"turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0",
"turtle < 0",
"turtle",
"0",
"crane < 0",
"crane",
"0",
"turtle % 1 != 0",
"turtle % 1",
"turtle",
"1",
"0",
"crane % 1 != 0",
"crane % 1",
"crane",
"1",
"0",
"{\n System.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 {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n double x = sc.nextInt(); // 頭数\n double y = sc.nextInt(); // 足の数\n double crane = -(y/2) + 2*x;\n double turtle = x - crane;\n if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n double x = sc.nextInt(); // 頭数\n double y = sc.nextInt(); // 足の数\n double crane = -(y/2) + 2*x;\n double turtle = x - crane;\n if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.Integer;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
double x = sc.nextInt(); // 頭数
double y = sc.nextInt(); // 足の数
double crane = -(y/2) + 2*x;
double turtle = x - crane;
if(turtle < 0 || crane < 0 || turtle % 1 != 0 || crane % 1 != 0 ){
System.out.println("No");
}else{
System.out.println("Yes");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
2,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
2,
17,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
10,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
29,
47
],
[
29,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\tSystem.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\");\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\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\tSystem.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\tSystem.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\");\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\tSystem.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\");\n\t\t}\n\t}",
"try (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\tSystem.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\");\n\t\t}",
"{\n\t\t\tint x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\tSystem.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\");\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"int x = scanner.nextInt()",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"y = scanner.nextInt();",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\"",
"((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1)))",
"(x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))",
"(x * 2 <= y)",
"x * 2",
"x",
"2",
"y",
"(x * 4 >= y)",
"x * 4",
"x",
"4",
"y",
"(0 == (y & 1))",
"0",
"(y & 1)",
"y",
"1",
"\"Yes\"",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\tSystem.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\");\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tint x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\tSystem.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? \"Yes\" : \"No\");\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
int x = scanner.nextInt(), y = scanner.nextInt();
System.out.println(((x * 2 <= y) && (x * 4 >= y) && (0 == (y & 1))) ? "Yes" : "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,
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,
0,
13,
17,
3,
4,
18,
18,
13,
13,
8,
13,
17,
17,
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
],
[
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
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
39,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"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 X = sc.nextInt();\n int Y = sc.nextInt();\n boolean possible = false;\n for (int i = 0; i <= X; i++) {\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }\n System.out.println(possible ? \"Yes\" : \"No\");\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 X = sc.nextInt();\n int Y = sc.nextInt();\n boolean possible = false;\n for (int i = 0; i <= X; i++) {\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }\n System.out.println(possible ? \"Yes\" : \"No\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n boolean possible = false;\n for (int i = 0; i <= X; i++) {\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }\n System.out.println(possible ? \"Yes\" : \"No\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n boolean possible = false;\n for (int i = 0; i <= X; i++) {\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }\n System.out.println(possible ? \"Yes\" : \"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",
"boolean possible = false;",
"possible",
"false",
"for (int i = 0; i <= X; i++) {\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= X",
"i",
"X",
"i++",
"i++",
"i",
"{\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }",
"{\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }",
"if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }",
"(i * 2) + ((X - i) * 4) == Y",
"(i * 2) + ((X - i) * 4)",
"(i * 2)",
"i",
"2",
"((X - i) * 4)",
"(X - i)",
"X",
"i",
"4",
"Y",
"{\n possible = true;\n break;\n }",
"possible = true",
"possible",
"true",
"break;",
"System.out.println(possible ? \"Yes\" : \"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"possible ? \"Yes\" : \"No\"",
"possible",
"\"Yes\"",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n boolean possible = false;\n for (int i = 0; i <= X; i++) {\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }\n System.out.println(possible ? \"Yes\" : \"No\");\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n boolean possible = false;\n for (int i = 0; i <= X; i++) {\n if ((i * 2) + ((X - i) * 4) == Y) {\n possible = true;\n break;\n }\n }\n System.out.println(possible ? \"Yes\" : \"No\");\n }\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();
boolean possible = false;
for (int i = 0; i <= X; i++) {
if ((i * 2) + ((X - i) * 4) == Y) {
possible = true;
break;
}
}
System.out.println(possible ? "Yes" : "No");
}
} |
[
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,
13,
2,
17,
13,
2,
13,
2,
17,
13,
2,
2,
13,
17,
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
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
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
],
[
6,
54
],
[
54,
55
]
]
| [
"\n\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt(); // 最小値は2X、最大値は4X\n\t\tint Y = sc.nextInt(); \n\t\t\n\t\t// 最大値と最小値の間の足の総数は、偶数であれば任意で取り得る\n\t\tif(Y > 4*X || Y < 2*X || Y%2==1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt(); // 最小値は2X、最大値は4X\n\t\tint Y = sc.nextInt(); \n\t\t\n\t\t// 最大値と最小値の間の足の総数は、偶数であれば任意で取り得る\n\t\tif(Y > 4*X || Y < 2*X || Y%2==1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt(); // 最小値は2X、最大値は4X\n\t\tint Y = sc.nextInt(); \n\t\t\n\t\t// 最大値と最小値の間の足の総数は、偶数であれば任意で取り得る\n\t\tif(Y > 4*X || Y < 2*X || Y%2==1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint X = sc.nextInt(); // 最小値は2X、最大値は4X\n\t\tint Y = sc.nextInt(); \n\t\t\n\t\t// 最大値と最小値の間の足の総数は、偶数であれば任意で取り得る\n\t\tif(Y > 4*X || Y < 2*X || Y%2==1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\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",
"if(Y > 4*X || Y < 2*X || Y%2==1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}else {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"Y > 4*X || Y < 2*X || Y%2==1",
"Y > 4*X || Y < 2*X || Y%2==1",
"Y > 4*X",
"Y",
"4*X",
"4",
"X",
"Y < 2*X",
"Y",
"2*X",
"2",
"X",
"Y%2==1",
"Y%2",
"Y",
"2",
"1",
"{\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\"",
"String[] args",
"args"
]
|
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int X = sc.nextInt(); // 最小値は2X、最大値は4X
int Y = sc.nextInt();
// 最大値と最小値の間の足の総数は、偶数であれば任意で取り得る
if(Y > 4*X || Y < 2*X || Y%2==1) {
System.out.println("No");
}else {
System.out.println("Yes");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
2,
2,
2,
17,
13,
13,
2,
13,
2,
17,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
8,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
59,
9
],
[
9,
10
],
[
9,
11
],
[
59,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
30,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
12,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tprivate static final String YES = \"Yes\";\n\tprivate static final String NO = \"No\";\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\t\n\t\tboolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;\n\t\tSystem.out.println(valid ? YES : NO);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate static final String YES = \"Yes\";\n\tprivate static final String NO = \"No\";\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\t\n\t\tboolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;\n\t\tSystem.out.println(valid ? YES : NO);\n\t}\n\n}",
"Main",
"private static final String YES = \"Yes\";",
"YES",
"\"Yes\"",
"private static final String NO = \"No\";",
"NO",
"\"No\"",
"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\t\n\t\tboolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;\n\t\tSystem.out.println(valid ? YES : 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\t\n\t\tboolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;\n\t\tSystem.out.println(valid ? YES : 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",
"boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;",
"valid",
"(2*x <= y && y <= 4*x) && y%2 == 0",
"(2*x <= y && y <= 4*x)",
"2*x <= y",
"2*x",
"2",
"x",
"y",
"y <= 4*x",
"y",
"4*x",
"4",
"x",
"y%2 == 0",
"y%2",
"y",
"2",
"0",
"System.out.println(valid ? YES : NO)",
"System.out.println",
"System.out",
"System",
"System.out",
"valid ? YES : NO",
"valid",
"YES",
"NO",
"String[] args",
"args",
"public class Main {\n\tprivate static final String YES = \"Yes\";\n\tprivate static final String NO = \"No\";\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\t\n\t\tboolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;\n\t\tSystem.out.println(valid ? YES : NO);\n\t}\n\n}",
"public class Main {\n\tprivate static final String YES = \"Yes\";\n\tprivate static final String NO = \"No\";\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\t\n\t\tboolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;\n\t\tSystem.out.println(valid ? YES : NO);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
private static final String YES = "Yes";
private static final String NO = "No";
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
boolean valid = (2*x <= y && y <= 4*x) && y%2 == 0;
System.out.println(valid ? YES : 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,
2,
13,
17,
13,
41,
13,
2,
2,
40,
13,
17,
2,
17,
13,
14,
40,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
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
],
[
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
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
39,
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
],
[
53,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
68,
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;\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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint kame=b/2-a;\n\t\tint turu=-b/2+2*a;\n\n\t\tif(!(b%2==0)) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if(turu<0||kame<0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc =new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint kame=b/2-a;\n\t\tint turu=-b/2+2*a;\n\n\t\tif(!(b%2==0)) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if(turu<0||kame<0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint kame=b/2-a;\n\t\tint turu=-b/2+2*a;\n\n\t\tif(!(b%2==0)) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if(turu<0||kame<0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc =new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint kame=b/2-a;\n\t\tint turu=-b/2+2*a;\n\n\t\tif(!(b%2==0)) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if(turu<0||kame<0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t\t\n\t}",
"Scanner sc =new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int kame=b/2-a;",
"kame",
"b/2-a",
"b/2",
"b",
"2",
"a",
"int turu=-b/2+2*a;",
"turu",
"-b/2+2*a",
"-b/2",
"-b",
"b",
"2",
"2*a",
"2",
"a",
"if(!(b%2==0)) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if(turu<0||kame<0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"!(b%2==0)",
"(b%2==0)",
"b%2",
"b",
"2",
"0",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(turu<0||kame<0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"turu<0||kame<0",
"turu<0",
"turu",
"0",
"kame<0",
"kame",
"0",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"(kame+turu)==a",
"(kame+turu)",
"kame",
"turu",
"a",
"{\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\"",
"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 a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint kame=b/2-a;\n\t\tint turu=-b/2+2*a;\n\n\t\tif(!(b%2==0)) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if(turu<0||kame<0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc =new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint kame=b/2-a;\n\t\tint turu=-b/2+2*a;\n\n\t\tif(!(b%2==0)) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if(turu<0||kame<0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\telse if((kame+turu)==a) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\t\n\t\t\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc =new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int kame=b/2-a;
int turu=-b/2+2*a;
if(!(b%2==0)) {
System.out.println("No");
}
else if(turu<0||kame<0) {
System.out.println("No");
}
else if((kame+turu)==a) {
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,
2,
13,
2,
17,
13,
17,
41,
13,
2,
13,
13,
41,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
13,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
41,
13,
8,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
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
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
41,
51
],
[
51,
52
],
[
51,
53
],
[
41,
54
],
[
54,
55
],
[
54,
56
],
[
39,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\t\n\t\tpublic static void main(String[] args) {\n\t\t\tScanner scanner = new Scanner(System.in);\n\t\t\tint animals = scanner.nextInt();\n\t\t\tint legs = scanner.nextInt();\n\t\t\tint cranes = (legs - 2 * animals) / 2;\n\t\t\tint turtles = animals - cranes;\n\t\t\tboolean result = true;\n\t\t\t\n\t\t\tif(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {\n\t\t\t\tresult = false;\n\t\t\t}\n\t\t\t\n\t\t\tString decision = result? \"Yes\" : \"No\";\n\t\t\tSystem.out.print(decision);\n\t\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) {\n\t\t\tScanner scanner = new Scanner(System.in);\n\t\t\tint animals = scanner.nextInt();\n\t\t\tint legs = scanner.nextInt();\n\t\t\tint cranes = (legs - 2 * animals) / 2;\n\t\t\tint turtles = animals - cranes;\n\t\t\tboolean result = true;\n\t\t\t\n\t\t\tif(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {\n\t\t\t\tresult = false;\n\t\t\t}\n\t\t\t\n\t\t\tString decision = result? \"Yes\" : \"No\";\n\t\t\tSystem.out.print(decision);\n\t\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\tScanner scanner = new Scanner(System.in);\n\t\t\tint animals = scanner.nextInt();\n\t\t\tint legs = scanner.nextInt();\n\t\t\tint cranes = (legs - 2 * animals) / 2;\n\t\t\tint turtles = animals - cranes;\n\t\t\tboolean result = true;\n\t\t\t\n\t\t\tif(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {\n\t\t\t\tresult = false;\n\t\t\t}\n\t\t\t\n\t\t\tString decision = result? \"Yes\" : \"No\";\n\t\t\tSystem.out.print(decision);\n\t\t}",
"main",
"{\n\t\t\tScanner scanner = new Scanner(System.in);\n\t\t\tint animals = scanner.nextInt();\n\t\t\tint legs = scanner.nextInt();\n\t\t\tint cranes = (legs - 2 * animals) / 2;\n\t\t\tint turtles = animals - cranes;\n\t\t\tboolean result = true;\n\t\t\t\n\t\t\tif(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {\n\t\t\t\tresult = false;\n\t\t\t}\n\t\t\t\n\t\t\tString decision = result? \"Yes\" : \"No\";\n\t\t\tSystem.out.print(decision);\n\t\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int animals = scanner.nextInt();",
"animals",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int legs = scanner.nextInt();",
"legs",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int cranes = (legs - 2 * animals) / 2;",
"cranes",
"(legs - 2 * animals) / 2",
"(legs - 2 * animals)",
"legs",
"2 * animals",
"2",
"animals",
"2",
"int turtles = animals - cranes;",
"turtles",
"animals - cranes",
"animals",
"cranes",
"boolean result = true;",
"result",
"true",
"if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {\n\t\t\t\tresult = false;\n\t\t\t}",
"turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0",
"turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0",
"turtles * 2 + cranes * 4 != legs",
"turtles * 2 + cranes * 4",
"turtles * 2",
"turtles",
"2",
"cranes * 4",
"cranes",
"4",
"legs",
"turtles < 0",
"turtles",
"0",
"cranes < 0",
"cranes",
"0",
"{\n\t\t\t\tresult = false;\n\t\t\t}",
"result = false",
"result",
"false",
"String decision = result? \"Yes\" : \"No\";",
"decision",
"result? \"Yes\" : \"No\"",
"result",
"\"Yes\"",
"\"No\"",
"System.out.print(decision)",
"System.out.print",
"System.out",
"System",
"System.out",
"decision",
"String[] args",
"args",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) {\n\t\t\tScanner scanner = new Scanner(System.in);\n\t\t\tint animals = scanner.nextInt();\n\t\t\tint legs = scanner.nextInt();\n\t\t\tint cranes = (legs - 2 * animals) / 2;\n\t\t\tint turtles = animals - cranes;\n\t\t\tboolean result = true;\n\t\t\t\n\t\t\tif(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {\n\t\t\t\tresult = false;\n\t\t\t}\n\t\t\t\n\t\t\tString decision = result? \"Yes\" : \"No\";\n\t\t\tSystem.out.print(decision);\n\t\t}\n}",
"public class Main {\n\t\n\t\tpublic static void main(String[] args) {\n\t\t\tScanner scanner = new Scanner(System.in);\n\t\t\tint animals = scanner.nextInt();\n\t\t\tint legs = scanner.nextInt();\n\t\t\tint cranes = (legs - 2 * animals) / 2;\n\t\t\tint turtles = animals - cranes;\n\t\t\tboolean result = true;\n\t\t\t\n\t\t\tif(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {\n\t\t\t\tresult = false;\n\t\t\t}\n\t\t\t\n\t\t\tString decision = result? \"Yes\" : \"No\";\n\t\t\tSystem.out.print(decision);\n\t\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int animals = scanner.nextInt();
int legs = scanner.nextInt();
int cranes = (legs - 2 * animals) / 2;
int turtles = animals - cranes;
boolean result = true;
if(turtles * 2 + cranes * 4 != legs || turtles < 0 || cranes < 0) {
result = false;
}
String decision = result? "Yes" : "No";
System.out.print(decision);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
13,
14,
2,
2,
2,
17,
13,
2,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
77,
8
],
[
77,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
11,
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
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
59,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
11,
73
],
[
9,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = Integer.parseInt(sc.next());\n int Y = Integer.parseInt(sc.next());\n for(int i = 0; i <= X;i++){\n int j = X - i;\n if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n return;\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"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 X = Integer.parseInt(sc.next());\n int Y = Integer.parseInt(sc.next());\n for(int i = 0; i <= X;i++){\n int j = X - i;\n if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n return;\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = Integer.parseInt(sc.next());\n int Y = Integer.parseInt(sc.next());\n for(int i = 0; i <= X;i++){\n int j = X - i;\n if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n return;\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int X = Integer.parseInt(sc.next());\n int Y = Integer.parseInt(sc.next());\n for(int i = 0; i <= X;i++){\n int j = X - i;\n if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n return;\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int X = Integer.parseInt(sc.next());",
"X",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int Y = Integer.parseInt(sc.next());",
"Y",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"for(int i = 0; i <= X;i++){\n int j = X - i;\n if(2*i+4*j==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 j = X - i;\n if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }\n }",
"{\n int j = X - i;\n if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }\n }",
"int j = X - i;",
"j",
"X - i",
"X",
"i",
"if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }",
"2*i+4*j==Y",
"2*i+4*j",
"2*i",
"2",
"i",
"4*j",
"4",
"j",
"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\"",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = Integer.parseInt(sc.next());\n int Y = Integer.parseInt(sc.next());\n for(int i = 0; i <= X;i++){\n int j = X - i;\n if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n return;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = Integer.parseInt(sc.next());\n int Y = Integer.parseInt(sc.next());\n for(int i = 0; i <= X;i++){\n int j = X - i;\n if(2*i+4*j==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n return;\n }\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int X = Integer.parseInt(sc.next());
int Y = Integer.parseInt(sc.next());
for(int i = 0; i <= X;i++){
int j = X - i;
if(2*i+4*j==Y){
System.out.println("Yes");
return;
}
}
System.out.println("No");
return;
}
} |
[
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,
13,
2,
13,
17,
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,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
26,
27
],
[
26,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
34,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
42,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"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 x = sc.nextInt();\n int y = sc.nextInt();\n\n if (y > x * 4 || y < x * 2) {\n System.out.println(\"No\");\n return;\n }\n\n if (y % 2 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\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 x = sc.nextInt();\n int y = sc.nextInt();\n\n if (y > x * 4 || y < x * 2) {\n System.out.println(\"No\");\n return;\n }\n\n if (y % 2 == 0) {\n System.out.println(\"Yes\");\n } else {\n 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 if (y > x * 4 || y < x * 2) {\n System.out.println(\"No\");\n return;\n }\n\n if (y % 2 == 0) {\n System.out.println(\"Yes\");\n } else {\n 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 if (y > x * 4 || y < x * 2) {\n System.out.println(\"No\");\n return;\n }\n\n if (y % 2 == 0) {\n System.out.println(\"Yes\");\n } else {\n 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",
"if (y > x * 4 || y < x * 2) {\n System.out.println(\"No\");\n return;\n }",
"y > x * 4 || y < x * 2",
"y > x * 4",
"y",
"x * 4",
"x",
"4",
"y < x * 2",
"y",
"x * 2",
"x",
"2",
"{\n System.out.println(\"No\");\n return;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"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\"",
"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 if (y > x * 4 || y < x * 2) {\n System.out.println(\"No\");\n return;\n }\n\n if (y % 2 == 0) {\n System.out.println(\"Yes\");\n } else {\n 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 if (y > x * 4 || y < x * 2) {\n System.out.println(\"No\");\n return;\n }\n\n if (y % 2 == 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
if (y > x * 4 || y < x * 2) {
System.out.println("No");
return;
}
if (y % 2 == 0) {
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,
14,
2,
2,
2,
2,
13,
17,
13,
2,
13,
2,
13,
17,
2,
2,
13,
17,
17,
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
],
[
30,
32
],
[
32,
33
],
[
32,
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\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\t\n\t\tif((X*2<=Y)&&(Y<=X*4)&&(Y%2==0)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\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\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\t\n\t\tif((X*2<=Y)&&(Y<=X*4)&&(Y%2==0)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\n\t}\n\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\t\n\t\tif((X*2<=Y)&&(Y<=X*4)&&(Y%2==0)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\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\t\n\t\tif((X*2<=Y)&&(Y<=X*4)&&(Y%2==0)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\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((X*2<=Y)&&(Y<=X*4)&&(Y%2==0)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"(X*2<=Y)&&(Y<=X*4)&&(Y%2==0)",
"(X*2<=Y)&&(Y<=X*4)&&(Y%2==0)",
"(X*2<=Y)",
"X*2",
"X",
"2",
"Y",
"(Y<=X*4)",
"Y",
"X*4",
"X",
"4",
"(Y%2==0)",
"Y%2",
"Y",
"2",
"0",
"{\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\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\t\n\t\tif((X*2<=Y)&&(Y<=X*4)&&(Y%2==0)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\t\t\n\t\tif((X*2<=Y)&&(Y<=X*4)&&(Y%2==0)) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\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);
int X = sc.nextInt();
int Y = sc.nextInt();
if((X*2<=Y)&&(Y<=X*4)&&(Y%2==0)) {
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,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
17,
13,
2,
17,
2,
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,
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
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
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
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
8,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
60,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(); //動物総数\n int y = sc.nextInt(); //足の総数\n boolean flag = false;\n\n\n int num = 0;\n for(int i=0; i<=x; i++){\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }\n\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\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 Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(); //動物総数\n int y = sc.nextInt(); //足の総数\n boolean flag = false;\n\n\n int num = 0;\n for(int i=0; i<=x; i++){\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }\n\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n\n\n\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(); //動物総数\n int y = sc.nextInt(); //足の総数\n boolean flag = false;\n\n\n int num = 0;\n for(int i=0; i<=x; i++){\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }\n\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(); //動物総数\n int y = sc.nextInt(); //足の総数\n boolean flag = false;\n\n\n int num = 0;\n for(int i=0; i<=x; i++){\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }\n\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n\n\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",
"boolean flag = false;",
"flag",
"false",
"int num = 0;",
"num",
"0",
"for(int i=0; i<=x; i++){\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }",
"{\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }",
"num = 2 * i + 4 * (x-i)",
"num",
"2 * i + 4 * (x-i)",
"2 * i",
"2",
"i",
"4 * (x-i)",
"4",
"(x-i)",
"x",
"i",
"if(num==y){\n flag = true;\n }",
"num==y",
"num",
"y",
"{\n flag = true;\n }",
"flag = true",
"flag",
"true",
"if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"flag",
"{\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 x = sc.nextInt(); //動物総数\n int y = sc.nextInt(); //足の総数\n boolean flag = false;\n\n\n int num = 0;\n for(int i=0; i<=x; i++){\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }\n\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n\n\n\n }\n\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(); //動物総数\n int y = sc.nextInt(); //足の総数\n boolean flag = false;\n\n\n int num = 0;\n for(int i=0; i<=x; i++){\n num = 2 * i + 4 * (x-i);\n if(num==y){\n flag = true;\n }\n }\n\n if(flag){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\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);
int x = sc.nextInt(); //動物総数
int y = sc.nextInt(); //足の総数
boolean flag = false;
int num = 0;
for(int i=0; i<=x; i++){
num = 2 * i + 4 * (x-i);
if(num==y){
flag = true;
}
}
if(flag){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
30,
14,
2,
2,
2,
13,
17,
13,
2,
13,
2,
2,
13,
17,
2,
2,
13,
17,
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
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
10,
30
],
[
30,
31
],
[
30,
32
],
[
10,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
44,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
44,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
10,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"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 int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n\n String ans = \"\";\n if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }\n System.out.println(ans);\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 int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n\n String ans = \"\";\n if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }\n System.out.println(ans);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // in\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n\n String ans = \"\";\n if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }\n System.out.println(ans);\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)) {\n // in\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n\n String ans = \"\";\n if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }\n System.out.println(ans);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n // in\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n\n String ans = \"\";\n if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }\n System.out.println(ans);\n }",
"{\n // in\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n\n String ans = \"\";\n if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int x = Integer.parseInt(sc.next());",
"x",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int y = Integer.parseInt(sc.next());",
"y",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }",
"y % 2 != 0",
"y % 2",
"y",
"2",
"0",
"{\n ans = \"No\";\n }",
"ans = \"No\"",
"ans",
"\"No\"",
"{\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }",
"if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }",
"(y / 2) >= x && x >= ((y / 4)+(y % 4 / 2))",
"(y / 2) >= x",
"(y / 2)",
"y",
"2",
"x",
"x >= ((y / 4)+(y % 4 / 2))",
"x",
"((y / 4)+(y % 4 / 2))",
"(y / 4)",
"y",
"4",
"(y % 4 / 2)",
"y % 4",
"y",
"4",
"2",
"{\n ans = \"Yes\";\n }",
"ans = \"Yes\"",
"ans",
"\"Yes\"",
"{\n ans = \"No\";\n }",
"ans = \"No\"",
"ans",
"\"No\"",
"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 try (Scanner sc = new Scanner(System.in)) {\n // in\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n\n String ans = \"\";\n if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }\n System.out.println(ans);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n // in\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n\n String ans = \"\";\n if (y % 2 != 0) {\n ans = \"No\";\n } else {\n if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {\n ans = \"Yes\";\n } else {\n ans = \"No\";\n }\n }\n System.out.println(ans);\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
// in
int x = Integer.parseInt(sc.next());
int y = Integer.parseInt(sc.next());
String ans = "";
if (y % 2 != 0) {
ans = "No";
} else {
if ((y / 2) >= x && x >= ((y / 4)+(y % 4 / 2)) ) {
ans = "Yes";
} else {
ans = "No";
}
}
System.out.println(ans);
}
}
}
|
[
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,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
13,
14,
2,
2,
2,
17,
13,
2,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
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
],
[
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
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
70,
77
],
[
14,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
12,
84
],
[
84,
85
]
]
| [
"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 x = Integer.parseInt(s[0]);\n int y = Integer.parseInt(s[1]);\n for(int i=0; i<=x; i++) {\n int b = x - i;\n if(2*i + 4*b == y) {\n System.out.print(\"Yes\");\n return;\n }\n }\n System.out.print(\"No\");\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 x = Integer.parseInt(s[0]);\n int y = Integer.parseInt(s[1]);\n for(int i=0; i<=x; i++) {\n int b = x - i;\n if(2*i + 4*b == y) {\n System.out.print(\"Yes\");\n return;\n }\n }\n System.out.print(\"No\");\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 x = Integer.parseInt(s[0]);\n int y = Integer.parseInt(s[1]);\n for(int i=0; i<=x; i++) {\n int b = x - i;\n if(2*i + 4*b == y) {\n System.out.print(\"Yes\");\n return;\n }\n }\n System.out.print(\"No\");\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] s = br.readLine().split(\" \");\n int x = Integer.parseInt(s[0]);\n int y = Integer.parseInt(s[1]);\n for(int i=0; i<=x; i++) {\n int b = x - i;\n if(2*i + 4*b == y) {\n System.out.print(\"Yes\");\n return;\n }\n }\n System.out.print(\"No\");\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 x = Integer.parseInt(s[0]);",
"x",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"int y = Integer.parseInt(s[1]);",
"y",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"for(int i=0; i<=x; i++) {\n int b = x - i;\n if(2*i + 4*b == y) {\n System.out.print(\"Yes\");\n return;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n int b = x - i;\n if(2*i + 4*b == y) {\n System.out.print(\"Yes\");\n return;\n }\n }",
"{\n int b = x - i;\n if(2*i + 4*b == y) {\n System.out.print(\"Yes\");\n return;\n }\n }",
"int b = x - i;",
"b",
"x - i",
"x",
"i",
"if(2*i + 4*b == y) {\n System.out.print(\"Yes\");\n return;\n }",
"2*i + 4*b == y",
"2*i + 4*b",
"2*i",
"2",
"i",
"4*b",
"4",
"b",
"y",
"{\n System.out.print(\"Yes\");\n return;\n }",
"System.out.print(\"Yes\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"System.out.print(\"No\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"No\"",
"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 x = Integer.parseInt(s[0]);
int y = Integer.parseInt(s[1]);
for(int i=0; i<=x; i++) {
int b = x - i;
if(2*i + 4*b == y) {
System.out.print("Yes");
return;
}
}
System.out.print("No");
}
} |
[
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,
13,
2,
17,
13,
2,
13,
2,
17,
13,
2,
2,
13,
17,
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
],
[
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
],
[
8,
22
],
[
22,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
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
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if ((b<2*a)||(b>4*a)||(b%2!=0)){\n System.out.println(\"No\");\n }\n else{\n System.out.println(\"Yes\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if ((b<2*a)||(b>4*a)||(b%2!=0)){\n System.out.println(\"No\");\n }\n else{\n System.out.println(\"Yes\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if ((b<2*a)||(b>4*a)||(b%2!=0)){\n System.out.println(\"No\");\n }\n else{\n System.out.println(\"Yes\");\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if ((b<2*a)||(b>4*a)||(b%2!=0)){\n System.out.println(\"No\");\n }\n else{\n System.out.println(\"Yes\");\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if ((b<2*a)||(b>4*a)||(b%2!=0)){\n System.out.println(\"No\");\n }\n else{\n System.out.println(\"Yes\");\n }",
"(b<2*a)||(b>4*a)||(b%2!=0)",
"(b<2*a)||(b>4*a)||(b%2!=0)",
"(b<2*a)",
"b",
"2*a",
"2",
"a",
"(b>4*a)",
"b",
"4*a",
"4",
"a",
"(b%2!=0)",
"b%2",
"b",
"2",
"0",
"{\n System.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{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if ((b<2*a)||(b>4*a)||(b%2!=0)){\n System.out.println(\"No\");\n }\n else{\n System.out.println(\"Yes\");\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n if ((b<2*a)||(b>4*a)||(b%2!=0)){\n System.out.println(\"No\");\n }\n else{\n System.out.println(\"Yes\");\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
if ((b<2*a)||(b>4*a)||(b%2!=0)){
System.out.println("No");
}
else{
System.out.println("Yes");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
2,
2,
2,
17,
17,
17,
17,
41,
13,
39,
17,
40,
17,
17,
17,
41,
13,
39,
17,
17,
40,
17,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
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,
17,
13,
13,
30,
4,
13,
17,
29,
4,
13,
17,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
2,
4,
18,
13,
2,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
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,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
12,
13,
30,
20,
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,
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,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
0,
13,
17,
29,
17,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
0,
13,
17,
29,
17,
30,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
311,
8
],
[
311,
9
],
[
9,
10
],
[
311,
11
],
[
11,
12
],
[
311,
13
],
[
13,
14
],
[
311,
15
],
[
15,
16
],
[
311,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
21,
21
],
[
21,
22
],
[
21,
23
],
[
21,
24
],
[
19,
25
],
[
311,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
28,
32
],
[
28,
33
],
[
311,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
39,
40
],
[
36,
41
],
[
311,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
44,
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
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
44,
86
],
[
86,
87
],
[
86,
88
],
[
311,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
109,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
123,
125
],
[
109,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
109,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
89,
138
],
[
138,
139
],
[
311,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
140,
147
],
[
147,
148
],
[
311,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
152,
155
],
[
149,
156
],
[
156,
157
],
[
311,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
164,
166
],
[
160,
167
],
[
167,
168
],
[
160,
169
],
[
169,
170
],
[
170,
171
],
[
311,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
172,
176
],
[
176,
177
],
[
311,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
185,
190
],
[
190,
191
],
[
190,
192
],
[
185,
193
],
[
193,
194
],
[
194,
195
],
[
185,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
197,
201
],
[
201,
202
],
[
180,
203
],
[
203,
204
],
[
178,
205
],
[
205,
206
],
[
311,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
214,
219
],
[
219,
220
],
[
219,
221
],
[
214,
222
],
[
222,
223
],
[
223,
224
],
[
214,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
209,
232
],
[
232,
233
],
[
207,
234
],
[
234,
235
],
[
311,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
239,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
249,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
238,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
311,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
269,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
311,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
287,
290
],
[
290,
291
],
[
311,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
296,
299
],
[
299,
300
],
[
311,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
305,
308
],
[
308,
309
],
[
0,
310
],
[
310,
311
],
[
310,
312
]
]
| [
"import java.util.*;\nimport java.io.*;\n\n// Template for atcoder\npublic class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int x = nextInt();\n int y = nextInt();\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\n }\n outln(\"No\");\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int x = nextInt();\n int y = nextInt();\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\n }\n outln(\"No\");\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"Main",
"BufferedReader br;",
"br",
"PrintWriter out;",
"out",
"StringTokenizer st;",
"st",
"boolean eof;",
"eof",
"final long MOD = 1000L * 1000L * 1000L + 7;",
"MOD",
"1000L * 1000L * 1000L + 7",
"1000L * 1000L * 1000L",
"1000L * 1000L * 1000L",
"1000L",
"1000L",
"1000L",
"7",
"private static final int[] dx = {0, -1, 0, 1};",
"dx",
"{0, -1, 0, 1}",
"0",
"-1",
"1",
"0",
"1",
"private static final int[] dy = {1, 0, -1, 0};",
"dy",
"{1, 0, -1, 0}",
"1",
"0",
"-1",
"1",
"0",
"void solve() throws IOException {\n int x = nextInt();\n int y = nextInt();\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\n }\n outln(\"No\");\n }",
"solve",
"{\n int x = nextInt();\n int y = nextInt();\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\n }\n outln(\"No\");\n }",
"int x = nextInt();",
"x",
"nextInt()",
"nextInt",
"int y = nextInt();",
"y",
"nextInt()",
"nextInt",
"for (int i = 0; i <= x; i++) {\n int j = x - i;\n if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\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 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\n }",
"{\n int j = x - i;\n if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\n }",
"int j = x - i;",
"j",
"x - i",
"x",
"i",
"if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }",
"i * 2 + 4 * j == y",
"i * 2 + 4 * j",
"i * 2",
"i",
"2",
"4 * j",
"4",
"j",
"y",
"{\n outln(\"Yes\");\n return;\n }",
"outln(\"Yes\")",
"outln",
"\"Yes\"",
"return;",
"outln(\"No\")",
"outln",
"\"No\"",
"void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }",
"shuffle",
"{\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"int r = i + (int) (Math.random() * (n - i));",
"r",
"i + (int) (Math.random() * (n - i))",
"i",
"(int) (Math.random() * (n - i))",
"Math.random()",
"Math.random",
"Math",
"(n - i)",
"n",
"i",
"int tmp = a[i];",
"tmp",
"a[i]",
"a",
"i",
"a[i] = a[r]",
"a[i]",
"a",
"i",
"a[r]",
"a",
"r",
"a[r] = tmp",
"a[r]",
"a",
"r",
"tmp",
"int[] a",
"a",
"private void outln(Object o) {\n out.println(o);\n }",
"outln",
"{\n out.println(o);\n }",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"private void out(Object o) {\n out.print(o);\n }",
"out",
"{\n out.print(o);\n }",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }",
"Main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.close()",
"out.close",
"out",
"public static void main(String[] args) throws IOException {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args",
"public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }",
"nextLongArr",
"{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }",
"long[] res = new long[n];",
"res",
"new long[n]",
"n",
"for(int i = 0; i < n; i++)\n res[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"res[i] = nextLong();",
"res[i] = nextLong()",
"res[i]",
"res",
"i",
"nextLong()",
"nextLong",
"return res;",
"res",
"int n",
"n",
"public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }",
"nextIntArr",
"{\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for(int i = 0; i < n; i++)\n res[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"res[i] = nextInt();",
"res[i] = nextInt()",
"res[i]",
"res",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int n",
"n",
"public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }",
"catch (Exception e) {\n eof = true;\n return null;\n }",
"Exception e",
"{\n eof = true;\n return null;\n }",
"eof = true",
"eof",
"true",
"return null;",
"null",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }",
"nextString",
"{\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }",
"try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }",
"catch (IOException e) {\n eof = true;\n return null;\n }",
"IOException e",
"{\n eof = true;\n return null;\n }",
"eof = true",
"eof",
"true",
"return null;",
"null",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }",
"nextInt",
"{\n return Integer.parseInt(nextToken());\n }",
"return Integer.parseInt(nextToken());",
"Integer.parseInt(nextToken())",
"Integer.parseInt",
"Integer",
"nextToken()",
"nextToken",
"public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }",
"nextLong",
"{\n return Long.parseLong(nextToken());\n }",
"return Long.parseLong(nextToken());",
"Long.parseLong(nextToken())",
"Long.parseLong",
"Long",
"nextToken()",
"nextToken",
"public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }",
"nextDouble",
"{\n return Double.parseDouble(nextToken());\n }",
"return Double.parseDouble(nextToken());",
"Double.parseDouble(nextToken())",
"Double.parseDouble",
"Double",
"nextToken()",
"nextToken",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int x = nextInt();\n int y = nextInt();\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\n }\n outln(\"No\");\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int x = nextInt();\n int y = nextInt();\n for (int i = 0; i <= x; i++) {\n int j = x - i;\n if (i * 2 + 4 * j == y) {\n outln(\"Yes\");\n return;\n }\n }\n outln(\"No\");\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
// Template for atcoder
public class Main {
BufferedReader br;
PrintWriter out;
StringTokenizer st;
boolean eof;
final long MOD = 1000L * 1000L * 1000L + 7;
private static final int[] dx = {0, -1, 0, 1};
private static final int[] dy = {1, 0, -1, 0};
void solve() throws IOException {
int x = nextInt();
int y = nextInt();
for (int i = 0; i <= x; i++) {
int j = x - i;
if (i * 2 + 4 * j == y) {
outln("Yes");
return;
}
}
outln("No");
}
void shuffle(int[] a) {
int n = a.length;
for(int i = 0; i < n; i++) {
int r = i + (int) (Math.random() * (n - i));
int tmp = a[i];
a[i] = a[r];
a[r] = tmp;
}
}
private void outln(Object o) {
out.println(o);
}
private void out(Object o) {
out.print(o);
}
public Main() throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
solve();
out.close();
}
public static void main(String[] args) throws IOException {
new Main();
}
public long[] nextLongArr(int n) throws IOException{
long[] res = new long[n];
for(int i = 0; i < n; i++)
res[i] = nextLong();
return res;
}
public int[] nextIntArr(int n) throws IOException {
int[] res = new int[n];
for(int i = 0; i < n; i++)
res[i] = nextInt();
return res;
}
public String nextToken() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (Exception e) {
eof = true;
return null;
}
}
return st.nextToken();
}
public String nextString() {
try {
return br.readLine();
} catch (IOException e) {
eof = true;
return null;
}
}
public int nextInt() throws IOException {
return Integer.parseInt(nextToken());
}
public long nextLong() throws IOException {
return Long.parseLong(nextToken());
}
public double nextDouble() throws IOException {
return Double.parseDouble(nextToken());
}
}
|
[
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,
2,
2,
13,
2,
13,
13,
2,
13,
13,
41,
13,
2,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
2,
13,
17,
2,
13,
17,
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
],
[
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
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
44,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
44,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint X = scanner.nextInt();\n\t\tint Y = scanner.nextInt();\n\t\tint leg_turtle = 4;\n\t\tint leg_crane = 2;\n\n\t\tint turtle = (Y - (leg_crane * X)) / (leg_turtle - leg_crane);\n\t\tint crane = X - turtle;\n\n\t\tif ((turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n//\t\tSystem.out.println(turtle);;\n//\t\tSystem.out.println(crane);;\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint X = scanner.nextInt();\n\t\tint Y = scanner.nextInt();\n\t\tint leg_turtle = 4;\n\t\tint leg_crane = 2;\n\n\t\tint turtle = (Y - (leg_crane * X)) / (leg_turtle - leg_crane);\n\t\tint crane = X - turtle;\n\n\t\tif ((turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n//\t\tSystem.out.println(turtle);;\n//\t\tSystem.out.println(crane);;\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint X = scanner.nextInt();\n\t\tint Y = scanner.nextInt();\n\t\tint leg_turtle = 4;\n\t\tint leg_crane = 2;\n\n\t\tint turtle = (Y - (leg_crane * X)) / (leg_turtle - leg_crane);\n\t\tint crane = X - turtle;\n\n\t\tif ((turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n//\t\tSystem.out.println(turtle);;\n//\t\tSystem.out.println(crane);;\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint X = scanner.nextInt();\n\t\tint Y = scanner.nextInt();\n\t\tint leg_turtle = 4;\n\t\tint leg_crane = 2;\n\n\t\tint turtle = (Y - (leg_crane * X)) / (leg_turtle - leg_crane);\n\t\tint crane = X - turtle;\n\n\t\tif ((turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n//\t\tSystem.out.println(turtle);;\n//\t\tSystem.out.println(crane);;\n\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int X = scanner.nextInt();",
"X",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int Y = scanner.nextInt();",
"Y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int leg_turtle = 4;",
"leg_turtle",
"4",
"int leg_crane = 2;",
"leg_crane",
"2",
"int turtle = (Y - (leg_crane * X)) / (leg_turtle - leg_crane);",
"turtle",
"(Y - (leg_crane * X)) / (leg_turtle - leg_crane)",
"(Y - (leg_crane * X))",
"Y",
"(leg_crane * X)",
"leg_crane",
"X",
"(leg_turtle - leg_crane)",
"leg_turtle",
"leg_crane",
"int crane = X - turtle;",
"crane",
"X - turtle",
"X",
"turtle",
"if ((turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"(turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y",
"(turtle >= 0 && crane >= 0)",
"turtle >= 0",
"turtle",
"0",
"crane >= 0",
"crane",
"0",
"(turtle * 4 ) + (crane * 2) == Y",
"(turtle * 4 ) + (crane * 2)",
"(turtle * 4 )",
"turtle",
"4",
"(crane * 2)",
"crane",
"2",
"Y",
"{\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\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint X = scanner.nextInt();\n\t\tint Y = scanner.nextInt();\n\t\tint leg_turtle = 4;\n\t\tint leg_crane = 2;\n\n\t\tint turtle = (Y - (leg_crane * X)) / (leg_turtle - leg_crane);\n\t\tint crane = X - turtle;\n\n\t\tif ((turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n//\t\tSystem.out.println(turtle);;\n//\t\tSystem.out.println(crane);;\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint X = scanner.nextInt();\n\t\tint Y = scanner.nextInt();\n\t\tint leg_turtle = 4;\n\t\tint leg_crane = 2;\n\n\t\tint turtle = (Y - (leg_crane * X)) / (leg_turtle - leg_crane);\n\t\tint crane = X - turtle;\n\n\t\tif ((turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n//\t\tSystem.out.println(turtle);;\n//\t\tSystem.out.println(crane);;\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scanner = new Scanner(System.in);
int X = scanner.nextInt();
int Y = scanner.nextInt();
int leg_turtle = 4;
int leg_crane = 2;
int turtle = (Y - (leg_crane * X)) / (leg_turtle - leg_crane);
int crane = X - turtle;
if ((turtle >= 0 && crane >= 0) && (turtle * 4 ) + (crane * 2) == Y) {
System.out.println("Yes");
} else {
System.out.println("No");
}
// System.out.println(turtle);;
// System.out.println(crane);;
}
} |
[
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,
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,
17,
41,
13,
2,
2,
13,
13,
17,
14,
2,
2,
13,
13,
13,
30,
0,
13,
17,
3,
4,
18,
18,
13,
13,
8,
13,
17,
17,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
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,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
4,
18,
13,
17,
17,
30,
0,
13,
17,
40,
13,
11,
1,
41,
13,
13,
2,
13,
4,
18,
13,
1,
40,
13,
30,
14,
2,
4,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
20,
0,
13,
17,
30,
4,
18,
13,
4,
18,
13,
13,
14,
13,
0,
13,
17,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
29,
2,
13,
8,
13,
40,
17,
17,
12,
13,
30,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
255,
17
],
[
255,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
49,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
49,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
20,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
18,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
84,
88
],
[
88,
89
],
[
84,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
90,
96
],
[
96,
97
],
[
84,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
101,
110
],
[
110,
111
],
[
110,
112
],
[
100,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
84,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
124,
125
],
[
84,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
84,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
84,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
144,
149
],
[
149,
150
],
[
149,
151
],
[
144,
152
],
[
152,
153
],
[
152,
154
],
[
144,
155
],
[
155,
156
],
[
155,
157
],
[
144,
158
],
[
158,
159
],
[
158,
160
],
[
144,
161
],
[
161,
162
],
[
161,
163
],
[
144,
164
],
[
164,
165
],
[
164,
166
],
[
144,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
168,
173
],
[
167,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
144,
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
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
196,
199
],
[
195,
200
],
[
194,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
204,
207
],
[
207,
208
],
[
208,
209
],
[
201,
210
],
[
210,
211
],
[
210,
212
],
[
201,
213
],
[
213,
214
],
[
213,
215
],
[
194,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
217,
220
],
[
220,
221
],
[
221,
222
],
[
220,
223
],
[
216,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
226,
228
],
[
144,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
232,
235
],
[
235,
236
],
[
236,
237
],
[
231,
238
],
[
144,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
242,
246
],
[
84,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
0,
254
],
[
254,
255
],
[
254,
256
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int x =s.nextInt(),y=s.nextInt();\n boolean flag = false;\n for(int i=0;i<=x;i++){\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n\n }\n}\n\n\n\n\nclass Scanner\n{\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n\n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int x =s.nextInt(),y=s.nextInt();\n boolean flag = false;\n for(int i=0;i<=x;i++){\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int x =s.nextInt(),y=s.nextInt();\n boolean flag = false;\n for(int i=0;i<=x;i++){\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n int x =s.nextInt(),y=s.nextInt();\n boolean flag = false;\n for(int i=0;i<=x;i++){\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int x =s.nextInt()",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"y=s.nextInt();",
"y",
"s.nextInt()",
"s.nextInt",
"s",
"boolean flag = false;",
"flag",
"false",
"for(int i=0;i<=x;i++){\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }",
"{\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }",
"int cr = i*2;",
"cr",
"i*2",
"i",
"2",
"int tur = (x-i)*4;",
"tur",
"(x-i)*4",
"(x-i)",
"x",
"i",
"4",
"if(cr+tur==y){\n flag = true;\n break;\n }",
"cr+tur==y",
"cr+tur",
"cr",
"tur",
"y",
"{\n flag = true;\n break;\n }",
"flag = true",
"flag",
"true",
"break;",
"System.out.println(flag?\"Yes\":\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"flag?\"Yes\":\"No\"",
"flag",
"\"Yes\"",
"\"No\"",
"String[] args",
"args",
"class Scanner\n{\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n\n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n}",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s){\tbr = new BufferedReader(new InputStreamReader(s));}",
"Scanner",
"{\tbr = new BufferedReader(new InputStreamReader(s));}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException\n {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {return br.readLine();}",
"nextLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public double nextDouble() throws IOException\n {\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }",
"nextDouble",
"{\n String x = next();\n StringBuilder sb = new StringBuilder(\"0\");\n double res = 0, f = 1;\n boolean dec = false, neg = false;\n int start = 0;\n if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }\n for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }\n res += Long.parseLong(sb.toString()) / f;\n return res * (neg?-1:1);\n }",
"String x = next();",
"x",
"next()",
"next",
"StringBuilder sb = new StringBuilder(\"0\");",
"sb",
"new StringBuilder(\"0\")",
"double res = 0",
"res",
"0",
"f = 1;",
"f",
"1",
"boolean dec = false",
"dec",
"false",
"neg = false;",
"neg",
"false",
"int start = 0;",
"start",
"0",
"if(x.charAt(0) == '-')\n {\n neg = true;\n start++;\n }",
"x.charAt(0) == '-'",
"x.charAt(0)",
"x.charAt",
"x",
"0",
"'-'",
"{\n neg = true;\n start++;\n }",
"neg = true",
"neg",
"true",
"start++",
"start",
"for(int i = start; i < x.length(); i++)\n if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"int i = start;",
"int i = start;",
"i",
"start",
"i < x.length()",
"i",
"x.length()",
"x.length",
"x",
"i++",
"i++",
"i",
"if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"if(x.charAt(i) == '.')\n {\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }\n else\n {\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"x.charAt(i) == '.'",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"'.'",
"{\n res = Long.parseLong(sb.toString());\n sb = new StringBuilder(\"0\");\n dec = true;\n }",
"res = Long.parseLong(sb.toString())",
"res",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"sb = new StringBuilder(\"0\")",
"sb",
"new StringBuilder(\"0\")",
"dec = true",
"dec",
"true",
"{\n sb.append(x.charAt(i));\n if(dec)\n f *= 10;\n }",
"sb.append(x.charAt(i))",
"sb.append",
"sb",
"x.charAt(i)",
"x.charAt",
"x",
"i",
"if(dec)\n f *= 10;",
"dec",
"f *= 10",
"f",
"10",
"res += Long.parseLong(sb.toString()) / f",
"res",
"Long.parseLong(sb.toString()) / f",
"Long.parseLong(sb.toString())",
"Long.parseLong",
"Long",
"sb.toString()",
"sb.toString",
"sb",
"f",
"return res * (neg?-1:1);",
"res * (neg?-1:1)",
"res",
"(neg?-1:1)",
"neg",
"-1",
"1",
"1",
"public boolean ready() throws IOException {return br.ready();}",
"ready",
"{return br.ready();}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int x =s.nextInt(),y=s.nextInt();\n boolean flag = false;\n for(int i=0;i<=x;i++){\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n Scanner s = new Scanner(System.in);\n int x =s.nextInt(),y=s.nextInt();\n boolean flag = false;\n for(int i=0;i<=x;i++){\n int cr = i*2;\n int tur = (x-i)*4;\n if(cr+tur==y){\n flag = true;\n break;\n }\n }\n System.out.println(flag?\"Yes\":\"No\");\n\n }\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
Scanner s = new Scanner(System.in);
int x =s.nextInt(),y=s.nextInt();
boolean flag = false;
for(int i=0;i<=x;i++){
int cr = i*2;
int tur = (x-i)*4;
if(cr+tur==y){
flag = true;
break;
}
}
System.out.println(flag?"Yes":"No");
}
}
class Scanner
{
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}
public String next() throws IOException
{
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int nextInt() throws IOException {return Integer.parseInt(next());}
public long nextLong() throws IOException {return Long.parseLong(next());}
public String nextLine() throws IOException {return br.readLine();}
public double nextDouble() throws IOException
{
String x = next();
StringBuilder sb = new StringBuilder("0");
double res = 0, f = 1;
boolean dec = false, neg = false;
int start = 0;
if(x.charAt(0) == '-')
{
neg = true;
start++;
}
for(int i = start; i < x.length(); i++)
if(x.charAt(i) == '.')
{
res = Long.parseLong(sb.toString());
sb = new StringBuilder("0");
dec = true;
}
else
{
sb.append(x.charAt(i));
if(dec)
f *= 10;
}
res += Long.parseLong(sb.toString()) / f;
return res * (neg?-1:1);
}
public boolean ready() throws IOException {return br.ready();}
} |
[
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,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
2,
13,
2,
17,
13,
2,
13,
2,
17,
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
],
[
65,
5
],
[
65,
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
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
28,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
36,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
48,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// 2x <= y <= 4x\n\t\tif (y >= 2 * x && y <= 4 * x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\n}\n\n\n\n\n\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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// 2x <= y <= 4x\n\t\tif (y >= 2 * x && y <= 4 * x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\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\tif (y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// 2x <= y <= 4x\n\t\tif (y >= 2 * x && y <= 4 * x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\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\tif (y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// 2x <= y <= 4x\n\t\tif (y >= 2 * x && y <= 4 * x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\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",
"if (y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}",
"y % 2 == 1",
"y % 2",
"y",
"2",
"1",
"{\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 (y >= 2 * x && y <= 4 * x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}",
"y >= 2 * x && y <= 4 * x",
"y >= 2 * x",
"y",
"2 * x",
"2",
"x",
"y <= 4 * x",
"y",
"4 * x",
"4",
"x",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\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\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\tif (y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// 2x <= y <= 4x\n\t\tif (y >= 2 * x && y <= 4 * x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\n}",
"public class Main {\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\tif (y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// 2x <= y <= 4x\n\t\tif (y >= 2 * x && y <= 4 * x) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\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();
if (y % 2 == 1) {
System.out.println("No");
return;
}
// 2x <= y <= 4x
if (y >= 2 * x && y <= 4 * x) {
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,
14,
2,
2,
2,
2,
13,
17,
17,
2,
2,
2,
13,
17,
13,
17,
2,
2,
2,
17,
13,
2,
13,
17,
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
],
[
63,
5
],
[
63,
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
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
30,
36
],
[
24,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
22,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
22,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n if(Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }\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 int X = sc.nextInt();\n int Y = sc.nextInt();\n if(Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }\n }",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n if(Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n if(Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0){\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 X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int Y = sc.nextInt();",
"Y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0",
"Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0",
"Y%2==0",
"Y%2",
"Y",
"2",
"0",
"Y/2-X>=0",
"Y/2-X",
"Y/2",
"Y",
"2",
"X",
"0",
"2*X-Y/2>=0",
"2*X-Y/2",
"2*X",
"2",
"X",
"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\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n if(Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n \n }\n }",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n if(Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\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();
if(Y%2==0 && Y/2-X>=0 && 2*X-Y/2>=0){
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,
2,
40,
13,
2,
17,
13,
17,
41,
13,
2,
2,
13,
2,
17,
13,
17,
14,
2,
2,
2,
2,
2,
13,
13,
13,
2,
2,
2,
17,
13,
2,
17,
13,
13,
2,
13,
17,
2,
13,
17,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
24,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
8,
41
],
[
41,
42
],
[
44,
43
],
[
59,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
44,
62
],
[
62,
63
],
[
62,
64
],
[
41,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
41,
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\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 int a = (-Y + 4 * X) / 2;\n int b = (Y - 2 * X) / 2;\n if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n s.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"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 int a = (-Y + 4 * X) / 2;\n int b = (Y - 2 * X) / 2;\n if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n s.close();\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 int a = (-Y + 4 * X) / 2;\n int b = (Y - 2 * X) / 2;\n if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n s.close();\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n int X = s.nextInt();\n int Y = s.nextInt();\n\n int a = (-Y + 4 * X) / 2;\n int b = (Y - 2 * X) / 2;\n if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n s.close();\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",
"int a = (-Y + 4 * X) / 2;",
"a",
"(-Y + 4 * X) / 2",
"(-Y + 4 * X)",
"-Y",
"Y",
"4 * X",
"4",
"X",
"2",
"int b = (Y - 2 * X) / 2;",
"b",
"(Y - 2 * X) / 2",
"(Y - 2 * X)",
"Y",
"2 * X",
"2",
"X",
"2",
"if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }",
"a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0",
"a >= 0",
"a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0",
"a + b == X",
"a + b",
"a",
"b",
"X",
"2 * a + 4 * b == Y",
"2 * a + 4 * b",
"2 * a",
"2",
"a",
"4 * b",
"4",
"b",
"Y",
"a >= 0",
"a",
"0",
"b >= 0",
"b",
"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\"",
"s.close()",
"s.close",
"s",
"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 int a = (-Y + 4 * X) / 2;\n int b = (Y - 2 * X) / 2;\n if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n s.close();\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 int a = (-Y + 4 * X) / 2;\n int b = (Y - 2 * X) / 2;\n if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {\n System.out.println(\"Yes\");\n } else {\n System.out.println(\"No\");\n }\n s.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int X = s.nextInt();
int Y = s.nextInt();
int a = (-Y + 4 * X) / 2;
int b = (Y - 2 * X) / 2;
if (a + b == X && 2 * a + 4 * b == Y && a >= 0 && b >= 0) {
System.out.println("Yes");
} else {
System.out.println("No");
}
s.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,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
13,
2,
2,
13,
13,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
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
],
[
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
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
31,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
47,
57
],
[
46,
58
],
[
58,
59
],
[
59,
60
],
[
59,
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.*;\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 X = keyboard.nextInt();\n\t\tint Y = keyboard.nextInt();\n\n\t\tint turu = 2;\n\t\tint kame = 4;\n\t\t\n\t\tString ans = \"No\";\n\t\t\n\t\tfor(int i=0; i<X+1; i++) {\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\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 X = keyboard.nextInt();\n\t\tint Y = keyboard.nextInt();\n\n\t\tint turu = 2;\n\t\tint kame = 4;\n\t\t\n\t\tString ans = \"No\";\n\t\t\n\t\tfor(int i=0; i<X+1; i++) {\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\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 X = keyboard.nextInt();\n\t\tint Y = keyboard.nextInt();\n\n\t\tint turu = 2;\n\t\tint kame = 4;\n\t\t\n\t\tString ans = \"No\";\n\t\t\n\t\tfor(int i=0; i<X+1; i++) {\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\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 X = keyboard.nextInt();\n\t\tint Y = keyboard.nextInt();\n\n\t\tint turu = 2;\n\t\tint kame = 4;\n\t\t\n\t\tString ans = \"No\";\n\t\t\n\t\tfor(int i=0; i<X+1; i++) {\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\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 X = keyboard.nextInt();",
"X",
"keyboard.nextInt()",
"keyboard.nextInt",
"keyboard",
"int Y = keyboard.nextInt();",
"Y",
"keyboard.nextInt()",
"keyboard.nextInt",
"keyboard",
"int turu = 2;",
"turu",
"2",
"int kame = 4;",
"kame",
"4",
"String ans = \"No\";",
"ans",
"\"No\"",
"for(int i=0; i<X+1; i++) {\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<X+1",
"i",
"X+1",
"X",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}\n\t\t}",
"if(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\n\t\t\t}",
"i*turu + (X-i)*kame == Y",
"i*turu + (X-i)*kame",
"i*turu",
"i",
"turu",
"(X-i)*kame",
"(X-i)",
"X",
"i",
"kame",
"Y",
"{\n\t\t\t\tans = \"Yes\";\n\t\t\t}",
"ans = \"Yes\"",
"ans",
"\"Yes\"",
"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 X = keyboard.nextInt();\n\t\tint Y = keyboard.nextInt();\n\n\t\tint turu = 2;\n\t\tint kame = 4;\n\t\t\n\t\tString ans = \"No\";\n\t\t\n\t\tfor(int i=0; i<X+1; i++) {\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\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 X = keyboard.nextInt();\n\t\tint Y = keyboard.nextInt();\n\n\t\tint turu = 2;\n\t\tint kame = 4;\n\t\t\n\t\tString ans = \"No\";\n\t\t\n\t\tfor(int i=0; i<X+1; i++) {\n\t\t\tif(i*turu + (X-i)*kame == Y) {\n\t\t\t\tans = \"Yes\";\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 X = keyboard.nextInt();
int Y = keyboard.nextInt();
int turu = 2;
int kame = 4;
String ans = "No";
for(int i=0; i<X+1; i++) {
if(i*turu + (X-i)*kame == Y) {
ans = "Yes";
}
}
System.out.println(ans);
keyboard.close();
}
}
|
[
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,
2,
17,
13,
17,
2,
2,
2,
13,
2,
17,
13,
17,
17,
2,
2,
2,
17,
13,
13,
17,
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
],
[
65,
5
],
[
65,
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
],
[
28,
29
],
[
28,
30
],
[
25,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
33,
39
],
[
32,
40
],
[
24,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
22,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
48,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
]
| [
"import java.util.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if ((Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0) {\n System.out.println(\"Yes\");\n return;\n }\n System.out.println(\"No\");\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 int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if ((Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0) {\n System.out.println(\"Yes\");\n return;\n }\n System.out.println(\"No\");\n }\n}",
"Main",
"public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if ((Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0) {\n System.out.println(\"Yes\");\n return;\n }\n System.out.println(\"No\");\n }",
"main",
"{\n \n Scanner scan = new Scanner(System.in);\n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if ((Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0) {\n System.out.println(\"Yes\");\n return;\n }\n System.out.println(\"No\");\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int X = scan.nextInt();",
"X",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int Y = scan.nextInt();",
"Y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if ((Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0) {\n System.out.println(\"Yes\");\n return;\n }",
"(Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0",
"(Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0",
"(Y-2*X) >= 0",
"(Y-2*X)",
"Y",
"2*X",
"2",
"X",
"0",
"(Y-2*X)%2 == 0",
"(Y-2*X)%2",
"(Y-2*X)",
"Y",
"2*X",
"2",
"X",
"2",
"0",
"(4*X-Y) >= 0",
"(4*X-Y)",
"4*X",
"4",
"X",
"Y",
"0",
"{\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\"",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if ((Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0) {\n System.out.println(\"Yes\");\n return;\n }\n System.out.println(\"No\");\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n \n Scanner scan = new Scanner(System.in);\n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if ((Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0) {\n System.out.println(\"Yes\");\n return;\n }\n System.out.println(\"No\");\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int X = scan.nextInt();
int Y = scan.nextInt();
if ((Y-2*X) >= 0 && (Y-2*X)%2 == 0 && (4*X-Y) >= 0) {
System.out.println("Yes");
return;
}
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,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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,
13,
17,
29,
4,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
8,
4,
18,
13,
18,
13,
13,
20,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
20,
0,
18,
36,
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,
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
],
[
194,
29
],
[
194,
30
],
[
30,
31
],
[
30,
32
],
[
194,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
60,
70
],
[
59,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
71,
76
],
[
35,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
33,
81
],
[
81,
82
],
[
33,
83
],
[
83,
84
],
[
194,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
90,
97
],
[
87,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
87,
103
],
[
103,
104
],
[
103,
105
],
[
87,
106
],
[
106,
107
],
[
106,
108
],
[
87,
109
],
[
109,
110
],
[
109,
111
],
[
109,
112
],
[
87,
113
],
[
113,
114
],
[
114,
115
],
[
85,
116
],
[
116,
117
],
[
194,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
118,
122
],
[
122,
123
],
[
118,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
126,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
124,
137
],
[
137,
138
],
[
118,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
142,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
152,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
141,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
118,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
118,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
179,
182
],
[
182,
183
],
[
118,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
191,
192
],
[
0,
193
],
[
193,
194
],
[
193,
195
]
]
| [
"\nimport java.io.BufferedReader;\nimport java.io.File;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n static void solve(InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n\n for (int i = 0; i <= x; i++) {\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.File;",
"File",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n static void solve(InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n\n for (int i = 0; i <= x; i++) {\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }\n\n}",
"Main",
"private static final String INPUT_FILE_PATH = \"\";",
"INPUT_FILE_PATH",
"\"\"",
"static void solve(InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n\n for (int i = 0; i <= x; i++) {\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n }",
"solve",
"{\n int x = in.nextInt();\n int y = in.nextInt();\n\n for (int i = 0; i <= x; i++) {\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n }",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"int y = in.nextInt();",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"for (int i = 0; i <= x; i++) {\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }",
"{\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }",
"if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }",
"(i * 2) + ((x - i) * 4) == y",
"(i * 2) + ((x - i) * 4)",
"(i * 2)",
"i",
"2",
"((x - i) * 4)",
"(x - i)",
"x",
"i",
"4",
"y",
"{\n out.println(\"Yes\");\n return;\n }",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"return;",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"InputReader in",
"in",
"PrintWriter out",
"out",
"public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }",
"main",
"{\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }",
"InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));",
"inputStream",
"INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH))",
"INPUT_FILE_PATH.isEmpty()",
"INPUT_FILE_PATH.isEmpty",
"INPUT_FILE_PATH",
"System.in",
"System",
"System.in",
"new FileInputStream(new File(INPUT_FILE_PATH))",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader inputReader = new InputReader(inputStream);",
"inputReader",
"new InputReader(inputStream)",
"PrintWriter printWriter = new PrintWriter(outputStream);",
"printWriter",
"new PrintWriter(outputStream)",
"solve(inputReader, printWriter)",
"solve",
"inputReader",
"printWriter",
"printWriter.close()",
"printWriter.close",
"printWriter",
"String[] args",
"args",
"private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }",
"InputReader",
"private BufferedReader br;",
"br",
"private StringTokenizer st;",
"st",
"public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }",
"InputReader",
"{\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }",
"this.br = new BufferedReader(new InputStreamReader(inputStream), 32768)",
"this.br",
"this",
"this.br",
"new BufferedReader(new InputStreamReader(inputStream), 32768)",
"this.st = null",
"this.st",
"this",
"this.st",
"null",
"InputStream inputStream",
"inputStream",
"public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n st = new StringTokenizer(br.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 st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() {\n return Integer.parseInt(nextToken());\n }",
"nextInt",
"{\n return Integer.parseInt(nextToken());\n }",
"return Integer.parseInt(nextToken());",
"Integer.parseInt(nextToken())",
"Integer.parseInt",
"Integer",
"nextToken()",
"nextToken",
"public long nextLong() {\n return Long.parseLong(nextToken());\n }",
"nextLong",
"{\n return Long.parseLong(nextToken());\n }",
"return Long.parseLong(nextToken());",
"Long.parseLong(nextToken())",
"Long.parseLong",
"Long",
"nextToken()",
"nextToken",
"public double nextDouble() {\n return Double.parseDouble(nextToken());\n }",
"nextDouble",
"{\n return Double.parseDouble(nextToken());\n }",
"return Double.parseDouble(nextToken());",
"Double.parseDouble(nextToken())",
"Double.parseDouble",
"Double",
"nextToken()",
"nextToken",
"public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n static void solve(InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n\n for (int i = 0; i <= x; i++) {\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }\n\n}",
"public class Main {\n\n private static final String INPUT_FILE_PATH = \"\";\n\n static void solve(InputReader in, PrintWriter out) {\n int x = in.nextInt();\n int y = in.nextInt();\n\n for (int i = 0; i <= x; i++) {\n if ((i * 2) + ((x - i) * 4) == y) {\n out.println(\"Yes\");\n return;\n }\n }\n out.println(\"No\");\n }\n\n private static class InputReader {\n private BufferedReader br;\n private StringTokenizer st;\n\n public InputReader(InputStream inputStream) {\n this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);\n this.st = null;\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = INPUT_FILE_PATH.isEmpty()\n ? System.in\n : new FileInputStream(new File(INPUT_FILE_PATH));\n OutputStream outputStream = System.out;\n\n InputReader inputReader = new InputReader(inputStream);\n PrintWriter printWriter = new PrintWriter(outputStream);\n\n solve(inputReader, printWriter);\n\n printWriter.close();\n }\n\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
private static final String INPUT_FILE_PATH = "";
static void solve(InputReader in, PrintWriter out) {
int x = in.nextInt();
int y = in.nextInt();
for (int i = 0; i <= x; i++) {
if ((i * 2) + ((x - i) * 4) == y) {
out.println("Yes");
return;
}
}
out.println("No");
}
private static class InputReader {
private BufferedReader br;
private StringTokenizer st;
public InputReader(InputStream inputStream) {
this.br = new BufferedReader(new InputStreamReader(inputStream), 32768);
this.st = null;
}
public String nextToken() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(nextToken());
}
public long nextLong() {
return Long.parseLong(nextToken());
}
public double nextDouble() {
return Double.parseDouble(nextToken());
}
}
public static void main(String[] args) throws Exception {
InputStream inputStream = INPUT_FILE_PATH.isEmpty()
? System.in
: new FileInputStream(new File(INPUT_FILE_PATH));
OutputStream outputStream = System.out;
InputReader inputReader = new InputReader(inputStream);
PrintWriter printWriter = new PrintWriter(outputStream);
solve(inputReader, printWriter);
printWriter.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,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
2,
13,
2,
17,
13,
2,
2,
13,
17,
17,
2,
13,
2,
17,
13,
4,
18,
13,
17,
30,
4,
18,
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
],
[
181,
35
],
[
181,
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
],
[
181,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
72,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
72,
87
],
[
87,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
89,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
87,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
87,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
70,
114
],
[
114,
115
],
[
70,
116
],
[
116,
117
],
[
181,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
118,
122
],
[
122,
123
],
[
118,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
124,
133
],
[
133,
134
],
[
118,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
138,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
148,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
137,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
118,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
166,
169
],
[
169,
170
],
[
118,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
178,
179
],
[
0,
180
],
[
180,
181
],
[
180,
182
]
]
| [
"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 x ,y ;\n x =in.nextInt();\n y =in.nextInt();\n if(y>4*x || y%2!=0 || y<2*x)\n out.println(\"No\");\n else {\n out.println(\"Yes\");\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 x ,y ;\n x =in.nextInt();\n y =in.nextInt();\n if(y>4*x || y%2!=0 || y<2*x)\n out.println(\"No\");\n else {\n out.println(\"Yes\");\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 x ,y ;\n x =in.nextInt();\n y =in.nextInt();\n if(y>4*x || y%2!=0 || y<2*x)\n out.println(\"No\");\n else {\n out.println(\"Yes\");\n }\n\n }\n }",
"TaskA",
"public void call(InputReader in, PrintWriter out) {\n int x ,y ;\n x =in.nextInt();\n y =in.nextInt();\n if(y>4*x || y%2!=0 || y<2*x)\n out.println(\"No\");\n else {\n out.println(\"Yes\");\n }\n\n }",
"call",
"{\n int x ,y ;\n x =in.nextInt();\n y =in.nextInt();\n if(y>4*x || y%2!=0 || y<2*x)\n out.println(\"No\");\n else {\n out.println(\"Yes\");\n }\n\n }",
"int x",
"x",
"y ;",
"y",
"x =in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"y =in.nextInt()",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"if(y>4*x || y%2!=0 || y<2*x)\n out.println(\"No\");\n else {\n out.println(\"Yes\");\n }",
"y>4*x || y%2!=0 || y<2*x",
"y>4*x || y%2!=0 || y<2*x",
"y>4*x",
"y",
"4*x",
"4",
"x",
"y%2!=0",
"y%2",
"y",
"2",
"0",
"y<2*x",
"y",
"2*x",
"2",
"x",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"{\n out.println(\"Yes\");\n }",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"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 x ,y ;\n x =in.nextInt();\n y =in.nextInt();\n if(y>4*x || y%2!=0 || y<2*x)\n out.println(\"No\");\n else {\n out.println(\"Yes\");\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 x ,y ;\n x =in.nextInt();\n y =in.nextInt();\n if(y>4*x || y%2!=0 || y<2*x)\n out.println(\"No\");\n else {\n out.println(\"Yes\");\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 x ,y ;
x =in.nextInt();
y =in.nextInt();
if(y>4*x || y%2!=0 || y<2*x)
out.println("No");
else {
out.println("Yes");
}
}
}
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,
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,
2,
13,
17,
2,
13,
17,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
13,
13,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
17,
0,
13,
17,
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
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
25,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
40,
58
],
[
58,
59
],
[
58,
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.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint num = 0;\n \tfor(int cnt = x * 2;cnt >= 0;cnt -= 2){\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }\n \tSystem.out.println(\"No\");\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 x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint num = 0;\n \tfor(int cnt = x * 2;cnt >= 0;cnt -= 2){\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }\n \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 \tint y = sc.nextInt();\n \tint num = 0;\n \tfor(int cnt = x * 2;cnt >= 0;cnt -= 2){\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }\n \tSystem.out.println(\"No\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint num = 0;\n \tfor(int cnt = x * 2;cnt >= 0;cnt -= 2){\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }\n \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",
"int num = 0;",
"num",
"0",
"for(int cnt = x * 2;cnt >= 0;cnt -= 2){\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }",
"int cnt = x * 2;",
"int cnt = x * 2;",
"cnt",
"x * 2",
"x",
"2",
"cnt >= 0",
"cnt",
"0",
"cnt -= 2",
"cnt -= 2",
"cnt",
"2",
"{\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }",
"{\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }",
"if(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }",
"cnt + num == y",
"cnt + num",
"cnt",
"num",
"y",
"{\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"System.exit(0)",
"System.exit",
"System",
"0",
"num += 4",
"num",
"4",
"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\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint num = 0;\n \tfor(int cnt = x * 2;cnt >= 0;cnt -= 2){\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }\n \tSystem.out.println(\"No\");\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint num = 0;\n \tfor(int cnt = x * 2;cnt >= 0;cnt -= 2){\n \tif(cnt + num == y){\n \tSystem.out.println(\"Yes\");\n \tSystem.exit(0);\n }\n \tnum += 4;\n }\n \tSystem.out.println(\"No\");\n\t}\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 num = 0;
for(int cnt = x * 2;cnt >= 0;cnt -= 2){
if(cnt + num == y){
System.out.println("Yes");
System.exit(0);
}
num += 4;
}
System.out.println("No");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
4,
18,
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,
30,
29,
18,
13,
40,
13,
30,
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,
38,
5,
13,
30,
30,
4,
18,
13,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
7,
12
],
[
12,
13
],
[
12,
14
],
[
7,
15
],
[
15,
16
],
[
15,
17
],
[
7,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
20,
34
],
[
34,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
34,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
52,
59
],
[
20,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
20,
66
],
[
66,
67
],
[
67,
68
],
[
18,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
71,
78
],
[
78,
79
],
[
78,
80
],
[
71,
82
],
[
82,
83
],
[
82,
84
],
[
71,
85
],
[
85,
86
],
[
85,
87
],
[
71,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
91,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
102,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
98,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
90,
123
],
[
123,
124
],
[
71,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
128,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
71,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
149,
151
],
[
141,
152
],
[
152,
153
],
[
71,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
157,
167
],
[
167,
168
],
[
156,
169
],
[
169,
170
],
[
170,
171
],
[
71,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
175,
179
],
[
179,
180
],
[
174,
181
],
[
181,
182
],
[
181,
183
],
[
174,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
174,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
193,
196
],
[
192,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
174,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
71,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
208,
212
],
[
212,
213
],
[
207,
214
],
[
214,
215
],
[
214,
216
],
[
207,
217
],
[
217,
218
],
[
217,
219
],
[
207,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
207,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
207,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
241,
242
],
[
241,
243
],
[
236,
244
],
[
244,
245
],
[
245,
246
],
[
207,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
255,
256
],
[
255,
257
],
[
250,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
264,
266
],
[
250,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
268,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
267,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
279,
283
],
[
267,
284
],
[
284,
285
],
[
285,
286
],
[
249,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
71,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
293,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
302,
304
],
[
299,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
307,
309
],
[
298,
310
],
[
310,
311
],
[
293,
312
],
[
312,
313
],
[
71,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
318,
321
],
[
321,
322
],
[
71,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
326,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
71,
334
]
]
| [
"import java.io.*;\nimport java.util.*;\nclass Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n\tstatic final int MAX = 2_147_483_646; // intMax \n\tstatic final int INF = 1_000_000_000; // 10^9 \n\tpublic static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tint x = saori.saori_hayami();\n\t\tint y = saori.saori_hayami();\n\t\tif(x*4 >= y && x*2 <= y && y % 2 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\tsaori.close();\n\t}\n}\n\nclass hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tstatic final long MOD = 1_000_000_007; // 10^9+7\n\tstatic final int MAX = 2_147_483_646; // intMax \n\tstatic final int INF = 1_000_000_000; // 10^9 \n\tpublic static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tint x = saori.saori_hayami();\n\t\tint y = saori.saori_hayami();\n\t\tif(x*4 >= y && x*2 <= y && y % 2 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\tsaori.close();\n\t}\n}",
"Main",
"static final long MOD = 1_000_000_007; // 10^9+7",
"MOD",
"1_000_000_007",
"static final int MAX = 2_147_483_646; // intMax ",
"MAX",
"2_147_483_646",
"static final int INF = 1_000_000_000; // 10^9 ",
"INF",
"1_000_000_000",
"public static void main(String[] args) throws Exception{\n\t\thayami saori = new hayami();\n\t\tint x = saori.saori_hayami();\n\t\tint y = saori.saori_hayami();\n\t\tif(x*4 >= y && x*2 <= y && y % 2 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\tsaori.close();\n\t}",
"main",
"{\n\t\thayami saori = new hayami();\n\t\tint x = saori.saori_hayami();\n\t\tint y = saori.saori_hayami();\n\t\tif(x*4 >= y && x*2 <= y && y % 2 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t\tsaori.close();\n\t}",
"hayami saori = new hayami();",
"saori",
"new hayami()",
"int x = saori.saori_hayami();",
"x",
"saori.saori_hayami()",
"saori.saori_hayami",
"saori",
"int y = saori.saori_hayami();",
"y",
"saori.saori_hayami()",
"saori.saori_hayami",
"saori",
"if(x*4 >= y && x*2 <= y && y % 2 == 0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}",
"x*4 >= y && x*2 <= y && y % 2 == 0",
"x*4 >= y && x*2 <= y && y % 2 == 0",
"x*4 >= y",
"x*4",
"x",
"4",
"y",
"x*2 <= y",
"x*2",
"x",
"2",
"y",
"y % 2 == 0",
"y % 2",
"y",
"2",
"0",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\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\"",
"saori.close()",
"saori.close",
"saori",
"String[] args",
"args",
"class hayami implements Closeable {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] hayami = new byte[1024];\n\tprivate int Hayami = 0;\n\tprivate int saori = 0;\n\tprivate boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}\n\tprivate static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}\n\tpublic boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}\n\tpublic String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}\n\tpublic long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}\n\tpublic int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}\n\tpublic double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}\n\tpublic void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }\n \n}",
"hayami",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] hayami = new byte[1024];",
"hayami",
"new byte[1024]",
"1024",
"private int Hayami = 0;",
"Hayami",
"0",
"private int saori = 0;",
"saori",
"0",
"private boolean HayamiSaori() {\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"HayamiSaori",
"{\n\t\tif (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (Hayami < saori) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami < saori",
"Hayami",
"saori",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tHayami = 0;\n\t\t\ttry {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"Hayami = 0",
"Hayami",
"0",
"try {\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tsaori = in.read(hayami);\n\t\t\t}",
"saori = in.read(hayami)",
"saori",
"in.read(hayami)",
"in.read",
"in",
"hayami",
"if (saori <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"saori <= 0",
"saori",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int SaoriHayami() { \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"SaoriHayami",
"{ \n\t\tif (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }\n\t}",
"if (HayamiSaori()) {\n return hayami[Hayami++];\n }else{\n return -1;\n }",
"HayamiSaori()",
"HayamiSaori",
"{\n return hayami[Hayami++];\n }",
"return hayami[Hayami++];",
"hayami[Hayami++]",
"hayami",
"Hayami++",
"Hayami",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean hayami_saori(int hayami) { \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"hayami_saori",
"{ \n\t\treturn 33 <= hayami && hayami <= 126;\n\t}",
"return 33 <= hayami && hayami <= 126;",
"33 <= hayami && hayami <= 126",
"33 <= hayami",
"33",
"hayami",
"hayami <= 126",
"hayami",
"126",
"int hayami",
"hayami",
"public boolean hayamisaori() { \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"hayamisaori",
"{ \n\t\twhile(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();\n\t}",
"while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++;",
"HayamiSaori() && !hayami_saori(hayami[Hayami])",
"HayamiSaori()",
"HayamiSaori",
"!hayami_saori(hayami[Hayami])",
"hayami_saori(hayami[Hayami])",
"hayami_saori",
"hayami[Hayami]",
"hayami",
"Hayami",
"Hayami++",
"Hayami",
"return HayamiSaori();",
"HayamiSaori()",
"HayamiSaori",
"public String nextHayami() {\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"nextHayami",
"{\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tStringBuilder hayamin = new StringBuilder();\n\t\tint saori = SaoriHayami();\n\t\twhile(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\treturn hayamin.toString();\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder hayamin = new StringBuilder();",
"hayamin",
"new StringBuilder()",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"while(hayami_saori(saori)) {\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\thayamin.appendCodePoint(saori);\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"hayamin.appendCodePoint(saori)",
"hayamin.appendCodePoint",
"hayamin",
"saori",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"return hayamin.toString();",
"hayamin.toString()",
"hayamin.toString",
"hayamin",
"public long saorihayami() {//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"saorihayami",
"{//nextLong\n\t\tif (!hayamisaori()) throw new NoSuchElementException();\n\t\tlong hayami = 0;\n\t\tboolean misao = false;\n\t\tint saori = SaoriHayami();\n\t\tif (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t\tif (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}\n\t}",
"if (!hayamisaori()) throw new NoSuchElementException();",
"!hayamisaori()",
"hayamisaori()",
"hayamisaori",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long hayami = 0;",
"hayami",
"0",
"boolean misao = false;",
"misao",
"false",
"int saori = SaoriHayami();",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori == '-') {\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"saori == '-'",
"saori",
"'-'",
"{\n\t\t\tmisao = true;\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"misao = true",
"misao",
"true",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"if (saori < '0' || '9' < saori) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"saori < '0' || '9' < saori",
"saori < '0'",
"saori",
"'0'",
"'9' < saori",
"'9'",
"saori",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tsaori = SaoriHayami();\n\t\t}",
"if ('0' <= saori && saori <= '9') {\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}else if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= saori && saori <= '9'",
"'0' <= saori",
"'0'",
"saori",
"saori <= '9'",
"saori",
"'9'",
"{\n\t\t\t\thayami *= 10;\n\t\t\t\thayami += saori - '0';\n\t\t\t}",
"hayami *= 10",
"hayami",
"10",
"hayami += saori - '0'",
"hayami",
"saori - '0'",
"saori",
"'0'",
"if(saori == -1 || !hayami_saori(saori)){\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"saori == -1 || !hayami_saori(saori)",
"saori == -1",
"saori",
"-1",
"1",
"!hayami_saori(saori)",
"hayami_saori(saori)",
"hayami_saori",
"saori",
"{\n\t\t\t\treturn misao ? -hayami : hayami;\n\t\t\t}",
"return misao ? -hayami : hayami;",
"misao ? -hayami : hayami",
"misao",
"-hayami",
"hayami",
"hayami",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"saori = SaoriHayami()",
"saori",
"SaoriHayami()",
"SaoriHayami",
"public int saori_hayami() {//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"saori_hayami",
"{//nextInt\n\t\tlong hayami = saorihayami();\n\t\tif (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) hayami;\n\t}",
"long hayami = saorihayami();",
"hayami",
"saorihayami()",
"saorihayami",
"if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();",
"hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE",
"hayami < Integer.MIN_VALUE",
"hayami",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"hayami > Integer.MAX_VALUE",
"hayami",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) hayami;",
"(int) hayami",
"public double Hayamin() { //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"Hayamin",
"{ //nextDouble\n\t\treturn Double.parseDouble(nextHayami());\n\t}",
"return Double.parseDouble(nextHayami());",
"Double.parseDouble(nextHayami())",
"Double.parseDouble",
"Double",
"nextHayami()",
"nextHayami",
"public void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"close",
"{\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}\n }",
"try {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t}",
"catch (IOException e) {\n\t\t}",
"IOException e",
"{\n\t\t}",
"{\n\t\t\tin.close();\n\t\t}",
"in.close()",
"in.close",
"in",
"Closeable"
]
| import java.io.*;
import java.util.*;
class Main{
static final long MOD = 1_000_000_007; // 10^9+7
static final int MAX = 2_147_483_646; // intMax
static final int INF = 1_000_000_000; // 10^9
public static void main(String[] args) throws Exception{
hayami saori = new hayami();
int x = saori.saori_hayami();
int y = saori.saori_hayami();
if(x*4 >= y && x*2 <= y && y % 2 == 0){
System.out.println("Yes");
return;
}
System.out.println("No");
saori.close();
}
}
class hayami implements Closeable {
private final InputStream in = System.in;
private final byte[] hayami = new byte[1024];
private int Hayami = 0;
private int saori = 0;
private boolean HayamiSaori() {
if (Hayami < saori) {
return true;
}else{
Hayami = 0;
try {
saori = in.read(hayami);
} catch (IOException e) {
e.printStackTrace();
}
if (saori <= 0) {
return false;
}
}
return true;
}
private int SaoriHayami() {
if (HayamiSaori()) {
return hayami[Hayami++];
}else{
return -1;
}
}
private static boolean hayami_saori(int hayami) {
return 33 <= hayami && hayami <= 126;
}
public boolean hayamisaori() {
while(HayamiSaori() && !hayami_saori(hayami[Hayami])) Hayami++; return HayamiSaori();
}
public String nextHayami() {
if (!hayamisaori()) throw new NoSuchElementException();
StringBuilder hayamin = new StringBuilder();
int saori = SaoriHayami();
while(hayami_saori(saori)) {
hayamin.appendCodePoint(saori);
saori = SaoriHayami();
}
return hayamin.toString();
}
public long saorihayami() {//nextLong
if (!hayamisaori()) throw new NoSuchElementException();
long hayami = 0;
boolean misao = false;
int saori = SaoriHayami();
if (saori == '-') {
misao = true;
saori = SaoriHayami();
}
if (saori < '0' || '9' < saori) {
throw new NumberFormatException();
}
while(true){
if ('0' <= saori && saori <= '9') {
hayami *= 10;
hayami += saori - '0';
}else if(saori == -1 || !hayami_saori(saori)){
return misao ? -hayami : hayami;
}else{
throw new NumberFormatException();
}
saori = SaoriHayami();
}
}
public int saori_hayami() {//nextInt
long hayami = saorihayami();
if (hayami < Integer.MIN_VALUE || hayami > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) hayami;
}
public double Hayamin() { //nextDouble
return Double.parseDouble(nextHayami());
}
public void close() {
try {
in.close();
} catch (IOException e) {
}
}
}
|
[
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,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
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,
17,
29,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
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
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
25,
38
],
[
38,
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
],
[
38,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
]
| [
"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\tint sum = 0;\n\t\tif(y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tfor(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"No\");\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 = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint sum = 0;\n\t\tif(y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tfor(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"No\");\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 = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint sum = 0;\n\t\tif(y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tfor(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"No\");\n\t\t}\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\tint sum = 0;\n\t\tif(y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tfor(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"No\");\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 sum = 0;",
"sum",
"0",
"if(y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tfor(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"y % 2 != 0",
"y % 2",
"y",
"2",
"0",
"{\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\tfor(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"for(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}",
"sum = i * 2 + (x - i) * 4",
"sum",
"i * 2 + (x - i) * 4",
"i * 2",
"i",
"2",
"(x - i) * 4",
"(x - i)",
"x",
"i",
"4",
"if(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}",
"sum == y",
"sum",
"y",
"{\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\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\tint sum = 0;\n\t\tif(y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tfor(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"No\");\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 = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint sum = 0;\n\t\tif(y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t} else {\n\t\t\tfor(int i = 0; i <= x; i++) {\n\t\t\t\tsum = i * 2 + (x - i) * 4;\n\t\t\t\tif(sum == y) {\n\t\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"No\");\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 = sc.nextInt();
int y = sc.nextInt();
int sum = 0;
if(y % 2 != 0) {
System.out.println("No");
} else {
for(int i = 0; i <= x; i++) {
sum = i * 2 + (x - i) * 4;
if(sum == y) {
System.out.println("Yes");
return;
}
}
System.out.println("No");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
13,
13,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
103,
5
],
[
103,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
6,
11
],
[
11,
12
],
[
103,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
26,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
26,
46
],
[
46,
47
],
[
46,
48
],
[
26,
49
],
[
49,
50
],
[
49,
51
],
[
26,
52
],
[
52,
53
],
[
52,
54
],
[
26,
55
],
[
55,
56
],
[
55,
57
],
[
26,
58
],
[
58,
59
],
[
58,
60
],
[
26,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
61,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
73,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
86,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
26,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n b();\n }\n\n public static void b() {\n try (Scanner sc = new Scanner(System.in)) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n int kame = 4;\n int tsuru = 2;\n int kamegoukei = 0;\n int tsurugoukei = 0;\n String hantei = \"No\";\n\n for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }\n System.out.println(hantei);\n\n } catch (Exception E) {\n System.out.println(\"エラー\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n b();\n }\n\n public static void b() {\n try (Scanner sc = new Scanner(System.in)) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n int kame = 4;\n int tsuru = 2;\n int kamegoukei = 0;\n int tsurugoukei = 0;\n String hantei = \"No\";\n\n for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }\n System.out.println(hantei);\n\n } catch (Exception E) {\n System.out.println(\"エラー\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n b();\n }",
"main",
"{\n b();\n }",
"b()",
"b",
"String[] args",
"args",
"public static void b() {\n try (Scanner sc = new Scanner(System.in)) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n int kame = 4;\n int tsuru = 2;\n int kamegoukei = 0;\n int tsurugoukei = 0;\n String hantei = \"No\";\n\n for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }\n System.out.println(hantei);\n\n } catch (Exception E) {\n System.out.println(\"エラー\");\n }\n }",
"b",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n int kame = 4;\n int tsuru = 2;\n int kamegoukei = 0;\n int tsurugoukei = 0;\n String hantei = \"No\";\n\n for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }\n System.out.println(hantei);\n\n } catch (Exception E) {\n System.out.println(\"エラー\");\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n int kame = 4;\n int tsuru = 2;\n int kamegoukei = 0;\n int tsurugoukei = 0;\n String hantei = \"No\";\n\n for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }\n System.out.println(hantei);\n\n } catch (Exception E) {\n System.out.println(\"エラー\");\n }",
"catch (Exception E) {\n System.out.println(\"エラー\");\n }",
"Exception E",
"{\n System.out.println(\"エラー\");\n }",
"System.out.println(\"エラー\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\"",
"{\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n int kame = 4;\n int tsuru = 2;\n int kamegoukei = 0;\n int tsurugoukei = 0;\n String hantei = \"No\";\n\n for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }\n System.out.println(hantei);\n\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int x = Integer.parseInt(sc.next());",
"x",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int y = Integer.parseInt(sc.next());",
"y",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int kame = 4;",
"kame",
"4",
"int tsuru = 2;",
"tsuru",
"2",
"int kamegoukei = 0;",
"kamegoukei",
"0",
"int tsurugoukei = 0;",
"tsurugoukei",
"0",
"String hantei = \"No\";",
"hantei",
"\"No\"",
"for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }",
"int a = 0;",
"int a = 0;",
"a",
"0",
"a <= x",
"a",
"x",
"a++",
"a++",
"a",
"{\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }",
"{\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }",
"kamegoukei = a * kame",
"kamegoukei",
"a * kame",
"a",
"kame",
"tsurugoukei = (x - a) * tsuru",
"tsurugoukei",
"(x - a) * tsuru",
"(x - a)",
"x",
"a",
"tsuru",
"if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }",
"kamegoukei + tsurugoukei == y",
"kamegoukei + tsurugoukei",
"kamegoukei",
"tsurugoukei",
"y",
"{\n hantei = \"Yes\";\n }",
"hantei = \"Yes\"",
"hantei",
"\"Yes\"",
"System.out.println(hantei)",
"System.out.println",
"System.out",
"System",
"System.out",
"hantei",
"public class Main {\n public static void main(String[] args) {\n b();\n }\n\n public static void b() {\n try (Scanner sc = new Scanner(System.in)) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n int kame = 4;\n int tsuru = 2;\n int kamegoukei = 0;\n int tsurugoukei = 0;\n String hantei = \"No\";\n\n for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }\n System.out.println(hantei);\n\n } catch (Exception E) {\n System.out.println(\"エラー\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n b();\n }\n\n public static void b() {\n try (Scanner sc = new Scanner(System.in)) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n int kame = 4;\n int tsuru = 2;\n int kamegoukei = 0;\n int tsurugoukei = 0;\n String hantei = \"No\";\n\n for (int a = 0; a <= x; a++) {\n kamegoukei = a * kame;\n tsurugoukei = (x - a) * tsuru;\n if (kamegoukei + tsurugoukei == y) {\n hantei = \"Yes\";\n }\n }\n System.out.println(hantei);\n\n } catch (Exception E) {\n System.out.println(\"エラー\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
b();
}
public static void b() {
try (Scanner sc = new Scanner(System.in)) {
int x = Integer.parseInt(sc.next());
int y = Integer.parseInt(sc.next());
int kame = 4;
int tsuru = 2;
int kamegoukei = 0;
int tsurugoukei = 0;
String hantei = "No";
for (int a = 0; a <= x; a++) {
kamegoukei = a * kame;
tsurugoukei = (x - a) * tsuru;
if (kamegoukei + tsurugoukei == y) {
hantei = "Yes";
}
}
System.out.println(hantei);
} catch (Exception E) {
System.out.println("エラー");
}
}
} |
[
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,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
13,
13,
2,
2,
2,
13,
17,
2,
13,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
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
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
53,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tString result = \"No\";\n\t\tfor(int i = 0; i <= x; i++) {\n\t\t\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tString result = \"No\";\n\t\tfor(int i = 0; i <= x; i++) {\n\t\t\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\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\tString result = \"No\";\n\t\tfor(int i = 0; i <= x; i++) {\n\t\t\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\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\tString result = \"No\";\n\t\tfor(int i = 0; i <= x; i++) {\n\t\t\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\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",
"String result = \"No\";",
"result",
"\"No\"",
"for(int i = 0; i <= x; i++) {\n\t\t\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\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\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}\n\t\t}",
"for(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j <= x - i",
"j",
"x - i",
"x",
"i",
"j++",
"j++",
"j",
"{\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}",
"{\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}",
"if(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";",
"i + j == x && i * 4 + j * 2 == y",
"i + j == x",
"i + j",
"i",
"j",
"x",
"i * 4 + j * 2 == y",
"i * 4 + j * 2",
"i * 4",
"i",
"4",
"j * 2",
"j",
"2",
"y",
"result = \"Yes\"",
"result",
"\"Yes\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"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\tString result = \"No\";\n\t\tfor(int i = 0; i <= x; i++) {\n\t\t\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tString result = \"No\";\n\t\tfor(int i = 0; i <= x; i++) {\n\t\t\tfor(int j = 0; j <= x - i; j++) {\n\t\t\t\tif(i + j == x && i * 4 + j * 2 == y) result = \"Yes\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
String result = "No";
for(int i = 0; i <= x; i++) {
for(int j = 0; j <= x - i; j++) {
if(i + j == x && i * 4 + j * 2 == y) result = "Yes";
}
}
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,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
17,
13,
2,
17,
2,
13,
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
],
[
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
],
[
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
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
53,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
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\tScanner sc = new Scanner(System.in);\n\t int x = sc.nextInt();\n\t int y = sc.nextInt();\n\t \n\t int cou = 0;\n\t for(int i=0; i<=x; i++) {\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }\n\t if(cou>0){\n\t \tSystem.out.println(\"Yes\");\n\t }else{\n\t \tSystem.out.println(\"No\");\n\t }\n\t}\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int x = sc.nextInt();\n\t int y = sc.nextInt();\n\t \n\t int cou = 0;\n\t for(int i=0; i<=x; i++) {\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }\n\t if(cou>0){\n\t \tSystem.out.println(\"Yes\");\n\t }else{\n\t \tSystem.out.println(\"No\");\n\t }\n\t}\n\t}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int x = sc.nextInt();\n\t int y = sc.nextInt();\n\t \n\t int cou = 0;\n\t for(int i=0; i<=x; i++) {\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }\n\t if(cou>0){\n\t \tSystem.out.println(\"Yes\");\n\t }else{\n\t \tSystem.out.println(\"No\");\n\t }\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t int x = sc.nextInt();\n\t int y = sc.nextInt();\n\t \n\t int cou = 0;\n\t for(int i=0; i<=x; i++) {\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }\n\t if(cou>0){\n\t \tSystem.out.println(\"Yes\");\n\t }else{\n\t \tSystem.out.println(\"No\");\n\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 cou = 0;",
"cou",
"0",
"for(int i=0; i<=x; i++) {\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }",
"{\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }",
"if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }",
"2*i + 4*(x-i) == y",
"2*i + 4*(x-i)",
"2*i",
"2",
"i",
"4*(x-i)",
"4",
"(x-i)",
"x",
"i",
"y",
"{\n\t \tcou++;\n\t }",
"cou++",
"cou",
"if(cou>0){\n\t \tSystem.out.println(\"Yes\");\n\t }else{\n\t \tSystem.out.println(\"No\");\n\t }",
"cou>0",
"cou",
"0",
"{\n\t \tSystem.out.println(\"Yes\");\n\t }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n\t \tSystem.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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int x = sc.nextInt();\n\t int y = sc.nextInt();\n\t \n\t int cou = 0;\n\t for(int i=0; i<=x; i++) {\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }\n\t if(cou>0){\n\t \tSystem.out.println(\"Yes\");\n\t }else{\n\t \tSystem.out.println(\"No\");\n\t }\n\t}\n\t}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int x = sc.nextInt();\n\t int y = sc.nextInt();\n\t \n\t int cou = 0;\n\t for(int i=0; i<=x; i++) {\n\t if(2*i + 4*(x-i) == y) {\n\t \tcou++;\n\t }\n\t }\n\t if(cou>0){\n\t \tSystem.out.println(\"Yes\");\n\t }else{\n\t \tSystem.out.println(\"No\");\n\t }\n\t}\n\t}",
"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();
int cou = 0;
for(int i=0; i<=x; i++) {
if(2*i + 4*(x-i) == y) {
cou++;
}
}
if(cou>0){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
} |
[
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,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
2,
17,
13,
2,
17,
2,
13,
13,
30,
0,
13,
17,
3,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
85,
8
],
[
85,
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
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
11,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
42,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
58,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
11,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
11,
79
],
[
79,
80
],
[
80,
81
],
[
9,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y= Integer.parseInt(input[1]);\n String ans = \"No\";\n \n for(int i = 0; i <= x; i++){\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }\n \n out.println(ans);\n out.close();\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y= Integer.parseInt(input[1]);\n String ans = \"No\";\n \n for(int i = 0; i <= x; i++){\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }\n \n out.println(ans);\n out.close();\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y= Integer.parseInt(input[1]);\n String ans = \"No\";\n \n for(int i = 0; i <= x; i++){\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }\n \n out.println(ans);\n out.close();\n \n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y= Integer.parseInt(input[1]);\n String ans = \"No\";\n \n for(int i = 0; i <= x; i++){\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }\n \n out.println(ans);\n out.close();\n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"String[] input = br.readLine().split(\" \");",
"input",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(input[0]);",
"x",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"int y= Integer.parseInt(input[1]);",
"y",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"String ans = \"No\";",
"ans",
"\"No\"",
"for(int i = 0; i <= x; i++){\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= x",
"i",
"x",
"i++",
"i++",
"i",
"{\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }",
"{\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }",
"if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }",
"y == 2 * i + 4 * (x - i)",
"y",
"2 * i + 4 * (x - i)",
"2 * i",
"2",
"i",
"4 * (x - i)",
"4",
"(x - i)",
"x",
"i",
"{\n ans = \"Yes\";\n break;\n }",
"ans = \"Yes\"",
"ans",
"\"Yes\"",
"break;",
"out.println(ans)",
"out.println",
"out",
"ans",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y= Integer.parseInt(input[1]);\n String ans = \"No\";\n \n for(int i = 0; i <= x; i++){\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }\n \n out.println(ans);\n out.close();\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n \n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y= Integer.parseInt(input[1]);\n String ans = \"No\";\n \n for(int i = 0; i <= x; i++){\n if(y == 2 * i + 4 * (x - i)){\n ans = \"Yes\";\n break;\n }\n }\n \n out.println(ans);\n out.close();\n \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 out = new PrintWriter(new OutputStreamWriter(System.out));
String[] input = br.readLine().split(" ");
int x = Integer.parseInt(input[0]);
int y= Integer.parseInt(input[1]);
String ans = "No";
for(int i = 0; i <= x; i++){
if(y == 2 * i + 4 * (x - i)){
ans = "Yes";
break;
}
}
out.println(ans);
out.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
0,
13,
2,
2,
2,
17,
13,
13,
17,
0,
13,
2,
2,
13,
2,
17,
13,
17,
14,
2,
2,
2,
2,
2,
13,
13,
13,
2,
2,
2,
17,
13,
2,
17,
13,
13,
2,
13,
17,
2,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
103,
14
],
[
103,
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
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
17,
43
],
[
43,
44
],
[
43,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
17,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
57,
63
],
[
17,
64
],
[
64,
65
],
[
67,
66
],
[
82,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
82,
82
],
[
82,
83
],
[
82,
84
],
[
67,
85
],
[
85,
86
],
[
85,
87
],
[
64,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
64,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
15,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int animals=Integer.parseInt(st.nextToken());\n int legs=Integer.parseInt(st.nextToken());\n int A=0;\n int B=0;\n A=((4*animals)-legs)/2;\n B=(legs-(2*animals))/2;\n if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int animals=Integer.parseInt(st.nextToken());\n int legs=Integer.parseInt(st.nextToken());\n int A=0;\n int B=0;\n A=((4*animals)-legs)/2;\n B=(legs-(2*animals))/2;\n if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n\n }\n}",
"Main",
"public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int animals=Integer.parseInt(st.nextToken());\n int legs=Integer.parseInt(st.nextToken());\n int A=0;\n int B=0;\n A=((4*animals)-legs)/2;\n B=(legs-(2*animals))/2;\n if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int animals=Integer.parseInt(st.nextToken());\n int legs=Integer.parseInt(st.nextToken());\n int A=0;\n int B=0;\n A=((4*animals)-legs)/2;\n B=(legs-(2*animals))/2;\n if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int animals=Integer.parseInt(st.nextToken());",
"animals",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int legs=Integer.parseInt(st.nextToken());",
"legs",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int A=0;",
"A",
"0",
"int B=0;",
"B",
"0",
"A=((4*animals)-legs)/2",
"A",
"((4*animals)-legs)/2",
"((4*animals)-legs)",
"(4*animals)",
"4",
"animals",
"legs",
"2",
"B=(legs-(2*animals))/2",
"B",
"(legs-(2*animals))/2",
"(legs-(2*animals))",
"legs",
"(2*animals)",
"2",
"animals",
"2",
"if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");",
"A+B==animals && 2*A+4*B==legs && A>=0 && B>=0",
"A>=0",
"A+B==animals && 2*A+4*B==legs && A>=0 && B>=0",
"A+B==animals",
"A+B",
"A",
"B",
"animals",
"2*A+4*B==legs",
"2*A+4*B",
"2*A",
"2",
"A",
"4*B",
"4",
"B",
"legs",
"A>=0",
"A",
"0",
"B>=0",
"B",
"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) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int animals=Integer.parseInt(st.nextToken());\n int legs=Integer.parseInt(st.nextToken());\n int A=0;\n int B=0;\n A=((4*animals)-legs)/2;\n B=(legs-(2*animals))/2;\n if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n\n }\n}",
"public class Main {\n public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(br.readLine());\n int animals=Integer.parseInt(st.nextToken());\n int legs=Integer.parseInt(st.nextToken());\n int A=0;\n int B=0;\n A=((4*animals)-legs)/2;\n B=(legs-(2*animals))/2;\n if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)\n System.out.println(\"Yes\");\n else\n System.out.println(\"No\");\n\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String []args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer(br.readLine());
int animals=Integer.parseInt(st.nextToken());
int legs=Integer.parseInt(st.nextToken());
int A=0;
int B=0;
A=((4*animals)-legs)/2;
B=(legs-(2*animals))/2;
if(A+B==animals && 2*A+4*B==legs && A>=0 && B>=0)
System.out.println("Yes");
else
System.out.println("No");
}
}
|
[
7,
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,
14,
2,
2,
2,
2,
2,
13,
2,
17,
13,
17,
17,
2,
2,
13,
2,
17,
13,
17,
2,
2,
2,
13,
2,
17,
13,
17,
13,
30,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
83,
8
],
[
83,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
42,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
41,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
58,
66
],
[
39,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
39,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
9,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main{\n\tpublic static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tString[] lo = reader.readLine().split(\" \");\n\t\tint X = Integer.parseInt(lo[0]);\t\t\n\t\tint Y = Integer.parseInt(lo[1]);\n\t\tif((Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\t\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tString[] lo = reader.readLine().split(\" \");\n\t\tint X = Integer.parseInt(lo[0]);\t\t\n\t\tint Y = Integer.parseInt(lo[1]);\n\t\tif((Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\t\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tString[] lo = reader.readLine().split(\" \");\n\t\tint X = Integer.parseInt(lo[0]);\t\t\n\t\tint Y = Integer.parseInt(lo[1]);\n\t\tif((Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\t\n\t}",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tString[] lo = reader.readLine().split(\" \");\n\t\tint X = Integer.parseInt(lo[0]);\t\t\n\t\tint Y = Integer.parseInt(lo[1]);\n\t\tif((Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\t\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] lo = reader.readLine().split(\" \");",
"lo",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"int X = Integer.parseInt(lo[0]);",
"X",
"Integer.parseInt(lo[0])",
"Integer.parseInt",
"Integer",
"lo[0]",
"lo",
"0",
"int Y = Integer.parseInt(lo[1]);",
"Y",
"Integer.parseInt(lo[1])",
"Integer.parseInt",
"Integer",
"lo[1]",
"lo",
"1",
"if((Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");",
"(Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X",
"(Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X",
"(Y-2*X)%2==0",
"(Y-2*X)%2",
"(Y-2*X)",
"Y",
"2*X",
"2",
"X",
"2",
"0",
"(Y-2*X)>=0",
"(Y-2*X)",
"Y",
"2*X",
"2",
"X",
"0",
"(Y-2*X)/2 <= X",
"(Y-2*X)/2",
"(Y-2*X)",
"Y",
"2*X",
"2",
"X",
"2",
"X",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"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[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tString[] lo = reader.readLine().split(\" \");\n\t\tint X = Integer.parseInt(lo[0]);\t\t\n\t\tint Y = Integer.parseInt(lo[1]);\n\t\tif((Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\t\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tString[] lo = reader.readLine().split(\" \");\n\t\tint X = Integer.parseInt(lo[0]);\t\t\n\t\tint Y = Integer.parseInt(lo[1]);\n\t\tif((Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse System.out.println(\"No\");\t\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main{
public static void main(String args[]) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String[] lo = reader.readLine().split(" ");
int X = Integer.parseInt(lo[0]);
int Y = Integer.parseInt(lo[1]);
if((Y-2*X)%2==0 && (Y-2*X)>=0 && (Y-2*X)/2 <= X){
System.out.println("Yes");
}
else System.out.println("No");
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
41,
13,
4,
13,
14,
2,
2,
2,
2,
17,
13,
13,
2,
13,
2,
17,
13,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
6
],
[
6,
7
],
[
94,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
10,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
10,
22
],
[
22,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
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
],
[
94,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
94,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
94,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
81,
82
],
[
94,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int X=gi();\n\t int Y=gi();\n\t \n\t \n\n\n //System.out.print(c);\n\n if (2*X<=Y&& Y<=4*X && Y%2==0) {\n \tSystem.out.println(\"Yes\");\n }else{\n \tSystem.out.println(\"No\");\n }\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int X=gi();\n\t int Y=gi();\n\t \n\t \n\n\n //System.out.print(c);\n\n if (2*X<=Y&& Y<=4*X && Y%2==0) {\n \tSystem.out.println(\"Yes\");\n }else{\n \tSystem.out.println(\"No\");\n }\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"Main",
"static Scanner scanner;",
"scanner",
"public static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int X=gi();\n\t int Y=gi();\n\t \n\t \n\n\n //System.out.print(c);\n\n if (2*X<=Y&& Y<=4*X && Y%2==0) {\n \tSystem.out.println(\"Yes\");\n }else{\n \tSystem.out.println(\"No\");\n }\n\t}",
"main",
"{\n\t scanner = new Scanner(System.in);\n\n\t int X=gi();\n\t int Y=gi();\n\t \n\t \n\n\n //System.out.print(c);\n\n if (2*X<=Y&& Y<=4*X && Y%2==0) {\n \tSystem.out.println(\"Yes\");\n }else{\n \tSystem.out.println(\"No\");\n }\n\t}",
"scanner = new Scanner(System.in)",
"scanner",
"new Scanner(System.in)",
"int X=gi();",
"X",
"gi()",
"gi",
"int Y=gi();",
"Y",
"gi()",
"gi",
"if (2*X<=Y&& Y<=4*X && Y%2==0) {\n \tSystem.out.println(\"Yes\");\n }else{\n \tSystem.out.println(\"No\");\n }",
"2*X<=Y&& Y<=4*X && Y%2==0",
"2*X<=Y&& Y<=4*X && Y%2==0",
"2*X<=Y",
"2*X",
"2",
"X",
"Y",
"Y<=4*X",
"Y",
"4*X",
"4",
"X",
"Y%2==0",
"Y%2",
"Y",
"2",
"0",
"{\n \tSystem.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n \tSystem.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}",
"gs",
"{\n\t\treturn scanner.next();\n\t}",
"return scanner.next();",
"scanner.next()",
"scanner.next",
"scanner",
"// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}",
"gi",
"{\n\t\treturn Integer.parseInt(scanner.next());\n\t}",
"return Integer.parseInt(scanner.next());",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}",
"gl",
"{\n\t\treturn Long.parseLong(scanner.next());\n\t}",
"return Long.parseLong(scanner.next());",
"Long.parseLong(scanner.next())",
"Long.parseLong",
"Long",
"scanner.next()",
"scanner.next",
"scanner",
"// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}",
"gd",
"{\n\t\treturn Double.parseDouble(scanner.next());\n\t}",
"return Double.parseDouble(scanner.next());",
"Double.parseDouble(scanner.next())",
"Double.parseDouble",
"Double",
"scanner.next()",
"scanner.next",
"scanner",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int X=gi();\n\t int Y=gi();\n\t \n\t \n\n\n //System.out.print(c);\n\n if (2*X<=Y&& Y<=4*X && Y%2==0) {\n \tSystem.out.println(\"Yes\");\n }else{\n \tSystem.out.println(\"No\");\n }\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"public class Main {\n\n\tstatic Scanner scanner;\n\n\tpublic static void main(String[] args) {\n\t scanner = new Scanner(System.in);\n\n\t int X=gi();\n\t int Y=gi();\n\t \n\t \n\n\n //System.out.print(c);\n\n if (2*X<=Y&& Y<=4*X && Y%2==0) {\n \tSystem.out.println(\"Yes\");\n }else{\n \tSystem.out.println(\"No\");\n }\n\t}\n\n\t// 文字列として入力を取得\n\tpublic static String gs() {\n\t\treturn scanner.next();\n\t}\n\n\t// intとして入力を取得\n\tpublic static int gi() {\n\t\treturn Integer.parseInt(scanner.next());\n\t}\n\n\t// longとして入力を取得\n\tpublic static long gl() {\n\t\treturn Long.parseLong(scanner.next());\n\t}\n\n\t// doubleとして入力を取得\n\tpublic static double gd() {\n\t\treturn Double.parseDouble(scanner.next());\n\t}\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
static Scanner scanner;
public static void main(String[] args) {
scanner = new Scanner(System.in);
int X=gi();
int Y=gi();
//System.out.print(c);
if (2*X<=Y&& Y<=4*X && Y%2==0) {
System.out.println("Yes");
}else{
System.out.println("No");
}
}
// 文字列として入力を取得
public static String gs() {
return scanner.next();
}
// intとして入力を取得
public static int gi() {
return Integer.parseInt(scanner.next());
}
// longとして入力を取得
public static long gl() {
return Long.parseLong(scanner.next());
}
// doubleとして入力を取得
public static double gd() {
return Double.parseDouble(scanner.next());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
20,
17,
42,
2,
13,
17,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
40,
13,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
154,
8
],
[
154,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
51,
62
],
[
62,
63
],
[
11,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
11,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
11,
74
],
[
74,
75
],
[
74,
76
],
[
11,
77
],
[
77,
78
],
[
78,
79
],
[
9,
80
],
[
80,
81
],
[
154,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
84,
89
],
[
89,
90
],
[
84,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
84,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
84,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
84,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
106,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
119,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
130,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
130,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
84,
150
],
[
82,
151
],
[
151,
152
],
[
0,
153
],
[
153,
154
],
[
153,
155
]
]
| [
"import java.util.Scanner;\nimport java.util.ArrayList;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n int x_1,x_2,x_3,x_4,x_5;\n int i = 0;\n String an = scan.nextLine();\n String atai[] = an.split(\" \",0);\n int num[] = new int[2];\n while(i < 2){\n num[i] = Integer.parseInt(atai[i]);\n i++;\n }\n x_1 = num[0];\n x_2 = num[1];\n// System.out.println(A+\",\"+B+\",\"+H+\",\"+M);\n check(num);\n scan.close();\n }\n \n public static void check(int[] num){\n //System.out.println(num[0]);\n int X, Y;\n int s;\n X = num[0];\n Y = num[1];\n s= Y%2;\n if(X*4 < Y){\n System.out.println(\"No\");\n }else if( s != 0){\n System.out.println(\"No\");\n }else if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n return; \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n int x_1,x_2,x_3,x_4,x_5;\n int i = 0;\n String an = scan.nextLine();\n String atai[] = an.split(\" \",0);\n int num[] = new int[2];\n while(i < 2){\n num[i] = Integer.parseInt(atai[i]);\n i++;\n }\n x_1 = num[0];\n x_2 = num[1];\n// System.out.println(A+\",\"+B+\",\"+H+\",\"+M);\n check(num);\n scan.close();\n }\n \n public static void check(int[] num){\n //System.out.println(num[0]);\n int X, Y;\n int s;\n X = num[0];\n Y = num[1];\n s= Y%2;\n if(X*4 < Y){\n System.out.println(\"No\");\n }else if( s != 0){\n System.out.println(\"No\");\n }else if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n return; \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n int x_1,x_2,x_3,x_4,x_5;\n int i = 0;\n String an = scan.nextLine();\n String atai[] = an.split(\" \",0);\n int num[] = new int[2];\n while(i < 2){\n num[i] = Integer.parseInt(atai[i]);\n i++;\n }\n x_1 = num[0];\n x_2 = num[1];\n// System.out.println(A+\",\"+B+\",\"+H+\",\"+M);\n check(num);\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n int x_1,x_2,x_3,x_4,x_5;\n int i = 0;\n String an = scan.nextLine();\n String atai[] = an.split(\" \",0);\n int num[] = new int[2];\n while(i < 2){\n num[i] = Integer.parseInt(atai[i]);\n i++;\n }\n x_1 = num[0];\n x_2 = num[1];\n// System.out.println(A+\",\"+B+\",\"+H+\",\"+M);\n check(num);\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"ArrayList<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"int x_1",
"x_1",
"x_2",
"x_2",
"x_3",
"x_3",
"x_4",
"x_4",
"x_5;",
"x_5",
"int i = 0;",
"i",
"0",
"String an = scan.nextLine();",
"an",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String atai[] = an.split(\" \",0);",
"atai",
"an.split(\" \",0)",
"an.split",
"an",
"\" \"",
"0",
"int num[] = new int[2];",
"num",
"new int[2]",
"2",
"while(i < 2){\n num[i] = Integer.parseInt(atai[i]);\n i++;\n }",
"i < 2",
"i",
"2",
"{\n num[i] = Integer.parseInt(atai[i]);\n i++;\n }",
"num[i] = Integer.parseInt(atai[i])",
"num[i]",
"num",
"i",
"Integer.parseInt(atai[i])",
"Integer.parseInt",
"Integer",
"atai[i]",
"atai",
"i",
"i++",
"i",
"x_1 = num[0]",
"x_1",
"num[0]",
"num",
"0",
"x_2 = num[1]",
"x_2",
"num[1]",
"num",
"1",
"check(num)",
"check",
"num",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public static void check(int[] num){\n //System.out.println(num[0]);\n int X, Y;\n int s;\n X = num[0];\n Y = num[1];\n s= Y%2;\n if(X*4 < Y){\n System.out.println(\"No\");\n }else if( s != 0){\n System.out.println(\"No\");\n }else if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n return; \n }",
"check",
"{\n //System.out.println(num[0]);\n int X, Y;\n int s;\n X = num[0];\n Y = num[1];\n s= Y%2;\n if(X*4 < Y){\n System.out.println(\"No\");\n }else if( s != 0){\n System.out.println(\"No\");\n }else if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n return; \n }",
"int X",
"X",
"Y;",
"Y",
"int s;",
"s",
"X = num[0]",
"X",
"num[0]",
"num",
"0",
"Y = num[1]",
"Y",
"num[1]",
"num",
"1",
"s= Y%2",
"s",
"Y%2",
"Y",
"2",
"if(X*4 < Y){\n System.out.println(\"No\");\n }else if( s != 0){\n System.out.println(\"No\");\n }else if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"X*4 < Y",
"X*4",
"X",
"4",
"Y",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if( s != 0){\n System.out.println(\"No\");\n }else if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"s != 0",
"s",
"0",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"X*2 > Y",
"X*2",
"X",
"2",
"Y",
"{\n System.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\"",
"return;",
"int[] num",
"num",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n int x_1,x_2,x_3,x_4,x_5;\n int i = 0;\n String an = scan.nextLine();\n String atai[] = an.split(\" \",0);\n int num[] = new int[2];\n while(i < 2){\n num[i] = Integer.parseInt(atai[i]);\n i++;\n }\n x_1 = num[0];\n x_2 = num[1];\n// System.out.println(A+\",\"+B+\",\"+H+\",\"+M);\n check(num);\n scan.close();\n }\n \n public static void check(int[] num){\n //System.out.println(num[0]);\n int X, Y;\n int s;\n X = num[0];\n Y = num[1];\n s= Y%2;\n if(X*4 < Y){\n System.out.println(\"No\");\n }else if( s != 0){\n System.out.println(\"No\");\n }else if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n return; \n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n ArrayList<String> list = new ArrayList<String>();\n int x_1,x_2,x_3,x_4,x_5;\n int i = 0;\n String an = scan.nextLine();\n String atai[] = an.split(\" \",0);\n int num[] = new int[2];\n while(i < 2){\n num[i] = Integer.parseInt(atai[i]);\n i++;\n }\n x_1 = num[0];\n x_2 = num[1];\n// System.out.println(A+\",\"+B+\",\"+H+\",\"+M);\n check(num);\n scan.close();\n }\n \n public static void check(int[] num){\n //System.out.println(num[0]);\n int X, Y;\n int s;\n X = num[0];\n Y = num[1];\n s= Y%2;\n if(X*4 < Y){\n System.out.println(\"No\");\n }else if( s != 0){\n System.out.println(\"No\");\n }else if(X*2 > Y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n return; \n }\n}",
"Main"
]
| import java.util.Scanner;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
ArrayList<String> list = new ArrayList<String>();
int x_1,x_2,x_3,x_4,x_5;
int i = 0;
String an = scan.nextLine();
String atai[] = an.split(" ",0);
int num[] = new int[2];
while(i < 2){
num[i] = Integer.parseInt(atai[i]);
i++;
}
x_1 = num[0];
x_2 = num[1];
// System.out.println(A+","+B+","+H+","+M);
check(num);
scan.close();
}
public static void check(int[] num){
//System.out.println(num[0]);
int X, Y;
int s;
X = num[0];
Y = num[1];
s= Y%2;
if(X*4 < Y){
System.out.println("No");
}else if( s != 0){
System.out.println("No");
}else if(X*2 > Y){
System.out.println("No");
}else{
System.out.println("Yes");
}
return;
}
}
|
[
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,
14,
2,
13,
2,
2,
13,
17,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
2,
13,
17,
2,
2,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
17,
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
],
[
155,
5
],
[
155,
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
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
47,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
68,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
80,
87
],
[
8,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
88,
98
],
[
98,
99
],
[
99,
100
],
[
88,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
109,
116
],
[
8,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
117,
127
],
[
127,
128
],
[
128,
129
],
[
117,
130
],
[
131,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
132,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
138,
145
],
[
8,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
6,
152
],
[
152,
153
],
[
0,
154
],
[
154,
155
],
[
154,
156
]
]
| [
"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 x = sc.nextInt();\n int y = sc.nextInt();\n\n for(int i=1; i<=x; i++) {\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x; i++) {\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/2; i++) {\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/4; i++) {\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\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 x = sc.nextInt();\n int y = sc.nextInt();\n\n for(int i=1; i<=x; i++) {\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x; i++) {\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/2; i++) {\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/4; i++) {\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for(int i=1; i<=x; i++) {\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x; i++) {\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/2; i++) {\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/4; i++) {\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for(int i=1; i<=x; i++) {\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x; i++) {\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/2; i++) {\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/4; i++) {\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }\n 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",
"for(int i=1; i<=x; i++) {\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"{\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }",
"y == (i*2)+((x-i)*4)",
"y",
"(i*2)+((x-i)*4)",
"(i*2)",
"i",
"2",
"((x-i)*4)",
"(x-i)",
"x",
"i",
"4",
"{\n System.out.println(\"Yes\");\n return;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"for(int i=1; i<=x; i++) {\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=x",
"i",
"x",
"i++",
"i++",
"i",
"{\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"{\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }",
"y == (i*4)+((x-i)*2)",
"y",
"(i*4)+((x-i)*2)",
"(i*4)",
"i",
"4",
"((x-i)*2)",
"(x-i)",
"x",
"i",
"2",
"{\n System.out.println(\"Yes\");\n return;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"for(int i=1; i<=x/2; i++) {\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=x/2",
"i",
"x/2",
"x",
"2",
"i++",
"i++",
"i",
"{\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"{\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }",
"y == i*2",
"y",
"i*2",
"i",
"2",
"{\n System.out.println(\"Yes\");\n return;\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"for(int i=1; i<=x/4; i++) {\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=x/4",
"i",
"x/4",
"x",
"4",
"i++",
"i++",
"i",
"{\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"{\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }",
"y == i*4",
"y",
"i*4",
"i",
"4",
"{\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\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for(int i=1; i<=x; i++) {\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x; i++) {\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/2; i++) {\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/4; i++) {\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n for(int i=1; i<=x; i++) {\n if(y == (i*2)+((x-i)*4)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x; i++) {\n if(y == (i*4)+((x-i)*2)) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/2; i++) {\n if(y == i*2) {\n System.out.println(\"Yes\");\n return;\n }\n }\n for(int i=1; i<=x/4; i++) {\n if(y == i*4) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\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 i=1; i<=x; i++) {
if(y == (i*2)+((x-i)*4)) {
System.out.println("Yes");
return;
}
}
for(int i=1; i<=x; i++) {
if(y == (i*4)+((x-i)*2)) {
System.out.println("Yes");
return;
}
}
for(int i=1; i<=x/2; i++) {
if(y == i*2) {
System.out.println("Yes");
return;
}
}
for(int i=1; i<=x/4; i++) {
if(y == i*4) {
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,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
29,
41,
13,
13,
14,
2,
2,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
2,
17,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
30,
41,
13,
2,
2,
2,
17,
13,
13,
17,
14,
2,
2,
2,
2,
17,
13,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
29,
0,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
2,
17,
13,
2,
17,
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
],
[
133,
5
],
[
133,
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
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
28,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
8,
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
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
59,
66
],
[
53,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
70,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
79,
85
],
[
78,
86
],
[
77,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
87,
94
],
[
67,
95
],
[
95,
96
],
[
95,
97
],
[
67,
98
],
[
98,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
100,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
107,
115
],
[
98,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
116,
123
],
[
8,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
6,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 動物の総数\n\t\tint x = sc.nextInt();\n\t\t// 足の数\n\t\tint y = sc.nextInt();\n\n\t\t// yが奇数の場合はNo\n\t\tif (y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// すべてカメと仮定する b:カメの数\n\t\tint b = x;\n\t\tif (4 * b == y) {\n\t\t\t// すべてカメの場合\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t} else if (4 * b < y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 動物の総数\n\t\tint x = sc.nextInt();\n\t\t// 足の数\n\t\tint y = sc.nextInt();\n\n\t\t// yが奇数の場合はNo\n\t\tif (y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// すべてカメと仮定する b:カメの数\n\t\tint b = x;\n\t\tif (4 * b == y) {\n\t\t\t// すべてカメの場合\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t} else if (4 * b < y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\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\t// 動物の総数\n\t\tint x = sc.nextInt();\n\t\t// 足の数\n\t\tint y = sc.nextInt();\n\n\t\t// yが奇数の場合はNo\n\t\tif (y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// すべてカメと仮定する b:カメの数\n\t\tint b = x;\n\t\tif (4 * b == y) {\n\t\t\t// すべてカメの場合\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t} else if (4 * b < y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 動物の総数\n\t\tint x = sc.nextInt();\n\t\t// 足の数\n\t\tint y = sc.nextInt();\n\n\t\t// yが奇数の場合はNo\n\t\tif (y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// すべてカメと仮定する b:カメの数\n\t\tint b = x;\n\t\tif (4 * b == y) {\n\t\t\t// すべてカメの場合\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t} else if (4 * b < y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\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",
"if (y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}",
"y % 2 != 0",
"y % 2",
"y",
"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;",
"int b = x;",
"b",
"x",
"if (4 * b == y) {\n\t\t\t// すべてカメの場合\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t} else if (4 * b < y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"4 * b == y",
"4 * b",
"4",
"b",
"y",
"{\n\t\t\t// すべてカメの場合\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"return;",
"if (4 * b < y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"4 * b < y",
"4 * b",
"4",
"b",
"y",
"{\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\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"int a = (4 * b - y) / 2;",
"a",
"(4 * b - y) / 2",
"(4 * b - y)",
"4 * b",
"4",
"b",
"y",
"2",
"if ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}",
"(4 * b - y) % 2 != 0",
"(4 * b - y) % 2",
"(4 * b - y)",
"4 * b",
"4",
"b",
"y",
"2",
"0",
"{\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"b -= a",
"b",
"a",
"if (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}",
"a >= 0 && b >= 0 && (2 * a + 4 * b == y)",
"a >= 0 && b >= 0 && (2 * a + 4 * b == y)",
"a >= 0",
"a",
"0",
"b >= 0",
"b",
"0",
"(2 * a + 4 * b == y)",
"2 * a + 4 * b",
"2 * a",
"2",
"a",
"4 * b",
"4",
"b",
"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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 動物の総数\n\t\tint x = sc.nextInt();\n\t\t// 足の数\n\t\tint y = sc.nextInt();\n\n\t\t// yが奇数の場合はNo\n\t\tif (y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// すべてカメと仮定する b:カメの数\n\t\tint b = x;\n\t\tif (4 * b == y) {\n\t\t\t// すべてカメの場合\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t} else if (4 * b < y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"No\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 動物の総数\n\t\tint x = sc.nextInt();\n\t\t// 足の数\n\t\tint y = sc.nextInt();\n\n\t\t// yが奇数の場合はNo\n\t\tif (y % 2 != 0) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\t// すべてカメと仮定する b:カメの数\n\t\tint b = x;\n\t\tif (4 * b == y) {\n\t\t\t// すべてカメの場合\n\t\t\tSystem.out.println(\"Yes\");\n\t\t\treturn;\n\t\t} else if (4 * b < y) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t} else {\n\t\t\t// 差分の足の数鶴の数\n\t\t\tint a = (4 * b - y) / 2;\n\t\t\tif ((4 * b - y) % 2 != 0) {\n\t\t\t\t// 割り切れない場合\n\t\t\t\tSystem.out.println(\"No\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tb -= a;\n\t\t\tif (a >= 0 && b >= 0 && (2 * a + 4 * b == y)) {\n\t\t\t\tSystem.out.println(\"Yes\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\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();
// yが奇数の場合はNo
if (y % 2 != 0) {
System.out.println("No");
return;
}
// すべてカメと仮定する b:カメの数
int b = x;
if (4 * b == y) {
// すべてカメの場合
System.out.println("Yes");
return;
} else if (4 * b < y) {
System.out.println("No");
return;
} else {
// 差分の足の数鶴の数
int a = (4 * b - y) / 2;
if ((4 * b - y) % 2 != 0) {
// 割り切れない場合
System.out.println("No");
return;
}
b -= a;
if (a >= 0 && b >= 0 && (2 * a + 4 * b == 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,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
2,
17,
13,
2,
17,
2,
13,
13,
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
],
[
67,
5
],
[
67,
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
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.*;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\n\t\t// argumentの取得\n\t\tScanner scanner = new Scanner(System.in);\n Integer x = scanner.nextInt();\n Integer y = scanner.nextInt();\n String ans = \"No\";\n\n // debug\n // System.out.println(x);\n // System.out.println(y);\n \n for (int i = 0; i < x + 1; i++){\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }\n \n\t\t// 戻り値の返却\n\t\tSystem.out.println(ans);\n\t\n\t} \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\n\t\t// argumentの取得\n\t\tScanner scanner = new Scanner(System.in);\n Integer x = scanner.nextInt();\n Integer y = scanner.nextInt();\n String ans = \"No\";\n\n // debug\n // System.out.println(x);\n // System.out.println(y);\n \n for (int i = 0; i < x + 1; i++){\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }\n \n\t\t// 戻り値の返却\n\t\tSystem.out.println(ans);\n\t\n\t} \n}",
"Main",
"public static void main(String[] args) {\n\n\t\t// argumentの取得\n\t\tScanner scanner = new Scanner(System.in);\n Integer x = scanner.nextInt();\n Integer y = scanner.nextInt();\n String ans = \"No\";\n\n // debug\n // System.out.println(x);\n // System.out.println(y);\n \n for (int i = 0; i < x + 1; i++){\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }\n \n\t\t// 戻り値の返却\n\t\tSystem.out.println(ans);\n\t\n\t}",
"main",
"{\n\n\t\t// argumentの取得\n\t\tScanner scanner = new Scanner(System.in);\n Integer x = scanner.nextInt();\n Integer y = scanner.nextInt();\n String ans = \"No\";\n\n // debug\n // System.out.println(x);\n // System.out.println(y);\n \n for (int i = 0; i < x + 1; i++){\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }\n \n\t\t// 戻り値の返却\n\t\tSystem.out.println(ans);\n\t\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"Integer x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"Integer y = scanner.nextInt();",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"String ans = \"No\";",
"ans",
"\"No\"",
"for (int i = 0; i < x + 1; i++){\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x + 1",
"i",
"x + 1",
"x",
"1",
"i++",
"i++",
"i",
"{\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }",
"{\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }",
"Integer sum = 2 * i + 4 * (x - i);",
"sum",
"2 * i + 4 * (x - i)",
"2 * i",
"2",
"i",
"4 * (x - i)",
"4",
"(x - i)",
"x",
"i",
"if (sum == y)\n ans = \"Yes\";",
"sum == y",
"sum",
"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\t\n\tpublic static void main(String[] args) {\n\n\t\t// argumentの取得\n\t\tScanner scanner = new Scanner(System.in);\n Integer x = scanner.nextInt();\n Integer y = scanner.nextInt();\n String ans = \"No\";\n\n // debug\n // System.out.println(x);\n // System.out.println(y);\n \n for (int i = 0; i < x + 1; i++){\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }\n \n\t\t// 戻り値の返却\n\t\tSystem.out.println(ans);\n\t\n\t} \n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\n\t\t// argumentの取得\n\t\tScanner scanner = new Scanner(System.in);\n Integer x = scanner.nextInt();\n Integer y = scanner.nextInt();\n String ans = \"No\";\n\n // debug\n // System.out.println(x);\n // System.out.println(y);\n \n for (int i = 0; i < x + 1; i++){\n Integer sum = 2 * i + 4 * (x - i);\n if (sum == y)\n ans = \"Yes\";\n }\n \n\t\t// 戻り値の返却\n\t\tSystem.out.println(ans);\n\t\n\t} \n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
// argumentの取得
Scanner scanner = new Scanner(System.in);
Integer x = scanner.nextInt();
Integer y = scanner.nextInt();
String ans = "No";
// debug
// System.out.println(x);
// System.out.println(y);
for (int i = 0; i < x + 1; i++){
Integer sum = 2 * i + 4 * (x - i);
if (sum == 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,
41,
13,
2,
2,
13,
2,
17,
13,
17,
41,
13,
2,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
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
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
36,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
36,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
6,
62
],
[
62,
63
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n int t = (y - 2*x)/2;\n int c = x - t;\n \n if(t < 0 || c < 0 || y%2 == 1)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");\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 = sc.nextInt();\n int y = sc.nextInt();\n\n int t = (y - 2*x)/2;\n int c = x - t;\n \n if(t < 0 || c < 0 || y%2 == 1)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n int t = (y - 2*x)/2;\n int c = x - t;\n \n if(t < 0 || c < 0 || y%2 == 1)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n int t = (y - 2*x)/2;\n int c = x - t;\n \n if(t < 0 || c < 0 || y%2 == 1)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");\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 t = (y - 2*x)/2;",
"t",
"(y - 2*x)/2",
"(y - 2*x)",
"y",
"2*x",
"2",
"x",
"2",
"int c = x - t;",
"c",
"x - t",
"x",
"t",
"if(t < 0 || c < 0 || y%2 == 1)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");",
"t < 0 || c < 0 || y%2 == 1",
"t < 0 || c < 0 || y%2 == 1",
"t < 0",
"t",
"0",
"c < 0",
"c",
"0",
"y%2 == 1",
"y%2",
"y",
"2",
"1",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int t = (y - 2*x)/2;
int c = x - t;
if(t < 0 || c < 0 || y%2 == 1)
System.out.println("No");
else
System.out.println("Yes");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
13,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
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,
17,
14,
2,
2,
2,
13,
13,
17,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
4,
18,
18,
13,
13,
17,
30,
0,
13,
18,
13,
13,
0,
13,
20,
0,
13,
20,
4,
13,
12,
13,
30,
4,
18,
20,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
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,
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,
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,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
13,
23,
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,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
13,
23,
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,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
13,
23,
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,
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,
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,
41,
13,
20,
13,
13,
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,
0,
18,
18,
13,
13,
13,
4,
13,
29,
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
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
616,
20
],
[
616,
21
],
[
21,
22
],
[
616,
23
],
[
23,
24
],
[
23,
25
],
[
616,
26
],
[
26,
27
],
[
26,
28
],
[
616,
29
],
[
29,
30
],
[
29,
31
],
[
616,
32
],
[
32,
33
],
[
32,
34
],
[
616,
35
],
[
35,
36
],
[
616,
37
],
[
37,
38
],
[
616,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
41,
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
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
80,
87
],
[
41,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
616,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
102,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
101,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
97,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
96,
125
],
[
125,
126
],
[
125,
127
],
[
96,
128
],
[
128,
129
],
[
128,
130
],
[
96,
131
],
[
131,
132
],
[
616,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
133,
139
],
[
139,
140
],
[
0,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
141,
145
],
[
145,
146
],
[
145,
147
],
[
141,
149
],
[
149,
150
],
[
141,
151
],
[
151,
152
],
[
141,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
153,
161
],
[
161,
162
],
[
141,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
166,
171
],
[
171,
172
],
[
165,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
181,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
177,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
199,
200
],
[
165,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
141,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
213,
211
],
[
223,
212
],
[
220,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
217,
219
],
[
220,
220
],
[
220,
221
],
[
220,
222
],
[
223,
223
],
[
223,
224
],
[
223,
225
],
[
213,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
206,
230
],
[
230,
231
],
[
141,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
237,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
237,
241
],
[
241,
242
],
[
241,
243
],
[
237,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
232,
248
],
[
248,
249
],
[
141,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
254,
257
],
[
257,
258
],
[
141,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
266,
271
],
[
271,
272
],
[
271,
273
],
[
266,
274
],
[
274,
275
],
[
275,
276
],
[
266,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
282
],
[
282,
283
],
[
261,
284
],
[
284,
285
],
[
259,
286
],
[
286,
287
],
[
141,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
296,
301
],
[
301,
302
],
[
301,
303
],
[
296,
304
],
[
304,
305
],
[
305,
306
],
[
296,
307
],
[
308,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
313
],
[
313,
314
],
[
313,
315
],
[
290,
316
],
[
316,
317
],
[
288,
318
],
[
318,
319
],
[
288,
320
],
[
320,
321
],
[
141,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
326,
329
],
[
329,
330
],
[
141,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
333,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
338,
343
],
[
343,
344
],
[
343,
345
],
[
338,
346
],
[
346,
347
],
[
347,
348
],
[
338,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
350,
354
],
[
354,
355
],
[
333,
356
],
[
356,
357
],
[
331,
358
],
[
358,
359
],
[
141,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
363,
364
],
[
363,
365
],
[
362,
368
],
[
368,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
368,
373
],
[
373,
374
],
[
373,
375
],
[
368,
376
],
[
376,
377
],
[
377,
378
],
[
368,
379
],
[
380,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
381,
385
],
[
385,
386
],
[
385,
387
],
[
362,
388
],
[
388,
389
],
[
360,
390
],
[
390,
391
],
[
360,
392
],
[
392,
393
],
[
141,
394
],
[
394,
395
],
[
394,
396
],
[
396,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
398,
401
],
[
401,
402
],
[
141,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
406,
407
],
[
406,
408
],
[
405,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
410,
415
],
[
415,
416
],
[
415,
417
],
[
410,
418
],
[
418,
419
],
[
419,
420
],
[
410,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
422,
426
],
[
426,
427
],
[
405,
428
],
[
428,
429
],
[
403,
430
],
[
430,
431
],
[
141,
432
],
[
432,
433
],
[
432,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
434,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
440,
445
],
[
445,
446
],
[
445,
447
],
[
440,
448
],
[
448,
449
],
[
449,
450
],
[
440,
451
],
[
452,
452
],
[
452,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
453,
457
],
[
457,
458
],
[
457,
459
],
[
434,
460
],
[
460,
461
],
[
432,
462
],
[
462,
463
],
[
432,
464
],
[
464,
465
],
[
141,
466
],
[
466,
467
],
[
466,
468
],
[
468,
469
],
[
469,
470
],
[
469,
471
],
[
471,
472
],
[
468,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
473,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
468,
481
],
[
481,
482
],
[
481,
483
],
[
468,
484
],
[
484,
485
],
[
485,
486
],
[
486,
487
],
[
486,
488
],
[
484,
489
],
[
489,
490
],
[
490,
491
],
[
491,
492
],
[
490,
493
],
[
489,
494
],
[
494,
495
],
[
494,
496
],
[
496,
497
],
[
468,
498
],
[
498,
499
],
[
499,
500
],
[
500,
501
],
[
141,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
505,
506
],
[
505,
507
],
[
504,
509
],
[
509,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
509,
514
],
[
514,
515
],
[
514,
516
],
[
509,
517
],
[
517,
518
],
[
518,
519
],
[
509,
520
],
[
520,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
521,
525
],
[
525,
526
],
[
504,
527
],
[
527,
528
],
[
502,
529
],
[
529,
530
],
[
141,
531
],
[
531,
532
],
[
531,
533
],
[
533,
534
],
[
534,
535
],
[
534,
536
],
[
536,
537
],
[
533,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
538,
542
],
[
542,
543
],
[
542,
544
],
[
544,
545
],
[
533,
546
],
[
546,
547
],
[
546,
548
],
[
533,
549
],
[
549,
550
],
[
550,
551
],
[
551,
552
],
[
551,
553
],
[
549,
554
],
[
554,
555
],
[
555,
556
],
[
556,
557
],
[
555,
558
],
[
554,
559
],
[
559,
560
],
[
559,
561
],
[
561,
562
],
[
533,
563
],
[
563,
564
],
[
564,
565
],
[
565,
566
],
[
141,
567
],
[
567,
568
],
[
567,
569
],
[
569,
570
],
[
570,
571
],
[
570,
572
],
[
569,
575
],
[
575,
576
],
[
576,
577
],
[
577,
578
],
[
577,
579
],
[
575,
580
],
[
580,
581
],
[
580,
582
],
[
575,
583
],
[
583,
584
],
[
584,
585
],
[
575,
586
],
[
587,
587
],
[
587,
588
],
[
588,
589
],
[
589,
590
],
[
590,
591
],
[
590,
592
],
[
588,
593
],
[
593,
594
],
[
593,
595
],
[
588,
596
],
[
596,
597
],
[
597,
598
],
[
588,
599
],
[
600,
600
],
[
600,
601
],
[
601,
602
],
[
602,
603
],
[
603,
604
],
[
603,
605
],
[
602,
606
],
[
601,
607
],
[
607,
608
],
[
569,
609
],
[
609,
610
],
[
567,
611
],
[
611,
612
],
[
567,
613
],
[
613,
614
],
[
0,
615
],
[
615,
616
],
[
615,
617
]
]
| [
"import java.io.PrintWriter;\nimport java.io.FileNotFoundException;\nimport java.io.FileInputStream;\nimport java.io.InputStream;\nimport java.io.IOException;\nimport java.util.InputMismatchException;\n\npublic class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/O1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int x = in.nextInt(), y = in.nextInt();\n for (int i = 0; i <= x; i++) {\n int t = i * 2;\n if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}\n\n\nclass FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\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 } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/O1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int x = in.nextInt(), y = in.nextInt();\n for (int i = 0; i <= x; i++) {\n int t = i * 2;\n if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"Main",
"InputStream is;",
"is",
"int __t__ = 1;",
"__t__",
"1",
"int __f__ = 0;",
"__f__",
"0",
"int __FILE_DEBUG_FLAG__ = __f__;",
"__FILE_DEBUG_FLAG__",
"__f__",
"String __DEBUG_FILE_NAME__ = \"src/O1\";",
"__DEBUG_FILE_NAME__",
"\"src/O1\"",
"FastScanner in;",
"in",
"PrintWriter out;",
"out",
"public void solve() {\n int x = in.nextInt(), y = in.nextInt();\n for (int i = 0; i <= x; i++) {\n int t = i * 2;\n if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }",
"solve",
"{\n int x = in.nextInt(), y = in.nextInt();\n for (int i = 0; i <= x; i++) {\n int t = i * 2;\n if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }",
"int x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"y = in.nextInt();",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"for (int i = 0; i <= x; i++) {\n int t = i * 2;\n if ((x - i) * 4 == y - t) {\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 t = i * 2;\n if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"{\n int t = i * 2;\n if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }\n }",
"int t = i * 2;",
"t",
"i * 2",
"i",
"2",
"if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }",
"(x - i) * 4 == y - t",
"(x - i) * 4",
"(x - i)",
"x",
"i",
"4",
"y - t",
"y",
"t",
"{\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 void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }",
"run",
"{\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }",
"if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }",
"__FILE_DEBUG_FLAG__ == __t__",
"__FILE_DEBUG_FLAG__",
"__t__",
"{\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n }",
"try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"FileNotFoundException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n }",
"is = new FileInputStream(__DEBUG_FILE_NAME__)",
"is",
"new FileInputStream(__DEBUG_FILE_NAME__)",
"System.out.println(\"FILE_INPUT!\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"FILE_INPUT!\"",
"{\n is = System.in;\n }",
"is = System.in",
"is",
"System.in",
"System",
"System.in",
"in = new FastScanner(is)",
"in",
"new FastScanner(is)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"public static void main(final String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"final String[] args",
"args",
"class FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\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 } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}",
"FastScanner",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }",
"FastScanner",
"{\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new InputMismatchException();\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 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 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 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 boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\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 boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndline",
"{\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 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 int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }",
"nextIntArray",
"{\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }",
"int[] array = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextInt();",
"array[i] = nextInt()",
"array[i]",
"array",
"i",
"nextInt()",
"nextInt",
"return array;",
"array",
"int n",
"n",
"public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }",
"nextIntMap",
"{\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }",
"int[][] map = new int[n][m];",
"map",
"new int[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextIntArray(m);\n }",
"{\n map[i] = nextIntArray(m);\n }",
"map[i] = nextIntArray(m)",
"map[i]",
"map",
"i",
"nextIntArray(m)",
"nextIntArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"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 long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }",
"nextLongArray",
"{\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }",
"long[] array = new long[n];",
"array",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextLong();",
"array[i] = nextLong()",
"array[i]",
"array",
"i",
"nextLong()",
"nextLong",
"return array;",
"array",
"int n",
"n",
"public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }",
"nextLongMap",
"{\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }",
"long[][] map = new long[n][m];",
"map",
"new long[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextLongArray(m);\n }",
"{\n map[i] = nextLongArray(m);\n }",
"map[i] = nextLongArray(m)",
"map[i]",
"map",
"i",
"nextLongArray(m)",
"nextLongArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"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 double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }",
"nextDoubleArray",
"{\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }",
"double[] array = new double[n];",
"array",
"new double[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextDouble();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextDouble();",
"array[i] = nextDouble()",
"array[i]",
"array",
"i",
"nextDouble()",
"nextDouble",
"return array;",
"array",
"int n",
"n",
"public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }",
"nextDoubleMap",
"{\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }",
"double[][] map = new double[n][m];",
"map",
"new double[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextDoubleArray(m);\n }",
"{\n map[i] = nextDoubleArray(m);\n }",
"map[i] = nextDoubleArray(m)",
"map[i]",
"map",
"i",
"nextDoubleArray(m)",
"nextDoubleArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public String next() {\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 } while (!isSpaceChar(c));\n return res.toString();\n }",
"next",
"{\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 } while (!isSpaceChar(c));\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 } 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 String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }",
"nextStringArray",
"{\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }",
"String[] array = new String[n];",
"array",
"new String[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = next();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = next();",
"array[i] = next()",
"array[i]",
"array",
"i",
"next()",
"next",
"return array;",
"array",
"int n",
"n",
"public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isEndline(c))\n c = read();",
"isEndline(c)",
"isEndline",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));",
"!isEndline(c)",
"isEndline(c)",
"isEndline",
"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 int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }",
"nextPackedIntArrays",
"{\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }",
"int[][] res = new int[packN][size];",
"res",
"new int[packN][size]",
"packN",
"size",
"for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < packN",
"j",
"packN",
"j++",
"j++",
"j",
"{\n res[j][i] = nextInt();\n }",
"{\n res[j][i] = nextInt();\n }",
"res[j][i] = nextInt()",
"res[j][i]",
"res[j]",
"res",
"j",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int packN",
"packN",
"int size",
"size",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/O1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int x = in.nextInt(), y = in.nextInt();\n for (int i = 0; i <= x; i++) {\n int t = i * 2;\n if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/O1\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int x = in.nextInt(), y = in.nextInt();\n for (int i = 0; i <= x; i++) {\n int t = i * 2;\n if ((x - i) * 4 == y - t) {\n System.out.println(\"Yes\");\n return;\n }\n }\n System.out.println(\"No\");\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"Main"
]
| import java.io.PrintWriter;
import java.io.FileNotFoundException;
import java.io.FileInputStream;
import java.io.InputStream;
import java.io.IOException;
import java.util.InputMismatchException;
public class Main {
InputStream is;
int __t__ = 1;
int __f__ = 0;
int __FILE_DEBUG_FLAG__ = __f__;
String __DEBUG_FILE_NAME__ = "src/O1";
FastScanner in;
PrintWriter out;
public void solve() {
int x = in.nextInt(), y = in.nextInt();
for (int i = 0; i <= x; i++) {
int t = i * 2;
if ((x - i) * 4 == y - t) {
System.out.println("Yes");
return;
}
}
System.out.println("No");
}
public void run() {
if (__FILE_DEBUG_FLAG__ == __t__) {
try {
is = new FileInputStream(__DEBUG_FILE_NAME__);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
System.out.println("FILE_INPUT!");
} else {
is = System.in;
}
in = new FastScanner(is);
out = new PrintWriter(System.out);
solve();
}
public static void main(final String[] args) {
new Main().run();
}
}
class FastScanner {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public FastScanner(InputStream stream) {
this.stream = stream;
// stream = new FileInputStream(new File("dec.in"));
}
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 boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public boolean isEndline(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public int nextInt() {
return Integer.parseInt(next());
}
public int[] nextIntArray(int n) {
int[] array = new int[n];
for (int i = 0; i < n; i++)
array[i] = nextInt();
return array;
}
public int[][] nextIntMap(int n, int m) {
int[][] map = new int[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextIntArray(m);
}
return map;
}
public long nextLong() {
return Long.parseLong(next());
}
public long[] nextLongArray(int n) {
long[] array = new long[n];
for (int i = 0; i < n; i++)
array[i] = nextLong();
return array;
}
public long[][] nextLongMap(int n, int m) {
long[][] map = new long[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextLongArray(m);
}
return map;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public double[] nextDoubleArray(int n) {
double[] array = new double[n];
for (int i = 0; i < n; i++)
array[i] = nextDouble();
return array;
}
public double[][] nextDoubleMap(int n, int m) {
double[][] map = new double[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextDoubleArray(m);
}
return map;
}
public String next() {
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 String[] nextStringArray(int n) {
String[] array = new String[n];
for (int i = 0; i < n; i++)
array[i] = next();
return array;
}
public String nextLine() {
int c = read();
while (isEndline(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndline(c));
return res.toString();
}
public int[][] nextPackedIntArrays(int packN, int size) {
int[][] res = new int[packN][size];
for (int i = 0; i < size; i++) {
for (int j = 0; j < packN; j++) {
res[j][i] = nextInt();
}
}
return 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,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
2,
2,
17,
2,
13,
13,
2,
17,
13,
30,
0,
13,
17,
3,
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
],
[
76,
5
],
[
76,
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
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.Scanner;\n\n/**\n * Main\n */\npublic class Main {\n\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 int flag = 0; // 0なら組み合わせ存在せず\n\n for(int i=0; i <= X; i++){\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }\n if(flag == 1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int X = sc.nextInt();\n int Y = sc.nextInt();\n int flag = 0; // 0なら組み合わせ存在せず\n\n for(int i=0; i <= X; i++){\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }\n if(flag == 1){\n System.out.println(\"Yes\");\n }else{\n 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 int flag = 0; // 0なら組み合わせ存在せず\n\n for(int i=0; i <= X; i++){\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }\n if(flag == 1){\n System.out.println(\"Yes\");\n }else{\n 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 int flag = 0; // 0なら組み合わせ存在せず\n\n for(int i=0; i <= X; i++){\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }\n if(flag == 1){\n System.out.println(\"Yes\");\n }else{\n 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 flag = 0;",
"flag",
"0",
"for(int i=0; i <= X; i++){\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i <= X",
"i",
"X",
"i++",
"i++",
"i",
"{\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }",
"{\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }",
"if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }",
"Y == 2*(X-i)+4*i",
"Y",
"2*(X-i)+4*i",
"2*(X-i)",
"2",
"(X-i)",
"X",
"i",
"4*i",
"4",
"i",
"{\n flag = 1;\n break;\n }",
"flag = 1",
"flag",
"1",
"break;",
"if(flag == 1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"flag == 1",
"flag",
"1",
"{\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\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 int flag = 0; // 0なら組み合わせ存在せず\n\n for(int i=0; i <= X; i++){\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }\n if(flag == 1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"public class Main {\n\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 int flag = 0; // 0なら組み合わせ存在せず\n\n for(int i=0; i <= X; i++){\n if(Y == 2*(X-i)+4*i){\n flag = 1;\n break;\n }\n }\n if(flag == 1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
/**
* Main
*/
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
int flag = 0; // 0なら組み合わせ存在せず
for(int i=0; i <= X; i++){
if(Y == 2*(X-i)+4*i){
flag = 1;
break;
}
}
if(flag == 1){
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,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
2,
17,
13,
2,
17,
2,
13,
13,
14,
2,
13,
13,
30,
0,
13,
17,
3,
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
],
[
84,
5
],
[
84,
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
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
28,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
42,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
63,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
]
| [
"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 = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tint leg = 0;\n\t\tString ans = \"No\";\n\n\t\tfor (int t=0; t<X+1; t++) {\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (ans==\"Yes\") {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tint leg = 0;\n\t\tString ans = \"No\";\n\n\t\tfor (int t=0; t<X+1; t++) {\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (ans==\"Yes\") {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tint leg = 0;\n\t\tString ans = \"No\";\n\n\t\tfor (int t=0; t<X+1; t++) {\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (ans==\"Yes\") {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint X = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tint leg = 0;\n\t\tString ans = \"No\";\n\n\t\tfor (int t=0; t<X+1; t++) {\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (ans==\"Yes\") {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\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 leg = 0;",
"leg",
"0",
"String ans = \"No\";",
"ans",
"\"No\"",
"for (int t=0; t<X+1; t++) {\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int t=0;",
"int t=0;",
"t",
"0",
"t<X+1",
"t",
"X+1",
"X",
"1",
"t++",
"t++",
"t",
"{\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"leg = 2*t + 4*(X-t)",
"leg",
"2*t + 4*(X-t)",
"2*t",
"2",
"t",
"4*(X-t)",
"4",
"(X-t)",
"X",
"t",
"if (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}",
"leg==Y",
"leg",
"Y",
"{\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}",
"ans=\"Yes\"",
"ans",
"\"Yes\"",
"break;",
"if (ans==\"Yes\") {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"ans==\"Yes\"",
"ans",
"\"Yes\"",
"{\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\"",
"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 = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tint leg = 0;\n\t\tString ans = \"No\";\n\n\t\tfor (int t=0; t<X+1; t++) {\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (ans==\"Yes\") {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\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 = sc.nextInt();\n\t\tint Y = sc.nextInt();\n\n\t\tint leg = 0;\n\t\tString ans = \"No\";\n\n\t\tfor (int t=0; t<X+1; t++) {\n\t\t\tleg = 2*t + 4*(X-t);\n\t\t\tif (leg==Y) {\n\t\t\t\tans=\"Yes\";\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tif (ans==\"Yes\") {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t} else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
int leg = 0;
String ans = "No";
for (int t=0; t<X+1; t++) {
leg = 2*t + 4*(X-t);
if (leg==Y) {
ans="Yes";
break;
}
}
if (ans=="Yes") {
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,
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,
4,
18,
18,
13,
13,
17,
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
],
[
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
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
36,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
47,
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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tfor (int turtle = 0; turtle <= x; turtle++) {\n\t\t if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}\n\t System.out.println(\"No\");\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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tfor (int turtle = 0; turtle <= x; turtle++) {\n\t\t if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}\n\t System.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 if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}\n\t System.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 if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}\n\t System.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 if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}",
"int turtle = 0;",
"int turtle = 0;",
"turtle",
"0",
"turtle <= x",
"turtle",
"x",
"turtle++",
"turtle++",
"turtle",
"{\n\t\t if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}",
"{\n\t\t if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}",
"if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }",
"turtle * 4 + (x - turtle) * 2 == y",
"turtle * 4 + (x - turtle) * 2",
"turtle * 4",
"turtle",
"4",
"(x - turtle) * 2",
"(x - turtle)",
"x",
"turtle",
"2",
"y",
"{\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\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\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 if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}\n\t System.out.println(\"No\");\n\t}\n}",
"public class Main {\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 if (turtle * 4 + (x - turtle) * 2 == y) {\n\t\t System.out.println(\"Yes\");\n\t\t return;\n\t\t }\n\t\t}\n\t System.out.println(\"No\");\n\t}\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();
for (int turtle = 0; turtle <= x; turtle++) {
if (turtle * 4 + (x - turtle) * 2 == 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,
4,
18,
13,
41,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
14,
2,
2,
13,
2,
13,
17,
2,
13,
2,
13,
17,
30,
0,
13,
17,
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
],
[
73,
5
],
[
73,
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
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
8,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
54,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//スキャナー\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint numx = s.nextInt();\n\t\tint numy = s.nextInt();\n\t\t\n\t\ts.close();\n\t\t\n\t\t//true=Yes\n\t\tboolean ans = true;\n\t\t\n\t\tif(numy % 2 == 1) {\n\t\t\tans = false;\n\t\t}\n\t\tif(numy < numx * 2 || numy > numx * 4 ) {\n\t\t\tans = false;\n\t\t}\n\t\t\n\t\tif(ans) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\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\t//スキャナー\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint numx = s.nextInt();\n\t\tint numy = s.nextInt();\n\t\t\n\t\ts.close();\n\t\t\n\t\t//true=Yes\n\t\tboolean ans = true;\n\t\t\n\t\tif(numy % 2 == 1) {\n\t\t\tans = false;\n\t\t}\n\t\tif(numy < numx * 2 || numy > numx * 4 ) {\n\t\t\tans = false;\n\t\t}\n\t\t\n\t\tif(ans) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t//スキャナー\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint numx = s.nextInt();\n\t\tint numy = s.nextInt();\n\t\t\n\t\ts.close();\n\t\t\n\t\t//true=Yes\n\t\tboolean ans = true;\n\t\t\n\t\tif(numy % 2 == 1) {\n\t\t\tans = false;\n\t\t}\n\t\tif(numy < numx * 2 || numy > numx * 4 ) {\n\t\t\tans = false;\n\t\t}\n\t\t\n\t\tif(ans) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}",
"main",
"{\n\n\t\t//スキャナー\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint numx = s.nextInt();\n\t\tint numy = s.nextInt();\n\t\t\n\t\ts.close();\n\t\t\n\t\t//true=Yes\n\t\tboolean ans = true;\n\t\t\n\t\tif(numy % 2 == 1) {\n\t\t\tans = false;\n\t\t}\n\t\tif(numy < numx * 2 || numy > numx * 4 ) {\n\t\t\tans = false;\n\t\t}\n\t\t\n\t\tif(ans) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int numx = s.nextInt();",
"numx",
"s.nextInt()",
"s.nextInt",
"s",
"int numy = s.nextInt();",
"numy",
"s.nextInt()",
"s.nextInt",
"s",
"s.close()",
"s.close",
"s",
"boolean ans = true;",
"ans",
"true",
"if(numy % 2 == 1) {\n\t\t\tans = false;\n\t\t}",
"numy % 2 == 1",
"numy % 2",
"numy",
"2",
"1",
"{\n\t\t\tans = false;\n\t\t}",
"ans = false",
"ans",
"false",
"if(numy < numx * 2 || numy > numx * 4 ) {\n\t\t\tans = false;\n\t\t}",
"numy < numx * 2 || numy > numx * 4",
"numy < numx * 2",
"numy",
"numx * 2",
"numx",
"2",
"numy > numx * 4",
"numy",
"numx * 4",
"numx",
"4",
"{\n\t\t\tans = false;\n\t\t}",
"ans = false",
"ans",
"false",
"if(ans) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"ans",
"{\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\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//スキャナー\n\t\tScanner s = new Scanner(System.in);\n\n\t\tint numx = s.nextInt();\n\t\tint numy = s.nextInt();\n\t\t\n\t\ts.close();\n\t\t\n\t\t//true=Yes\n\t\tboolean ans = true;\n\t\t\n\t\tif(numy % 2 == 1) {\n\t\t\tans = false;\n\t\t}\n\t\tif(numy < numx * 2 || numy > numx * 4 ) {\n\t\t\tans = false;\n\t\t}\n\t\t\n\t\tif(ans) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\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 s = new Scanner(System.in);\n\n\t\tint numx = s.nextInt();\n\t\tint numy = s.nextInt();\n\t\t\n\t\ts.close();\n\t\t\n\t\t//true=Yes\n\t\tboolean ans = true;\n\t\t\n\t\tif(numy % 2 == 1) {\n\t\t\tans = false;\n\t\t}\n\t\tif(numy < numx * 2 || numy > numx * 4 ) {\n\t\t\tans = false;\n\t\t}\n\t\t\n\t\tif(ans) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else {\n\t\t\tSystem.out.println(\"No\");\n\t\t}\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 numx = s.nextInt();
int numy = s.nextInt();
s.close();
//true=Yes
boolean ans = true;
if(numy % 2 == 1) {
ans = false;
}
if(numy < numx * 2 || numy > numx * 4 ) {
ans = false;
}
if(ans) {
System.out.println("Yes");
}else {
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,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
2,
13,
2,
17,
13,
14,
2,
2,
13,
17,
17,
30,
14,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
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
],
[
190,
14
],
[
190,
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
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
31,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
44,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
72,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
72,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
65,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
15,
99
],
[
99,
100
],
[
190,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
101,
105
],
[
105,
106
],
[
101,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
101,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
116,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
126,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
115,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
101,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
148,
149
],
[
101,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
157,
158
],
[
101,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
101,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
174,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
170,
187
],
[
187,
188
],
[
0,
189
],
[
189,
190
],
[
189,
191
]
]
| [
"\nimport 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 x = sc.nextInt();\n int y = sc.nextInt();\n\n if(y<(x*2)){\n System.out.println(\"No\");\n }\n else if(y > (x*4)){\n System.out.println(\"No\");\n }\n else{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\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.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 x = sc.nextInt();\n int y = sc.nextInt();\n\n if(y<(x*2)){\n System.out.println(\"No\");\n }\n else if(y > (x*4)){\n System.out.println(\"No\");\n }\n else{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }\n }\n \n }\n}",
"Main",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if(y<(x*2)){\n System.out.println(\"No\");\n }\n else if(y > (x*4)){\n System.out.println(\"No\");\n }\n else{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }\n }\n \n }",
"main",
"{\n FastReader sc = new FastReader();\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if(y<(x*2)){\n System.out.println(\"No\");\n }\n else if(y > (x*4)){\n System.out.println(\"No\");\n }\n else{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }\n }\n \n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(y<(x*2)){\n System.out.println(\"No\");\n }\n else if(y > (x*4)){\n System.out.println(\"No\");\n }\n else{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }\n }",
"y<(x*2)",
"y",
"(x*2)",
"x",
"2",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(y > (x*4)){\n System.out.println(\"No\");\n }\n else{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }\n }",
"y > (x*4)",
"y",
"(x*4)",
"x",
"4",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }\n }",
"int rem = y - (2*x);",
"rem",
"y - (2*x)",
"y",
"(2*x)",
"2",
"x",
"if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }",
"rem%2==0",
"rem%2",
"rem",
"2",
"0",
"{\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }",
"if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }",
"(rem/2)<=x",
"(rem/2)",
"rem",
"2",
"x",
"{\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\"",
"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 x = sc.nextInt();\n int y = sc.nextInt();\n\n if(y<(x*2)){\n System.out.println(\"No\");\n }\n else if(y > (x*4)){\n System.out.println(\"No\");\n }\n else{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }\n }\n \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 x = sc.nextInt();\n int y = sc.nextInt();\n\n if(y<(x*2)){\n System.out.println(\"No\");\n }\n else if(y > (x*4)){\n System.out.println(\"No\");\n }\n else{\n int rem = y - (2*x);\n if(rem%2==0){\n if((rem/2)<=x){\n System.out.println(\"Yes\");\n }\n else{\n System.out.println(\"No\");\n }\n }\n else{\n System.out.println(\"No\");\n }\n }\n \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 x = sc.nextInt();
int y = sc.nextInt();
if(y<(x*2)){
System.out.println("No");
}
else if(y > (x*4)){
System.out.println("No");
}
else{
int rem = y - (2*x);
if(rem%2==0){
if((rem/2)<=x){
System.out.println("Yes");
}
else{
System.out.println("No");
}
}
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,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
17,
2,
2,
13,
13,
17,
13,
30,
0,
13,
17,
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
],
[
75,
5
],
[
75,
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
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
41,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
56,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
6,
72
],
[
72,
73
],
[
0,
74
],
[
74,
75
],
[
74,
76
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint X = sc.nextInt();\n \tint Y = sc.nextInt();\n \tboolean ans = false;\n \tfor(int i=0;i<X+1;i++){\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }\n if( ans ){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n } \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 \tint X = sc.nextInt();\n \tint Y = sc.nextInt();\n \tboolean ans = false;\n \tfor(int i=0;i<X+1;i++){\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }\n if( ans ){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n } \n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint X = sc.nextInt();\n \tint Y = sc.nextInt();\n \tboolean ans = false;\n \tfor(int i=0;i<X+1;i++){\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }\n if( ans ){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n } \n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n \tint X = sc.nextInt();\n \tint Y = sc.nextInt();\n \tboolean ans = false;\n \tfor(int i=0;i<X+1;i++){\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }\n if( ans ){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n } \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",
"boolean ans = false;",
"ans",
"false",
"for(int i=0;i<X+1;i++){\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<X+1",
"i",
"X+1",
"X",
"1",
"i++",
"i++",
"i",
"{\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }",
"{\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }",
"if( i*2 + (X-i)*4 == Y ){\n ans = true;\n }",
"i*2 + (X-i)*4 == Y",
"i*2 + (X-i)*4",
"i*2",
"i",
"2",
"(X-i)*4",
"(X-i)",
"X",
"i",
"4",
"Y",
"{\n ans = true;\n }",
"ans = true",
"ans",
"true",
"if( ans ){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"ans",
"{\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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint X = sc.nextInt();\n \tint Y = sc.nextInt();\n \tboolean ans = false;\n \tfor(int i=0;i<X+1;i++){\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }\n if( ans ){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n } \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint X = sc.nextInt();\n \tint Y = sc.nextInt();\n \tboolean ans = false;\n \tfor(int i=0;i<X+1;i++){\n if( i*2 + (X-i)*4 == Y ){\n ans = true;\n } \n }\n if( ans ){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n } \n\t}\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();
boolean ans = false;
for(int i=0;i<X+1;i++){
if( i*2 + (X-i)*4 == Y ){
ans = true;
}
}
if( ans ){
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,
4,
18,
18,
13,
13,
8,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
13,
2,
13,
2,
13,
17,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
50,
5
],
[
50,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
29,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
27,
45
],
[
27,
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 X = scanner.nextInt();\n int Y = scanner.nextInt();\n\n System.out.println(Y%2 == 0 && X*2 <= Y && Y <= X*4 ? \"Yes\" : \"No\");\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 X = scanner.nextInt();\n int Y = scanner.nextInt();\n\n System.out.println(Y%2 == 0 && X*2 <= Y && Y <= X*4 ? \"Yes\" : \"No\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int X = scanner.nextInt();\n int Y = scanner.nextInt();\n\n System.out.println(Y%2 == 0 && X*2 <= Y && Y <= X*4 ? \"Yes\" : \"No\");\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int X = scanner.nextInt();\n int Y = scanner.nextInt();\n\n System.out.println(Y%2 == 0 && X*2 <= Y && Y <= X*4 ? \"Yes\" : \"No\");\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int X = scanner.nextInt();",
"X",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int Y = scanner.nextInt();",
"Y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(Y%2 == 0 && X*2 <= Y && Y <= X*4 ? \"Yes\" : \"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"Y%2 == 0 && X*2 <= Y && Y <= X*4 ? \"Yes\" : \"No\"",
"Y%2 == 0 && X*2 <= Y && Y <= X*4",
"Y%2 == 0 && X*2 <= Y && Y <= X*4",
"Y%2 == 0",
"Y%2",
"Y",
"2",
"0",
"X*2 <= Y",
"X*2",
"X",
"2",
"Y",
"Y <= X*4",
"Y",
"X*4",
"X",
"4",
"\"Yes\"",
"\"No\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int X = scanner.nextInt();\n int Y = scanner.nextInt();\n\n System.out.println(Y%2 == 0 && X*2 <= Y && Y <= X*4 ? \"Yes\" : \"No\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int X = scanner.nextInt();\n int Y = scanner.nextInt();\n\n System.out.println(Y%2 == 0 && X*2 <= Y && Y <= X*4 ? \"Yes\" : \"No\");\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int X = scanner.nextInt();
int Y = scanner.nextInt();
System.out.println(Y%2 == 0 && X*2 <= Y && Y <= X*4 ? "Yes" : "No");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
30,
14,
2,
2,
2,
13,
17,
13,
2,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
68,
8
],
[
68,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
25,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
39,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.util.*; \nimport java.lang.*; \n\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if(Y%2==1){\n System.out.println(\"No\");\n }else{\n if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if(Y%2==1){\n System.out.println(\"No\");\n }else{\n if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if(Y%2==1){\n System.out.println(\"No\");\n }else{\n if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n \n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if(Y%2==1){\n System.out.println(\"No\");\n }else{\n if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int X = scan.nextInt();",
"X",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int Y = scan.nextInt();",
"Y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(Y%2==1){\n System.out.println(\"No\");\n }else{\n if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"Y%2==1",
"Y%2",
"Y",
"2",
"1",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"X*2<=Y && Y<=X*4",
"X*2<=Y",
"X*2",
"X",
"2",
"Y",
"Y<=X*4",
"Y",
"X*4",
"X",
"4",
"{\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\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if(Y%2==1){\n System.out.println(\"No\");\n }else{\n if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n int X = scan.nextInt();\n int Y = scan.nextInt();\n \n if(Y%2==1){\n System.out.println(\"No\");\n }else{\n if(X*2<=Y && Y<=X*4){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int X = scan.nextInt();
int Y = scan.nextInt();
if(Y%2==1){
System.out.println("No");
}else{
if(X*2<=Y && Y<=X*4){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
40,
17,
41,
13,
40,
17,
0,
13,
2,
2,
13,
2,
17,
13,
17,
0,
13,
2,
2,
13,
2,
17,
13,
17,
14,
2,
2,
2,
2,
2,
13,
17,
17,
2,
2,
13,
13,
13,
2,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
91,
8
],
[
91,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
11,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
11,
54
],
[
54,
55
],
[
57,
56
],
[
68,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
57,
71
],
[
71,
72
],
[
71,
73
],
[
54,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
54,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
9,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n sc.close();\n int turu = -1;\n int kame = -1;\n kame = (y - 2*x) / 2;\n turu = (y - 4 * kame) / 2;\n if( y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n sc.close();\n int turu = -1;\n int kame = -1;\n kame = (y - 2*x) / 2;\n turu = (y - 4 * kame) / 2;\n if( y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n sc.close();\n int turu = -1;\n int kame = -1;\n kame = (y - 2*x) / 2;\n turu = (y - 4 * kame) / 2;\n if( y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n sc.close();\n int turu = -1;\n int kame = -1;\n kame = (y - 2*x) / 2;\n turu = (y - 4 * kame) / 2;\n if( y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \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",
"sc.close()",
"sc.close",
"sc",
"int turu = -1;",
"turu",
"-1",
"1",
"int kame = -1;",
"kame",
"-1",
"1",
"kame = (y - 2*x) / 2",
"kame",
"(y - 2*x) / 2",
"(y - 2*x)",
"y",
"2*x",
"2",
"x",
"2",
"turu = (y - 4 * kame) / 2",
"turu",
"(y - 4 * kame) / 2",
"(y - 4 * kame)",
"y",
"4 * kame",
"4",
"kame",
"2",
"if( y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0",
"turu < 0",
"y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0",
"y % 2 != 0",
"y % 2",
"y",
"2",
"0",
"turu + kame != x",
"turu + kame",
"turu",
"kame",
"x",
"turu < 0",
"turu",
"0",
"kame < 0",
"kame",
"0",
"{\n System.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 {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n sc.close();\n int turu = -1;\n int kame = -1;\n kame = (y - 2*x) / 2;\n turu = (y - 4 * kame) / 2;\n if( y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n sc.close();\n int turu = -1;\n int kame = -1;\n kame = (y - 2*x) / 2;\n turu = (y - 4 * kame) / 2;\n if( y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n \n \n }\n}",
"Main"
]
| import java.util.Scanner;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
sc.close();
int turu = -1;
int kame = -1;
kame = (y - 2*x) / 2;
turu = (y - 4 * kame) / 2;
if( y % 2 != 0 || turu + kame != x || turu < 0 || kame < 0){
System.out.println("No");
}else{
System.out.println("Yes");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
17,
17,
2,
2,
17,
13,
13,
2,
13,
2,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
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,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
27,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
25,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.*;\npublic class Main { \n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String o=\"No\";\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(y%2==0&&2*x<=y&&y<=4*x)o=\"Yes\";\n System.out.println(o);\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 String o=\"No\";\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(y%2==0&&2*x<=y&&y<=4*x)o=\"Yes\";\n System.out.println(o);\n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String o=\"No\";\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(y%2==0&&2*x<=y&&y<=4*x)o=\"Yes\";\n System.out.println(o);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n String o=\"No\";\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(y%2==0&&2*x<=y&&y<=4*x)o=\"Yes\";\n System.out.println(o);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String o=\"No\";",
"o",
"\"No\"",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y=sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(y%2==0&&2*x<=y&&y<=4*x)o=\"Yes\";",
"y%2==0&&2*x<=y&&y<=4*x",
"y%2==0&&2*x<=y&&y<=4*x",
"y%2==0",
"y%2",
"y",
"2",
"0",
"2*x<=y",
"2*x",
"2",
"x",
"y",
"y<=4*x",
"y",
"4*x",
"4",
"x",
"o=\"Yes\"",
"o",
"\"Yes\"",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"String[] args",
"args",
"public class Main { \n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String o=\"No\";\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(y%2==0&&2*x<=y&&y<=4*x)o=\"Yes\";\n System.out.println(o);\n }\n \n}",
"public class Main { \n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n String o=\"No\";\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(y%2==0&&2*x<=y&&y<=4*x)o=\"Yes\";\n System.out.println(o);\n }\n \n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
String o="No";
int x=sc.nextInt();
int y=sc.nextInt();
if(y%2==0&&2*x<=y&&y<=4*x)o="Yes";
System.out.println(o);
}
} |
[
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,
2,
17,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
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
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
40,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
40,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
60,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
51,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n \t\n \t//2z +4(x-z) = y;\n\t\tint zz = (4*x) - y;\n \tif(zz == 0) {\n System.out.println(\"Yes\");\n }else{\n int z = zz /2;\n int r = zz % 2;\n if (r==0 && z>0) { \n if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } else {\n System.out.println(\"No\");\n \t\t}\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 = sc.nextInt();\n int y = sc.nextInt();\n \t\n \t//2z +4(x-z) = y;\n\t\tint zz = (4*x) - y;\n \tif(zz == 0) {\n System.out.println(\"Yes\");\n }else{\n int z = zz /2;\n int r = zz % 2;\n if (r==0 && z>0) { \n if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } else {\n System.out.println(\"No\");\n \t\t}\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n \t\n \t//2z +4(x-z) = y;\n\t\tint zz = (4*x) - y;\n \tif(zz == 0) {\n System.out.println(\"Yes\");\n }else{\n int z = zz /2;\n int r = zz % 2;\n if (r==0 && z>0) { \n if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } else {\n System.out.println(\"No\");\n \t\t}\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n \t\n \t//2z +4(x-z) = y;\n\t\tint zz = (4*x) - y;\n \tif(zz == 0) {\n System.out.println(\"Yes\");\n }else{\n int z = zz /2;\n int r = zz % 2;\n if (r==0 && z>0) { \n if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } else {\n System.out.println(\"No\");\n \t\t}\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 zz = (4*x) - y;",
"zz",
"(4*x) - y",
"(4*x)",
"4",
"x",
"y",
"if(zz == 0) {\n System.out.println(\"Yes\");\n }else{\n int z = zz /2;\n int r = zz % 2;\n if (r==0 && z>0) { \n if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } else {\n System.out.println(\"No\");\n \t\t}\n }",
"zz == 0",
"zz",
"0",
"{\n System.out.println(\"Yes\");\n }",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n int z = zz /2;\n int r = zz % 2;\n if (r==0 && z>0) { \n if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } else {\n System.out.println(\"No\");\n \t\t}\n }",
"int z = zz /2;",
"z",
"zz /2",
"zz",
"2",
"int r = zz % 2;",
"r",
"zz % 2",
"zz",
"2",
"if (r==0 && z>0) { \n if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n } else {\n System.out.println(\"No\");\n \t\t}",
"r==0 && z>0",
"r==0",
"r",
"0",
"z>0",
"z",
"0",
"{ \n if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"if(x >= z){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"x >= z",
"x",
"z",
"{\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 \t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
//2z +4(x-z) = y;
int zz = (4*x) - y;
if(zz == 0) {
System.out.println("Yes");
}else{
int z = zz /2;
int r = zz % 2;
if (r==0 && z>0) {
if(x >= z){
System.out.println("Yes");
}else{
System.out.println("No");
}
} 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,
14,
2,
2,
2,
2,
13,
17,
17,
2,
2,
17,
13,
13,
2,
2,
2,
13,
2,
13,
17,
17,
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
],
[
61,
5
],
[
61,
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
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
36,
42
],
[
35,
43
],
[
22,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
22,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n\n int X = in.nextInt(); // 庭の動物の総数\n int Y = in.nextInt(); // それらの足の総数\n \n if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\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\n int X = in.nextInt(); // 庭の動物の総数\n int Y = in.nextInt(); // それらの足の総数\n \n if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n\n int X = in.nextInt(); // 庭の動物の総数\n int Y = in.nextInt(); // それらの足の総数\n \n if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n\n int X = in.nextInt(); // 庭の動物の総数\n int Y = in.nextInt(); // それらの足の総数\n \n if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int X = in.nextInt();",
"X",
"in.nextInt()",
"in.nextInt",
"in",
"int Y = in.nextInt();",
"Y",
"in.nextInt()",
"in.nextInt",
"in",
"if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X",
"Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X",
"Y%2 == 1",
"Y%2",
"Y",
"2",
"1",
"2*X > Y",
"2*X",
"2",
"X",
"Y",
"(Y-(X*2))/2 > X",
"(Y-(X*2))/2",
"(Y-(X*2))",
"Y",
"(X*2)",
"X",
"2",
"2",
"X",
"{\n System.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 {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n\n int X = in.nextInt(); // 庭の動物の総数\n int Y = in.nextInt(); // それらの足の総数\n \n if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n\n int X = in.nextInt(); // 庭の動物の総数\n int Y = in.nextInt(); // それらの足の総数\n \n if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){\n System.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 X = in.nextInt(); // 庭の動物の総数
int Y = in.nextInt(); // それらの足の総数
if( Y%2 == 1 || 2*X > Y || (Y-(X*2))/2 > X ){
System.out.println("No");
}else{
System.out.println("Yes");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
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,
2,
13,
17,
17,
2,
13,
2,
13,
17,
2,
13,
2,
17,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
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,
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,
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,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
41,
13,
18,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
2,
13,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
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,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
452,
8
],
[
452,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
40,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
42,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
40,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
40,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
9,
69
],
[
69,
70
],
[
452,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
71,
79
],
[
79,
80
],
[
71,
81
],
[
81,
82
],
[
71,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
83,
91
],
[
91,
92
],
[
71,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
96,
101
],
[
101,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
111,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
107,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
95,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
71,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
138,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
138,
152
],
[
152,
153
],
[
152,
154
],
[
138,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
138,
168
],
[
168,
169
],
[
168,
170
],
[
138,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
171,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
182,
184
],
[
176,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
138,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
71,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
195,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
195,
209
],
[
209,
210
],
[
209,
211
],
[
195,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
216,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
195,
225
],
[
225,
226
],
[
225,
227
],
[
195,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
233,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
195,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
71,
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
],
[
252,
276
],
[
276,
277
],
[
250,
278
],
[
278,
279
],
[
71,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
283,
293
],
[
293,
294
],
[
293,
295
],
[
283,
296
],
[
296,
297
],
[
297,
298
],
[
283,
299
],
[
300,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
304,
307
],
[
307,
308
],
[
307,
309
],
[
303,
310
],
[
300,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
313,
315
],
[
300,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
316,
320
],
[
320,
321
],
[
320,
322
],
[
300,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
323,
327
],
[
282,
328
],
[
328,
329
],
[
280,
330
],
[
330,
331
],
[
280,
332
],
[
332,
333
],
[
71,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
336,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
336,
350
],
[
350,
351
],
[
350,
352
],
[
336,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
353,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
359,
362
],
[
358,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
336,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
71,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
373,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
373,
386
],
[
386,
387
],
[
386,
388
],
[
373,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
389,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
395,
398
],
[
394,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
373,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
71,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
410,
411
],
[
414,
412
],
[
424,
413
],
[
421,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
414,
418
],
[
418,
419
],
[
418,
420
],
[
421,
421
],
[
421,
422
],
[
421,
423
],
[
424,
424
],
[
424,
425
],
[
424,
426
],
[
414,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
407,
431
],
[
431,
432
],
[
71,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
438,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
442,
444
],
[
438,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
433,
449
],
[
449,
450
],
[
0,
451
],
[
451,
452
],
[
451,
453
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n\npublic static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");\n }\n pw.close();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nstatic class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\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 = 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\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 long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\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] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int 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}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\npublic static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");\n }\n pw.close();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nstatic class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\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 = 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\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 long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\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] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int 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}\n\n}",
"Main",
"public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");\n }\n pw.close();\n\n}",
"main",
"{\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");\n }\n pw.close();\n\n}",
"InputReader sc = new InputReader(System.in);",
"sc",
"new InputReader(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"Random gen = new Random();",
"gen",
"new Random()",
"int test = 1;",
"test",
"1",
"while(test-->0) {\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");\n }",
"test-->0",
"test--",
"test",
"0",
"{\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");",
"y%2!=0 || y>x*4 || y<2*x",
"y%2!=0 || y>x*4 || y<2*x",
"y%2!=0",
"y%2",
"y",
"2",
"0",
"y>x*4",
"y",
"x*4",
"x",
"4",
"y<2*x",
"y",
"2*x",
"2",
"x",
"pw.println(\"No\")",
"pw.println",
"pw",
"\"No\"",
"pw.println(\"Yes\")",
"pw.println",
"pw",
"\"Yes\"",
"pw.close()",
"pw.close",
"pw",
"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\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\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 = 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\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 long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\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] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int 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}",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"public InputReader(InputStream st) {\n this.stream = st;\n }",
"InputReader",
"{\n this.stream = st;\n }",
"this.stream = st",
"this.stream",
"this",
"this.stream",
"st",
"InputStream st",
"st",
"public int read() {\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 }",
"read",
"{\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 = 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 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 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"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 }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\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 long res = 0;\n do {\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",
"long res = 0;",
"res",
"0",
"do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"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 int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = 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] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextInt();\n }",
"{\n a[i] = nextInt();\n }",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"shuffle",
"{ for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int i = 0, n = a.length;",
"int i = 0",
"i",
"0",
"n = a.length;",
"n",
"a.length",
"a",
"a.length",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int ind = gen.nextInt(n-i)+i;",
"ind",
"gen.nextInt(n-i)+i",
"gen.nextInt(n-i)",
"gen.nextInt",
"gen",
"n-i",
"n",
"i",
"i",
"int d = a[i];",
"d",
"a[i]",
"a",
"i",
"a[i] = a[ind]",
"a[i]",
"a",
"i",
"a[ind]",
"a",
"ind",
"a[ind] = d",
"a[ind]",
"a",
"ind",
"d",
"return a;",
"a",
"int[] a",
"a",
"Random gen",
"gen",
"public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\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",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\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 String nextLine() {\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 } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\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 } while (!isEndOfLine(c));\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 } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"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 return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\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",
"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 class Main {\n\npublic static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");\n }\n pw.close();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nstatic class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\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 = 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\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 long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\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] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int 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}\n\n}",
"public class Main {\n\npublic static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y%2!=0 || y>x*4 || y<2*x)\n pw.println(\"No\");\n else\n pw.println(\"Yes\");\n }\n pw.close();\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nstatic class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\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 = 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\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 long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\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] = nextInt();\n }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\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 } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int 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}\n\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
InputReader sc = new InputReader(System.in);
PrintWriter pw = new PrintWriter(System.out);
Random gen = new Random();
int test = 1;//sc.nextInt();
while(test-->0) {
int x = sc.nextInt();
int y = sc.nextInt();
if(y%2!=0 || y>x*4 || y<2*x)
pw.println("No");
else
pw.println("Yes");
}
pw.close();
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
public InputReader(InputStream st) {
this.stream = st;
}
public int read() {
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 = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
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 {
res *= 10;
res += c - '0';
c = read();
} 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] = nextInt();
}
return a;
}
public static int[] shuffle(int[] a, Random gen)
{ for(int i = 0, n = a.length;i < n;i++)
{ int ind = gen.nextInt(n-i)+i;
int d = a[i];
a[i] = a[ind];
a[ind] = d;
}
return a;
}
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 String nextLine() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndOfLine(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
}
} |
[
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,
13,
17,
17,
13,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
17,
13,
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
],
[
76,
5
],
[
76,
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
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
23,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
22,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
37,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
50,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y / 2 * 2 != y){\n System.out.println(\"No\");\n }else if(y / 2 < x){\n System.out.println(\"No\");\n }else if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n sc.close();\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 x = sc.nextInt();\n int y = sc.nextInt();\n if(y / 2 * 2 != y){\n System.out.println(\"No\");\n }else if(y / 2 < x){\n System.out.println(\"No\");\n }else if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y / 2 * 2 != y){\n System.out.println(\"No\");\n }else if(y / 2 < x){\n System.out.println(\"No\");\n }else if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y / 2 * 2 != y){\n System.out.println(\"No\");\n }else if(y / 2 < x){\n System.out.println(\"No\");\n }else if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n sc.close();\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",
"if(y / 2 * 2 != y){\n System.out.println(\"No\");\n }else if(y / 2 < x){\n System.out.println(\"No\");\n }else if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"y / 2 * 2 != y",
"y / 2 * 2",
"y / 2",
"y",
"2",
"2",
"y",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(y / 2 < x){\n System.out.println(\"No\");\n }else if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"y / 2 < x",
"y / 2",
"y",
"2",
"x",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }",
"4 * x < y",
"4 * x",
"4",
"x",
"y",
"{\n System.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\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y / 2 * 2 != y){\n System.out.println(\"No\");\n }else if(y / 2 < x){\n System.out.println(\"No\");\n }else if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(y / 2 * 2 != y){\n System.out.println(\"No\");\n }else if(y / 2 < x){\n System.out.println(\"No\");\n }else if(4 * x < y){\n System.out.println(\"No\");\n }else{\n System.out.println(\"Yes\");\n }\n sc.close();\n }\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();
if(y / 2 * 2 != y){
System.out.println("No");
}else if(y / 2 < x){
System.out.println("No");
}else if(4 * x < 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,
4,
18,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
14,
2,
2,
2,
13,
17,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
17,
29,
4,
18,
18,
13,
13,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
73,
5
],
[
73,
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
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
55,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
8,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X=sc.nextInt();\n int Y=sc.nextInt();\n for (int i=0;i<=100;i++){\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }\n System.out.println(\"No\");\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 sc = new Scanner(System.in);\n int X=sc.nextInt();\n int Y=sc.nextInt();\n for (int i=0;i<=100;i++){\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }\n System.out.println(\"No\");\n return;\n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X=sc.nextInt();\n int Y=sc.nextInt();\n for (int i=0;i<=100;i++){\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }\n System.out.println(\"No\");\n return;\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int X=sc.nextInt();\n int Y=sc.nextInt();\n for (int i=0;i<=100;i++){\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }\n System.out.println(\"No\");\n return;\n\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",
"for (int i=0;i<=100;i++){\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=100",
"i",
"100",
"i++",
"i++",
"i",
"{\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }",
"{\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }",
"int crane=X-i;",
"crane",
"X-i",
"X",
"i",
"if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }",
"crane>=0",
"crane",
"0",
"{\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }",
"if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }",
"crane*2+i*4==Y",
"crane*2+i*4",
"crane*2",
"crane",
"2",
"i*4",
"i",
"4",
"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\"",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X=sc.nextInt();\n int Y=sc.nextInt();\n for (int i=0;i<=100;i++){\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }\n System.out.println(\"No\");\n return;\n\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X=sc.nextInt();\n int Y=sc.nextInt();\n for (int i=0;i<=100;i++){\n int crane=X-i;\n if (crane>=0){\n if (crane*2+i*4==Y){\n System.out.println(\"Yes\");\n return;\n }\n }\n\n\n\n\n }\n System.out.println(\"No\");\n return;\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 X=sc.nextInt();
int Y=sc.nextInt();
for (int i=0;i<=100;i++){
int crane=X-i;
if (crane>=0){
if (crane*2+i*4==Y){
System.out.println("Yes");
return;
}
}
}
System.out.println("No");
return;
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
14,
2,
2,
2,
13,
2,
17,
13,
2,
13,
2,
17,
13,
2,
2,
13,
17,
17,
30,
29,
17,
29,
17,
6,
13,
12,
13,
30,
41,
13,
20,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
15,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
15,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
13,
31
],
[
31,
32
],
[
32,
33
],
[
12,
34
],
[
34,
35
],
[
0,
36
],
[
69,
37
],
[
69,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
40,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
38,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.*;\n\n// 問題\n// https://atcoder.jp/contests/abc143/tasks/abc143_b\n\nclass Animals {\n\n // 個体数\n public static int num;\n // 足の数\n public static int leg_num;\n\n static String isOK(){\n if ( leg_num >= 2 * num & leg_num <= 4 * num &\n leg_num % 2 == 0){ return \"Yes\";}\n return \"No\";\n }\n\n}\n\npublic class Main {\n public static void main(String... args){\n\n // 入力の受け取り\n Scanner scanner = new Scanner(System.in);\n\n Animals.num = scanner.nextInt();\n Animals.leg_num = scanner.nextInt();\n\n\n System.out.println(Animals.isOK());\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Animals {\n\n // 個体数\n public static int num;\n // 足の数\n public static int leg_num;\n\n static String isOK(){\n if ( leg_num >= 2 * num & leg_num <= 4 * num &\n leg_num % 2 == 0){ return \"Yes\";}\n return \"No\";\n }\n\n}",
"Animals",
"// 個体数\n public static int num;",
"num",
"// 足の数\n public static int leg_num;",
"leg_num",
"static String isOK(){\n if ( leg_num >= 2 * num & leg_num <= 4 * num &\n leg_num % 2 == 0){ return \"Yes\";}\n return \"No\";\n }",
"isOK",
"{\n if ( leg_num >= 2 * num & leg_num <= 4 * num &\n leg_num % 2 == 0){ return \"Yes\";}\n return \"No\";\n }",
"if ( leg_num >= 2 * num & leg_num <= 4 * num &\n leg_num % 2 == 0){ return \"Yes\";}",
"leg_num >= 2 * num & leg_num <= 4 * num &\n leg_num % 2 == 0",
"leg_num >= 2 * num & leg_num <= 4 * num &\n leg_num % 2 == 0",
"leg_num >= 2 * num",
"leg_num",
"2 * num",
"2",
"num",
"leg_num <= 4 * num",
"leg_num",
"4 * num",
"4",
"num",
"leg_num % 2 == 0",
"leg_num % 2",
"leg_num",
"2",
"0",
"{ return \"Yes\";}",
"return \"Yes\";",
"\"Yes\"",
"return \"No\";",
"\"No\"",
"public class Main {\n public static void main(String... args){\n\n // 入力の受け取り\n Scanner scanner = new Scanner(System.in);\n\n Animals.num = scanner.nextInt();\n Animals.leg_num = scanner.nextInt();\n\n\n System.out.println(Animals.isOK());\n\n }\n}",
"Main",
"public static void main(String... args){\n\n // 入力の受け取り\n Scanner scanner = new Scanner(System.in);\n\n Animals.num = scanner.nextInt();\n Animals.leg_num = scanner.nextInt();\n\n\n System.out.println(Animals.isOK());\n\n }",
"main",
"{\n\n // 入力の受け取り\n Scanner scanner = new Scanner(System.in);\n\n Animals.num = scanner.nextInt();\n Animals.leg_num = scanner.nextInt();\n\n\n System.out.println(Animals.isOK());\n\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"Animals.num = scanner.nextInt()",
"Animals.num",
"Animals",
"Animals.num",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"Animals.leg_num = scanner.nextInt()",
"Animals.leg_num",
"Animals",
"Animals.leg_num",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"System.out.println(Animals.isOK())",
"System.out.println",
"System.out",
"System",
"System.out",
"Animals.isOK()",
"Animals.isOK",
"Animals",
"String... args",
"args",
"public class Main {\n public static void main(String... args){\n\n // 入力の受け取り\n Scanner scanner = new Scanner(System.in);\n\n Animals.num = scanner.nextInt();\n Animals.leg_num = scanner.nextInt();\n\n\n System.out.println(Animals.isOK());\n\n }\n}",
"public class Main {\n public static void main(String... args){\n\n // 入力の受け取り\n Scanner scanner = new Scanner(System.in);\n\n Animals.num = scanner.nextInt();\n Animals.leg_num = scanner.nextInt();\n\n\n System.out.println(Animals.isOK());\n\n }\n}",
"Main"
]
| import java.util.*;
// 問題
// https://atcoder.jp/contests/abc143/tasks/abc143_b
class Animals {
// 個体数
public static int num;
// 足の数
public static int leg_num;
static String isOK(){
if ( leg_num >= 2 * num & leg_num <= 4 * num &
leg_num % 2 == 0){ return "Yes";}
return "No";
}
}
public class Main {
public static void main(String... args){
// 入力の受け取り
Scanner scanner = new Scanner(System.in);
Animals.num = scanner.nextInt();
Animals.leg_num = scanner.nextInt();
System.out.println(Animals.isOK());
}
}
|
[
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,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
29,
41,
13,
2,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
14,
2,
2,
13,
17,
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
],
[
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
28,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
47,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
61,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if ((y%2 != 0)) {\n System.out.println(\"No\");\n return;\n }\n\n int diff = y - (x * 2);\n if( diff < 0 ) {\n System.out.println(\"No\");\n return;\n }\n\n if ((diff / 2) > x) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\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 x = sc.nextInt();\n int y = sc.nextInt();\n\n if ((y%2 != 0)) {\n System.out.println(\"No\");\n return;\n }\n\n int diff = y - (x * 2);\n if( diff < 0 ) {\n System.out.println(\"No\");\n return;\n }\n\n if ((diff / 2) > x) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if ((y%2 != 0)) {\n System.out.println(\"No\");\n return;\n }\n\n int diff = y - (x * 2);\n if( diff < 0 ) {\n System.out.println(\"No\");\n return;\n }\n\n if ((diff / 2) > x) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if ((y%2 != 0)) {\n System.out.println(\"No\");\n return;\n }\n\n int diff = y - (x * 2);\n if( diff < 0 ) {\n System.out.println(\"No\");\n return;\n }\n\n if ((diff / 2) > x) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\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",
"if ((y%2 != 0)) {\n System.out.println(\"No\");\n return;\n }",
"(y%2 != 0)",
"y%2",
"y",
"2",
"0",
"{\n System.out.println(\"No\");\n return;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"int diff = y - (x * 2);",
"diff",
"y - (x * 2)",
"y",
"(x * 2)",
"x",
"2",
"if( diff < 0 ) {\n System.out.println(\"No\");\n return;\n }",
"diff < 0",
"diff",
"0",
"{\n System.out.println(\"No\");\n return;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"if ((diff / 2) > x) {\n System.out.println(\"No\");\n return;\n }",
"(diff / 2) > x",
"(diff / 2)",
"diff",
"2",
"x",
"{\n System.out.println(\"No\");\n return;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if ((y%2 != 0)) {\n System.out.println(\"No\");\n return;\n }\n\n int diff = y - (x * 2);\n if( diff < 0 ) {\n System.out.println(\"No\");\n return;\n }\n\n if ((diff / 2) > x) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if ((y%2 != 0)) {\n System.out.println(\"No\");\n return;\n }\n\n int diff = y - (x * 2);\n if( diff < 0 ) {\n System.out.println(\"No\");\n return;\n }\n\n if ((diff / 2) > x) {\n System.out.println(\"No\");\n return;\n }\n System.out.println(\"Yes\");\n }\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();
if ((y%2 != 0)) {
System.out.println("No");
return;
}
int diff = y - (x * 2);
if( diff < 0 ) {
System.out.println("No");
return;
}
if ((diff / 2) > x) {
System.out.println("No");
return;
}
System.out.println("Yes");
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
13,
4,
18,
13,
14,
2,
2,
2,
4,
18,
13,
17,
17,
4,
18,
13,
17,
2,
2,
4,
18,
13,
17,
17,
4,
18,
13,
17,
4,
18,
13,
17,
14,
2,
2,
2,
4,
18,
13,
17,
17,
17,
2,
2,
4,
18,
13,
17,
2,
17,
4,
18,
13,
17,
2,
4,
18,
13,
17,
2,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
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,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
227,
20
],
[
227,
21
],
[
21,
22
],
[
21,
23
],
[
227,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
37,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
62,
63
],
[
42,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
67,
72
],
[
66,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
65,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
78,
83
],
[
77,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
64,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
64,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
95,
100
],
[
94,
101
],
[
93,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
102,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
92,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
92,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
27,
133
],
[
133,
134
],
[
134,
135
],
[
25,
136
],
[
136,
137
],
[
227,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
138,
142
],
[
142,
143
],
[
138,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
138,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
153,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
163,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
152,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
138,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
185,
186
],
[
138,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
191,
194
],
[
194,
195
],
[
138,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
203,
204
],
[
138,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
211,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
207,
224
],
[
224,
225
],
[
0,
226
],
[
226,
227
],
[
226,
228
]
]
| [
"import java.io.*;\nimport java.io.InputStreamReader; \nimport java.util.Scanner; \nimport java.util.StringTokenizer; \nimport java.util.*;\nimport java.math.*;\npublic class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n static long[] ans=new long[100001];\n public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n //int n = sc.nextInt();\n List<Integer> l=new ArrayList<>();\n for(int i=0;i<2;i++) l.add(sc.nextInt());\n if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");\n }\n pw.close();\n }\n}\n\n ",
"import java.io.*;",
"io.*",
"java",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n static long[] ans=new long[100001];\n public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n //int n = sc.nextInt();\n List<Integer> l=new ArrayList<>();\n for(int i=0;i<2;i++) l.add(sc.nextInt());\n if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");\n }\n pw.close();\n }\n}",
"Main",
"static long[] ans=new long[100001];",
"ans",
"new long[100001]",
"100001",
"public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n //int n = sc.nextInt();\n List<Integer> l=new ArrayList<>();\n for(int i=0;i<2;i++) l.add(sc.nextInt());\n if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");\n }\n pw.close();\n }",
"main",
"{\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n //int n = sc.nextInt();\n List<Integer> l=new ArrayList<>();\n for(int i=0;i<2;i++) l.add(sc.nextInt());\n if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");\n }\n pw.close();\n }",
"FastReader sc=new FastReader();",
"sc",
"new FastReader()",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"int t=1;",
"t",
"1",
"while (t-- > 0){\n //int n = sc.nextInt();\n List<Integer> l=new ArrayList<>();\n for(int i=0;i<2;i++) l.add(sc.nextInt());\n if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n //int n = sc.nextInt();\n List<Integer> l=new ArrayList<>();\n for(int i=0;i<2;i++) l.add(sc.nextInt());\n if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");\n }",
"List<Integer> l=new ArrayList<>();",
"l",
"new ArrayList<>()",
"for(int i=0;i<2;i++) l.add(sc.nextInt());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<2",
"i",
"2",
"i++",
"i++",
"i",
"l.add(sc.nextInt());",
"l.add(sc.nextInt())",
"l.add",
"l",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");",
"l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1)",
"l.get(0)*2==l.get(1)",
"l.get(0)*2",
"l.get(0)",
"l.get",
"l",
"0",
"2",
"l.get(1)",
"l.get",
"l",
"1",
"l.get(0)*4==l.get(1)",
"l.get(0)*4",
"l.get(0)",
"l.get",
"l",
"0",
"4",
"l.get(1)",
"l.get",
"l",
"1",
"pw.println(\"Yes\")",
"pw.println",
"pw",
"\"Yes\"",
"if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");",
"l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0))",
"l.get(1)%2==0",
"l.get(1)%2",
"l.get(1)",
"l.get",
"l",
"1",
"2",
"0",
"(l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0))",
"l.get(1)>2*l.get(0)",
"l.get(1)",
"l.get",
"l",
"1",
"2*l.get(0)",
"2",
"l.get(0)",
"l.get",
"l",
"0",
"l.get(1)<4*l.get(0)",
"l.get(1)",
"l.get",
"l",
"1",
"4*l.get(0)",
"4",
"l.get(0)",
"l.get",
"l",
"0",
"pw.println(\"Yes\")",
"pw.println",
"pw",
"\"Yes\"",
"pw.println(\"No\")",
"pw.println",
"pw",
"\"No\"",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader()\n { \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 { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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 { \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 { \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 { \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 { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n static long[] ans=new long[100001];\n public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n //int n = sc.nextInt();\n List<Integer> l=new ArrayList<>();\n for(int i=0;i<2;i++) l.add(sc.nextInt());\n if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");\n }\n pw.close();\n }\n}",
"public class Main \n{ \n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader()\n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next()\n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n \n int nextInt() \n { \n return Integer.parseInt(next()); \n } \n \n long nextLong() \n { \n return Long.parseLong(next()); \n } \n \n double nextDouble() \n { \n return Double.parseDouble(next()); \n } \n \n String nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine();\n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n static long[] ans=new long[100001];\n public static void main (String[] args) throws java.lang.Exception {\n FastReader sc=new FastReader();\n PrintWriter pw=new PrintWriter(System.out);\n \tint t=1;//sc.nextInt();\n while (t-- > 0){\n //int n = sc.nextInt();\n List<Integer> l=new ArrayList<>();\n for(int i=0;i<2;i++) l.add(sc.nextInt());\n if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))\n pw.println(\"Yes\");\n else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))\n pw.println(\"Yes\");\n else pw.println(\"No\");\n }\n pw.close();\n }\n}",
"Main"
]
| import java.io.*;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;
import java.util.*;
import java.math.*;
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;
}
}
static long[] ans=new long[100001];
public static void main (String[] args) throws java.lang.Exception {
FastReader sc=new FastReader();
PrintWriter pw=new PrintWriter(System.out);
int t=1;//sc.nextInt();
while (t-- > 0){
//int n = sc.nextInt();
List<Integer> l=new ArrayList<>();
for(int i=0;i<2;i++) l.add(sc.nextInt());
if(l.get(0)*2==l.get(1) || l.get(0)*4==l.get(1))
pw.println("Yes");
else if(l.get(1)%2==0 && (l.get(1)>2*l.get(0) && l.get(1)<4*l.get(0)))
pw.println("Yes");
else pw.println("No");
}
pw.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
29,
41,
13,
2,
2,
13,
17,
13,
14,
2,
2,
2,
13,
17,
2,
13,
13,
2,
2,
13,
17,
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
],
[
77,
5
],
[
77,
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
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
31,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
8,
46
],
[
46,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
46,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
46,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"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 X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if (Y % 2 == 1) {\n System.out.println(\"No\");\n return;\n }\n\n double ans = Y / 2 - X;\n\n if (ans < 0 || ans > X || ans % 1 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if (Y % 2 == 1) {\n System.out.println(\"No\");\n return;\n }\n\n double ans = Y / 2 - X;\n\n if (ans < 0 || ans > X || ans % 1 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if (Y % 2 == 1) {\n System.out.println(\"No\");\n return;\n }\n\n double ans = Y / 2 - X;\n\n if (ans < 0 || ans > X || ans % 1 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if (Y % 2 == 1) {\n System.out.println(\"No\");\n return;\n }\n\n double ans = Y / 2 - X;\n\n if (ans < 0 || ans > X || ans % 1 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\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",
"sc.close()",
"sc.close",
"sc",
"if (Y % 2 == 1) {\n System.out.println(\"No\");\n return;\n }",
"Y % 2 == 1",
"Y % 2",
"Y",
"2",
"1",
"{\n System.out.println(\"No\");\n return;\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"return;",
"double ans = Y / 2 - X;",
"ans",
"Y / 2 - X",
"Y / 2",
"Y",
"2",
"X",
"if (ans < 0 || ans > X || ans % 1 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }",
"ans < 0 || ans > X || ans % 1 != 0",
"ans < 0 || ans > X || ans % 1 != 0",
"ans < 0",
"ans",
"0",
"ans > X",
"ans",
"X",
"ans % 1 != 0",
"ans % 1",
"ans",
"1",
"0",
"{\n System.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 {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if (Y % 2 == 1) {\n System.out.println(\"No\");\n return;\n }\n\n double ans = Y / 2 - X;\n\n if (ans < 0 || ans > X || ans % 1 != 0) {\n System.out.println(\"No\");\n } else {\n System.out.println(\"Yes\");\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n sc.close();\n\n if (Y % 2 == 1) {\n System.out.println(\"No\");\n return;\n }\n\n double ans = Y / 2 - X;\n\n if (ans < 0 || ans > X || ans % 1 != 0) {\n System.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 sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
sc.close();
if (Y % 2 == 1) {
System.out.println("No");
return;
}
double ans = Y / 2 - X;
if (ans < 0 || ans > X || ans % 1 != 0) {
System.out.println("No");
} else {
System.out.println("Yes");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
2,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
17,
2,
13,
13,
2,
17,
13,
14,
2,
13,
13,
30,
0,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
109,
8
],
[
109,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
36,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
61,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
48,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
81,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
36,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
9,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
]
| [
"import java.util.Scanner;\nimport java.util.Random;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n int e=b%2;\n int c=0;\n int flg=0;\n if(e==0 && a!=0 && b!=0){\n for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }\n if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Random;",
"Random",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n int e=b%2;\n int c=0;\n int flg=0;\n if(e==0 && a!=0 && b!=0){\n for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }\n if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n int e=b%2;\n int c=0;\n int flg=0;\n if(e==0 && a!=0 && b!=0){\n for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }\n if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n }",
"main",
"{\n Scanner sc =new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n int e=b%2;\n int c=0;\n int flg=0;\n if(e==0 && a!=0 && b!=0){\n for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }\n if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\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 e=b%2;",
"e",
"b%2",
"b",
"2",
"int c=0;",
"c",
"0",
"int flg=0;",
"flg",
"0",
"if(e==0 && a!=0 && b!=0){\n for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }\n if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }",
"e==0 && a!=0 && b!=0",
"e==0 && a!=0 && b!=0",
"e==0",
"e",
"0",
"a!=0",
"a",
"0",
"b!=0",
"b",
"0",
"{\n for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }\n if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=a",
"i",
"a",
"i++",
"i++",
"i",
"{\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }",
"{\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }",
"c=4*(a-i)+2*i",
"c",
"4*(a-i)+2*i",
"4*(a-i)",
"4",
"(a-i)",
"a",
"i",
"2*i",
"2",
"i",
"if(b==c){\n flg=1;\n }",
"b==c",
"b",
"c",
"{\n flg=1;\n }",
"flg=1",
"flg",
"1",
"if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"flg==1",
"flg",
"1",
"{\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\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n int e=b%2;\n int c=0;\n int flg=0;\n if(e==0 && a!=0 && b!=0){\n for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }\n if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n 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 int a=sc.nextInt();\n int b=sc.nextInt();\n int e=b%2;\n int c=0;\n int flg=0;\n if(e==0 && a!=0 && b!=0){\n for(int i=0; i<=a; i++){\n c=4*(a-i)+2*i;\n if(b==c){\n flg=1;\n }\n }\n if(flg==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
import java.util.Random;
public class Main{
public static void main(String[] args){
Scanner sc =new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
int e=b%2;
int c=0;
int flg=0;
if(e==0 && a!=0 && b!=0){
for(int i=0; i<=a; i++){
c=4*(a-i)+2*i;
if(b==c){
flg=1;
}
}
if(flg==1){
System.out.println("Yes");
}else{
System.out.println("No");
}
}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,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
29,
41,
13,
2,
2,
13,
17,
13,
41,
13,
2,
2,
17,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
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
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
31,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
]
]
| [
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal int X = sc.nextInt();\n\t\tfinal int Y = sc.nextInt();\n\t\tsc.close();\n\t\tif (Y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\tint a = Y/2 - X;\n\t\tint b = 2*X - Y/2;\n\t\tif(a>=0 && b>=0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else if(a < 0 || b < 0){\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal int X = sc.nextInt();\n\t\tfinal int Y = sc.nextInt();\n\t\tsc.close();\n\t\tif (Y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\tint a = Y/2 - X;\n\t\tint b = 2*X - Y/2;\n\t\tif(a>=0 && b>=0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else if(a < 0 || b < 0){\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal int X = sc.nextInt();\n\t\tfinal int Y = sc.nextInt();\n\t\tsc.close();\n\t\tif (Y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\tint a = Y/2 - X;\n\t\tint b = 2*X - Y/2;\n\t\tif(a>=0 && b>=0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else if(a < 0 || b < 0){\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfinal int X = sc.nextInt();\n\t\tfinal int Y = sc.nextInt();\n\t\tsc.close();\n\t\tif (Y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}\n\t\tint a = Y/2 - X;\n\t\tint b = 2*X - Y/2;\n\t\tif(a>=0 && b>=0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else if(a < 0 || b < 0){\n\t\t\tSystem.out.println(\"No\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int X = sc.nextInt();",
"X",
"sc.nextInt()",
"sc.nextInt",
"sc",
"final int Y = sc.nextInt();",
"Y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"if (Y % 2 == 1) {\n\t\t\tSystem.out.println(\"No\");\n\t\t\treturn;\n\t\t}",
"Y % 2 == 1",
"Y % 2",
"Y",
"2",
"1",
"{\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;",
"int a = Y/2 - X;",
"a",
"Y/2 - X",
"Y/2",
"Y",
"2",
"X",
"int b = 2*X - Y/2;",
"b",
"2*X - Y/2",
"2*X",
"2",
"X",
"Y/2",
"Y",
"2",
"if(a>=0 && b>=0){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else if(a < 0 || b < 0){\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"a>=0 && b>=0",
"a>=0",
"a",
"0",
"b>=0",
"b",
"0",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"if(a < 0 || b < 0){\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"a < 0 || b < 0",
"a < 0",
"a",
"0",
"b < 0",
"b",
"0",
"{\n\t\t\tSystem.out.println(\"No\");\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final int X = sc.nextInt();
final int Y = sc.nextInt();
sc.close();
if (Y % 2 == 1) {
System.out.println("No");
return;
}
int a = Y/2 - X;
int b = 2*X - Y/2;
if(a>=0 && b>=0){
System.out.println("Yes");
}else if(a < 0 || b < 0){
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,
2,
13,
2,
17,
13,
17,
41,
13,
2,
13,
13,
14,
2,
2,
2,
2,
2,
2,
2,
13,
13,
13,
2,
2,
2,
17,
13,
2,
17,
13,
13,
2,
13,
17,
2,
13,
17,
2,
13,
17,
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
],
[
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
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
41,
38
],
[
62,
39
],
[
59,
40
],
[
56,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
41,
65
],
[
65,
66
],
[
65,
67
],
[
36,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
36,
75
],
[
75,
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\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint b = (y - 2*x) / 2;\n\t\tint a = x - b;\n\t\t\n\t\tif((a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint b = (y - 2*x) / 2;\n\t\tint a = x - b;\n\t\t\n\t\tif((a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint b = (y - 2*x) / 2;\n\t\tint a = x - b;\n\t\t\n\t\tif((a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint b = (y - 2*x) / 2;\n\t\tint a = x - b;\n\t\t\n\t\tif((a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = (y - 2*x) / 2;",
"b",
"(y - 2*x) / 2",
"(y - 2*x)",
"y",
"2*x",
"2",
"x",
"2",
"int a = x - b;",
"a",
"x - b",
"x",
"b",
"if((a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}",
"(a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0",
"a >= 0",
"y != 0",
"x != 0",
"(a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0",
"(a+b) == x",
"(a+b)",
"a",
"b",
"x",
"(2*a + 4*b) == y",
"(2*a + 4*b)",
"2*a",
"2",
"a",
"4*b",
"4",
"b",
"y",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"a >= 0",
"a",
"0",
"b >= 0",
"b",
"0",
"{\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}",
"System.out.print(\"Yes\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n\t\t\tSystem.out.print(\"No\");\n\t\t}",
"System.out.print(\"No\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint b = (y - 2*x) / 2;\n\t\tint a = x - b;\n\t\t\n\t\tif((a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint b = (y - 2*x) / 2;\n\t\tint a = x - b;\n\t\t\n\t\tif((a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0) {\n\t\t\tSystem.out.print(\"Yes\");\n\t\t}\n\t\telse {\n\t\t\tSystem.out.print(\"No\");\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
int b = (y - 2*x) / 2;
int a = x - b;
if((a+b) == x && (2*a + 4*b) == y && x != 0 && y != 0 && a >= 0 && b >= 0) {
System.out.print("Yes");
}
else {
System.out.print("No");
}
}
}
|
[
7,
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,
2,
17,
13,
41,
13,
2,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
41,
13,
2,
2,
13,
17,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
13,
2,
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
],
[
120,
5
],
[
120,
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
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
8,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
67,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
82,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
95,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
6,
117
],
[
117,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString[] tmp = scanner.nextLine().split(\" \");\n\n\t\tint bio = Integer.parseInt(tmp[0]);\n\t\tint leg = Integer.parseInt(tmp[1]);\n\n\t\tdouble diff = leg - (2.0 * bio);\n\t\tdouble Knum = diff / 2.0;\n\t\tdouble Tnum = bio - Knum;\n\n\t\tint bioSum = (int) (Knum + Tnum);\n\t\tint legSum = (int) (Knum * 4 + Tnum * 2);\n\n\t\tif(Knum < 0 || Tnum < 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(leg % 2 != 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}\n\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString[] tmp = scanner.nextLine().split(\" \");\n\n\t\tint bio = Integer.parseInt(tmp[0]);\n\t\tint leg = Integer.parseInt(tmp[1]);\n\n\t\tdouble diff = leg - (2.0 * bio);\n\t\tdouble Knum = diff / 2.0;\n\t\tdouble Tnum = bio - Knum;\n\n\t\tint bioSum = (int) (Knum + Tnum);\n\t\tint legSum = (int) (Knum * 4 + Tnum * 2);\n\n\t\tif(Knum < 0 || Tnum < 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(leg % 2 != 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString[] tmp = scanner.nextLine().split(\" \");\n\n\t\tint bio = Integer.parseInt(tmp[0]);\n\t\tint leg = Integer.parseInt(tmp[1]);\n\n\t\tdouble diff = leg - (2.0 * bio);\n\t\tdouble Knum = diff / 2.0;\n\t\tdouble Tnum = bio - Knum;\n\n\t\tint bioSum = (int) (Knum + Tnum);\n\t\tint legSum = (int) (Knum * 4 + Tnum * 2);\n\n\t\tif(Knum < 0 || Tnum < 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(leg % 2 != 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}\n\n\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString[] tmp = scanner.nextLine().split(\" \");\n\n\t\tint bio = Integer.parseInt(tmp[0]);\n\t\tint leg = Integer.parseInt(tmp[1]);\n\n\t\tdouble diff = leg - (2.0 * bio);\n\t\tdouble Knum = diff / 2.0;\n\t\tdouble Tnum = bio - Knum;\n\n\t\tint bioSum = (int) (Knum + Tnum);\n\t\tint legSum = (int) (Knum * 4 + Tnum * 2);\n\n\t\tif(Knum < 0 || Tnum < 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(leg % 2 != 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}\n\n\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String[] tmp = scanner.nextLine().split(\" \");",
"tmp",
"scanner.nextLine().split(\" \")",
"scanner.nextLine().split",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"\" \"",
"int bio = Integer.parseInt(tmp[0]);",
"bio",
"Integer.parseInt(tmp[0])",
"Integer.parseInt",
"Integer",
"tmp[0]",
"tmp",
"0",
"int leg = Integer.parseInt(tmp[1]);",
"leg",
"Integer.parseInt(tmp[1])",
"Integer.parseInt",
"Integer",
"tmp[1]",
"tmp",
"1",
"double diff = leg - (2.0 * bio);",
"diff",
"leg - (2.0 * bio)",
"leg",
"(2.0 * bio)",
"2.0",
"bio",
"double Knum = diff / 2.0;",
"Knum",
"diff / 2.0",
"diff",
"2.0",
"double Tnum = bio - Knum;",
"Tnum",
"bio - Knum",
"bio",
"Knum",
"int bioSum = (int) (Knum + Tnum);",
"bioSum",
"(int) (Knum + Tnum)",
"Knum",
"Tnum",
"int legSum = (int) (Knum * 4 + Tnum * 2);",
"legSum",
"(int) (Knum * 4 + Tnum * 2)",
"Knum * 4",
"Knum",
"4",
"Tnum * 2",
"Tnum",
"2",
"if(Knum < 0 || Tnum < 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(leg % 2 != 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}",
"Knum < 0 || Tnum < 0",
"Knum < 0",
"Knum",
"0",
"Tnum < 0",
"Tnum",
"0",
"{\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(leg % 2 != 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}",
"leg % 2 != 0",
"leg % 2",
"leg",
"2",
"0",
"{\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}",
"bioSum == bio && legSum == leg",
"bioSum == bio",
"bioSum",
"bio",
"legSum == leg",
"legSum",
"leg",
"{\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n\n\t\t\tSystem.out.println(\"No\");\n\n\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\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString[] tmp = scanner.nextLine().split(\" \");\n\n\t\tint bio = Integer.parseInt(tmp[0]);\n\t\tint leg = Integer.parseInt(tmp[1]);\n\n\t\tdouble diff = leg - (2.0 * bio);\n\t\tdouble Knum = diff / 2.0;\n\t\tdouble Tnum = bio - Knum;\n\n\t\tint bioSum = (int) (Knum + Tnum);\n\t\tint legSum = (int) (Knum * 4 + Tnum * 2);\n\n\t\tif(Knum < 0 || Tnum < 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(leg % 2 != 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}\n\n\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tString[] tmp = scanner.nextLine().split(\" \");\n\n\t\tint bio = Integer.parseInt(tmp[0]);\n\t\tint leg = Integer.parseInt(tmp[1]);\n\n\t\tdouble diff = leg - (2.0 * bio);\n\t\tdouble Knum = diff / 2.0;\n\t\tdouble Tnum = bio - Knum;\n\n\t\tint bioSum = (int) (Knum + Tnum);\n\t\tint legSum = (int) (Knum * 4 + Tnum * 2);\n\n\t\tif(Knum < 0 || Tnum < 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(leg % 2 != 0) {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}else if(bioSum == bio && legSum == leg) {\n\n\t\t\tSystem.out.println(\"Yes\");\n\n\t\t}else {\n\n\t\t\tSystem.out.println(\"No\");\n\n\t\t}\n\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String[] tmp = scanner.nextLine().split(" ");
int bio = Integer.parseInt(tmp[0]);
int leg = Integer.parseInt(tmp[1]);
double diff = leg - (2.0 * bio);
double Knum = diff / 2.0;
double Tnum = bio - Knum;
int bioSum = (int) (Knum + Tnum);
int legSum = (int) (Knum * 4 + Tnum * 2);
if(Knum < 0 || Tnum < 0) {
System.out.println("No");
}else if(leg % 2 != 0) {
System.out.println("No");
}else if(bioSum == bio && legSum == leg) {
System.out.println("Yes");
}else {
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,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
2,
2,
2,
13,
2,
17,
13,
17,
17,
2,
2,
2,
13,
2,
17,
13,
17,
17,
2,
2,
13,
2,
2,
13,
2,
17,
13,
17,
17,
30,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
96,
14
],
[
96,
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
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
17,
48
],
[
48,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
51,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
60,
68
],
[
50,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
69,
79
],
[
48,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
48,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
15,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.nio.charset.StandardCharsets;\n\npublic class Main {\n\tpublic static void main (String[] args) throws IOException{\n\t InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t BufferedReader in = new BufferedReader(reader);\n\t\tString[] str = in.readLine().split(\" \");\n\t\tint X = Integer.parseInt(str[0]);\n\t\tint Y = Integer.parseInt(str[1]);\n\t\tif((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else\n\t\t\tSystem.out.println(\"No\");\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.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n\tpublic static void main (String[] args) throws IOException{\n\t InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t BufferedReader in = new BufferedReader(reader);\n\t\tString[] str = in.readLine().split(\" \");\n\t\tint X = Integer.parseInt(str[0]);\n\t\tint Y = Integer.parseInt(str[1]);\n\t\tif((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else\n\t\t\tSystem.out.println(\"No\");\n\t}\n}",
"Main",
"public static void main (String[] args) throws IOException{\n\t InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t BufferedReader in = new BufferedReader(reader);\n\t\tString[] str = in.readLine().split(\" \");\n\t\tint X = Integer.parseInt(str[0]);\n\t\tint Y = Integer.parseInt(str[1]);\n\t\tif((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else\n\t\t\tSystem.out.println(\"No\");\n\t}",
"main",
"{\n\t InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t BufferedReader in = new BufferedReader(reader);\n\t\tString[] str = in.readLine().split(\" \");\n\t\tint X = Integer.parseInt(str[0]);\n\t\tint Y = Integer.parseInt(str[1]);\n\t\tif((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else\n\t\t\tSystem.out.println(\"No\");\n\t}",
"InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);",
"reader",
"new InputStreamReader(System.in, StandardCharsets.UTF_8)",
"BufferedReader in = new BufferedReader(reader);",
"in",
"new BufferedReader(reader)",
"String[] str = in.readLine().split(\" \");",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"int X = Integer.parseInt(str[0]);",
"X",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int Y = Integer.parseInt(str[1]);",
"Y",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else\n\t\t\tSystem.out.println(\"No\");",
"(Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0",
"(Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0",
"(Y-2*X)%2 == 0",
"(Y-2*X)%2",
"(Y-2*X)",
"Y",
"2*X",
"2",
"X",
"2",
"0",
"(Y-2*X)/2 >= 0",
"(Y-2*X)/2",
"(Y-2*X)",
"Y",
"2*X",
"2",
"X",
"2",
"0",
"X-((Y-2*X)/2) >= 0",
"X-((Y-2*X)/2)",
"X",
"((Y-2*X)/2)",
"(Y-2*X)",
"Y",
"2*X",
"2",
"X",
"2",
"0",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"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) throws IOException{\n\t InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t BufferedReader in = new BufferedReader(reader);\n\t\tString[] str = in.readLine().split(\" \");\n\t\tint X = Integer.parseInt(str[0]);\n\t\tint Y = Integer.parseInt(str[1]);\n\t\tif((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else\n\t\t\tSystem.out.println(\"No\");\n\t}\n}",
"public class Main {\n\tpublic static void main (String[] args) throws IOException{\n\t InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);\n\t BufferedReader in = new BufferedReader(reader);\n\t\tString[] str = in.readLine().split(\" \");\n\t\tint X = Integer.parseInt(str[0]);\n\t\tint Y = Integer.parseInt(str[1]);\n\t\tif((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}else\n\t\t\tSystem.out.println(\"No\");\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
public class Main {
public static void main (String[] args) throws IOException{
InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
BufferedReader in = new BufferedReader(reader);
String[] str = in.readLine().split(" ");
int X = Integer.parseInt(str[0]);
int Y = Integer.parseInt(str[1]);
if((Y-2*X)%2 == 0 && (Y-2*X)/2 >= 0 && X-((Y-2*X)/2) >= 0) {
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,
2,
2,
2,
17,
13,
13,
2,
13,
2,
17,
13,
2,
2,
13,
17,
17,
30,
0,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
25,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
25,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.*;\npublic class Main {\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\tString result = \"\";\n\t\tif (2*x<=y&&y<=4*x&&y%2==0) {\n\t\t\tresult = \"Yes\";\n\t\t} else {\n\t\t\tresult = \"No\";\n\t\t}\n\t\tSystem.out.print(result);\n\t\tsc.close();\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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tString result = \"\";\n\t\tif (2*x<=y&&y<=4*x&&y%2==0) {\n\t\t\tresult = \"Yes\";\n\t\t} else {\n\t\t\tresult = \"No\";\n\t\t}\n\t\tSystem.out.print(result);\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tString result = \"\";\n\t\tif (2*x<=y&&y<=4*x&&y%2==0) {\n\t\t\tresult = \"Yes\";\n\t\t} else {\n\t\t\tresult = \"No\";\n\t\t}\n\t\tSystem.out.print(result);\n\t\tsc.close();\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\tString result = \"\";\n\t\tif (2*x<=y&&y<=4*x&&y%2==0) {\n\t\t\tresult = \"Yes\";\n\t\t} else {\n\t\t\tresult = \"No\";\n\t\t}\n\t\tSystem.out.print(result);\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",
"String result = \"\";",
"result",
"\"\"",
"if (2*x<=y&&y<=4*x&&y%2==0) {\n\t\t\tresult = \"Yes\";\n\t\t} else {\n\t\t\tresult = \"No\";\n\t\t}",
"2*x<=y&&y<=4*x&&y%2==0",
"2*x<=y&&y<=4*x&&y%2==0",
"2*x<=y",
"2*x",
"2",
"x",
"y",
"y<=4*x",
"y",
"4*x",
"4",
"x",
"y%2==0",
"y%2",
"y",
"2",
"0",
"{\n\t\t\tresult = \"Yes\";\n\t\t}",
"result = \"Yes\"",
"result",
"\"Yes\"",
"{\n\t\t\tresult = \"No\";\n\t\t}",
"result = \"No\"",
"result",
"\"No\"",
"System.out.print(result)",
"System.out.print",
"System.out",
"System",
"System.out",
"result",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tString result = \"\";\n\t\tif (2*x<=y&&y<=4*x&&y%2==0) {\n\t\t\tresult = \"Yes\";\n\t\t} else {\n\t\t\tresult = \"No\";\n\t\t}\n\t\tSystem.out.print(result);\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tString result = \"\";\n\t\tif (2*x<=y&&y<=4*x&&y%2==0) {\n\t\t\tresult = \"Yes\";\n\t\t} else {\n\t\t\tresult = \"No\";\n\t\t}\n\t\tSystem.out.print(result);\n\t\tsc.close();\n\t}\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();
String result = "";
if (2*x<=y&&y<=4*x&&y%2==0) {
result = "Yes";
} else {
result = "No";
}
System.out.print(result);
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
2,
2,
13,
17,
13,
2,
13,
2,
13,
17,
2,
2,
13,
17,
17,
29,
17,
29,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
94,
8
],
[
94,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
9,
19
],
[
19,
20
],
[
94,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
23,
46
],
[
46,
47
],
[
21,
48
],
[
48,
49
],
[
21,
50
],
[
50,
51
],
[
94,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
54,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
54,
68
],
[
68,
69
],
[
69,
70
],
[
54,
71
],
[
71,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
73,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
71,
89
],
[
89,
90
],
[
54,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n System.out.println(run());\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n sc.close();\n if (x * 2 <= y && y <= x * 4 && y % 2 == 0) return \"Yes\";\n return \"No\";\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n System.out.println(run());\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n sc.close();\n if (x * 2 <= y && y <= x * 4 && y % 2 == 0) return \"Yes\";\n return \"No\";\n }\n}",
"Main",
"public static void main(String[] args) {\n System.out.println(run());\n }",
"main",
"{\n System.out.println(run());\n }",
"System.out.println(run())",
"System.out.println",
"System.out",
"System",
"System.out",
"run()",
"run",
"String[] args",
"args",
"private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }",
"nScan",
"{\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n al.add(sc.nextInt());\n }",
"{\n al.add(sc.nextInt());\n }",
"al.add(sc.nextInt())",
"al.add",
"al",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return al;",
"al",
"Scanner sc",
"sc",
"int n",
"n",
"private static Object run() {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n sc.close();\n if (x * 2 <= y && y <= x * 4 && y % 2 == 0) return \"Yes\";\n return \"No\";\n }",
"run",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n sc.close();\n if (x * 2 <= y && y <= x * 4 && y % 2 == 0) return \"Yes\";\n return \"No\";\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sc.close()",
"sc.close",
"sc",
"if (x * 2 <= y && y <= x * 4 && y % 2 == 0) return \"Yes\";",
"x * 2 <= y && y <= x * 4 && y % 2 == 0",
"x * 2 <= y && y <= x * 4 && y % 2 == 0",
"x * 2 <= y",
"x * 2",
"x",
"2",
"y",
"y <= x * 4",
"y",
"x * 4",
"x",
"4",
"y % 2 == 0",
"y % 2",
"y",
"2",
"0",
"return \"Yes\";",
"\"Yes\"",
"return \"No\";",
"\"No\"",
"public class Main {\n public static void main(String[] args) {\n System.out.println(run());\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n sc.close();\n if (x * 2 <= y && y <= x * 4 && y % 2 == 0) return \"Yes\";\n return \"No\";\n }\n}",
"public class Main {\n public static void main(String[] args) {\n System.out.println(run());\n }\n\n private static ArrayList<Integer> nScan(Scanner sc, int n) {\n ArrayList<Integer> al = new ArrayList<>();\n for (int i = 0; i < n; i++) {\n al.add(sc.nextInt());\n }\n return al;\n }\n\n private static Object run() {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n sc.close();\n if (x * 2 <= y && y <= x * 4 && y % 2 == 0) return \"Yes\";\n return \"No\";\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
System.out.println(run());
}
private static ArrayList<Integer> nScan(Scanner sc, int n) {
ArrayList<Integer> al = new ArrayList<>();
for (int i = 0; i < n; i++) {
al.add(sc.nextInt());
}
return al;
}
private static Object run() {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt(), y = sc.nextInt();
sc.close();
if (x * 2 <= y && y <= x * 4 && y % 2 == 0) return "Yes";
return "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,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
2,
2,
13,
17,
13,
2,
2,
13,
17,
17,
30,
0,
13,
17,
3,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
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
],
[
82,
5
],
[
82,
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
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
34,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
33,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
33,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
61,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n int judge = 0;\n \n while(X>=0&&Y>=0){\n if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }\n X = X-1;\n Y = Y-2;\n }\n if(judge==1){\n System.out.println(\"Yes\");\n }else{\n 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 int X = sc.nextInt();\n int Y = sc.nextInt();\n int judge = 0;\n \n while(X>=0&&Y>=0){\n if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }\n X = X-1;\n Y = Y-2;\n }\n if(judge==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n int judge = 0;\n \n while(X>=0&&Y>=0){\n if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }\n X = X-1;\n Y = Y-2;\n }\n if(judge==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int X = sc.nextInt();\n int Y = sc.nextInt();\n int judge = 0;\n \n while(X>=0&&Y>=0){\n if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }\n X = X-1;\n Y = Y-2;\n }\n if(judge==1){\n System.out.println(\"Yes\");\n }else{\n 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 judge = 0;",
"judge",
"0",
"while(X>=0&&Y>=0){\n if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }\n X = X-1;\n Y = Y-2;\n }",
"X>=0&&Y>=0",
"X>=0",
"X",
"0",
"Y>=0",
"Y",
"0",
"{\n if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }\n X = X-1;\n Y = Y-2;\n }",
"if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }",
"Y/4==X&&Y%4==0",
"Y/4==X",
"Y/4",
"Y",
"4",
"X",
"Y%4==0",
"Y%4",
"Y",
"4",
"0",
"{\n judge = 1;\n break;\n }",
"judge = 1",
"judge",
"1",
"break;",
"X = X-1",
"X",
"X-1",
"X",
"1",
"Y = Y-2",
"Y",
"Y-2",
"Y",
"2",
"if(judge==1){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"judge==1",
"judge",
"1",
"{\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 X = sc.nextInt();\n int Y = sc.nextInt();\n int judge = 0;\n \n while(X>=0&&Y>=0){\n if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }\n X = X-1;\n Y = Y-2;\n }\n if(judge==1){\n System.out.println(\"Yes\");\n }else{\n 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 int X = sc.nextInt();\n int Y = sc.nextInt();\n int judge = 0;\n \n while(X>=0&&Y>=0){\n if(Y/4==X&&Y%4==0){\n judge = 1;\n break;\n }\n X = X-1;\n Y = Y-2;\n }\n if(judge==1){\n System.out.println(\"Yes\");\n }else{\n 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 judge = 0;
while(X>=0&&Y>=0){
if(Y/4==X&&Y%4==0){
judge = 1;
break;
}
X = X-1;
Y = Y-2;
}
if(judge==1){
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,
2,
13,
17,
17,
30,
0,
13,
17,
14,
2,
2,
2,
13,
17,
13,
2,
13,
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
],
[
64,
5
],
[
64,
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
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
35,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
35,
51
],
[
51,
52
],
[
52,
53
],
[
52,
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 public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n \n String a = null;\n \n if(Y%2 != 0){\n a = \"No\";\n } else if(X*2 <= Y && Y <= X*4){\n a = \"Yes\";\n } else {\n a = \"No\";\n }\n System.out.println(a);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n \n String a = null;\n \n if(Y%2 != 0){\n a = \"No\";\n } else if(X*2 <= Y && Y <= X*4){\n a = \"Yes\";\n } else {\n a = \"No\";\n }\n System.out.println(a);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n \n String a = null;\n \n if(Y%2 != 0){\n a = \"No\";\n } else if(X*2 <= Y && Y <= X*4){\n a = \"Yes\";\n } else {\n a = \"No\";\n }\n System.out.println(a);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n \n String a = null;\n \n if(Y%2 != 0){\n a = \"No\";\n } else if(X*2 <= Y && Y <= X*4){\n a = \"Yes\";\n } else {\n a = \"No\";\n }\n System.out.println(a);\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",
"String a = null;",
"a",
"null",
"if(Y%2 != 0){\n a = \"No\";\n } else if(X*2 <= Y && Y <= X*4){\n a = \"Yes\";\n } else {\n a = \"No\";\n }",
"Y%2 != 0",
"Y%2",
"Y",
"2",
"0",
"{\n a = \"No\";\n }",
"a = \"No\"",
"a",
"\"No\"",
"if(X*2 <= Y && Y <= X*4){\n a = \"Yes\";\n } else {\n a = \"No\";\n }",
"X*2 <= Y && Y <= X*4",
"X*2 <= Y",
"X*2",
"X",
"2",
"Y",
"Y <= X*4",
"Y",
"X*4",
"X",
"4",
"{\n a = \"Yes\";\n }",
"a = \"Yes\"",
"a",
"\"Yes\"",
"{\n a = \"No\";\n }",
"a = \"No\"",
"a",
"\"No\"",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"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 \n int X = sc.nextInt();\n int Y = sc.nextInt();\n \n String a = null;\n \n if(Y%2 != 0){\n a = \"No\";\n } else if(X*2 <= Y && Y <= X*4){\n a = \"Yes\";\n } else {\n a = \"No\";\n }\n System.out.println(a);\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 \n int X = sc.nextInt();\n int Y = sc.nextInt();\n \n String a = null;\n \n if(Y%2 != 0){\n a = \"No\";\n } else if(X*2 <= Y && Y <= X*4){\n a = \"Yes\";\n } else {\n a = \"No\";\n }\n System.out.println(a);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
String a = null;
if(Y%2 != 0){
a = "No";
} else if(X*2 <= Y && Y <= X*4){
a = "Yes";
} else {
a = "No";
}
System.out.println(a);
}
}
|
[
7,
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,
2,
17,
13,
41,
13,
2,
2,
17,
13,
13,
14,
2,
2,
2,
2,
13,
17,
2,
2,
13,
17,
17,
2,
13,
17,
2,
2,
13,
17,
17,
30,
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
],
[
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
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
11,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
11,
53
],
[
53,
54
],
[
56,
55
],
[
65,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
56,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
53,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
53,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
9,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tint x=Integer.valueOf(cmd[0]);\n\t\tint y=Integer.valueOf(cmd[1]);\n\t\tint a=y-2*x;\n\t\tint b=4*x-y;\n\t\tif(a>=0 && a%2==0 && b>=0 && b%2==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tint x=Integer.valueOf(cmd[0]);\n\t\tint y=Integer.valueOf(cmd[1]);\n\t\tint a=y-2*x;\n\t\tint b=4*x-y;\n\t\tif(a>=0 && a%2==0 && b>=0 && b%2==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tint x=Integer.valueOf(cmd[0]);\n\t\tint y=Integer.valueOf(cmd[1]);\n\t\tint a=y-2*x;\n\t\tint b=4*x-y;\n\t\tif(a>=0 && a%2==0 && b>=0 && b%2==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tint x=Integer.valueOf(cmd[0]);\n\t\tint y=Integer.valueOf(cmd[1]);\n\t\tint a=y-2*x;\n\t\tint b=4*x-y;\n\t\tif(a>=0 && a%2==0 && b>=0 && b%2==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] cmd=br.readLine().split(\" \");",
"cmd",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x=Integer.valueOf(cmd[0]);",
"x",
"Integer.valueOf(cmd[0])",
"Integer.valueOf",
"Integer",
"cmd[0]",
"cmd",
"0",
"int y=Integer.valueOf(cmd[1]);",
"y",
"Integer.valueOf(cmd[1])",
"Integer.valueOf",
"Integer",
"cmd[1]",
"cmd",
"1",
"int a=y-2*x;",
"a",
"y-2*x",
"y",
"2*x",
"2",
"x",
"int b=4*x-y;",
"b",
"4*x-y",
"4*x",
"4",
"x",
"y",
"if(a>=0 && a%2==0 && b>=0 && b%2==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"No\");",
"a>=0 && a%2==0 && b>=0 && b%2==0",
"b>=0",
"a>=0 && a%2==0 && b>=0 && b%2==0",
"a>=0",
"a",
"0",
"a%2==0",
"a%2",
"a",
"2",
"0",
"b>=0",
"b",
"0",
"b%2==0",
"b%2",
"b",
"2",
"0",
"{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}",
"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) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tint x=Integer.valueOf(cmd[0]);\n\t\tint y=Integer.valueOf(cmd[1]);\n\t\tint a=y-2*x;\n\t\tint b=4*x-y;\n\t\tif(a>=0 && a%2==0 && b>=0 && b%2==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cmd=br.readLine().split(\" \");\n\t\tint x=Integer.valueOf(cmd[0]);\n\t\tint y=Integer.valueOf(cmd[1]);\n\t\tint a=y-2*x;\n\t\tint b=4*x-y;\n\t\tif(a>=0 && a%2==0 && b>=0 && b%2==0)\n\t\t{\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"No\");\n\t}\n\n}",
"Main"
]
|
import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String[] cmd=br.readLine().split(" ");
int x=Integer.valueOf(cmd[0]);
int y=Integer.valueOf(cmd[1]);
int a=y-2*x;
int b=4*x-y;
if(a>=0 && a%2==0 && b>=0 && b%2==0)
{
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,
14,
2,
2,
2,
13,
17,
2,
2,
13,
17,
17,
2,
2,
13,
17,
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
],
[
62,
5
],
[
62,
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
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
31,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
29,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
29,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.Scanner;\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n int d = Y - (2 * X);\n \n if(d >= 0 && d % 2 == 0 && (d / 2) <= X)\n {\n System.out.println(\"Yes\");\n }\n else\n {\n System.out.println(\"No\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n int d = Y - (2 * X);\n \n if(d >= 0 && d % 2 == 0 && (d / 2) <= X)\n {\n System.out.println(\"Yes\");\n }\n else\n {\n System.out.println(\"No\");\n }\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n int d = Y - (2 * X);\n \n if(d >= 0 && d % 2 == 0 && (d / 2) <= X)\n {\n System.out.println(\"Yes\");\n }\n else\n {\n 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 int d = Y - (2 * X);\n \n if(d >= 0 && d % 2 == 0 && (d / 2) <= X)\n {\n System.out.println(\"Yes\");\n }\n else\n {\n 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 d = Y - (2 * X);",
"d",
"Y - (2 * X)",
"Y",
"(2 * X)",
"2",
"X",
"if(d >= 0 && d % 2 == 0 && (d / 2) <= X)\n {\n System.out.println(\"Yes\");\n }\n else\n {\n System.out.println(\"No\");\n }",
"d >= 0 && d % 2 == 0 && (d / 2) <= X",
"d >= 0 && d % 2 == 0 && (d / 2) <= X",
"d >= 0",
"d",
"0",
"d % 2 == 0",
"d % 2",
"d",
"2",
"0",
"(d / 2) <= X",
"(d / 2)",
"d",
"2",
"X",
"{\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{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n int d = Y - (2 * X);\n \n if(d >= 0 && d % 2 == 0 && (d / 2) <= X)\n {\n System.out.println(\"Yes\");\n }\n else\n {\n System.out.println(\"No\");\n }\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n int d = Y - (2 * X);\n \n if(d >= 0 && d % 2 == 0 && (d / 2) <= X)\n {\n System.out.println(\"Yes\");\n }\n else\n {\n System.out.println(\"No\");\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
int d = Y - (2 * X);
if(d >= 0 && d % 2 == 0 && (d / 2) <= X)
{
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,
17,
41,
13,
2,
13,
13,
41,
13,
2,
13,
17,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
14,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
17,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
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
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
57,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
69,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
]
]
| [
"import java.util.*;\nclass Main{\n public static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n int X = sr.nextInt();\n int Y = sr.nextInt();\n int XX = X * 2;\n int Z = Y-XX;\n int z = Z/2;\n if (XX>Y)\n System.out.println(\"No\");\n else if (XX==Y)\n System.out.println(\"Yes\");\n else\n if (Z % 2 != 0)\n System.out.println(\"No\");\n else\n if (z > X)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");\n \t\n \n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n int X = sr.nextInt();\n int Y = sr.nextInt();\n int XX = X * 2;\n int Z = Y-XX;\n int z = Z/2;\n if (XX>Y)\n System.out.println(\"No\");\n else if (XX==Y)\n System.out.println(\"Yes\");\n else\n if (Z % 2 != 0)\n System.out.println(\"No\");\n else\n if (z > X)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");\n \t\n \n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sr = new Scanner(System.in);\n int X = sr.nextInt();\n int Y = sr.nextInt();\n int XX = X * 2;\n int Z = Y-XX;\n int z = Z/2;\n if (XX>Y)\n System.out.println(\"No\");\n else if (XX==Y)\n System.out.println(\"Yes\");\n else\n if (Z % 2 != 0)\n System.out.println(\"No\");\n else\n if (z > X)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");\n \t\n \n }",
"main",
"{\n Scanner sr = new Scanner(System.in);\n int X = sr.nextInt();\n int Y = sr.nextInt();\n int XX = X * 2;\n int Z = Y-XX;\n int z = Z/2;\n if (XX>Y)\n System.out.println(\"No\");\n else if (XX==Y)\n System.out.println(\"Yes\");\n else\n if (Z % 2 != 0)\n System.out.println(\"No\");\n else\n if (z > X)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");\n \t\n \n }",
"Scanner sr = new Scanner(System.in);",
"sr",
"new Scanner(System.in)",
"int X = sr.nextInt();",
"X",
"sr.nextInt()",
"sr.nextInt",
"sr",
"int Y = sr.nextInt();",
"Y",
"sr.nextInt()",
"sr.nextInt",
"sr",
"int XX = X * 2;",
"XX",
"X * 2",
"X",
"2",
"int Z = Y-XX;",
"Z",
"Y-XX",
"Y",
"XX",
"int z = Z/2;",
"z",
"Z/2",
"Z",
"2",
"if (XX>Y)\n System.out.println(\"No\");\n else if (XX==Y)\n System.out.println(\"Yes\");\n else\n if (Z % 2 != 0)\n System.out.println(\"No\");\n else\n if (z > X)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");",
"XX>Y",
"XX",
"Y",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if (XX==Y)\n System.out.println(\"Yes\");\n else\n if (Z % 2 != 0)\n System.out.println(\"No\");\n else\n if (z > X)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");",
"XX==Y",
"XX",
"Y",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"if (Z % 2 != 0)\n System.out.println(\"No\");\n else\n if (z > X)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");",
"Z % 2 != 0",
"Z % 2",
"Z",
"2",
"0",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if (z > X)\n System.out.println(\"No\");\n else\n System.out.println(\"Yes\");",
"z > X",
"z",
"X",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sr = new Scanner(System.in);
int X = sr.nextInt();
int Y = sr.nextInt();
int XX = X * 2;
int Z = Y-XX;
int z = Z/2;
if (XX>Y)
System.out.println("No");
else if (XX==Y)
System.out.println("Yes");
else
if (Z % 2 != 0)
System.out.println("No");
else
if (z > X)
System.out.println("No");
else
System.out.println("Yes");
}
} |
[
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,
41,
13,
17,
41,
13,
41,
13,
41,
13,
20,
12,
13,
30,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
2,
2,
13,
17,
13,
41,
13,
2,
2,
2,
13,
17,
2,
13,
2,
17,
13,
2,
2,
13,
17,
17,
14,
13,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
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,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
0,
13,
17,
29,
4,
18,
13,
12,
13,
30,
29,
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
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
178,
26
],
[
178,
27
],
[
27,
28
],
[
27,
29
],
[
178,
30
],
[
30,
31
],
[
30,
32
],
[
178,
33
],
[
33,
34
],
[
178,
35
],
[
35,
36
],
[
178,
37
],
[
37,
38
],
[
37,
39
],
[
178,
40
],
[
40,
41
],
[
40,
42
],
[
178,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
45,
61
],
[
61,
62
],
[
61,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
45,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
78,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
45,
90
],
[
90,
91
],
[
91,
92
],
[
178,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
93,
99
],
[
99,
100
],
[
178,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
101,
113
],
[
113,
114
],
[
178,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
178,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
178,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
178,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
145,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
144,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
178,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
178,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
0,
177
],
[
177,
178
],
[
177,
179
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\n\npublic class Main {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tokenizer = null;\n int totalCases, testNum;\n\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\n void solve() throws IOException {\n\n }\n\n void execute() throws IOException {\n long x = ni();\n long y = ni();\n int div = (int) (y / 2 - x);\n boolean res = div >= 0 && y <= 4*x && y % 2 == 0;\n if (res) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().execute();\n }\n\n void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }\n\n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n\n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n\n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n\n String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }\n\n String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }\n\n boolean input() throws IOException {\n return true;\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tokenizer = null;\n int totalCases, testNum;\n\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\n void solve() throws IOException {\n\n }\n\n void execute() throws IOException {\n long x = ni();\n long y = ni();\n int div = (int) (y / 2 - x);\n boolean res = div >= 0 && y <= 4*x && y % 2 == 0;\n if (res) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().execute();\n }\n\n void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }\n\n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n\n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n\n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n\n String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }\n\n String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }\n\n boolean input() throws IOException {\n return true;\n }\n\n}",
"Main",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"int totalCases",
"totalCases",
"testNum;",
"testNum",
"PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));",
"out",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))",
"void solve() throws IOException {\n\n }",
"solve",
"{\n\n }",
"void execute() throws IOException {\n long x = ni();\n long y = ni();\n int div = (int) (y / 2 - x);\n boolean res = div >= 0 && y <= 4*x && y % 2 == 0;\n if (res) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n\n out.close();\n }",
"execute",
"{\n long x = ni();\n long y = ni();\n int div = (int) (y / 2 - x);\n boolean res = div >= 0 && y <= 4*x && y % 2 == 0;\n if (res) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n\n out.close();\n }",
"long x = ni();",
"x",
"ni()",
"ni",
"long y = ni();",
"y",
"ni()",
"ni",
"int div = (int) (y / 2 - x);",
"div",
"(int) (y / 2 - x)",
"y / 2",
"y",
"2",
"x",
"boolean res = div >= 0 && y <= 4*x && y % 2 == 0;",
"res",
"div >= 0 && y <= 4*x && y % 2 == 0",
"div >= 0 && y <= 4*x && y % 2 == 0",
"div >= 0",
"div",
"0",
"y <= 4*x",
"y",
"4*x",
"4",
"x",
"y % 2 == 0",
"y % 2",
"y",
"2",
"0",
"if (res) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }",
"res",
"{\n out.println(\"Yes\");\n }",
"out.println(\"Yes\")",
"out.println",
"out",
"\"Yes\"",
"{\n out.println(\"No\");\n }",
"out.println(\"No\")",
"out.println",
"out",
"\"No\"",
"out.close()",
"out.close",
"out",
"public static void main(String[] args) throws IOException {\n new Main().execute();\n }",
"main",
"{\n new Main().execute();\n }",
"new Main().execute()",
"new Main().execute",
"new Main()",
"String[] args",
"args",
"void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }",
"debug",
"{\n System.out.println(Arrays.deepToString(os));\n }",
"System.out.println(Arrays.deepToString(os))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.deepToString(os)",
"Arrays.deepToString",
"Arrays",
"os",
"Object... os",
"os",
"int ni() throws IOException {\n return Integer.parseInt(ns());\n }",
"ni",
"{\n return Integer.parseInt(ns());\n }",
"return Integer.parseInt(ns());",
"Integer.parseInt(ns())",
"Integer.parseInt",
"Integer",
"ns()",
"ns",
"long nl() throws IOException {\n return Long.parseLong(ns());\n }",
"nl",
"{\n return Long.parseLong(ns());\n }",
"return Long.parseLong(ns());",
"Long.parseLong(ns())",
"Long.parseLong",
"Long",
"ns()",
"ns",
"double nd() throws IOException {\n return Double.parseDouble(ns());\n }",
"nd",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }",
"ns",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n tokenizer = new StringTokenizer(br.readLine());\n }",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }",
"nline",
"{\n tokenizer = null;\n return br.readLine();\n }",
"tokenizer = null",
"tokenizer",
"null",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"boolean input() throws IOException {\n return true;\n }",
"input",
"{\n return true;\n }",
"return true;",
"true",
"public class Main {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tokenizer = null;\n int totalCases, testNum;\n\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\n void solve() throws IOException {\n\n }\n\n void execute() throws IOException {\n long x = ni();\n long y = ni();\n int div = (int) (y / 2 - x);\n boolean res = div >= 0 && y <= 4*x && y % 2 == 0;\n if (res) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().execute();\n }\n\n void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }\n\n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n\n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n\n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n\n String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }\n\n String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }\n\n boolean input() throws IOException {\n return true;\n }\n\n}",
"public class Main {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tokenizer = null;\n int totalCases, testNum;\n\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\n void solve() throws IOException {\n\n }\n\n void execute() throws IOException {\n long x = ni();\n long y = ni();\n int div = (int) (y / 2 - x);\n boolean res = div >= 0 && y <= 4*x && y % 2 == 0;\n if (res) {\n out.println(\"Yes\");\n } else {\n out.println(\"No\");\n }\n\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().execute();\n }\n\n void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }\n\n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n\n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n\n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n\n String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }\n\n String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }\n\n boolean input() throws IOException {\n return true;\n }\n\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.StringTokenizer;
public class Main {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer tokenizer = null;
int totalCases, testNum;
PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
void solve() throws IOException {
}
void execute() throws IOException {
long x = ni();
long y = ni();
int div = (int) (y / 2 - x);
boolean res = div >= 0 && y <= 4*x && y % 2 == 0;
if (res) {
out.println("Yes");
} else {
out.println("No");
}
out.close();
}
public static void main(String[] args) throws IOException {
new Main().execute();
}
void debug(Object... os) {
System.out.println(Arrays.deepToString(os));
}
int ni() throws IOException {
return Integer.parseInt(ns());
}
long nl() throws IOException {
return Long.parseLong(ns());
}
double nd() throws IOException {
return Double.parseDouble(ns());
}
String ns() throws IOException {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
tokenizer = new StringTokenizer(br.readLine());
}
return tokenizer.nextToken();
}
String nline() throws IOException {
tokenizer = null;
return br.readLine();
}
boolean input() throws IOException {
return true;
}
}
|
[
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,
17,
41,
13,
2,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
17,
11,
1,
41,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
17,
30,
14,
2,
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
],
[
106,
5
],
[
106,
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
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
71,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
54,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
87,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
6,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n \n int min= a*2;\n int max = a*4;\n if(b>max){\n System.out.println(\"No\");\n }else if(b<min){\n System.out.println(\"No\");\n }\n else {\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\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 int a = sc.nextInt();\n int b= sc.nextInt();\n \n \n int min= a*2;\n int max = a*4;\n if(b>max){\n System.out.println(\"No\");\n }else if(b<min){\n System.out.println(\"No\");\n }\n else {\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n \n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n \n int min= a*2;\n int max = a*4;\n if(b>max){\n System.out.println(\"No\");\n }else if(b<min){\n System.out.println(\"No\");\n }\n else {\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n \n int min= a*2;\n int max = a*4;\n if(b>max){\n System.out.println(\"No\");\n }else if(b<min){\n System.out.println(\"No\");\n }\n else {\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\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 min= a*2;",
"min",
"a*2",
"a",
"2",
"int max = a*4;",
"max",
"a*4",
"a",
"4",
"if(b>max){\n System.out.println(\"No\");\n }else if(b<min){\n System.out.println(\"No\");\n }\n else {\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"b>max",
"b",
"max",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"if(b<min){\n System.out.println(\"No\");\n }\n else {\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"b<min",
"b",
"min",
"{\n System.out.println(\"No\");\n }",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"{\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }",
"boolean ok =false;",
"ok",
"false",
"for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }",
"int i = min;",
"int i = min;",
"i",
"min",
"i<=max",
"i",
"max",
"i++",
"i++",
"i",
"{\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }",
"{\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }",
"if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }",
"i%2==0",
"i%2",
"i",
"2",
"0",
"{\n if(b==i){\n ok=true;\n break;\n }\n }",
"if(b==i){\n ok=true;\n break;\n }",
"b==i",
"b",
"i",
"{\n ok=true;\n break;\n }",
"ok=true",
"ok",
"true",
"break;",
"if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }",
"ok",
"{\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 a = sc.nextInt();\n int b= sc.nextInt();\n \n \n int min= a*2;\n int max = a*4;\n if(b>max){\n System.out.println(\"No\");\n }else if(b<min){\n System.out.println(\"No\");\n }\n else {\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\n }\n }\n \n }\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b= sc.nextInt();\n \n \n int min= a*2;\n int max = a*4;\n if(b>max){\n System.out.println(\"No\");\n }else if(b<min){\n System.out.println(\"No\");\n }\n else {\n boolean ok =false;\n for(int i = min;i<=max;i++){\n if(i%2==0){\n if(b==i){\n ok=true;\n break;\n }\n }\n }\n if(ok){\n System.out.println(\"Yes\");\n }else{\n System.out.println(\"No\");\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 a = sc.nextInt();
int b= sc.nextInt();
int min= a*2;
int max = a*4;
if(b>max){
System.out.println("No");
}else if(b<min){
System.out.println("No");
}
else {
boolean ok =false;
for(int i = min;i<=max;i++){
if(i%2==0){
if(b==i){
ok=true;
break;
}
}
}
if(ok){
System.out.println("Yes");
}else{
System.out.println("No");
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
42,
2,
13,
13,
30,
14,
2,
13,
13,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
29,
17,
29,
17,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
2,
13,
17,
17,
29,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
17,
30,
41,
13,
13,
41,
13,
2,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
13,
30,
0,
13,
17,
3,
0,
13,
17,
40,
13,
14,
13,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
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,
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,
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
],
[
359,
8
],
[
359,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
9,
29
],
[
29,
30
],
[
9,
31
],
[
31,
32
],
[
359,
33
],
[
33,
34
],
[
33,
35
],
[
35,
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
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
35,
61
],
[
61,
62
],
[
33,
63
],
[
63,
64
],
[
33,
65
],
[
65,
66
],
[
359,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
76,
82
],
[
82,
83
],
[
69,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
84,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
100,
106
],
[
106,
107
],
[
69,
108
],
[
108,
109
],
[
67,
110
],
[
110,
111
],
[
359,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
115,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
114,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
112,
133
],
[
133,
134
],
[
359,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
137,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
137,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
154,
156
],
[
151,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
157,
162
],
[
151,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
169,
171
],
[
163,
172
],
[
172,
173
],
[
172,
174
],
[
163,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
180,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
179,
191
],
[
191,
192
],
[
191,
193
],
[
179,
194
],
[
194,
195
],
[
163,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
198,
203
],
[
196,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
204,
209
],
[
135,
210
],
[
210,
211
],
[
359,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
212,
216
],
[
216,
217
],
[
212,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
212,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
227,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
237,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
226,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
212,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
256,
259
],
[
259,
260
],
[
212,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
265,
268
],
[
268,
269
],
[
212,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
274,
277
],
[
277,
278
],
[
212,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
281,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
286,
291
],
[
291,
292
],
[
291,
293
],
[
286,
294
],
[
294,
295
],
[
295,
296
],
[
286,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
281,
304
],
[
304,
305
],
[
279,
306
],
[
306,
307
],
[
212,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
310,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
315,
320
],
[
320,
321
],
[
320,
322
],
[
315,
323
],
[
323,
324
],
[
324,
325
],
[
315,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
327,
331
],
[
331,
332
],
[
310,
333
],
[
333,
334
],
[
308,
335
],
[
335,
336
],
[
212,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
339,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
343,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
339,
356
],
[
356,
357
],
[
0,
358
],
[
358,
359
],
[
358,
360
]
]
| [
"import java.io.*;\nimport java.util.*;\n \npublic class Main{\n static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }\n static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }\n static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }\n static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }\n static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader(); \n int x=s.nextInt();int y=s.nextInt();\n if(y==(x*2)) System.out.println(\"Yes\");\n else{\n int i=x,j=x*2;boolean test=true;\n while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }\n if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");\n }\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }\n static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }\n static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }\n static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }\n static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader(); \n int x=s.nextInt();int y=s.nextInt();\n if(y==(x*2)) System.out.println(\"Yes\");\n else{\n int i=x,j=x*2;boolean test=true;\n while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }\n if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");\n }\n\n }\n}",
"Main",
"static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }",
"getgcd",
"{\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }",
"while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }",
"n1 != n2",
"n1",
"n2",
"{\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }",
"if(n1 > n2) n1 -= n2;\n else n2 -= n1;",
"n1 > n2",
"n1",
"n2",
"n1 -= n2",
"n1",
"n2",
"n2 -= n1",
"n2",
"n1",
"return n1;",
"n1",
"int n1",
"n1",
"int n2",
"n2",
"static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }",
"isSorted",
"{\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }",
"for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(arr[i]<arr[i-1]) return false;\n }",
"{\n if(arr[i]<arr[i-1]) return false;\n }",
"if(arr[i]<arr[i-1]) return false;",
"arr[i]<arr[i-1]",
"arr[i]",
"arr",
"i",
"arr[i-1]",
"arr",
"i-1",
"i",
"1",
"return false;",
"false",
"return true;",
"true",
"int[] arr",
"arr",
"int n",
"n",
"static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }",
"isPrime",
"{\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }",
"if(n==2) return true;\n else if(n%2==0) return false;",
"n==2",
"n",
"2",
"return true;",
"true",
"if(n%2==0) return false;",
"n%2==0",
"n%2",
"n",
"2",
"0",
"return false;",
"false",
"for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }",
"int i=3;",
"int i=3;",
"i",
"3",
"i<=n/2",
"i",
"n/2",
"n",
"2",
"i+=2",
"i+=2",
"i",
"2",
"{\n if(n%i==0) return false;\n }",
"{\n if(n%i==0) return false;\n }",
"if(n%i==0) return false;",
"n%i==0",
"n%i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"long n",
"n",
"static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }",
"printArray",
"{\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }",
"for(int x:arr){\n System.out.print(x+\" \");\n }",
"int x",
"arr",
"{\n System.out.print(x+\" \");\n }",
"{\n System.out.print(x+\" \");\n }",
"System.out.print(x+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"x+\" \"",
"x",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"int[] arr",
"arr",
"public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader(); \n int x=s.nextInt();int y=s.nextInt();\n if(y==(x*2)) System.out.println(\"Yes\");\n else{\n int i=x,j=x*2;boolean test=true;\n while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }\n if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");\n }\n\n }",
"main",
"{\n FastReader s=new FastReader(); \n int x=s.nextInt();int y=s.nextInt();\n if(y==(x*2)) System.out.println(\"Yes\");\n else{\n int i=x,j=x*2;boolean test=true;\n while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }\n if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");\n }\n\n }",
"FastReader s=new FastReader();",
"s",
"new FastReader()",
"int x=s.nextInt();",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"int y=s.nextInt();",
"y",
"s.nextInt()",
"s.nextInt",
"s",
"if(y==(x*2)) System.out.println(\"Yes\");\n else{\n int i=x,j=x*2;boolean test=true;\n while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }\n if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");\n }",
"y==(x*2)",
"y",
"(x*2)",
"x",
"2",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"{\n int i=x,j=x*2;boolean test=true;\n while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }\n if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");\n }",
"int i=x",
"i",
"x",
"j=x*2;",
"j",
"x*2",
"x",
"2",
"boolean test=true;",
"test",
"true",
"while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }",
"i>0",
"i",
"0",
"{\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }",
"if(j+2==y){\n test=false;break;\n }",
"j+2==y",
"j+2",
"j",
"2",
"y",
"{\n test=false;break;\n }",
"test=false",
"test",
"false",
"break;",
"j+=2",
"j",
"2",
"i--",
"i",
"if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");",
"test",
"System.out.println(\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"No\"",
"System.out.println(\"Yes\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Yes\"",
"String[] args",
"args",
"static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}",
"FastReader",
"{br = new BufferedReader(new InputStreamReader(System.in));}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"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();}",
"next",
"{while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}",
"while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}",
"try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}",
"catch (IOException e){e.printStackTrace();}",
"IOException e",
"{e.printStackTrace();}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{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(){return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong(){return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble(){return Double.parseDouble(next());}",
"nextDouble",
"{return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}",
"readArray",
"{int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}",
"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",
"long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}",
"readLongArray",
"{long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}",
"long[] a=new long[n];",
"a",
"new long[n]",
"n",
"for (int i=0; i<n; i++) 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",
"int n",
"n",
"String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}",
"nextLine",
"{String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}",
"String str = \"\";",
"str",
"\"\"",
"try{str = br.readLine();}catch (IOException e){e.printStackTrace();}",
"catch (IOException e){e.printStackTrace();}",
"IOException e",
"{e.printStackTrace();}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{str = br.readLine();}",
"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 public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }\n static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }\n static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }\n static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }\n static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader(); \n int x=s.nextInt();int y=s.nextInt();\n if(y==(x*2)) System.out.println(\"Yes\");\n else{\n int i=x,j=x*2;boolean test=true;\n while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }\n if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");\n }\n\n }\n}",
"public class Main{\n static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }\n static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }\n static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }\n static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }\n static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader(); \n int x=s.nextInt();int y=s.nextInt();\n if(y==(x*2)) System.out.println(\"Yes\");\n else{\n int i=x,j=x*2;boolean test=true;\n while(i>0){\n if(j+2==y){\n test=false;break;\n }j+=2;\n i--;\n }\n if(test) System.out.println(\"No\");\n else System.out.println(\"Yes\");\n }\n\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
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());}
int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}
long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}
String nextLine(){String str = "";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}
}
static int getgcd(int n1,int n2){
while(n1 != n2){
if(n1 > n2) n1 -= n2;
else n2 -= n1;
}
return n1;
}
static boolean isSorted(int[] arr, int n){
for(int i=1;i<n;i++){
if(arr[i]<arr[i-1]) return false;
}
return true;
}
static boolean isPrime(long n){
if(n==2) return true;
else if(n%2==0) return false;
for(int i=3;i<=n/2;i+=2){
if(n%i==0) return false;
}
return true;
}
static void printArray(int[] arr){
for(int x:arr){
System.out.print(x+" ");
}
System.out.println();
}
public static void main(String[] args) throws NumberFormatException, IOException {
FastReader s=new FastReader();
int x=s.nextInt();int y=s.nextInt();
if(y==(x*2)) System.out.println("Yes");
else{
int i=x,j=x*2;boolean test=true;
while(i>0){
if(j+2==y){
test=false;break;
}j+=2;
i--;
}
if(test) System.out.println("No");
else System.out.println("Yes");
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
2,
2,
2,
13,
2,
17,
13,
2,
13,
2,
17,
13,
2,
2,
13,
17,
17,
17,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
30,
48
],
[
30,
49
],
[
9,
50
],
[
50,
51
]
]
| [
"import java.io.*;\nimport java.util.*;\n\n/*\n * To execute Java, please define \"static void main\" on a class\n * named Solution.\n *\n * If you need more classes, simply define them inline.\n */\n\nclass 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 System.out.println((Y >= 2*X && Y <= 4*X && Y%2==0)?\"Yes\":\"No\");\n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"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 System.out.println((Y >= 2*X && Y <= 4*X && Y%2==0)?\"Yes\":\"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 System.out.println((Y >= 2*X && Y <= 4*X && Y%2==0)?\"Yes\":\"No\");\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n int X = sc.nextInt();\n int Y = sc.nextInt();\n \n System.out.println((Y >= 2*X && Y <= 4*X && Y%2==0)?\"Yes\":\"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",
"System.out.println((Y >= 2*X && Y <= 4*X && Y%2==0)?\"Yes\":\"No\")",
"System.out.println",
"System.out",
"System",
"System.out",
"(Y >= 2*X && Y <= 4*X && Y%2==0)?\"Yes\":\"No\"",
"(Y >= 2*X && Y <= 4*X && Y%2==0)",
"Y >= 2*X && Y <= 4*X && Y%2==0",
"Y >= 2*X",
"Y",
"2*X",
"2",
"X",
"Y <= 4*X",
"Y",
"4*X",
"4",
"X",
"Y%2==0",
"Y%2",
"Y",
"2",
"0",
"\"Yes\"",
"\"No\"",
"String[] args",
"args"
]
| import java.io.*;
import java.util.*;
/*
* To execute Java, please define "static void main" on a class
* named Solution.
*
* If you need more classes, simply define them inline.
*/
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int X = sc.nextInt();
int Y = sc.nextInt();
System.out.println((Y >= 2*X && Y <= 4*X && Y%2==0)?"Yes":"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,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
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,
0,
13,
17,
3,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
32,
33
],
[
32,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
25,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint p =1;\n \n \tfor(int i=0; i<x+1; i++){ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }\n \n \tif(p==1){\n \tSystem.out.print(\"No\");\n }\n \n \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\t\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint p =1;\n \n \tfor(int i=0; i<x+1; i++){ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }\n \n \tif(p==1){\n \tSystem.out.print(\"No\");\n }\n \n \n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint p =1;\n \n \tfor(int i=0; i<x+1; i++){ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }\n \n \tif(p==1){\n \tSystem.out.print(\"No\");\n }\n \n \n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint p =1;\n \n \tfor(int i=0; i<x+1; i++){ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }\n \n \tif(p==1){\n \tSystem.out.print(\"No\");\n }\n \n \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 p =1;",
"p",
"1",
"for(int i=0; i<x+1; i++){ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<x+1",
"i",
"x+1",
"x",
"1",
"i++",
"i++",
"i",
"{ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }",
"{ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }",
"int u =i*2 + (x-i)*4;",
"u",
"i*2 + (x-i)*4",
"i*2",
"i",
"2",
"(x-i)*4",
"(x-i)",
"x",
"i",
"4",
"if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }",
"u==y",
"u",
"y",
"{\n System.out.print(\"Yes\");\n p =0;\n break;\n }",
"System.out.print(\"Yes\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"Yes\"",
"p =0",
"p",
"0",
"break;",
"if(p==1){\n \tSystem.out.print(\"No\");\n }",
"p==1",
"p",
"1",
"{\n \tSystem.out.print(\"No\");\n }",
"System.out.print(\"No\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"No\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint p =1;\n \n \tfor(int i=0; i<x+1; i++){ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }\n \n \tif(p==1){\n \tSystem.out.print(\"No\");\n }\n \n \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint x = sc.nextInt();\n \tint y = sc.nextInt();\n \tint p =1;\n \n \tfor(int i=0; i<x+1; i++){ \n int u =i*2 + (x-i)*4;\n if(u==y){\n System.out.print(\"Yes\");\n p =0;\n break;\n }\n }\n \n \tif(p==1){\n \tSystem.out.print(\"No\");\n }\n \n \n\t}\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 p =1;
for(int i=0; i<x+1; i++){
int u =i*2 + (x-i)*4;
if(u==y){
System.out.print("Yes");
p =0;
break;
}
}
if(p==1){
System.out.print("No");
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.