node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
13,
39,
17,
17,
17,
17,
17,
10,
4,
13
] | [
[
25,
2
],
[
26,
17
],
[
25,
26
]
] | [
"a = sorted(map(int, input().split()))\nprint(\"YES\" if a == [5, 5, 7] else \"NO\")",
"a = sorted(map(int, input().split()))",
"a",
"sorted(map(int, input().split()))",
"sorted",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(\"YES\" if a == [5, 5, 7] else \"NO\")",
"print",
"\"YES\" if a == [5, 5, 7] else \"NO\"",
"a == [5, 5, 7]",
"a",
"[5, 5, 7]",
"5",
"5",
"7",
"\"YES\"",
"\"NO\"",
"a = sorted(map(int, input().split()))",
"sorted(map(int, input().split()))",
"a"
] | a = sorted(map(int, input().split()))
print("YES" if a == [5, 5, 7] else "NO") |
[
7,
15,
0,
13,
18,
13,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
39,
17,
17,
17,
28,
13,
13,
14,
2,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
14,
13,
4,
13,
17,
4,
13,
17,
10,
18,
13,
10,
4,
13,
10,
39,
13
] | [
[
50,
3
],
[
53,
8
],
[
51,
17
],
[
56,
20
],
[
27,
26
],
[
54,
26
],
[
26,
30
],
[
57,
31
],
[
57,
34
],
[
57,
38
],
[
26,
40
],
[
50,
51
],
[
53,
54
],
[
56,
57
]
] | [
"from sys import stdin\ninput = stdin.readline\n\nL = list(map(int, input().split()))\n\nT = [5,5,7]\n\nfor l in L:\n if l in T:\n T.pop(T.index(l))\nif T:\n print('NO')\nelse:\n print('YES')",
"from sys import stdin",
"input = stdin.readline",
"input",
"stdin.readline",
"stdin",
"readline",
"L = list(map(int, input().split()))",
"L",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"T = [5,5,7]",
"T",
"[5,5,7]",
"5",
"5",
"7",
"for l in L:\n if l in T:\n T.pop(T.index(l))",
"l",
"L",
"if l in T:\n T.pop(T.index(l))",
"l in T",
"l",
"T",
"T.pop(T.index(l))",
"T.pop",
"T",
"pop",
"T.index(l)",
"T.index",
"T",
"index",
"l",
"if T:\n print('NO')\nelse:\n print('YES')",
"T",
"print('NO')",
"print",
"'NO'",
"print('YES')",
"print",
"'YES'",
"input = stdin.readline",
"stdin.readline",
"input",
"L = list(map(int, input().split()))",
"list(map(int, input().split()))",
"L",
"T = [5,5,7]",
"[5,5,7]",
"T"
] | from sys import stdin
input = stdin.readline
L = list(map(int, input().split()))
T = [5,5,7]
for l in L:
if l in T:
T.pop(T.index(l))
if T:
print('NO')
else:
print('YES') |
[
7,
0,
13,
4,
13,
0,
13,
18,
13,
13,
4,
13,
18,
17,
39,
2,
40,
4,
13,
17,
17,
40,
4,
13,
17,
17,
17,
10,
4,
13,
10,
18,
13
] | [
[
28,
2
],
[
31,
6
],
[
29,
8
],
[
32,
18
],
[
32,
23
],
[
28,
29
],
[
31,
32
]
] | [
"s=input();z=s.count;print('YNEOS'[z('5')!=2or z('7')!=1::2])",
"s=input()",
"s",
"input()",
"input",
"z=s.count",
"z",
"s.count",
"s",
"count",
"print('YNEOS'[z('5')!=2or z('7')!=1::2])",
"print",
"'YNEOS'[z('5')!=2or z('7')!=1::2]",
"'YNEOS'",
"z('5')!=2or z('7')!=1::2",
"z('5')!=2or z('7')!=1",
"z('5')!=2",
"z('5')",
"z",
"'5'",
"2",
"z('7')!=1",
"z('7')",
"z",
"'7'",
"1",
"2",
"s=input()",
"input()",
"s",
"z=s.count",
"s.count",
"z"
] | s=input();z=s.count;print('YNEOS'[z('5')!=2or z('7')!=1::2]) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
4,
13,
39,
13,
13,
13,
13,
13,
14,
2,
39,
13,
13,
13,
39,
17,
17,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
46,
2
],
[
46,
11
],
[
46,
12
],
[
49,
14
],
[
49,
21
],
[
49,
22
],
[
49,
35
],
[
49,
38
],
[
46,
41
],
[
46,
44
],
[
46,
47
],
[
49,
50
]
] | [
"a,b,c=map(int,input().split())\na,b,c=sorted([a,b,c])\nif (a,b,c)==(5,5,7):print('YES')\nelse:print('NO')",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"a,b,c=sorted([a,b,c])",
"a",
"sorted([a,b,c])",
"sorted",
"[a,b,c]",
"a",
"b",
"c",
"b",
"c",
"if (a,b,c)==(5,5,7):print('YES')\nelse:print('NO')",
"(a,b,c)==(5,5,7)",
"(a,b,c)",
"a",
"b",
"c",
"(5,5,7)",
"5",
"5",
"7",
"a,b,c=sorted([a,b,c])",
"sorted([a,b,c])",
"a",
"c=sorted([a,b,c])",
"sorted([a,b,c])",
"c",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"b,c=sorted([a,b,c])",
"sorted([a,b,c])",
"b"
] | a,b,c=map(int,input().split())
a,b,c=sorted([a,b,c])
if (a,b,c)==(5,5,7):print('YES')
else:print('NO') |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
0,
13,
18,
13,
17,
0,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
18,
13,
10,
18,
13,
10,
17,
13,
10,
17,
13,
10,
18,
13,
10,
17,
13,
10,
17,
13
] | [
[
95,
2
],
[
122,
9
],
[
96,
11
],
[
110,
14
],
[
96,
16
],
[
113,
19
],
[
96,
21
],
[
107,
24
],
[
98,
27
],
[
123,
31
],
[
92,
34
],
[
123,
38
],
[
125,
41
],
[
111,
45
],
[
119,
48
],
[
111,
52
],
[
89,
55
],
[
114,
59
],
[
101,
62
],
[
114,
66
],
[
116,
69
],
[
102,
74
],
[
120,
74
],
[
93,
74
],
[
108,
74
],
[
117,
77
],
[
90,
77
],
[
126,
77
],
[
99,
77
],
[
104,
80
],
[
128,
83
],
[
129,
87
],
[
105,
87
],
[
89,
90
],
[
92,
93
],
[
95,
96
],
[
98,
99
],
[
101,
102
],
[
104,
105
],
[
107,
108
],
[
110,
111
],
[
113,
114
],
[
116,
117
],
[
119,
120
],
[
122,
123
],
[
125,
126
],
[
128,
129
]
] | [
"s = input().split()\n\na = s[0]\nb = s[1]\nc = s[2]\n\nfive_count = 0\nseven_count = 0\n\nif a == '5':\n five_count += 1\nelif a == '7':\n seven_count += 1\n\nif b == '5':\n five_count += 1\nelif b == '7':\n seven_count += 1\n\nif c == '5':\n five_count += 1\nelif c == '7':\n seven_count += 1\n\nif five_count == 2 and seven_count == 1:\n answer = 'YES'\nelse:\n answer = 'NO'\n\nprint(answer)",
"s = input().split()",
"s",
"input().split()",
"().split",
"()",
"input",
"split",
"a = s[0]",
"a",
"s[0]",
"s",
"0",
"b = s[1]",
"b",
"s[1]",
"s",
"1",
"c = s[2]",
"c",
"s[2]",
"s",
"2",
"five_count = 0",
"five_count",
"0",
"seven_count = 0",
"seven_count",
"0",
"if a == '5':\n five_count += 1\nelif a == '7':\n seven_count += 1",
"a == '5'",
"a",
"'5'",
"five_count += 1",
"five_count",
"1",
"elif a == '7':\n seven_count += 1",
"a == '7'",
"a",
"'7'",
"seven_count += 1",
"seven_count",
"1",
"if b == '5':\n five_count += 1\nelif b == '7':\n seven_count += 1",
"b == '5'",
"b",
"'5'",
"five_count += 1",
"five_count",
"1",
"elif b == '7':\n seven_count += 1",
"b == '7'",
"b",
"'7'",
"seven_count += 1",
"seven_count",
"1",
"if c == '5':\n five_count += 1\nelif c == '7':\n seven_count += 1",
"c == '5'",
"c",
"'5'",
"five_count += 1",
"five_count",
"1",
"elif c == '7':\n seven_count += 1",
"c == '7'",
"c",
"'7'",
"seven_count += 1",
"seven_count",
"1",
"if five_count == 2 and seven_count == 1:\n answer = 'YES'\nelse:\n answer = 'NO'",
"five_count == 2 and seven_count == 1",
"five_count == 2",
"five_count",
"2",
"seven_count == 1",
"seven_count",
"1",
"answer = 'YES'",
"answer",
"'YES'",
"answer = 'NO'",
"answer",
"'NO'",
"print(answer)",
"print",
"answer",
"seven_count += 1",
"1",
"seven_count",
"five_count += 1",
"1",
"five_count",
"s = input().split()",
"input().split()",
"s",
"seven_count = 0",
"0",
"seven_count",
"five_count += 1",
"1",
"five_count",
"answer = 'YES'",
"'YES'",
"answer",
"five_count = 0",
"0",
"five_count",
"b = s[1]",
"s[1]",
"b",
"c = s[2]",
"s[2]",
"c",
"seven_count += 1",
"1",
"seven_count",
"five_count += 1",
"1",
"five_count",
"a = s[0]",
"s[0]",
"a",
"seven_count += 1",
"1",
"seven_count",
"answer = 'NO'",
"'NO'",
"answer"
] | s = input().split()
a = s[0]
b = s[1]
c = s[2]
five_count = 0
seven_count = 0
if a == '5':
five_count += 1
elif a == '7':
seven_count += 1
if b == '5':
five_count += 1
elif b == '7':
seven_count += 1
if c == '5':
five_count += 1
elif c == '7':
seven_count += 1
if five_count == 2 and seven_count == 1:
answer = 'YES'
else:
answer = 'NO'
print(answer)
|
[
7,
17,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
49,
3
],
[
43,
15
],
[
50,
18
],
[
46,
22
],
[
50,
25
],
[
44,
31
],
[
47,
34
],
[
43,
44
],
[
46,
47
],
[
49,
50
]
] | [
"\"\"\"\nABC042 A 和風いろはちゃんイージー\nhttps://atcoder.jp/contests/abc042/tasks/abc042_a\n\"\"\"\n\nl = list(map(int, input().split()))\nl5 = l.count(5)\nl7 = l.count(7)\n\nif l5 == 2 and l7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"\"\"\"\nABC042 A 和風いろはちゃんイージー\nhttps://atcoder.jp/contests/abc042/tasks/abc042_a\n\"\"\"",
"l = list(map(int, input().split()))",
"l",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l5 = l.count(5)",
"l5",
"l.count(5)",
"l.count",
"l",
"count",
"5",
"l7 = l.count(7)",
"l7",
"l.count(7)",
"l.count",
"l",
"count",
"7",
"if l5 == 2 and l7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"l5 == 2 and l7 == 1",
"l5 == 2",
"l5",
"2",
"l7 == 1",
"l7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"l5 = l.count(5)",
"l.count(5)",
"l5",
"l7 = l.count(7)",
"l.count(7)",
"l7",
"l = list(map(int, input().split()))",
"list(map(int, input().split()))",
"l"
] | """
ABC042 A 和風いろはちゃんイージー
https://atcoder.jp/contests/abc042/tasks/abc042_a
"""
l = list(map(int, input().split()))
l5 = l.count(5)
l7 = l.count(7)
if l5 == 2 and l7 == 1:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
17,
17,
4,
13,
13,
10,
8,
13,
10,
4,
13
] | [
[
40,
2
],
[
37,
14
],
[
41,
20
],
[
41,
27
],
[
38,
35
],
[
37,
38
],
[
40,
41
]
] | [
"li=list(map(int,input().split()))\nans = 'YES' if (li.count(5) == 2) and (li.count(7) == 1) else \"NO\"\nprint(ans)",
"li=list(map(int,input().split()))",
"li",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"ans = 'YES' if (li.count(5) == 2) and (li.count(7) == 1) else \"NO\"",
"ans",
"'YES' if (li.count(5) == 2) and (li.count(7) == 1) else \"NO\"",
"(li.count(5) == 2) and (li.count(7) == 1)",
"li.count(5) == 2",
"li.count(5)",
"li.count",
"li",
"count",
"5",
"2",
"li.count(7) == 1",
"li.count(7)",
"li.count",
"li",
"count",
"7",
"1",
"'YES'",
"\"NO\"",
"print(ans)",
"print",
"ans",
"ans = 'YES' if (li.count(5) == 2) and (li.count(7) == 1) else \"NO\"",
"'YES' if (li.count(5) == 2) and (li.count(7) == 1) else \"NO\"",
"ans",
"li=list(map(int,input().split()))",
"list(map(int,input().split()))",
"li"
] | li=list(map(int,input().split()))
ans = 'YES' if (li.count(5) == 2) and (li.count(7) == 1) else "NO"
print(ans) |
[
7,
0,
13,
4,
13,
0,
13,
17,
0,
13,
17,
28,
13,
4,
18,
13,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13
] | [
[
56,
2
],
[
62,
6
],
[
65,
9
],
[
13,
12
],
[
57,
15
],
[
12,
20
],
[
53,
23
],
[
12,
27
],
[
50,
30
],
[
59,
33
],
[
51,
38
],
[
54,
38
],
[
63,
38
],
[
60,
41
],
[
66,
41
],
[
50,
51
],
[
53,
54
],
[
56,
57
],
[
59,
60
],
[
62,
63
],
[
65,
66
]
] | [
"x = input()\nmode = 0\ncount = 0\nfor num in x.split(\" \"):\n if num == '5':\n mode+=1\n elif num =='7':\n mode+=4\n count+=1\n\nif mode == 6 and count == 3:\n print(\"YES\")\nelse:\n print(\"NO\")",
"x = input()",
"x",
"input()",
"input",
"mode = 0",
"mode",
"0",
"count = 0",
"count",
"0",
"for num in x.split(\" \"):\n if num == '5':\n mode+=1\n elif num =='7':\n mode+=4\n count+=1",
"num",
"x.split(\" \")",
"x.split",
"x",
"split",
"\" \"",
"if num == '5':\n mode+=1\n elif num =='7':\n mode+=4\n ",
"num == '5'",
"num",
"'5'",
"mode+=1",
"mode",
"1",
"elif num =='7':\n mode+=4\n ",
"num =='7'",
"num",
"'7'",
"mode+=4",
"mode",
"4",
"count+=1",
"count",
"1",
"if mode == 6 and count == 3:\n print(\"YES\")\nelse:\n print(\"NO\")",
"mode == 6 and count == 3",
"mode == 6",
"mode",
"6",
"count == 3",
"count",
"3",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"mode+=4",
"4",
"mode",
"mode+=1",
"1",
"mode",
"x = input()",
"input()",
"x",
"count+=1",
"1",
"count",
"mode = 0",
"0",
"mode",
"count = 0",
"0",
"count"
] | x = input()
mode = 0
count = 0
for num in x.split(" "):
if num == '5':
mode+=1
elif num =='7':
mode+=4
count+=1
if mode == 6 and count == 3:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
2,
2,
4,
13,
18,
13,
17,
4,
13,
18,
13,
17,
4,
13,
18,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
2,
13,
10,
4,
13
] | [
[
41,
2
],
[
38,
9
],
[
42,
15
],
[
42,
20
],
[
42,
25
],
[
39,
29
],
[
38,
39
],
[
41,
42
]
] | [
"inp=input().split()\nprod = int(inp[0]) * int(inp[1]) * int(inp[2])\n#resid1 = prod//5\n#resid2 = prod//7\nif (prod == 175):\n print('YES')\nelse:\n print('NO')",
"inp=input().split()",
"inp",
"input().split()",
"().split",
"()",
"input",
"split",
"prod = int(inp[0]) * int(inp[1]) * int(inp[2])",
"prod",
"int(inp[0]) * int(inp[1]) * int(inp[2])",
"int(inp[0]) * int(inp[1])",
"int(inp[0])",
"int",
"inp[0]",
"inp",
"0",
"int(inp[1])",
"int",
"inp[1]",
"inp",
"1",
"int(inp[2])",
"int",
"inp[2]",
"inp",
"2",
"if (prod == 175):\n print('YES')\nelse:\n print('NO')",
"prod == 175",
"prod",
"175",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"prod = int(inp[0]) * int(inp[1]) * int(inp[2])",
"int(inp[0]) * int(inp[1]) * int(inp[2])",
"prod",
"inp=input().split()",
"input().split()",
"inp"
] | inp=input().split()
prod = int(inp[0]) * int(inp[1]) * int(inp[2])
#resid1 = prod//5
#resid2 = prod//7
if (prod == 175):
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
2,
2,
13,
13,
13,
17,
2,
4,
13,
13,
13,
13,
17,
2,
4,
13,
13,
13,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
50,
2
],
[
50,
11
],
[
50,
12
],
[
48,
19
],
[
51,
20
],
[
45,
21
],
[
48,
26
],
[
51,
27
],
[
45,
28
],
[
48,
33
],
[
51,
34
],
[
45,
35
],
[
50,
45
],
[
50,
48
],
[
50,
51
]
] | [
"a,b,c=map(int,input().split())\nif a+b+c==17 and max(a,b,c)==7 and min(a,b,c)==5:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a+b+c==17 and max(a,b,c)==7 and min(a,b,c)==5:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a+b+c==17 and max(a,b,c)==7 and min(a,b,c)==5",
"a+b+c==17 and max(a,b,c)==7",
"a+b+c==17",
"a+b+c",
"a+b",
"a",
"b",
"c",
"17",
"max(a,b,c)==7",
"max(a,b,c)",
"max",
"a",
"b",
"c",
"7",
"min(a,b,c)==5",
"min(a,b,c)",
"min",
"a",
"b",
"c",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b"
] | a,b,c=map(int,input().split())
if a+b+c==17 and max(a,b,c)==7 and min(a,b,c)==5:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
28,
13,
13,
14,
40,
13,
39,
17,
17,
4,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
50,
2
],
[
44,
12
],
[
16,
15
],
[
51,
15
],
[
15,
19
],
[
15,
28
],
[
47,
31
],
[
48,
35
],
[
45,
35
],
[
44,
45
],
[
47,
48
],
[
50,
51
]
] | [
"val = map(int, input().split())\n\ncheck_count = 0\nfor i in val:\n if i not in [5, 7]:\n print('NO')\n if i == 5:\n check_count += 1\n\nif check_count == 2:\n print('YES')\nelse:\n print('NO')",
"val = map(int, input().split())",
"val",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"check_count = 0",
"check_count",
"0",
"for i in val:\n if i not in [5, 7]:\n print('NO')\n if i == 5:\n check_count += 1",
"i",
"val",
"if i not in [5, 7]:\n print('NO')\n ",
"i not in [5, 7]",
"i",
"[5, 7]",
"5",
"7",
"print('NO')",
"print",
"'NO'",
"if i == 5:\n check_count += 1",
"i == 5",
"i",
"5",
"check_count += 1",
"check_count",
"1",
"if check_count == 2:\n print('YES')\nelse:\n print('NO')",
"check_count == 2",
"check_count",
"2",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"check_count = 0",
"0",
"check_count",
"check_count += 1",
"1",
"check_count",
"val = map(int, input().split())",
"map(int, input().split())",
"val"
] | val = map(int, input().split())
check_count = 0
for i in val:
if i not in [5, 7]:
print('NO')
if i == 5:
check_count += 1
if check_count == 2:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
42,
2
],
[
43,
15
],
[
43,
22
],
[
43,
27
],
[
43,
32
],
[
42,
43
]
] | [
"A = list(map(int, input().split()))\nA.sort()\nif A[0] == 5 and A[1] == 5 and A[2] ==7:\n print('YES')\nelse:\n print('NO')",
"A = list(map(int, input().split()))",
"A",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"A.sort()",
"A.sort",
"A",
"sort",
"if A[0] == 5 and A[1] == 5 and A[2] ==7:\n print('YES')\nelse:\n print('NO')",
"A[0] == 5 and A[1] == 5 and A[2] ==7",
"A[0] == 5 and A[1] == 5",
"A[0] == 5",
"A[0]",
"A",
"0",
"5",
"A[1] == 5",
"A[1]",
"A",
"1",
"5",
"A[2] ==7",
"A[2]",
"A",
"2",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"A = list(map(int, input().split()))",
"list(map(int, input().split()))",
"A"
] | A = list(map(int, input().split()))
A.sort()
if A[0] == 5 and A[1] == 5 and A[2] ==7:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
2,
13,
10,
17,
13,
10,
2,
13,
10,
2,
13,
10,
2,
13,
10,
4,
13,
10,
17,
13,
10,
2,
13,
10,
2,
13
] | [
[
109,
2
],
[
109,
11
],
[
109,
12
],
[
112,
14
],
[
97,
17
],
[
92,
21
],
[
100,
24
],
[
113,
26
],
[
92,
30
],
[
94,
33
],
[
98,
35
],
[
110,
39
],
[
106,
42
],
[
101,
44
],
[
113,
44
],
[
110,
48
],
[
103,
51
],
[
95,
53
],
[
98,
53
],
[
89,
57
],
[
115,
60
],
[
107,
62
],
[
101,
62
],
[
113,
62
],
[
89,
66
],
[
118,
69
],
[
104,
71
],
[
95,
71
],
[
98,
71
],
[
116,
76
],
[
107,
76
],
[
101,
76
],
[
113,
76
],
[
119,
79
],
[
104,
79
],
[
95,
79
],
[
98,
79
],
[
109,
89
],
[
109,
92
],
[
94,
95
],
[
97,
98
],
[
100,
101
],
[
103,
104
],
[
106,
107
],
[
109,
110
],
[
112,
113
],
[
115,
116
],
[
118,
119
]
] | [
"A, B, C = map(str, input().split())\n\nD = 0\nE = 0\n\nif A == \"5\":\n D =D + 1\n\nif A == \"7\":\n E =E + 1\n\nif B == \"5\":\n D =D + 1\n\nif B == \"7\":\n E =E + 1\n\nif C == \"5\":\n D =D + 1\n\nif C == \"7\":\n E =E + 1\n\nif D == 2 and E == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A, B, C = map(str, input().split())",
"A",
"map(str, input().split())",
"map",
"str",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"D = 0",
"D",
"0",
"E = 0",
"E",
"0",
"if A == \"5\":\n D =D + 1",
"A == \"5\"",
"A",
"\"5\"",
"D =D + 1",
"D",
"D + 1",
"D",
"1",
"if A == \"7\":\n E =E + 1",
"A == \"7\"",
"A",
"\"7\"",
"E =E + 1",
"E",
"E + 1",
"E",
"1",
"if B == \"5\":\n D =D + 1",
"B == \"5\"",
"B",
"\"5\"",
"D =D + 1",
"D",
"D + 1",
"D",
"1",
"if B == \"7\":\n E =E + 1",
"B == \"7\"",
"B",
"\"7\"",
"E =E + 1",
"E",
"E + 1",
"E",
"1",
"if C == \"5\":\n D =D + 1",
"C == \"5\"",
"C",
"\"5\"",
"D =D + 1",
"D",
"D + 1",
"D",
"1",
"if C == \"7\":\n E =E + 1",
"C == \"7\"",
"C",
"\"7\"",
"E =E + 1",
"E",
"E + 1",
"E",
"1",
"if D == 2 and E == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"D == 2 and E == 1",
"D == 2",
"D",
"2",
"E == 1",
"E",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"C = map(str, input().split())",
"map(str, input().split())",
"C",
"A, B, C = map(str, input().split())",
"map(str, input().split())",
"A",
"E =E + 1",
"E + 1",
"E",
"E = 0",
"0",
"E",
"D =D + 1",
"D + 1",
"D",
"E =E + 1",
"E + 1",
"E",
"D =D + 1",
"D + 1",
"D",
"B, C = map(str, input().split())",
"map(str, input().split())",
"B",
"D = 0",
"0",
"D",
"D =D + 1",
"D + 1",
"D",
"E =E + 1",
"E + 1",
"E"
] | A, B, C = map(str, input().split())
D = 0
E = 0
if A == "5":
D =D + 1
if A == "7":
E =E + 1
if B == "5":
D =D + 1
if B == "7":
E =E + 1
if C == "5":
D =D + 1
if C == "7":
E =E + 1
if D == 2 and E == 1:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
68,
2
],
[
68,
11
],
[
68,
12
],
[
63,
17
],
[
69,
20
],
[
66,
23
],
[
63,
32
],
[
69,
35
],
[
66,
38
],
[
63,
47
],
[
69,
50
],
[
66,
53
],
[
68,
63
],
[
68,
66
],
[
68,
69
]
] | [
"A, B, C = map(int, input().split())\nif A == 5 and B == 5 and C == 7:\n print(\"YES\")\nelif A == 5 and B == 7 and C == 5:\n print(\"YES\")\nelif A == 7 and B == 5 and C == 5:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"if A == 5 and B == 5 and C == 7:\n print(\"YES\")\nelif A == 5 and B == 7 and C == 5:\n print(\"YES\")\nelif A == 7 and B == 5 and C == 5:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A == 5 and B == 5 and C == 7",
"A == 5 and B == 5",
"A == 5",
"A",
"5",
"B == 5",
"B",
"5",
"C == 7",
"C",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"elif A == 5 and B == 7 and C == 5:\n print(\"YES\")",
"A == 5 and B == 7 and C == 5",
"A == 5 and B == 7",
"A == 5",
"A",
"5",
"B == 7",
"B",
"7",
"C == 5",
"C",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"elif A == 7 and B == 5 and C == 5:\n print(\"YES\")",
"A == 7 and B == 5 and C == 5",
"A == 7 and B == 5",
"A == 7",
"A",
"7",
"B == 5",
"B",
"5",
"C == 5",
"C",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A",
"C = map(int, input().split())",
"map(int, input().split())",
"C",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B"
] | A, B, C = map(int, input().split())
if A == 5 and B == 5 and C == 7:
print("YES")
elif A == 5 and B == 7 and C == 5:
print("YES")
elif A == 7 and B == 5 and C == 5:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
55,
2
],
[
52,
9
],
[
46,
12
],
[
16,
15
],
[
56,
15
],
[
15,
19
],
[
58,
22
],
[
15,
26
],
[
49,
29
],
[
59,
34
],
[
53,
34
],
[
50,
37
],
[
47,
37
],
[
46,
47
],
[
49,
50
],
[
52,
53
],
[
55,
56
],
[
58,
59
]
] | [
"# coding: utf-8\n\ninput_ = input().split()\n\ncount_5 = 0\ncount_7 = 0\n\nfor i in input_:\n if i == '5':\n count_5 += 1\n elif i == '7':\n count_7 += 1\n\nif count_5 == 2 and count_7 == 1:\n print('YES')\nelse:\n print('NO')",
"input_ = input().split()",
"input_",
"input().split()",
"().split",
"()",
"input",
"split",
"count_5 = 0",
"count_5",
"0",
"count_7 = 0",
"count_7",
"0",
"for i in input_:\n if i == '5':\n count_5 += 1\n elif i == '7':\n count_7 += 1",
"i",
"input_",
"if i == '5':\n count_5 += 1\n elif i == '7':\n count_7 += 1",
"i == '5'",
"i",
"'5'",
"count_5 += 1",
"count_5",
"1",
"elif i == '7':\n count_7 += 1",
"i == '7'",
"i",
"'7'",
"count_7 += 1",
"count_7",
"1",
"if count_5 == 2 and count_7 == 1:\n print('YES')\nelse:\n print('NO')",
"count_5 == 2 and count_7 == 1",
"count_5 == 2",
"count_5",
"2",
"count_7 == 1",
"count_7",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"count_7 = 0",
"0",
"count_7",
"count_7 += 1",
"1",
"count_7",
"count_5 = 0",
"0",
"count_5",
"input_ = input().split()",
"input().split()",
"input_",
"count_5 += 1",
"1",
"count_5"
] | # coding: utf-8
input_ = input().split()
count_5 = 0
count_7 = 0
for i in input_:
if i == '5':
count_5 += 1
elif i == '7':
count_7 += 1
if count_5 == 2 and count_7 == 1:
print('YES')
else:
print('NO')
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
13,
13,
13,
2,
2,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
38,
2
],
[
38,
11
],
[
38,
12
],
[
33,
17
],
[
39,
18
],
[
36,
19
],
[
38,
33
],
[
38,
36
],
[
38,
39
]
] | [
"a,b,c=map(int,input().split())\n\nif a*b*c==5*5*7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a*b*c==5*5*7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a*b*c==5*5*7",
"a*b*c",
"a*b",
"a",
"b",
"c",
"5*5*7",
"5*5",
"5",
"5",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b"
] | a,b,c=map(int,input().split())
if a*b*c==5*5*7:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
18,
17,
39,
2,
40,
4,
18,
13,
13,
17,
17,
40,
4,
18,
13,
13,
17,
17,
17,
10,
4,
13
] | [
[
27,
2
],
[
28,
14
],
[
28,
21
],
[
27,
28
]
] | [
"s=input();print('YNEOS'[s.count('5')!=2or s.count('7')!=1::2])",
"s=input()",
"s",
"input()",
"input",
"print('YNEOS'[s.count('5')!=2or s.count('7')!=1::2])",
"print",
"'YNEOS'[s.count('5')!=2or s.count('7')!=1::2]",
"'YNEOS'",
"s.count('5')!=2or s.count('7')!=1::2",
"s.count('5')!=2or s.count('7')!=1",
"s.count('5')!=2",
"s.count('5')",
"s.count",
"s",
"count",
"'5'",
"2",
"s.count('7')!=1",
"s.count('7')",
"s.count",
"s",
"count",
"'7'",
"1",
"2",
"s=input()",
"input()",
"s"
] | s=input();print('YNEOS'[s.count('5')!=2or s.count('7')!=1::2]) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
39,
39,
18,
13,
17,
18,
13,
17,
18,
13,
17,
39,
18,
13,
17,
18,
13,
17,
18,
13,
17,
39,
18,
13,
17,
18,
13,
17,
18,
13,
17,
28,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
39,
13
] | [
[
66,
2
],
[
69,
14
],
[
67,
18
],
[
67,
21
],
[
67,
24
],
[
67,
28
],
[
67,
31
],
[
67,
34
],
[
67,
38
],
[
67,
41
],
[
67,
44
],
[
48,
47
],
[
70,
47
],
[
47,
51
],
[
66,
67
],
[
69,
70
]
] | [
"a = list(map(int, input().split()))\n\nsuccess_cases = [(a[0], a[1], a[2]), (a[1], a[2], a[0]), (a[2], a[0], a[1])]\n\nfor c in success_cases:\n if c == (5,7,5):\n print(\"YES\")\n exit(0)\nprint(\"NO\")\n",
"a = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"success_cases = [(a[0], a[1], a[2]), (a[1], a[2], a[0]), (a[2], a[0], a[1])]",
"success_cases",
"[(a[0], a[1], a[2]), (a[1], a[2], a[0]), (a[2], a[0], a[1])]",
"(a[0], a[1], a[2])",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"a[2]",
"a",
"2",
"(a[1], a[2], a[0])",
"a[1]",
"a",
"1",
"a[2]",
"a",
"2",
"a[0]",
"a",
"0",
"(a[2], a[0], a[1])",
"a[2]",
"a",
"2",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"for c in success_cases:\n if c == (5,7,5):\n print(\"YES\")\n exit(0)",
"c",
"success_cases",
"if c == (5,7,5):\n print(\"YES\")\n exit(0)",
"c == (5,7,5)",
"c",
"(5,7,5)",
"5",
"7",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"exit(0)",
"exit",
"0",
"print(\"NO\")",
"print",
"\"NO\"",
"a = list(map(int, input().split()))",
"list(map(int, input().split()))",
"a",
"success_cases = [(a[0], a[1], a[2]), (a[1], a[2], a[0]), (a[2], a[0], a[1])]",
"[(a[0], a[1], a[2]), (a[1], a[2], a[0]), (a[2], a[0], a[1])]",
"success_cases"
] | a = list(map(int, input().split()))
success_cases = [(a[0], a[1], a[2]), (a[1], a[2], a[0]), (a[2], a[0], a[1])]
for c in success_cases:
if c == (5,7,5):
print("YES")
exit(0)
print("NO")
|
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
17,
13,
0,
13,
17,
14,
2,
17,
13,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13
] | [
[
4,
3
],
[
3,
12
],
[
54,
14
],
[
63,
17
],
[
66,
20
],
[
24,
23
],
[
55,
23
],
[
23,
28
],
[
60,
30
],
[
23,
35
],
[
57,
37
],
[
61,
42
],
[
64,
42
],
[
58,
45
],
[
67,
45
],
[
54,
55
],
[
57,
58
],
[
60,
61
],
[
63,
64
],
[
66,
67
]
] | [
"s = [int(x) for x in input().split()]\n\nf5 = 0\nf7 = 0\nfor i in s:\n if 5 == i:\n f5 += 1\n if 7 == i:\n f7 += 1\n \nif f5 == 2 and f7 == 1:\n print('YES')\nelse:\n print('NO')\n",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"s = [int(x) for x in input().split()]",
"s",
"[int(x) for x in input().split()]",
"f5 = 0",
"f5",
"0",
"f7 = 0",
"f7",
"0",
"for i in s:\n if 5 == i:\n f5 += 1\n if 7 == i:\n f7 += 1\n ",
"i",
"s",
"if 5 == i:\n f5 += 1\n ",
"5 == i",
"5",
"i",
"f5 += 1",
"f5",
"1",
"if 7 == i:\n f7 += 1\n ",
"7 == i",
"7",
"i",
"f7 += 1",
"f7",
"1",
"if f5 == 2 and f7 == 1:\n print('YES')\nelse:\n print('NO')",
"f5 == 2 and f7 == 1",
"f5 == 2",
"f5",
"2",
"f7 == 1",
"f7",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"s = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"s",
"f7 += 1",
"1",
"f7",
"f5 += 1",
"1",
"f5",
"f5 = 0",
"0",
"f5",
"f7 = 0",
"0",
"f7"
] | s = [int(x) for x in input().split()]
f5 = 0
f7 = 0
for i in s:
if 5 == i:
f5 += 1
if 7 == i:
f7 += 1
if f5 == 2 and f7 == 1:
print('YES')
else:
print('NO')
|
[
7,
15,
15,
15,
15,
15,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
10,
9
],
[
9,
25
],
[
9,
32
],
[
50,
47
]
] | [
"from fractions import gcd\nfrom collections import Counter, deque, defaultdict\nfrom heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge\nfrom bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort\nfrom itertools import accumulate, product, permutations, combinations\n\ndef main():\n A = list(map(int, input().split()))\n\n print('YES') if A.count(5) == 2 and A.count(7) == 1 else print('NO')\n\nif __name__ == '__main__':\n main()",
"from fractions import gcd",
"from collections import Counter, deque, defaultdict",
"from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge",
"from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort",
"from itertools import accumulate, product, permutations, combinations",
"def main():\n A = list(map(int, input().split()))\n\n print('YES') if A.count(5) == 2 and A.count(7) == 1 else print('NO')",
"main",
"A = list(map(int, input().split()))",
"A",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print('YES') if A.count(5) == 2 and A.count(7) == 1 else print('NO')",
"A.count(5) == 2 and A.count(7) == 1",
"A.count(5) == 2",
"A.count(5)",
"A.count",
"A",
"count",
"5",
"2",
"A.count(7) == 1",
"A.count(7)",
"A.count",
"A",
"count",
"7",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"def main():\n A = list(map(int, input().split()))\n\n print('YES') if A.count(5) == 2 and A.count(7) == 1 else print('NO')",
"def main():\n A = list(map(int, input().split()))\n\n print('YES') if A.count(5) == 2 and A.count(7) == 1 else print('NO')",
"main"
] | from fractions import gcd
from collections import Counter, deque, defaultdict
from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge
from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort
from itertools import accumulate, product, permutations, combinations
def main():
A = list(map(int, input().split()))
print('YES') if A.count(5) == 2 and A.count(7) == 1 else print('NO')
if __name__ == '__main__':
main() |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
42,
2
],
[
45,
14
],
[
43,
17
],
[
48,
21
],
[
43,
24
],
[
46,
30
],
[
49,
33
],
[
42,
43
],
[
45,
46
],
[
48,
49
]
] | [
"mylist = list(map(int,input().split()))\nx = mylist.count(5)\ny = mylist.count(7)\n \nif x == 2 and y == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"mylist = list(map(int,input().split()))",
"mylist",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"x = mylist.count(5)",
"x",
"mylist.count(5)",
"mylist.count",
"mylist",
"count",
"5",
"y = mylist.count(7)",
"y",
"mylist.count(7)",
"mylist.count",
"mylist",
"count",
"7",
"if x == 2 and y == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"x == 2 and y == 1",
"x == 2",
"x",
"2",
"y == 1",
"y",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"mylist = list(map(int,input().split()))",
"list(map(int,input().split()))",
"mylist",
"x = mylist.count(5)",
"mylist.count(5)",
"x",
"y = mylist.count(7)",
"mylist.count(7)",
"y"
] | mylist = list(map(int,input().split()))
x = mylist.count(5)
y = mylist.count(7)
if x == 2 and y == 1:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
33,
2
],
[
34,
15
],
[
34,
22
],
[
33,
34
]
] | [
"abc = list(input().split())\n\nif abc.count('5') == 2 and abc.count('7') == 1:\n print('YES')\nelse:\n print('NO')",
"abc = list(input().split())",
"abc",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"if abc.count('5') == 2 and abc.count('7') == 1:\n print('YES')\nelse:\n print('NO')",
"abc.count('5') == 2 and abc.count('7') == 1",
"abc.count('5') == 2",
"abc.count('5')",
"abc.count",
"abc",
"count",
"'5'",
"2",
"abc.count('7') == 1",
"abc.count('7')",
"abc.count",
"abc",
"count",
"'7'",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"abc = list(input().split())",
"list(input().split())",
"abc"
] | abc = list(input().split())
if abc.count('5') == 2 and abc.count('7') == 1:
print('YES')
else:
print('NO') |
[
7,
15,
41,
28,
13,
4,
18,
4,
18,
4,
18,
13,
13,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
14,
2,
2,
2,
2,
2,
2,
13,
13,
13,
17,
40,
13,
17,
40,
13,
17,
40,
13,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
13,
13,
10,
13,
13
] | [
[
5,
4
],
[
4,
18
],
[
57,
20
],
[
57,
22
],
[
57,
23
],
[
52,
31
],
[
55,
32
],
[
58,
33
],
[
52,
36
],
[
55,
39
],
[
58,
42
],
[
57,
52
],
[
57,
55
],
[
57,
58
]
] | [
"from sys import stdin\n\nA,B,C = [int(x) for x in stdin.readline().rstrip().split()]\n\nif A + B + C == 17 and A >= 5 and B >= 5 and C >= 5:\n print(\"YES\")\nelse:\n print(\"NO\")",
"from sys import stdin",
"int(x) for x in stdin.readline().rstrip().split()",
"for x in stdin.readline().rstrip().split()",
"x",
"stdin.readline().rstrip().split()",
"stdin.readline().rstrip().split",
"stdin.readline().rstrip()",
"stdin.readline().rstrip",
"stdin.readline()",
"stdin.readline",
"stdin",
"readline",
"rstrip",
"split",
"for x in stdin.readline().rstrip().split()",
"int(x)",
"int",
"x",
"A,B,C = [int(x) for x in stdin.readline().rstrip().split()]",
"A",
"[int(x) for x in stdin.readline().rstrip().split()]",
"B",
"C",
"if A + B + C == 17 and A >= 5 and B >= 5 and C >= 5:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A + B + C == 17 and A >= 5 and B >= 5 and C >= 5",
"A + B + C == 17 and A >= 5 and B >= 5",
"A + B + C == 17 and A >= 5",
"A + B + C == 17",
"A + B + C",
"A + B",
"A",
"B",
"C",
"17",
"A >= 5",
"A",
"5",
"B >= 5",
"B",
"5",
"C >= 5",
"C",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"A,B,C = [int(x) for x in stdin.readline().rstrip().split()]",
"[int(x) for x in stdin.readline().rstrip().split()]",
"A",
"B,C = [int(x) for x in stdin.readline().rstrip().split()]",
"[int(x) for x in stdin.readline().rstrip().split()]",
"B",
"C = [int(x) for x in stdin.readline().rstrip().split()]",
"[int(x) for x in stdin.readline().rstrip().split()]",
"C"
] | from sys import stdin
A,B,C = [int(x) for x in stdin.readline().rstrip().split()]
if A + B + C == 17 and A >= 5 and B >= 5 and C >= 5:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
0,
13,
17,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
45,
2
],
[
46,
15
],
[
19,
18
],
[
46,
25
],
[
46,
30
],
[
46,
35
],
[
45,
46
]
] | [
"l = list(map(int, input().split()))\nl.sort(reverse=True)\nif l[0] == 7 and l[1] == 5 and l[2] == 5:\n print('YES')\nelse:\n print('NO')",
"l = list(map(int, input().split()))",
"l",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l.sort(reverse=True)",
"l.sort",
"l",
"sort",
"reverse=True",
"reverse",
"True",
"if l[0] == 7 and l[1] == 5 and l[2] == 5:\n print('YES')\nelse:\n print('NO')",
"l[0] == 7 and l[1] == 5 and l[2] == 5",
"l[0] == 7 and l[1] == 5",
"l[0] == 7",
"l[0]",
"l",
"0",
"7",
"l[1] == 5",
"l[1]",
"l",
"1",
"5",
"l[2] == 5",
"l[2]",
"l",
"2",
"5",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"l = list(map(int, input().split()))",
"list(map(int, input().split()))",
"l"
] | l = list(map(int, input().split()))
l.sort(reverse=True)
if l[0] == 7 and l[1] == 5 and l[2] == 5:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10,
2,
13,
10,
17,
13,
10,
2,
13
] | [
[
55,
2
],
[
58,
14
],
[
64,
17
],
[
21,
20
],
[
56,
20
],
[
20,
24
],
[
61,
27
],
[
59,
29
],
[
62,
29
],
[
20,
33
],
[
67,
36
],
[
65,
38
],
[
68,
38
],
[
62,
43
],
[
59,
43
],
[
68,
46
],
[
65,
46
],
[
55,
56
],
[
58,
59
],
[
61,
62
],
[
64,
65
],
[
67,
68
]
] | [
"a = list(map(int,input().split()))\nnum_5 = 0\nnum_7 = 0\n\nfor i in a:\n if i==5:\n num_5 = num_5+1\n if i==7:\n num_7 = num_7+1\n\nif num_5==2 and num_7==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a = list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"num_5 = 0",
"num_5",
"0",
"num_7 = 0",
"num_7",
"0",
"for i in a:\n if i==5:\n num_5 = num_5+1\n if i==7:\n num_7 = num_7+1",
"i",
"a",
"if i==5:\n num_5 = num_5+1\n ",
"i==5",
"i",
"5",
"num_5 = num_5+1",
"num_5",
"num_5+1",
"num_5",
"1",
"if i==7:\n num_7 = num_7+1",
"i==7",
"i",
"7",
"num_7 = num_7+1",
"num_7",
"num_7+1",
"num_7",
"1",
"if num_5==2 and num_7==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"num_5==2 and num_7==1",
"num_5==2",
"num_5",
"2",
"num_7==1",
"num_7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a = list(map(int,input().split()))",
"list(map(int,input().split()))",
"a",
"num_5 = 0",
"0",
"num_5",
"num_5 = num_5+1",
"num_5+1",
"num_5",
"num_7 = 0",
"0",
"num_7",
"num_7 = num_7+1",
"num_7+1",
"num_7"
] | a = list(map(int,input().split()))
num_5 = 0
num_7 = 0
for i in a:
if i==5:
num_5 = num_5+1
if i==7:
num_7 = num_7+1
if num_5==2 and num_7==1:
print("YES")
else:
print("NO") |
[
7,
15,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
12,
2,
13,
13,
23,
23,
13,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
39,
3
],
[
36,
15
],
[
40,
24
],
[
37,
27
],
[
36,
37
],
[
39,
40
]
] | [
"from functools import reduce\nA= list(map(int,input().split()))\nsum= reduce(lambda a,b : a+b, A)\nif(sum==17):\n print(\"YES\")\nelse:\n print(\"NO\")",
"from functools import reduce",
"A= list(map(int,input().split()))",
"A",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"sum= reduce(lambda a,b : a+b, A)",
"sum",
"reduce(lambda a,b : a+b, A)",
"reduce",
"lambda a,b : a+b",
"a+b",
"a",
"b",
"a",
"b",
"A",
"if(sum==17):\n print(\"YES\")\nelse:\n print(\"NO\")",
"sum==17",
"sum",
"17",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"sum= reduce(lambda a,b : a+b, A)",
"reduce(lambda a,b : a+b, A)",
"sum",
"A= list(map(int,input().split()))",
"list(map(int,input().split()))",
"A"
] | from functools import reduce
A= list(map(int,input().split()))
sum= reduce(lambda a,b : a+b, A)
if(sum==17):
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
0,
13,
8,
2,
4,
18,
17,
13,
13,
17,
17,
17,
4,
13,
13,
10,
8,
13,
10,
4,
13
] | [
[
33,
2
],
[
34,
12
],
[
30,
15
],
[
34,
22
],
[
31,
28
],
[
30,
31
],
[
33,
34
]
] | [
"s_lst= list(input().split())\ns_lst.sort()\nans = \"YES\" if \"\".join(s_lst)==\"557\" else \"NO\"\nprint(ans)",
"s_lst= list(input().split())",
"s_lst",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"s_lst.sort()",
"s_lst.sort",
"s_lst",
"sort",
"ans = \"YES\" if \"\".join(s_lst)==\"557\" else \"NO\"",
"ans",
"\"YES\" if \"\".join(s_lst)==\"557\" else \"NO\"",
"\"\".join(s_lst)==\"557\"",
"\"\".join(s_lst)",
"\"\".join",
"\"\"",
"join",
"s_lst",
"\"557\"",
"\"YES\"",
"\"NO\"",
"print(ans)",
"print",
"ans",
"ans = \"YES\" if \"\".join(s_lst)==\"557\" else \"NO\"",
"\"YES\" if \"\".join(s_lst)==\"557\" else \"NO\"",
"ans",
"s_lst= list(input().split())",
"list(input().split())",
"s_lst"
] | s_lst= list(input().split())
s_lst.sort()
ans = "YES" if "".join(s_lst)=="557" else "NO"
print(ans) |
[
7,
0,
13,
4,
13,
4,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
4,
18,
17,
13,
13,
17,
17,
17,
10,
4,
13
] | [
[
25,
2
],
[
26,
20
],
[
25,
26
]
] | [
"a = list(sorted(input().split()))\nprint(\"YES\" if \"\".join(a) == \"557\" else \"NO\")",
"a = list(sorted(input().split()))",
"a",
"list(sorted(input().split()))",
"list",
"sorted(input().split())",
"sorted",
"input().split()",
"().split",
"()",
"input",
"split",
"print(\"YES\" if \"\".join(a) == \"557\" else \"NO\")",
"print",
"\"YES\" if \"\".join(a) == \"557\" else \"NO\"",
"\"\".join(a) == \"557\"",
"\"\".join(a)",
"\"\".join",
"\"\"",
"join",
"a",
"\"557\"",
"\"YES\"",
"\"NO\"",
"a = list(sorted(input().split()))",
"list(sorted(input().split()))",
"a"
] | a = list(sorted(input().split()))
print("YES" if "".join(a) == "557" else "NO")
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
13,
17,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
17,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
13,
13,
10,
4,
13,
10,
13,
13,
10,
4,
13,
10,
13,
13,
10,
13,
13,
10,
13,
13,
10,
13,
13,
10,
13,
13,
10,
4,
13
] | [
[
94,
2
],
[
94,
11
],
[
94,
12
],
[
77,
15
],
[
79,
18
],
[
77,
19
],
[
91,
21
],
[
95,
22
],
[
73,
24
],
[
92,
25
],
[
67,
27
],
[
80,
28
],
[
71,
31
],
[
64,
34
],
[
71,
35
],
[
82,
37
],
[
95,
38
],
[
85,
40
],
[
83,
41
],
[
88,
43
],
[
65,
44
],
[
74,
49
],
[
77,
49
],
[
89,
52
],
[
68,
52
],
[
95,
52
],
[
86,
55
],
[
71,
55
],
[
71,
64
],
[
64,
65
],
[
80,
67
],
[
67,
68
],
[
94,
71
],
[
92,
73
],
[
73,
74
],
[
94,
77
],
[
77,
79
],
[
79,
80
],
[
95,
82
],
[
82,
83
],
[
83,
85
],
[
85,
86
],
[
65,
88
],
[
88,
89
],
[
95,
91
],
[
91,
92
],
[
94,
95
]
] | [
"A, B, C =map(int,input().split())\n# B should be 7 and A and C should be 5\nif A==7:\n a=A\n b=B\n A=b\n B=a\nelif C==7:\n c=C\n b=B\n C=b\n B=c\nif A==5 and B==7 and C==5:\n print('YES')\nelse:\n print('NO')",
"A, B, C =map(int,input().split())",
"A",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"if A==7:\n a=A\n b=B\n A=b\n B=a\nelif C==7:\n c=C\n b=B\n C=b\n B=c",
"A==7",
"A",
"7",
"a=A",
"a",
"A",
"b=B",
"b",
"B",
"A=b",
"A",
"b",
"B=a",
"B",
"a",
"elif C==7:\n c=C\n b=B\n C=b\n B=c",
"C==7",
"C",
"7",
"c=C",
"c",
"C",
"b=B",
"b",
"B",
"C=b",
"C",
"b",
"B=c",
"B",
"c",
"if A==5 and B==7 and C==5:\n print('YES')\nelse:\n print('NO')",
"A==5 and B==7 and C==5",
"A==5 and B==7",
"A==5",
"A",
"5",
"B==7",
"B",
"7",
"C==5",
"C",
"5",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"c=C",
"C",
"c",
"B=a",
"a",
"B",
"C =map(int,input().split())",
"map(int,input().split())",
"C",
"A=b",
"b",
"A",
"A, B, C =map(int,input().split())",
"map(int,input().split())",
"A",
"a=A",
"A",
"a",
"b=B",
"B",
"b",
"C=b",
"b",
"C",
"B=c",
"c",
"B",
"b=B",
"B",
"b",
"B, C =map(int,input().split())",
"map(int,input().split())",
"B"
] | A, B, C =map(int,input().split())
# B should be 7 and A and C should be 5
if A==7:
a=A
b=B
A=b
B=a
elif C==7:
c=C
b=B
C=b
B=c
if A==5 and B==7 and C==5:
print('YES')
else:
print('NO') |
[
7,
12,
13,
0,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
14,
2,
4,
18,
17,
13,
13,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
12
],
[
4,
20
],
[
36,
33
]
] | [
"# ABC158 A\n\ndef main():\n list = input().split()\n list.sort()\n if ''.join(list) == '557':\n print('YES')\n else:\n print('NO')\n\n\nif __name__ == '__main__':\n main()",
"def main():\n list = input().split()\n list.sort()\n if ''.join(list) == '557':\n print('YES')\n else:\n print('NO')",
"main",
"list = input().split()",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"list.sort()",
"list.sort",
"list",
"sort",
"if ''.join(list) == '557':\n print('YES')\n else:\n print('NO')",
"''.join(list) == '557'",
"''.join(list)",
"''.join",
"''",
"join",
"list",
"'557'",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"def main():\n list = input().split()\n list.sort()\n if ''.join(list) == '557':\n print('YES')\n else:\n print('NO')",
"def main():\n list = input().split()\n list.sort()\n if ''.join(list) == '557':\n print('YES')\n else:\n print('NO')",
"main"
] | # ABC158 A
def main():
list = input().split()
list.sort()
if ''.join(list) == '557':
print('YES')
else:
print('NO')
if __name__ == '__main__':
main()
|
[
7,
12,
13,
0,
13,
4,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
9,
8
],
[
4,
11
],
[
8,
15
],
[
4,
15
],
[
8,
25
],
[
4,
25
],
[
8,
35
],
[
4,
35
],
[
50,
47
]
] | [
"def test():\n x=input()\n x=x.split()\n if x == ['5','5','7']:\n print(\"YES\")\n elif x == ['5','7','5']:\n print(\"YES\")\n elif x == ['7','5','5']:\n print(\"YES\")\n else:\n print(\"NO\")\n \ntest()",
"def test():\n x=input()\n x=x.split()\n if x == ['5','5','7']:\n print(\"YES\")\n elif x == ['5','7','5']:\n print(\"YES\")\n elif x == ['7','5','5']:\n print(\"YES\")\n else:\n print(\"NO\")\n ",
"test",
"x=input()",
"x",
"input()",
"input",
"x=x.split()",
"x",
"x.split()",
"x.split",
"x",
"split",
"if x == ['5','5','7']:\n print(\"YES\")\n elif x == ['5','7','5']:\n print(\"YES\")\n elif x == ['7','5','5']:\n print(\"YES\")\n else:\n print(\"NO\")\n ",
"x == ['5','5','7']",
"x",
"['5','5','7']",
"'5'",
"'5'",
"'7'",
"print(\"YES\")",
"print",
"\"YES\"",
"elif x == ['5','7','5']:\n print(\"YES\")\n ",
"x == ['5','7','5']",
"x",
"['5','7','5']",
"'5'",
"'7'",
"'5'",
"print(\"YES\")",
"print",
"\"YES\"",
"elif x == ['7','5','5']:\n print(\"YES\")\n ",
"x == ['7','5','5']",
"x",
"['7','5','5']",
"'7'",
"'5'",
"'5'",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"test()",
"test",
"def test():\n x=input()\n x=x.split()\n if x == ['5','5','7']:\n print(\"YES\")\n elif x == ['5','7','5']:\n print(\"YES\")\n elif x == ['7','5','5']:\n print(\"YES\")\n else:\n print(\"NO\")\n ",
"def test():\n x=input()\n x=x.split()\n if x == ['5','5','7']:\n print(\"YES\")\n elif x == ['5','7','5']:\n print(\"YES\")\n elif x == ['7','5','5']:\n print(\"YES\")\n else:\n print(\"NO\")\n ",
"test"
] | def test():
x=input()
x=x.split()
if x == ['5','5','7']:
print("YES")
elif x == ['5','7','5']:
print("YES")
elif x == ['7','5','5']:
print("YES")
else:
print("NO")
test() |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
18,
13,
17,
13,
4,
13,
18,
13,
17,
13,
4,
13,
18,
13,
17,
0,
13,
39,
17,
17,
0,
13,
39,
28,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
4,
18,
39,
13,
13,
13,
13,
18,
13,
13,
14,
2,
13,
39,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
39,
13
] | [
[
75,
2
],
[
69,
9
],
[
76,
13
],
[
72,
15
],
[
76,
19
],
[
78,
21
],
[
76,
25
],
[
81,
28
],
[
84,
33
],
[
37,
36
],
[
82,
41
],
[
85,
44
],
[
82,
54
],
[
36,
55
],
[
85,
58
],
[
69,
70
],
[
72,
73
],
[
75,
76
],
[
78,
79
],
[
81,
82
],
[
84,
85
]
] | [
"L=input().split()\nA,B,C=int(L[0]),int(L[1]),int(L[2])\nX=[5,7]\nans = []\nfor i in range(len(X)):\n ans.append([A,B,C].count(X[i]))\nif ans == [2,1]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"L=input().split()",
"L",
"input().split()",
"().split",
"()",
"input",
"split",
"A,B,C=int(L[0]),int(L[1]),int(L[2])",
"A",
"int(L[0])",
"int",
"L[0]",
"L",
"0",
"B",
"int(L[1])",
"int",
"L[1]",
"L",
"1",
"C",
"int(L[2])",
"int",
"L[2]",
"L",
"2",
"X=[5,7]",
"X",
"[5,7]",
"5",
"7",
"ans = []",
"ans",
"[]",
"for i in range(len(X)):\n ans.append([A,B,C].count(X[i]))",
"i",
"range(len(X))",
"range",
"len(X)",
"len",
"X",
"ans.append([A,B,C].count(X[i]))",
"ans.append",
"ans",
"append",
"[A,B,C].count(X[i])",
"[A,B,C].count",
"[A,B,C]",
"A",
"B",
"C",
"count",
"X[i]",
"X",
"i",
"if ans == [2,1]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"ans == [2,1]",
"ans",
"[2,1]",
"2",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"A,B,C=int(L[0]),int(L[1]),int(L[2])",
"int(L[0])",
"A",
"B,C=int(L[0]),int(L[1]),int(L[2])",
"int(L[1])",
"B",
"L=input().split()",
"input().split()",
"L",
"C=int(L[0]),int(L[1]),int(L[2])",
"int(L[2])",
"C",
"X=[5,7]",
"[5,7]",
"X",
"ans = []",
"[]",
"ans"
] | L=input().split()
A,B,C=int(L[0]),int(L[1]),int(L[2])
X=[5,7]
ans = []
for i in range(len(X)):
ans.append([A,B,C].count(X[i]))
if ans == [2,1]:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
46,
2
],
[
43,
14
],
[
47,
17
],
[
44,
23
],
[
44,
28
],
[
44,
33
],
[
43,
44
],
[
46,
47
]
] | [
"A = list(map(int, input().split()))\n\nA_sort = sorted(A)\n\nif A_sort[0]==5 and A_sort[1]==5 and A_sort[2]==7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A = list(map(int, input().split()))",
"A",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"A_sort = sorted(A)",
"A_sort",
"sorted(A)",
"sorted",
"A",
"if A_sort[0]==5 and A_sort[1]==5 and A_sort[2]==7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A_sort[0]==5 and A_sort[1]==5 and A_sort[2]==7",
"A_sort[0]==5 and A_sort[1]==5",
"A_sort[0]==5",
"A_sort[0]",
"A_sort",
"0",
"5",
"A_sort[1]==5",
"A_sort[1]",
"A_sort",
"1",
"5",
"A_sort[2]==7",
"A_sort[2]",
"A_sort",
"2",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"A_sort = sorted(A)",
"sorted(A)",
"A_sort",
"A = list(map(int, input().split()))",
"list(map(int, input().split()))",
"A"
] | A = list(map(int, input().split()))
A_sort = sorted(A)
if A_sort[0]==5 and A_sort[1]==5 and A_sort[2]==7:
print("YES")
else:
print("NO")
|
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
14,
2,
2,
2,
13,
13,
13,
17,
14,
2,
2,
2,
13,
13,
13,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
13,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
50,
14
],
[
50,
16
],
[
50,
17
],
[
48,
22
],
[
45,
23
],
[
51,
24
],
[
48,
30
],
[
45,
31
],
[
51,
32
],
[
50,
45
],
[
50,
48
],
[
50,
51
]
] | [
"A,B,C = (int(x) for x in input().split())\nif A+B+C == 17:\n if A*B*C == 175:\n print ('YES')\n else:\n print ('NO')\nelse:\n print ('NO')",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"A,B,C = (int(x) for x in input().split())",
"A",
"(int(x) for x in input().split())",
"B",
"C",
"if A+B+C == 17:\n if A*B*C == 175:\n print ('YES')\n else:\n print ('NO')\nelse:\n print ('NO')",
"A+B+C == 17",
"A+B+C",
"A+B",
"A",
"B",
"C",
"17",
"if A*B*C == 175:\n print ('YES')\n else:\n print ('NO')",
"A*B*C == 175",
"A*B*C",
"A*B",
"A",
"B",
"C",
"175",
"print ('YES')",
"print",
"'YES'",
"print ('NO')",
"print",
"'NO'",
"print ('NO')",
"print",
"'NO'",
"B,C = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"B",
"A,B,C = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"A",
"C = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"C"
] | A,B,C = (int(x) for x in input().split())
if A+B+C == 17:
if A*B*C == 175:
print ('YES')
else:
print ('NO')
else:
print ('NO')
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
13,
17,
14,
2,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
73,
2
],
[
73,
11
],
[
73,
12
],
[
68,
15
],
[
71,
19
],
[
74,
23
],
[
71,
33
],
[
74,
37
],
[
68,
50
],
[
71,
55
],
[
74,
58
],
[
73,
68
],
[
73,
71
],
[
73,
74
]
] | [
"A,B,C = map(int,input().split())\nif A == 5:\n if B == 5:\n if C == 7:\n print(\"YES\")\n else:\n print(\"NO\")\n elif B == 7:\n if C == 5:\n print(\"YES\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")\nelif A == 7:\n if B == 5 and C == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"A,B,C = map(int,input().split())",
"A",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"if A == 5:\n if B == 5:\n if C == 7:\n print(\"YES\")\n else:\n print(\"NO\")\n elif B == 7:\n if C == 5:\n print(\"YES\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")\nelif A == 7:\n if B == 5 and C == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"A == 5",
"A",
"5",
"if B == 5:\n if C == 7:\n print(\"YES\")\n else:\n print(\"NO\")\n elif B == 7:\n if C == 5:\n print(\"YES\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")",
"B == 5",
"B",
"5",
"if C == 7:\n print(\"YES\")\n else:\n print(\"NO\")\n ",
"C == 7",
"C",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"elif B == 7:\n if C == 5:\n print(\"YES\")\n else:\n print(\"NO\")\n ",
"B == 7",
"B",
"7",
"if C == 5:\n print(\"YES\")\n else:\n print(\"NO\")\n ",
"C == 5",
"C",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"print(\"NO\")",
"print",
"\"NO\"",
"elif A == 7:\n if B == 5 and C == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"A == 7",
"A",
"7",
"if B == 5 and C == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"B == 5 and C == 5",
"B == 5",
"B",
"5",
"C == 5",
"C",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"A,B,C = map(int,input().split())",
"map(int,input().split())",
"A",
"B,C = map(int,input().split())",
"map(int,input().split())",
"B",
"C = map(int,input().split())",
"map(int,input().split())",
"C"
] | A,B,C = map(int,input().split())
if A == 5:
if B == 5:
if C == 7:
print("YES")
else:
print("NO")
elif B == 7:
if C == 5:
print("YES")
else:
print("NO")
else:
print("NO")
elif A == 7:
if B == 5 and C == 5:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
56,
2
],
[
56,
11
],
[
56,
12
],
[
54,
16
],
[
51,
19
],
[
51,
27
],
[
57,
30
],
[
54,
38
],
[
57,
41
],
[
56,
51
],
[
56,
54
],
[
56,
57
]
] | [
"a,b,c = map(int, input().split())\nif(a==5 and b==5):\n\tprint(\"YES\")\nelif(b==5 and c==5):\n\tprint(\"YES\")\nelif(a==5 and c==5):\n\tprint(\"YES\")\nelse:\n\tprint(\"NO\")",
"a,b,c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if(a==5 and b==5):\n\tprint(\"YES\")\nelif(b==5 and c==5):\n\tprint(\"YES\")\nelif(a==5 and c==5):\n\tprint(\"YES\")\nelse:\n\tprint(\"NO\")",
"a==5 and b==5",
"a==5",
"a",
"5",
"b==5",
"b",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"elif(b==5 and c==5):\n\tprint(\"YES\")",
"b==5 and c==5",
"b==5",
"b",
"5",
"c==5",
"c",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"elif(a==5 and c==5):\n\tprint(\"YES\")",
"a==5 and c==5",
"a==5",
"a",
"5",
"c==5",
"c",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"b,c = map(int, input().split())",
"map(int, input().split())",
"b",
"a,b,c = map(int, input().split())",
"map(int, input().split())",
"a",
"c = map(int, input().split())",
"map(int, input().split())",
"c"
] | a,b,c = map(int, input().split())
if(a==5 and b==5):
print("YES")
elif(b==5 and c==5):
print("YES")
elif(a==5 and c==5):
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
65,
2
],
[
65,
8
],
[
65,
9
],
[
60,
14
],
[
66,
17
],
[
63,
20
],
[
60,
29
],
[
66,
32
],
[
63,
35
],
[
60,
44
],
[
66,
47
],
[
63,
50
],
[
65,
60
],
[
65,
63
],
[
65,
66
]
] | [
"a,b,c=input().split()\nif a==\"5\" and b==\"5\" and c==\"7\":\n\tprint(\"YES\")\nelif a==\"5\" and b==\"7\" and c==\"5\":\n\tprint(\"YES\")\nelif a==\"7\" and b==\"5\" and c==\"5\":\n\tprint(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c=input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a==\"5\" and b==\"5\" and c==\"7\":\n\tprint(\"YES\")\nelif a==\"5\" and b==\"7\" and c==\"5\":\n\tprint(\"YES\")\nelif a==\"7\" and b==\"5\" and c==\"5\":\n\tprint(\"YES\")\nelse:\n print(\"NO\")",
"a==\"5\" and b==\"5\" and c==\"7\"",
"a==\"5\" and b==\"5\"",
"a==\"5\"",
"a",
"\"5\"",
"b==\"5\"",
"b",
"\"5\"",
"c==\"7\"",
"c",
"\"7\"",
"print(\"YES\")",
"print",
"\"YES\"",
"elif a==\"5\" and b==\"7\" and c==\"5\":\n\tprint(\"YES\")",
"a==\"5\" and b==\"7\" and c==\"5\"",
"a==\"5\" and b==\"7\"",
"a==\"5\"",
"a",
"\"5\"",
"b==\"7\"",
"b",
"\"7\"",
"c==\"5\"",
"c",
"\"5\"",
"print(\"YES\")",
"print",
"\"YES\"",
"elif a==\"7\" and b==\"5\" and c==\"5\":\n\tprint(\"YES\")",
"a==\"7\" and b==\"5\" and c==\"5\"",
"a==\"7\" and b==\"5\"",
"a==\"7\"",
"a",
"\"7\"",
"b==\"5\"",
"b",
"\"5\"",
"c==\"5\"",
"c",
"\"5\"",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a,b,c=input().split()",
"input().split()",
"a",
"c=input().split()",
"input().split()",
"c",
"b,c=input().split()",
"input().split()",
"b"
] | a,b,c=input().split()
if a=="5" and b=="5" and c=="7":
print("YES")
elif a=="5" and b=="7" and c=="5":
print("YES")
elif a=="7" and b=="5" and c=="5":
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
31,
2
],
[
32,
15
],
[
32,
19
],
[
31,
32
]
] | [
"a = list(map(int, input().split()))\na.sort()\nif a == [5, 5, 7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"a.sort()",
"a.sort",
"a",
"sort",
"if a == [5, 5, 7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a == [5, 5, 7]",
"a",
"[5, 5, 7]",
"5",
"5",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a = list(map(int, input().split()))",
"list(map(int, input().split()))",
"a"
] | a = list(map(int, input().split()))
a.sort()
if a == [5, 5, 7]:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
36,
2
],
[
37,
18
],
[
37,
25
],
[
36,
37
]
] | [
"A = list(map(str,input().split()))\n\n\nif (A.count(\"5\") == 2 )and (A.count(\"7\") == 1):\n print(\"YES\")\nelse:\n print(\"NO\")",
"A = list(map(str,input().split()))",
"A",
"list(map(str,input().split()))",
"list",
"map(str,input().split())",
"map",
"str",
"input().split()",
"().split",
"()",
"input",
"split",
"if (A.count(\"5\") == 2 )and (A.count(\"7\") == 1):\n print(\"YES\")\nelse:\n print(\"NO\")",
"(A.count(\"5\") == 2 )and (A.count(\"7\") == 1)",
"A.count(\"5\") == 2",
"A.count(\"5\")",
"A.count",
"A",
"count",
"\"5\"",
"2",
"A.count(\"7\") == 1",
"A.count(\"7\")",
"A.count",
"A",
"count",
"\"7\"",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"A = list(map(str,input().split()))",
"list(map(str,input().split()))",
"A"
] | A = list(map(str,input().split()))
if (A.count("5") == 2 )and (A.count("7") == 1):
print("YES")
else:
print("NO") |
[
7,
15,
13,
12,
13,
29,
2,
13,
2,
2,
17,
17,
17,
23,
13,
14,
2,
13,
17,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
12,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
14,
7
],
[
14,
14
],
[
84,
20
],
[
87,
32
],
[
90,
35
],
[
72,
38
],
[
42,
41
],
[
85,
41
],
[
41,
45
],
[
81,
48
],
[
41,
52
],
[
78,
55
],
[
82,
60
],
[
91,
60
],
[
79,
63
],
[
73,
63
],
[
72,
73
],
[
78,
79
],
[
81,
82
],
[
84,
85
],
[
87,
88
],
[
90,
91
]
] | [
"# coding:UTF-8\nimport sys\n\n\ndef resultSur97(x):\n return x % (10 ** 9 + 7)\n\n\nif __name__ == '__main__':\n # ------ 入力 ------#\n # 1行入力\n aList = list(map(int, input().split())) # スペース区切り連続数字\n\n x = 5\n\n # ------ 処理 ------#\n c5 = 0\n c7 = 0\n for a in aList:\n if a == 5:\n c5 += 1\n elif a == 7:\n c7 += 1\n\n # ------ 出力 ------#\n if c5 == 2 and c7 == 1:\n print(\"YES\")\n else:\n print(\"NO\")",
"import sys",
"sys",
"def resultSur97(x):\n return x % (10 ** 9 + 7)",
"resultSur97",
"return x % (10 ** 9 + 7)",
"x % (10 ** 9 + 7)",
"x",
"10 ** 9 + 7",
"10 ** 9",
"10",
"9",
"7",
"x",
"x",
"if __name__ == '__main__':\n # ------ 入力 ------#\n # 1行入力\n aList = list(map(int, input().split())) # スペース区切り連続数字\n\n x = 5\n\n # ------ 処理 ------#\n c5 = 0\n c7 = 0\n for a in aList:\n if a == 5:\n c5 += 1\n elif a == 7:\n c7 += 1\n\n # ------ 出力 ------#\n if c5 == 2 and c7 == 1:\n print(\"YES\")\n else:\n print(\"NO\")",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"aList = list(map(int, input().split()))",
"aList",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"x = 5",
"x",
"5",
"c5 = 0",
"c5",
"0",
"c7 = 0",
"c7",
"0",
"for a in aList:\n if a == 5:\n c5 += 1\n elif a == 7:\n c7 += 1\n\n # ------ 出力 ------#\n ",
"a",
"aList",
"if a == 5:\n c5 += 1\n elif a == 7:\n c7 += 1\n\n # ------ 出力 ------#\n ",
"a == 5",
"a",
"5",
"c5 += 1",
"c5",
"1",
"elif a == 7:\n c7 += 1\n\n # ------ 出力 ------#\n ",
"a == 7",
"a",
"7",
"c7 += 1",
"c7",
"1",
"if c5 == 2 and c7 == 1:\n print(\"YES\")\n else:\n print(\"NO\")",
"c5 == 2 and c7 == 1",
"c5 == 2",
"c5",
"2",
"c7 == 1",
"c7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"c7 = 0",
"0",
"c7",
"def resultSur97(x):\n return x % (10 ** 9 + 7)",
"def resultSur97(x):\n return x % (10 ** 9 + 7)",
"resultSur97",
"c7 += 1",
"1",
"c7",
"c5 += 1",
"1",
"c5",
"aList = list(map(int, input().split()))",
"list(map(int, input().split()))",
"aList",
"x = 5",
"5",
"x",
"c5 = 0",
"0",
"c5"
] | # coding:UTF-8
import sys
def resultSur97(x):
return x % (10 ** 9 + 7)
if __name__ == '__main__':
# ------ 入力 ------#
# 1行入力
aList = list(map(int, input().split())) # スペース区切り連続数字
x = 5
# ------ 処理 ------#
c5 = 0
c7 = 0
for a in aList:
if a == 5:
c5 += 1
elif a == 7:
c7 += 1
# ------ 出力 ------#
if c5 == 2 and c7 == 1:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
39,
17,
17,
17,
14,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
39,
13,
10,
4,
13
] | [
[
35,
2
],
[
32,
16
],
[
36,
23
],
[
33,
24
],
[
32,
33
],
[
35,
36
]
] | [
"syl=sorted(list(map(int,input().split())))\n\nsyl2=[5, 5, 7]\n\nif syl == syl2:\n\tprint('YES')\nelse:\n\tprint('NO')",
"syl=sorted(list(map(int,input().split())))",
"syl",
"sorted(list(map(int,input().split())))",
"sorted",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"syl2=[5, 5, 7]",
"syl2",
"[5, 5, 7]",
"5",
"5",
"7",
"if syl == syl2:\n\tprint('YES')\nelse:\n\tprint('NO')",
"syl == syl2",
"syl",
"syl2",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"syl2=[5, 5, 7]",
"[5, 5, 7]",
"syl2",
"syl=sorted(list(map(int,input().split())))",
"sorted(list(map(int,input().split())))",
"syl"
] | syl=sorted(list(map(int,input().split())))
syl2=[5, 5, 7]
if syl == syl2:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
18,
4,
13,
13,
17,
17,
4,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
31,
2
],
[
32,
17
],
[
32,
24
],
[
31,
32
]
] | [
"ABC = input().replace(' ', '')\nprint('YES' if ABC.count('5') == 2 and ABC.count('7') == 1 else 'NO')",
"ABC = input().replace(' ', '')",
"ABC",
"input().replace(' ', '')",
"().replace",
"()",
"input",
"replace",
"' '",
"''",
"print('YES' if ABC.count('5') == 2 and ABC.count('7') == 1 else 'NO')",
"print",
"'YES' if ABC.count('5') == 2 and ABC.count('7') == 1 else 'NO'",
"ABC.count('5') == 2 and ABC.count('7') == 1",
"ABC.count('5') == 2",
"ABC.count('5')",
"ABC.count",
"ABC",
"count",
"'5'",
"2",
"ABC.count('7') == 1",
"ABC.count('7')",
"ABC.count",
"ABC",
"count",
"'7'",
"1",
"'YES'",
"'NO'",
"ABC = input().replace(' ', '')",
"input().replace(' ', '')",
"ABC"
] | ABC = input().replace(' ', '')
print('YES' if ABC.count('5') == 2 and ABC.count('7') == 1 else 'NO')
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
64,
2
],
[
64,
13
],
[
64,
14
],
[
59,
21
],
[
62,
24
],
[
65,
27
],
[
59,
32
],
[
62,
35
],
[
65,
38
],
[
59,
43
],
[
62,
46
],
[
65,
49
],
[
64,
59
],
[
64,
62
],
[
64,
65
]
] | [
"A, B, C = list(map(int, input().split()))\nif (A == 7 and B == 5 and C == 5) or (A == 5 and B == 7 and C == 5) or (A == 5 and B == 5 and C == 7):\n print('YES')\nelse:\n print('NO')",
"A, B, C = list(map(int, input().split()))",
"A",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"if (A == 7 and B == 5 and C == 5) or (A == 5 and B == 7 and C == 5) or (A == 5 and B == 5 and C == 7):\n print('YES')\nelse:\n print('NO')",
"(A == 7 and B == 5 and C == 5) or (A == 5 and B == 7 and C == 5) or (A == 5 and B == 5 and C == 7)",
"(A == 7 and B == 5 and C == 5) or (A == 5 and B == 7 and C == 5)",
"A == 7 and B == 5 and C == 5",
"A == 7 and B == 5",
"A == 7",
"A",
"7",
"B == 5",
"B",
"5",
"C == 5",
"C",
"5",
"A == 5 and B == 7 and C == 5",
"A == 5 and B == 7",
"A == 5",
"A",
"5",
"B == 7",
"B",
"7",
"C == 5",
"C",
"5",
"A == 5 and B == 5 and C == 7",
"A == 5 and B == 5",
"A == 5",
"A",
"5",
"B == 5",
"B",
"5",
"C == 7",
"C",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"A, B, C = list(map(int, input().split()))",
"list(map(int, input().split()))",
"A",
"B, C = list(map(int, input().split()))",
"list(map(int, input().split()))",
"B",
"C = list(map(int, input().split()))",
"list(map(int, input().split()))",
"C"
] | A, B, C = list(map(int, input().split()))
if (A == 7 and B == 5 and C == 5) or (A == 5 and B == 7 and C == 5) or (A == 5 and B == 5 and C == 7):
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
18,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
0,
13,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
40,
2
],
[
41,
13
],
[
41,
20
],
[
37,
25
],
[
34,
28
],
[
35,
32
],
[
38,
32
],
[
34,
35
],
[
37,
38
],
[
40,
41
]
] | [
"words = input().split()\n\nif (words.count(\"5\") == 2) and (words.count(\"7\") == 1):\n ans = \"YES\"\nelse:\n ans = \"NO\"\n\nprint(ans)",
"words = input().split()",
"words",
"input().split()",
"().split",
"()",
"input",
"split",
"if (words.count(\"5\") == 2) and (words.count(\"7\") == 1):\n ans = \"YES\"\nelse:\n ans = \"NO\"",
"(words.count(\"5\") == 2) and (words.count(\"7\") == 1)",
"words.count(\"5\") == 2",
"words.count(\"5\")",
"words.count",
"words",
"count",
"\"5\"",
"2",
"words.count(\"7\") == 1",
"words.count(\"7\")",
"words.count",
"words",
"count",
"\"7\"",
"1",
"ans = \"YES\"",
"ans",
"\"YES\"",
"ans = \"NO\"",
"ans",
"\"NO\"",
"print(ans)",
"print",
"ans",
"ans = \"NO\"",
"\"NO\"",
"ans",
"ans = \"YES\"",
"\"YES\"",
"ans",
"words = input().split()",
"input().split()",
"words"
] | words = input().split()
if (words.count("5") == 2) and (words.count("7") == 1):
ans = "YES"
else:
ans = "NO"
print(ans) |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
2,
2,
18,
13,
17,
18,
13,
17,
17,
2,
18,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
36,
2
],
[
37,
22
],
[
37,
25
],
[
37,
30
],
[
36,
37
]
] | [
"L = sorted(list(map(int, input().split())))\nprint('YES' if L[0]==L[1]==5 and L[2]==7 else 'NO')",
"L = sorted(list(map(int, input().split())))",
"L",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print('YES' if L[0]==L[1]==5 and L[2]==7 else 'NO')",
"print",
"'YES' if L[0]==L[1]==5 and L[2]==7 else 'NO'",
"L[0]==L[1]==5 and L[2]==7",
"L[0]==L[1]==5",
"L[0]==L[1]",
"L[0]",
"L",
"0",
"L[1]",
"L",
"1",
"5",
"L[2]==7",
"L[2]",
"L",
"2",
"7",
"'YES'",
"'NO'",
"L = sorted(list(map(int, input().split())))",
"sorted(list(map(int, input().split())))",
"L"
] | L = sorted(list(map(int, input().split())))
print('YES' if L[0]==L[1]==5 and L[2]==7 else 'NO')
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
13,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
13,
13,
10,
4,
13,
10,
17,
13,
10,
13,
13,
10,
13,
13,
10,
4,
13
] | [
[
81,
2
],
[
81,
11
],
[
81,
12
],
[
72,
14
],
[
82,
19
],
[
82,
22
],
[
75,
25
],
[
82,
26
],
[
70,
30
],
[
70,
33
],
[
66,
36
],
[
70,
37
],
[
64,
41
],
[
64,
44
],
[
78,
47
],
[
64,
48
],
[
79,
51
],
[
67,
51
],
[
76,
51
],
[
73,
51
],
[
81,
64
],
[
70,
66
],
[
66,
67
],
[
81,
70
],
[
72,
73
],
[
82,
75
],
[
75,
76
],
[
64,
78
],
[
78,
79
],
[
81,
82
]
] | [
"A,B,C=map(int,input().split())\nlst=0\nif A==5 or A==7:\n lst+=A\n if B==5 or B==7:\n lst+=B\n if C==5 or C==7:\n lst+=C\n if lst==17:\n print('YES')\n else:\n print('NO')\nelse:\n print('NO')",
"A,B,C=map(int,input().split())",
"A",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"lst=0",
"lst",
"0",
"if A==5 or A==7:\n lst+=A\n if B==5 or B==7:\n lst+=B\n if C==5 or C==7:\n lst+=C\n if lst==17:\n print('YES')\n else:\n print('NO')\nelse:\n print('NO')",
"A==5 or A==7",
"A==5",
"A",
"5",
"A==7",
"A",
"7",
"lst+=A",
"lst",
"A",
"if B==5 or B==7:\n lst+=B\n if C==5 or C==7:\n lst+=C\n if lst==17:\n print('YES')\n else:\n print('NO')",
"B==5 or B==7",
"B==5",
"B",
"5",
"B==7",
"B",
"7",
"lst+=B",
"lst",
"B",
"if C==5 or C==7:\n lst+=C\n if lst==17:\n print('YES')\n else:\n print('NO')",
"C==5 or C==7",
"C==5",
"C",
"5",
"C==7",
"C",
"7",
"lst+=C",
"lst",
"C",
"if lst==17:\n print('YES')\n else:\n print('NO')",
"lst==17",
"lst",
"17",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"print('NO')",
"print",
"'NO'",
"C=map(int,input().split())",
"map(int,input().split())",
"C",
"lst+=B",
"B",
"lst",
"B,C=map(int,input().split())",
"map(int,input().split())",
"B",
"lst=0",
"0",
"lst",
"lst+=A",
"A",
"lst",
"lst+=C",
"C",
"lst",
"A,B,C=map(int,input().split())",
"map(int,input().split())",
"A"
] | A,B,C=map(int,input().split())
lst=0
if A==5 or A==7:
lst+=A
if B==5 or B==7:
lst+=B
if C==5 or C==7:
lst+=C
if lst==17:
print('YES')
else:
print('NO')
else:
print('NO') |
[
7,
12,
13,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
13,
39,
17,
17,
17,
17,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
21
],
[
36,
33
]
] | [
"def main():\n x = sorted(list(map(int, input().split())))\n print('YES' if x == [5, 5, 7] else 'NO')\n\nif __name__ == '__main__':\n main()",
"def main():\n x = sorted(list(map(int, input().split())))\n print('YES' if x == [5, 5, 7] else 'NO')",
"main",
"x = sorted(list(map(int, input().split())))",
"x",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print('YES' if x == [5, 5, 7] else 'NO')",
"print",
"'YES' if x == [5, 5, 7] else 'NO'",
"x == [5, 5, 7]",
"x",
"[5, 5, 7]",
"5",
"5",
"7",
"'YES'",
"'NO'",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"def main():\n x = sorted(list(map(int, input().split())))\n print('YES' if x == [5, 5, 7] else 'NO')",
"def main():\n x = sorted(list(map(int, input().split())))\n print('YES' if x == [5, 5, 7] else 'NO')",
"main"
] | def main():
x = sorted(list(map(int, input().split())))
print('YES' if x == [5, 5, 7] else 'NO')
if __name__ == '__main__':
main()
|
[
7,
0,
13,
17,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
0,
13,
17,
0,
13,
39,
17,
17,
14,
2,
2,
2,
2,
13,
13,
2,
13,
13,
2,
13,
13,
2,
2,
2,
13,
13,
13,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
17,
13,
10,
13,
13,
10,
17,
13,
10,
13,
13,
10,
39,
13
] | [
[
65,
2
],
[
7,
6
],
[
6,
15
],
[
68,
17
],
[
68,
19
],
[
68,
20
],
[
59,
22
],
[
71,
25
],
[
57,
34
],
[
72,
35
],
[
63,
37
],
[
72,
38
],
[
69,
40
],
[
72,
41
],
[
57,
45
],
[
63,
46
],
[
69,
47
],
[
68,
57
],
[
59,
60
],
[
68,
63
],
[
65,
66
],
[
68,
69
],
[
71,
72
]
] | [
"N = 3\n\na, b, c = [int(N) for N in input().split() ]\n\nd = 17\n\nmylist = [5, 7]\n\nif ( a in mylist and b in mylist and c in mylist and a + b + c == 17 ):\n print(\"YES\")\nelse:\n print(\"NO\")",
"N = 3",
"N",
"3",
"int(N) for N in input().split()",
"for N in input().split()",
"N",
"input().split()",
"().split",
"()",
"input",
"split",
"for N in input().split()",
"int(N)",
"int",
"N",
"a, b, c = [int(N) for N in input().split() ]",
"a",
"[int(N) for N in input().split() ]",
"b",
"c",
"d = 17",
"d",
"17",
"mylist = [5, 7]",
"mylist",
"[5, 7]",
"5",
"7",
"if ( a in mylist and b in mylist and c in mylist and a + b + c == 17 ):\n print(\"YES\")\nelse:\n print(\"NO\")",
"a in mylist and b in mylist and c in mylist and a + b + c == 17",
"a in mylist and b in mylist and c in mylist",
"a in mylist and b in mylist",
"a in mylist",
"a",
"mylist",
"b in mylist",
"b",
"mylist",
"c in mylist",
"c",
"mylist",
"a + b + c == 17",
"a + b + c",
"a + b",
"a",
"b",
"c",
"17",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a, b, c = [int(N) for N in input().split() ]",
"[int(N) for N in input().split() ]",
"a",
"d = 17",
"17",
"d",
"b, c = [int(N) for N in input().split() ]",
"[int(N) for N in input().split() ]",
"b",
"N = 3",
"3",
"N",
"c = [int(N) for N in input().split() ]",
"[int(N) for N in input().split() ]",
"c",
"mylist = [5, 7]",
"[5, 7]",
"mylist"
] | N = 3
a, b, c = [int(N) for N in input().split() ]
d = 17
mylist = [5, 7]
if ( a in mylist and b in mylist and c in mylist and a + b + c == 17 ):
print("YES")
else:
print("NO")
|
[
7,
12,
13,
0,
13,
4,
18,
13,
13,
17,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
29,
17,
29,
17,
23,
13,
0,
13,
4,
13,
4,
13,
4,
13,
13,
10,
12,
13,
10,
4,
13
] | [
[
5,
4
],
[
31,
7
],
[
4,
15
],
[
4,
22
],
[
31,
31
],
[
45,
33
],
[
43,
39
],
[
46,
40
],
[
45,
46
]
] | [
"def atc_042a(input_value: str) -> str:\n ABC = input_value.split(\" \")\n if ABC.count(\"5\") == 2 and ABC.count(\"7\") == 1:\n return \"YES\"\n return \"NO\"\n\ninput_value_1 = input()\nprint(atc_042a(input_value_1))",
"def atc_042a(input_value: str) -> str:\n ABC = input_value.split(\" \")\n if ABC.count(\"5\") == 2 and ABC.count(\"7\") == 1:\n return \"YES\"\n return \"NO\"",
"atc_042a",
"ABC = input_value.split(\" \")",
"ABC",
"input_value.split(\" \")",
"input_value.split",
"input_value",
"split",
"\" \"",
"if ABC.count(\"5\") == 2 and ABC.count(\"7\") == 1:\n return \"YES\"\n ",
"ABC.count(\"5\") == 2 and ABC.count(\"7\") == 1",
"ABC.count(\"5\") == 2",
"ABC.count(\"5\")",
"ABC.count",
"ABC",
"count",
"\"5\"",
"2",
"ABC.count(\"7\") == 1",
"ABC.count(\"7\")",
"ABC.count",
"ABC",
"count",
"\"7\"",
"1",
"return \"YES\"",
"\"YES\"",
"return \"NO\"",
"\"NO\"",
"input_value: str",
"input_value",
"input_value_1 = input()",
"input_value_1",
"input()",
"input",
"print(atc_042a(input_value_1))",
"print",
"atc_042a(input_value_1)",
"atc_042a",
"input_value_1",
"def atc_042a(input_value: str) -> str:\n ABC = input_value.split(\" \")\n if ABC.count(\"5\") == 2 and ABC.count(\"7\") == 1:\n return \"YES\"\n return \"NO\"",
"def atc_042a(input_value: str) -> str:\n ABC = input_value.split(\" \")\n if ABC.count(\"5\") == 2 and ABC.count(\"7\") == 1:\n return \"YES\"\n return \"NO\"",
"atc_042a",
"input_value_1 = input()",
"input()",
"input_value_1"
] | def atc_042a(input_value: str) -> str:
ABC = input_value.split(" ")
if ABC.count("5") == 2 and ABC.count("7") == 1:
return "YES"
return "NO"
input_value_1 = input()
print(atc_042a(input_value_1)) |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
28,
2
],
[
29,
12
],
[
29,
16
],
[
28,
29
]
] | [
"l = list(input().split())\nl.sort()\nif l == ['5', '5', '7']:\n print(\"YES\")\nelse:\n print(\"NO\")",
"l = list(input().split())",
"l",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"l.sort()",
"l.sort",
"l",
"sort",
"if l == ['5', '5', '7']:\n print(\"YES\")\nelse:\n print(\"NO\")",
"l == ['5', '5', '7']",
"l",
"['5', '5', '7']",
"'5'",
"'5'",
"'7'",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"l = list(input().split())",
"list(input().split())",
"l"
] | l = list(input().split())
l.sort()
if l == ['5', '5', '7']:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
0,
13,
17,
28,
13,
13,
4,
13,
13,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
2,
13,
13,
4,
13,
8,
13,
17,
17,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
2,
13,
10,
17,
13
] | [
[
51,
2
],
[
52,
15
],
[
60,
18
],
[
52,
25
],
[
48,
27
],
[
54,
34
],
[
57,
37
],
[
55,
39
],
[
49,
39
],
[
58,
44
],
[
61,
44
],
[
48,
49
],
[
51,
52
],
[
54,
55
],
[
57,
58
],
[
60,
61
]
] | [
"x = list(map(int, input().split()))\nx.sort()\nf = True\nfor i, e in enumerate(x):\n tmp = 5\n if i == 2:\n tmp = 7\n\n f &= (tmp == e)\nprint(\"YES\" if f else \"NO\")",
"x = list(map(int, input().split()))",
"x",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"x.sort()",
"x.sort",
"x",
"sort",
"f = True",
"f",
"True",
"for i, e in enumerate(x):\n tmp = 5\n if i == 2:\n tmp = 7\n\n f &= (tmp == e)",
"i",
"e",
"enumerate(x)",
"enumerate",
"x",
"tmp = 5",
"tmp",
"5",
"if i == 2:\n tmp = 7\n\n ",
"i == 2",
"i",
"2",
"tmp = 7",
"tmp",
"7",
"f &= (tmp == e)",
"f",
"tmp == e",
"tmp",
"e",
"print(\"YES\" if f else \"NO\")",
"print",
"\"YES\" if f else \"NO\"",
"f",
"\"YES\"",
"\"NO\"",
"tmp = 5",
"5",
"tmp",
"x = list(map(int, input().split()))",
"list(map(int, input().split()))",
"x",
"tmp = 7",
"7",
"tmp",
"f &= (tmp == e)",
"tmp == e",
"f",
"f = True",
"True",
"f"
] | x = list(map(int, input().split()))
x.sort()
f = True
for i, e in enumerate(x):
tmp = 5
if i == 2:
tmp = 7
f &= (tmp == e)
print("YES" if f else "NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
48,
2
],
[
42,
14
],
[
49,
17
],
[
45,
21
],
[
49,
24
],
[
43,
30
],
[
46,
33
],
[
42,
43
],
[
45,
46
],
[
48,
49
]
] | [
"a = list(map(int,input().split()))\nb = a.count(5)\nc = a.count(7)\n\nif b == 2 and c == 1:\n print('YES')\nelse:\n print('NO')",
"a = list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b = a.count(5)",
"b",
"a.count(5)",
"a.count",
"a",
"count",
"5",
"c = a.count(7)",
"c",
"a.count(7)",
"a.count",
"a",
"count",
"7",
"if b == 2 and c == 1:\n print('YES')\nelse:\n print('NO')",
"b == 2 and c == 1",
"b == 2",
"b",
"2",
"c == 1",
"c",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"b = a.count(5)",
"a.count(5)",
"b",
"c = a.count(7)",
"a.count(7)",
"c",
"a = list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | a = list(map(int,input().split()))
b = a.count(5)
c = a.count(7)
if b == 2 and c == 1:
print('YES')
else:
print('NO') |
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
18,
18,
13,
13,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
2,
17,
17,
0,
13,
17,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
29,
14,
2,
13,
17,
4,
13,
10,
17,
13,
10,
18,
13,
10,
12,
13,
10,
18,
13,
10,
18,
13,
10,
2,
13
] | [
[
92,
4
],
[
101,
11
],
[
98,
18
],
[
104,
32
],
[
89,
37
],
[
43,
42
],
[
102,
51
],
[
42,
55
],
[
42,
62
],
[
42,
67
],
[
42,
72
],
[
96,
87
],
[
89,
90
],
[
92,
93
],
[
98,
99
],
[
101,
102
],
[
104,
105
]
] | [
"import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 9)\nINF = 1 << 60\nMOD = 1000000007\n\n\ndef main():\n X = list(map(int, readline().split()))\n\n X.sort()\n if X[0] == 5 and X[1] == 5 and X[2] == 7:\n print('YES')\n else:\n print('NO')\n\n return\n\n\nif __name__ == '__main__':\n main()",
"import sys",
"sys",
"read = sys.stdin.read",
"read",
"sys.stdin.read",
"sys.stdin",
"sys",
"stdin",
"read",
"readline = sys.stdin.readline",
"readline",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"readlines = sys.stdin.readlines",
"readlines",
"sys.stdin.readlines",
"sys.stdin",
"sys",
"stdin",
"readlines",
"sys.setrecursionlimit(10 ** 9)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10 ** 9",
"10",
"9",
"INF = 1 << 60",
"INF",
"1 << 60",
"1",
"60",
"MOD = 1000000007",
"MOD",
"1000000007",
"def main():\n X = list(map(int, readline().split()))\n\n X.sort()\n if X[0] == 5 and X[1] == 5 and X[2] == 7:\n print('YES')\n else:\n print('NO')\n\n return",
"main",
"X = list(map(int, readline().split()))",
"X",
"list(map(int, readline().split()))",
"list",
"map(int, readline().split())",
"map",
"int",
"readline().split()",
"().split",
"()",
"readline",
"split",
"X.sort()",
"X.sort",
"X",
"sort",
"if X[0] == 5 and X[1] == 5 and X[2] == 7:\n print('YES')\n else:\n print('NO')\n\n ",
"X[0] == 5 and X[1] == 5 and X[2] == 7",
"X[0] == 5 and X[1] == 5",
"X[0] == 5",
"X[0]",
"X",
"0",
"5",
"X[1] == 5",
"X[1]",
"X",
"1",
"5",
"X[2] == 7",
"X[2]",
"X",
"2",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"return",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"MOD = 1000000007",
"1000000007",
"MOD",
"read = sys.stdin.read",
"sys.stdin.read",
"read",
"def main():\n X = list(map(int, readline().split()))\n\n X.sort()\n if X[0] == 5 and X[1] == 5 and X[2] == 7:\n print('YES')\n else:\n print('NO')\n\n return",
"def main():\n X = list(map(int, readline().split()))\n\n X.sort()\n if X[0] == 5 and X[1] == 5 and X[2] == 7:\n print('YES')\n else:\n print('NO')\n\n return",
"main",
"readlines = sys.stdin.readlines",
"sys.stdin.readlines",
"readlines",
"readline = sys.stdin.readline",
"sys.stdin.readline",
"readline",
"INF = 1 << 60",
"1 << 60",
"INF"
] | import sys
read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007
def main():
X = list(map(int, readline().split()))
X.sort()
if X[0] == 5 and X[1] == 5 and X[2] == 7:
print('YES')
else:
print('NO')
return
if __name__ == '__main__':
main()
|
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
18,
13,
17,
0,
13,
4,
13,
18,
13,
17,
0,
13,
4,
13,
18,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
78,
2
],
[
75,
6
],
[
79,
10
],
[
81,
13
],
[
79,
17
],
[
84,
20
],
[
79,
24
],
[
76,
30
],
[
82,
33
],
[
85,
36
],
[
76,
45
],
[
82,
48
],
[
85,
51
],
[
76,
60
],
[
82,
63
],
[
85,
66
],
[
75,
76
],
[
78,
79
],
[
81,
82
],
[
84,
85
]
] | [
"a = input()\nA = int(a[0])\nB = int(a[2])\nC = int(a[4])\n\nif(A==5 and B==7 and C==5):\n print('YES')\nelif(A==7 and B==5 and C==5):\n print('YES')\nelif(A==5 and B==5 and C==7):\n print('YES')\nelse:\n print('NO')\n",
"a = input()",
"a",
"input()",
"input",
"A = int(a[0])",
"A",
"int(a[0])",
"int",
"a[0]",
"a",
"0",
"B = int(a[2])",
"B",
"int(a[2])",
"int",
"a[2]",
"a",
"2",
"C = int(a[4])",
"C",
"int(a[4])",
"int",
"a[4]",
"a",
"4",
"if(A==5 and B==7 and C==5):\n print('YES')\nelif(A==7 and B==5 and C==5):\n print('YES')\nelif(A==5 and B==5 and C==7):\n print('YES')\nelse:\n print('NO')",
"A==5 and B==7 and C==5",
"A==5 and B==7",
"A==5",
"A",
"5",
"B==7",
"B",
"7",
"C==5",
"C",
"5",
"print('YES')",
"print",
"'YES'",
"elif(A==7 and B==5 and C==5):\n print('YES')",
"A==7 and B==5 and C==5",
"A==7 and B==5",
"A==7",
"A",
"7",
"B==5",
"B",
"5",
"C==5",
"C",
"5",
"print('YES')",
"print",
"'YES'",
"elif(A==5 and B==5 and C==7):\n print('YES')",
"A==5 and B==5 and C==7",
"A==5 and B==5",
"A==5",
"A",
"5",
"B==5",
"B",
"5",
"C==7",
"C",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"A = int(a[0])",
"int(a[0])",
"A",
"a = input()",
"input()",
"a",
"B = int(a[2])",
"int(a[2])",
"B",
"C = int(a[4])",
"int(a[4])",
"C"
] | a = input()
A = int(a[0])
B = int(a[2])
C = int(a[4])
if(A==5 and B==7 and C==5):
print('YES')
elif(A==7 and B==5 and C==5):
print('YES')
elif(A==5 and B==5 and C==7):
print('YES')
else:
print('NO')
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
13,
13,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
34,
2
],
[
34,
11
],
[
34,
12
],
[
29,
17
],
[
32,
18
],
[
35,
19
],
[
34,
29
],
[
34,
32
],
[
34,
35
]
] | [
"a,b,c = map(int,input().split())\nif a + b + c == 17:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a + b + c == 17:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a + b + c == 17",
"a + b + c",
"a + b",
"a",
"b",
"c",
"17",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a,b,c = map(int,input().split())",
"map(int,input().split())",
"a",
"b,c = map(int,input().split())",
"map(int,input().split())",
"b",
"c = map(int,input().split())",
"map(int,input().split())",
"c"
] | a,b,c = map(int,input().split())
if a + b + c == 17:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
8,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
31,
2
],
[
32,
15
],
[
32,
19
],
[
31,
32
]
] | [
"a = list(map(int, input().split()))\na.sort()\nprint(\"YES\") if a == [5, 5, 7] else print(\"NO\")",
"a = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"a.sort()",
"a.sort",
"a",
"sort",
"print(\"YES\") if a == [5, 5, 7] else print(\"NO\")",
"a == [5, 5, 7]",
"a",
"[5, 5, 7]",
"5",
"5",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a = list(map(int, input().split()))",
"list(map(int, input().split()))",
"a"
] | a = list(map(int, input().split()))
a.sort()
print("YES") if a == [5, 5, 7] else print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
28,
13,
4,
13,
17,
0,
13,
18,
13,
13,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
18,
13,
10,
4,
13,
10,
17,
13
] | [
[
40,
2
],
[
43,
14
],
[
18,
17
],
[
37,
22
],
[
41,
24
],
[
17,
25
],
[
38,
28
],
[
44,
28
],
[
37,
38
],
[
40,
41
],
[
43,
44
]
] | [
"L = list(map(int,input().split()))\ncnt = 0\n\nfor i in range(3):\n cnt += L[i]\n \nif cnt == 17:\n print(\"YES\")\n\nelse:\n print(\"NO\")",
"L = list(map(int,input().split()))",
"L",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"cnt = 0",
"cnt",
"0",
"for i in range(3):\n cnt += L[i]\n ",
"i",
"range(3)",
"range",
"3",
"cnt += L[i]",
"cnt",
"L[i]",
"L",
"i",
"if cnt == 17:\n print(\"YES\")\n\nelse:\n print(\"NO\")",
"cnt == 17",
"cnt",
"17",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"cnt += L[i]",
"L[i]",
"cnt",
"L = list(map(int,input().split()))",
"list(map(int,input().split()))",
"L",
"cnt = 0",
"0",
"cnt"
] | L = list(map(int,input().split()))
cnt = 0
for i in range(3):
cnt += L[i]
if cnt == 17:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
4,
13,
8,
2,
13,
39,
17,
17,
17,
17,
17,
10,
4,
13
] | [
[
29,
2
],
[
30,
15
],
[
30,
21
],
[
29,
30
]
] | [
"a=list(map(int,input().split()))\na.sort()\nprint(\"YES\" if a==[5,5,7] else \"NO\")",
"a=list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"a.sort()",
"a.sort",
"a",
"sort",
"print(\"YES\" if a==[5,5,7] else \"NO\")",
"print",
"\"YES\" if a==[5,5,7] else \"NO\"",
"a==[5,5,7]",
"a",
"[5,5,7]",
"5",
"5",
"7",
"\"YES\"",
"\"NO\"",
"a=list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | a=list(map(int,input().split()))
a.sort()
print("YES" if a==[5,5,7] else "NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
14,
2,
4,
18,
17,
13,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
27,
2
],
[
28,
10
],
[
28,
18
],
[
27,
28
]
] | [
"list = input().split()\nlist.sort()\nif ''.join(list) == '557':\n print('YES')\nelse:\n print('NO')",
"list = input().split()",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"list.sort()",
"list.sort",
"list",
"sort",
"if ''.join(list) == '557':\n print('YES')\nelse:\n print('NO')",
"''.join(list) == '557'",
"''.join(list)",
"''.join",
"''",
"join",
"list",
"'557'",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"list = input().split()",
"input().split()",
"list"
] | list = input().split()
list.sort()
if ''.join(list) == '557':
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
40,
2
],
[
41,
20
],
[
41,
25
],
[
41,
30
],
[
40,
41
]
] | [
"tmp = sorted(list(map(int, input().split())))\nif tmp[0] == 5 and tmp[1] == 5 and tmp[2] == 7:\n print('YES')\nelse:\n print('NO')",
"tmp = sorted(list(map(int, input().split())))",
"tmp",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if tmp[0] == 5 and tmp[1] == 5 and tmp[2] == 7:\n print('YES')\nelse:\n print('NO')",
"tmp[0] == 5 and tmp[1] == 5 and tmp[2] == 7",
"tmp[0] == 5 and tmp[1] == 5",
"tmp[0] == 5",
"tmp[0]",
"tmp",
"0",
"5",
"tmp[1] == 5",
"tmp[1]",
"tmp",
"1",
"5",
"tmp[2] == 7",
"tmp[2]",
"tmp",
"2",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"tmp = sorted(list(map(int, input().split())))",
"sorted(list(map(int, input().split())))",
"tmp"
] | tmp = sorted(list(map(int, input().split())))
if tmp[0] == 5 and tmp[1] == 5 and tmp[2] == 7:
print('YES')
else:
print('NO')
|
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
4,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
40,
2
],
[
37,
9
],
[
41,
12
],
[
43,
16
],
[
41,
19
],
[
38,
25
],
[
44,
28
],
[
37,
38
],
[
40,
41
],
[
43,
44
]
] | [
"a = input().split()\nfive = a.count('5')\nseven = a.count('7')\n\nif five == 2 and seven == 1:\n print('YES')\nelse:\n print('NO')",
"a = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"five = a.count('5')",
"five",
"a.count('5')",
"a.count",
"a",
"count",
"'5'",
"seven = a.count('7')",
"seven",
"a.count('7')",
"a.count",
"a",
"count",
"'7'",
"if five == 2 and seven == 1:\n print('YES')\nelse:\n print('NO')",
"five == 2 and seven == 1",
"five == 2",
"five",
"2",
"seven == 1",
"seven",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"five = a.count('5')",
"a.count('5')",
"five",
"a = input().split()",
"input().split()",
"a",
"seven = a.count('7')",
"a.count('7')",
"seven"
] | a = input().split()
five = a.count('5')
seven = a.count('7')
if five == 2 and seven == 1:
print('YES')
else:
print('NO')
|
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
39,
13,
13,
13,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
2,
17,
13,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
17,
13,
10,
13,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
77,
14
],
[
77,
16
],
[
77,
17
],
[
68,
19
],
[
71,
22
],
[
26,
25
],
[
25,
32
],
[
62,
35
],
[
25,
39
],
[
74,
42
],
[
63,
47
],
[
69,
47
],
[
75,
50
],
[
72,
50
],
[
77,
60
],
[
62,
63
],
[
77,
66
],
[
68,
69
],
[
71,
72
],
[
74,
75
],
[
77,
78
]
] | [
"A, B, C = [int(x) for x in input().split()]\nreq_fives = 2\nreq_seven = 1\nfor x in (A, B, C):\n if x == 5:\n req_fives -= 1\n elif x == 7:\n req_seven -= 1\nif req_fives == 0 & req_seven == 0:\n print(\"YES\")\nelse:\n print(\"NO\")",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"A, B, C = [int(x) for x in input().split()]",
"A",
"[int(x) for x in input().split()]",
"B",
"C",
"req_fives = 2",
"req_fives",
"2",
"req_seven = 1",
"req_seven",
"1",
"for x in (A, B, C):\n if x == 5:\n req_fives -= 1\n elif x == 7:\n req_seven -= 1",
"x",
"(A, B, C)",
"A",
"B",
"C",
"if x == 5:\n req_fives -= 1\n elif x == 7:\n req_seven -= 1",
"x == 5",
"x",
"5",
"req_fives -= 1",
"req_fives",
"1",
"elif x == 7:\n req_seven -= 1",
"x == 7",
"x",
"7",
"req_seven -= 1",
"req_seven",
"1",
"if req_fives == 0 & req_seven == 0:\n print(\"YES\")\nelse:\n print(\"NO\")",
"req_fives == 0 & req_seven == 0",
"req_fives == 0 & req_seven",
"req_fives",
"0 & req_seven",
"0",
"req_seven",
"0",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"C = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"C",
"req_fives -= 1",
"1",
"req_fives",
"A, B, C = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"A",
"req_fives = 2",
"2",
"req_fives",
"req_seven = 1",
"1",
"req_seven",
"req_seven -= 1",
"1",
"req_seven",
"B, C = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"B"
] | A, B, C = [int(x) for x in input().split()]
req_fives = 2
req_seven = 1
for x in (A, B, C):
if x == 5:
req_fives -= 1
elif x == 7:
req_seven -= 1
if req_fives == 0 & req_seven == 0:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
39,
13,
10,
17,
13
] | [
[
72,
2
],
[
72,
11
],
[
72,
12
],
[
75,
14
],
[
69,
20
],
[
60,
23
],
[
27,
26
],
[
76,
26
],
[
26,
30
],
[
78,
33
],
[
26,
37
],
[
66,
40
],
[
79,
45
],
[
70,
45
],
[
67,
48
],
[
61,
48
],
[
72,
58
],
[
60,
61
],
[
72,
64
],
[
66,
67
],
[
69,
70
],
[
72,
73
],
[
75,
76
],
[
78,
79
]
] | [
"a, b, c = map(int, input().split())\nls = [a,b,c]\nfive = 0\nseven = 0\nfor data in ls:\n if data == 5:\n five += 1\n elif data == 7:\n seven += 1\nif five == 2 and seven == 1:\n print('YES')\nelse:\n print('NO')",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"ls = [a,b,c]",
"ls",
"[a,b,c]",
"a",
"b",
"c",
"five = 0",
"five",
"0",
"seven = 0",
"seven",
"0",
"for data in ls:\n if data == 5:\n five += 1\n elif data == 7:\n seven += 1",
"data",
"ls",
"if data == 5:\n five += 1\n elif data == 7:\n seven += 1",
"data == 5",
"data",
"5",
"five += 1",
"five",
"1",
"elif data == 7:\n seven += 1",
"data == 7",
"data",
"7",
"seven += 1",
"seven",
"1",
"if five == 2 and seven == 1:\n print('YES')\nelse:\n print('NO')",
"five == 2 and seven == 1",
"five == 2",
"five",
"2",
"seven == 1",
"seven",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"seven = 0",
"0",
"seven",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"seven += 1",
"1",
"seven",
"five = 0",
"0",
"five",
"c = map(int, input().split())",
"map(int, input().split())",
"c",
"ls = [a,b,c]",
"[a,b,c]",
"ls",
"five += 1",
"1",
"five"
] | a, b, c = map(int, input().split())
ls = [a,b,c]
five = 0
seven = 0
for data in ls:
if data == 5:
five += 1
elif data == 7:
seven += 1
if five == 2 and seven == 1:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
4,
13,
17,
17,
14,
2,
18,
13,
13,
17,
0,
13,
2,
13,
17,
14,
2,
18,
13,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
2,
13,
10,
2,
13,
10,
4,
13
] | [
[
71,
2
],
[
62,
11
],
[
59,
14
],
[
18,
17
],
[
72,
25
],
[
17,
26
],
[
68,
29
],
[
63,
31
],
[
69,
31
],
[
72,
36
],
[
17,
37
],
[
65,
40
],
[
60,
42
],
[
66,
42
],
[
69,
47
],
[
63,
47
],
[
66,
50
],
[
60,
50
],
[
59,
60
],
[
62,
63
],
[
65,
66
],
[
68,
69
],
[
71,
72
]
] | [
"data=list(input().split())\na=0\nb=0\nfor i in range(0,3):\n if data[i]=='5':\n a=a+1\n elif data[i]=='7':\n b=b+1\nif (a==2 and b==1):\n print('YES')\nelse:\n print('NO')",
"data=list(input().split())",
"data",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"a=0",
"a",
"0",
"b=0",
"b",
"0",
"for i in range(0,3):\n if data[i]=='5':\n a=a+1\n elif data[i]=='7':\n b=b+1",
"i",
"range(0,3)",
"range",
"0",
"3",
"if data[i]=='5':\n a=a+1\n elif data[i]=='7':\n b=b+1",
"data[i]=='5'",
"data[i]",
"data",
"i",
"'5'",
"a=a+1",
"a",
"a+1",
"a",
"1",
"elif data[i]=='7':\n b=b+1",
"data[i]=='7'",
"data[i]",
"data",
"i",
"'7'",
"b=b+1",
"b",
"b+1",
"b",
"1",
"if (a==2 and b==1):\n print('YES')\nelse:\n print('NO')",
"a==2 and b==1",
"a==2",
"a",
"2",
"b==1",
"b",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"b=0",
"0",
"b",
"a=0",
"0",
"a",
"b=b+1",
"b+1",
"b",
"a=a+1",
"a+1",
"a",
"data=list(input().split())",
"list(input().split())",
"data"
] | data=list(input().split())
a=0
b=0
for i in range(0,3):
if data[i]=='5':
a=a+1
elif data[i]=='7':
b=b+1
if (a==2 and b==1):
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
2,
2,
13,
13,
13,
17,
17,
2,
2,
2,
2,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
46,
2
],
[
46,
11
],
[
46,
12
],
[
41,
19
],
[
44,
20
],
[
47,
21
],
[
41,
28
],
[
44,
29
],
[
47,
30
],
[
46,
41
],
[
46,
44
],
[
46,
47
]
] | [
"a,b,c=map(int,input().split())\nif((a*b*c)%7==0)and((a*b*c)/7==25):\n\tprint(\"YES\")\nelse:\n \tprint(\"NO\")",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if((a*b*c)%7==0)and((a*b*c)/7==25):\n\tprint(\"YES\")\nelse:\n \tprint(\"NO\")",
"((a*b*c)%7==0)and((a*b*c)/7==25)",
"(a*b*c)%7==0",
"(a*b*c)%7",
"a*b*c",
"a*b",
"a",
"b",
"c",
"7",
"0",
"(a*b*c)/7==25",
"(a*b*c)/7",
"a*b*c",
"a*b",
"a",
"b",
"c",
"7",
"25",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"c=map(int,input().split())",
"map(int,input().split())",
"c"
] | a,b,c=map(int,input().split())
if((a*b*c)%7==0)and((a*b*c)/7==25):
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
4,
18,
13,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
34,
2
],
[
35,
18
],
[
35,
24
],
[
34,
35
]
] | [
"arr = list(map(int, input().split()))\nif arr.count(5) == 2 and arr.count(7):\n print(\"YES\")\nelse:\n print('NO')",
"arr = list(map(int, input().split()))",
"arr",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if arr.count(5) == 2 and arr.count(7):\n print(\"YES\")\nelse:\n print('NO')",
"arr.count(5) == 2 and arr.count(7)",
"arr.count(5) == 2",
"arr.count(5)",
"arr.count",
"arr",
"count",
"5",
"2",
"arr.count(7)",
"arr.count",
"arr",
"count",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print('NO')",
"print",
"'NO'",
"arr = list(map(int, input().split()))",
"list(map(int, input().split()))",
"arr"
] | arr = list(map(int, input().split()))
if arr.count(5) == 2 and arr.count(7):
print("YES")
else:
print('NO')
|
[
7,
0,
13,
4,
13,
0,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
32,
2
],
[
29,
6
],
[
33,
9
],
[
30,
13
],
[
33,
13
],
[
30,
17
],
[
33,
17
],
[
29,
30
],
[
32,
33
]
] | [
"s = input()\ns = s.split()\ns.sort()\n\nif s == [\"5\",\"5\",\"7\"]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"s = input()",
"s",
"input()",
"input",
"s = s.split()",
"s",
"s.split()",
"s.split",
"s",
"split",
"s.sort()",
"s.sort",
"s",
"sort",
"if s == [\"5\",\"5\",\"7\"]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"s == [\"5\",\"5\",\"7\"]",
"s",
"[\"5\",\"5\",\"7\"]",
"\"5\"",
"\"5\"",
"\"7\"",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"s = s.split()",
"s.split()",
"s",
"s = input()",
"input()",
"s"
] | s = input()
s = s.split()
s.sort()
if s == ["5","5","7"]:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
2,
39,
17,
17,
0,
18,
13,
17,
13,
0,
18,
13,
17,
13,
0,
18,
13,
17,
13,
4,
18,
13,
13,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
2,
13,
10,
4,
13,
10,
4,
13
] | [
[
72,
2
],
[
72,
11
],
[
72,
12
],
[
66,
14
],
[
23,
20
],
[
67,
21
],
[
70,
23
],
[
28,
25
],
[
67,
26
],
[
64,
28
],
[
33,
30
],
[
67,
31
],
[
73,
33
],
[
67,
36
],
[
67,
43
],
[
67,
48
],
[
67,
53
],
[
72,
64
],
[
66,
67
],
[
72,
70
],
[
72,
73
]
] | [
"A, B, C = map(int, input().split())\nS = [0]*3\n\nS[0] = A\nS[1] = B\nS[2] = C\n\nS.sort()\n\nif(S[0]==5 and S[1]==5 and S[2]==7):\n print('YES')\nelse:\n print('NO')",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"S = [0]*3",
"S",
"[0]*3",
"[0]",
"0",
"3",
"S[0] = A",
"S[0]",
"S",
"0",
"A",
"S[1] = B",
"S[1]",
"S",
"1",
"B",
"S[2] = C",
"S[2]",
"S",
"2",
"C",
"S.sort()",
"S.sort",
"S",
"sort",
"if(S[0]==5 and S[1]==5 and S[2]==7):\n print('YES')\nelse:\n print('NO')",
"S[0]==5 and S[1]==5 and S[2]==7",
"S[0]==5 and S[1]==5",
"S[0]==5",
"S[0]",
"S",
"0",
"5",
"S[1]==5",
"S[1]",
"S",
"1",
"5",
"S[2]==7",
"S[2]",
"S",
"2",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B",
"S = [0]*3",
"[0]*3",
"S",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A",
"C = map(int, input().split())",
"map(int, input().split())",
"C"
] | A, B, C = map(int, input().split())
S = [0]*3
S[0] = A
S[1] = B
S[2] = C
S.sort()
if(S[0]==5 and S[1]==5 and S[2]==7):
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
40,
18,
13,
17,
18,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
38,
2
],
[
39,
19
],
[
39,
22
],
[
39,
26
],
[
39,
29
],
[
38,
39
]
] | [
"h = sorted(list(map(int, input().split())))\nif (h[0] == h[1]) and (h[1] != h[2]):\n print(\"YES\")\nelse:\n print(\"NO\")",
"h = sorted(list(map(int, input().split())))",
"h",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if (h[0] == h[1]) and (h[1] != h[2]):\n print(\"YES\")\nelse:\n print(\"NO\")",
"(h[0] == h[1]) and (h[1] != h[2])",
"h[0] == h[1]",
"h[0]",
"h",
"0",
"h[1]",
"h",
"1",
"h[1] != h[2]",
"h[1]",
"h",
"1",
"h[2]",
"h",
"2",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"h = sorted(list(map(int, input().split())))",
"sorted(list(map(int, input().split())))",
"h"
] | h = sorted(list(map(int, input().split())))
if (h[0] == h[1]) and (h[1] != h[2]):
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
14,
2,
2,
2,
13,
13,
13,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
67,
2
],
[
67,
11
],
[
67,
12
],
[
62,
16
],
[
62,
19
],
[
65,
24
],
[
65,
27
],
[
68,
32
],
[
68,
35
],
[
62,
41
],
[
65,
42
],
[
68,
43
],
[
67,
62
],
[
67,
65
],
[
67,
68
]
] | [
"a,b,c = map(int,input().split())#標準入力を行う\nif (a == 5 or a== 7):\n if(b == 5 or b == 7):\n if(c == 5 or c == 7):\n if(a + b + c == 17):\n print(\"YES\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")\nelse:\n print(\"NO\")",
"a,b,c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if (a == 5 or a== 7):\n if(b == 5 or b == 7):\n if(c == 5 or c == 7):\n if(a + b + c == 17):\n print(\"YES\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")\nelse:\n print(\"NO\")",
"a == 5 or a== 7",
"a == 5",
"a",
"5",
"a== 7",
"a",
"7",
"if(b == 5 or b == 7):\n if(c == 5 or c == 7):\n if(a + b + c == 17):\n print(\"YES\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")",
"b == 5 or b == 7",
"b == 5",
"b",
"5",
"b == 7",
"b",
"7",
"if(c == 5 or c == 7):\n if(a + b + c == 17):\n print(\"YES\")\n else:\n print(\"NO\")\n else:\n print(\"NO\")\n ",
"c == 5 or c == 7",
"c == 5",
"c",
"5",
"c == 7",
"c",
"7",
"if(a + b + c == 17):\n print(\"YES\")\n else:\n print(\"NO\")\n ",
"a + b + c == 17",
"a + b + c",
"a + b",
"a",
"b",
"c",
"17",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"print(\"NO\")",
"print",
"\"NO\"",
"print(\"NO\")",
"print",
"\"NO\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a,b,c = map(int,input().split())",
"map(int,input().split())",
"a",
"b,c = map(int,input().split())",
"map(int,input().split())",
"b",
"c = map(int,input().split())",
"map(int,input().split())",
"c"
] | a,b,c = map(int,input().split())#標準入力を行う
if (a == 5 or a== 7):
if(b == 5 or b == 7):
if(c == 5 or c == 7):
if(a + b + c == 17):
print("YES")
else:
print("NO")
else:
print("NO")
else:
print("NO")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
60,
2
],
[
54,
14
],
[
51,
17
],
[
21,
20
],
[
61,
20
],
[
20,
24
],
[
57,
27
],
[
20,
31
],
[
63,
34
],
[
58,
39
],
[
52,
39
],
[
64,
42
],
[
55,
42
],
[
51,
52
],
[
54,
55
],
[
57,
58
],
[
60,
61
],
[
63,
64
]
] | [
"l = list(map(int, input().split()))\nseven = 0\nfive = 0\nfor i in l:\n if i == 5:\n five += 1\n if i == 7:\n seven += 1\n\nif five == 2 and seven == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"l = list(map(int, input().split()))",
"l",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"seven = 0",
"seven",
"0",
"five = 0",
"five",
"0",
"for i in l:\n if i == 5:\n five += 1\n if i == 7:\n seven += 1",
"i",
"l",
"if i == 5:\n five += 1\n ",
"i == 5",
"i",
"5",
"five += 1",
"five",
"1",
"if i == 7:\n seven += 1",
"i == 7",
"i",
"7",
"seven += 1",
"seven",
"1",
"if five == 2 and seven == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"five == 2 and seven == 1",
"five == 2",
"five",
"2",
"seven == 1",
"seven",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"five = 0",
"0",
"five",
"seven = 0",
"0",
"seven",
"five += 1",
"1",
"five",
"l = list(map(int, input().split()))",
"list(map(int, input().split()))",
"l",
"seven += 1",
"1",
"seven"
] | l = list(map(int, input().split()))
seven = 0
five = 0
for i in l:
if i == 5:
five += 1
if i == 7:
seven += 1
if five == 2 and seven == 1:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
14,
2,
2,
2,
4,
13,
13,
17,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
37,
2
],
[
38,
14
],
[
38,
19
],
[
38,
26
],
[
37,
38
]
] | [
"# -*- coding: utf-8 -*-\nnums = input().split()\nif len(nums)==3 and nums.count('5')==2 and nums.count('7')==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"nums = input().split()",
"nums",
"input().split()",
"().split",
"()",
"input",
"split",
"if len(nums)==3 and nums.count('5')==2 and nums.count('7')==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"len(nums)==3 and nums.count('5')==2 and nums.count('7')==1",
"len(nums)==3 and nums.count('5')==2",
"len(nums)==3",
"len(nums)",
"len",
"nums",
"3",
"nums.count('5')==2",
"nums.count('5')",
"nums.count",
"nums",
"count",
"'5'",
"2",
"nums.count('7')==1",
"nums.count('7')",
"nums.count",
"nums",
"count",
"'7'",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"nums = input().split()",
"input().split()",
"nums"
] | # -*- coding: utf-8 -*-
nums = input().split()
if len(nums)==3 and nums.count('5')==2 and nums.count('7')==1:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
4,
13,
39,
13,
13,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
38,
2
],
[
38,
11
],
[
38,
12
],
[
38,
33
],
[
38,
36
],
[
38,
39
]
] | [
"A, B, C = map(int, input().split())\n\nif sorted([A, B, C]) == [5, 5, 7]:\n print('YES')\nelse:\n print('NO')",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"if sorted([A, B, C]) == [5, 5, 7]:\n print('YES')\nelse:\n print('NO')",
"sorted([A, B, C]) == [5, 5, 7]",
"sorted([A, B, C])",
"sorted",
"[A, B, C]",
"A",
"B",
"C",
"[5, 5, 7]",
"5",
"5",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A",
"C = map(int, input().split())",
"map(int, input().split())",
"C"
] | A, B, C = map(int, input().split())
if sorted([A, B, C]) == [5, 5, 7]:
print('YES')
else:
print('NO') |
[
7,
15,
15,
15,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
2,
2,
17,
17,
17,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
14,
2,
2,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
2,
13,
10,
13,
13
] | [
[
95,
13
],
[
22,
21
],
[
21,
30
],
[
98,
32
],
[
99,
41
],
[
99,
46
],
[
99,
51
],
[
99,
58
],
[
99,
63
],
[
99,
68
],
[
99,
75
],
[
99,
80
],
[
99,
85
],
[
95,
96
],
[
98,
99
]
] | [
"from sys import stdin, stdout\nfrom time import perf_counter\n\nimport sys\nsys.setrecursionlimit(10**9)\nmod = 10**9+7\n\n\nl = [int(item) for item in input().split()]\n\nif (l[0]==5 and l[1] == 5 and l[2]==7) or (l[0]==5 and l[1] == 7 and l[2]==5) or (l[0]==7 and l[1] == 5 and l[2]==5):\n print(\"YES\")\nelse:\n print(\"NO\")",
"from sys import stdin, stdout",
"from time import perf_counter",
"import sys",
"sys",
"sys.setrecursionlimit(10**9)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10**9",
"10",
"9",
"mod = 10**9+7",
"mod",
"10**9+7",
"10**9",
"10",
"9",
"7",
"int(item) for item in input().split()",
"for item in input().split()",
"item",
"input().split()",
"().split",
"()",
"input",
"split",
"for item in input().split()",
"int(item)",
"int",
"item",
"l = [int(item) for item in input().split()]",
"l",
"[int(item) for item in input().split()]",
"if (l[0]==5 and l[1] == 5 and l[2]==7) or (l[0]==5 and l[1] == 7 and l[2]==5) or (l[0]==7 and l[1] == 5 and l[2]==5):\n print(\"YES\")\nelse:\n print(\"NO\")",
"(l[0]==5 and l[1] == 5 and l[2]==7) or (l[0]==5 and l[1] == 7 and l[2]==5) or (l[0]==7 and l[1] == 5 and l[2]==5)",
"(l[0]==5 and l[1] == 5 and l[2]==7) or (l[0]==5 and l[1] == 7 and l[2]==5)",
"l[0]==5 and l[1] == 5 and l[2]==7",
"l[0]==5 and l[1] == 5",
"l[0]==5",
"l[0]",
"l",
"0",
"5",
"l[1] == 5",
"l[1]",
"l",
"1",
"5",
"l[2]==7",
"l[2]",
"l",
"2",
"7",
"l[0]==5 and l[1] == 7 and l[2]==5",
"l[0]==5 and l[1] == 7",
"l[0]==5",
"l[0]",
"l",
"0",
"5",
"l[1] == 7",
"l[1]",
"l",
"1",
"7",
"l[2]==5",
"l[2]",
"l",
"2",
"5",
"l[0]==7 and l[1] == 5 and l[2]==5",
"l[0]==7 and l[1] == 5",
"l[0]==7",
"l[0]",
"l",
"0",
"7",
"l[1] == 5",
"l[1]",
"l",
"1",
"5",
"l[2]==5",
"l[2]",
"l",
"2",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"mod = 10**9+7",
"10**9+7",
"mod",
"l = [int(item) for item in input().split()]",
"[int(item) for item in input().split()]",
"l"
] | from sys import stdin, stdout
from time import perf_counter
import sys
sys.setrecursionlimit(10**9)
mod = 10**9+7
l = [int(item) for item in input().split()]
if (l[0]==5 and l[1] == 5 and l[2]==7) or (l[0]==5 and l[1] == 7 and l[2]==5) or (l[0]==7 and l[1] == 5 and l[2]==5):
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
4,
13,
13,
0,
13,
4,
13,
13,
0,
13,
4,
13,
13,
0,
13,
2,
2,
13,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
2,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
76,
2
],
[
76,
11
],
[
76,
12
],
[
58,
14
],
[
77,
17
],
[
61,
19
],
[
74,
22
],
[
70,
24
],
[
68,
27
],
[
64,
29
],
[
59,
32
],
[
62,
33
],
[
71,
34
],
[
65,
40
],
[
65,
47
],
[
58,
59
],
[
61,
62
],
[
64,
65
],
[
76,
68
],
[
70,
71
],
[
76,
74
],
[
76,
77
]
] | [
"A, B, C = map(int, input().split())\n\na = str(A)\nb = str(B)\nc = str(C)\n\nd = a+b+c\n\nif d.count(\"5\") == 2 and d.count(\"7\") == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"a = str(A)",
"a",
"str(A)",
"str",
"A",
"b = str(B)",
"b",
"str(B)",
"str",
"B",
"c = str(C)",
"c",
"str(C)",
"str",
"C",
"d = a+b+c",
"d",
"a+b+c",
"a+b",
"a",
"b",
"c",
"if d.count(\"5\") == 2 and d.count(\"7\") == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"d.count(\"5\") == 2 and d.count(\"7\") == 1",
"d.count(\"5\") == 2",
"d.count(\"5\")",
"d.count",
"d",
"count",
"\"5\"",
"2",
"d.count(\"7\") == 1",
"d.count(\"7\")",
"d.count",
"d",
"count",
"\"7\"",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a = str(A)",
"str(A)",
"a",
"b = str(B)",
"str(B)",
"b",
"d = a+b+c",
"a+b+c",
"d",
"C = map(int, input().split())",
"map(int, input().split())",
"C",
"c = str(C)",
"str(C)",
"c",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A"
] | A, B, C = map(int, input().split())
a = str(A)
b = str(B)
c = str(C)
d = a+b+c
if d.count("5") == 2 and d.count("7") == 1:
print("YES")
else:
print("NO") |
[
7,
15,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
13,
13,
28,
13,
4,
13,
17,
14,
2,
2,
2,
18,
13,
13,
18,
13,
2,
13,
17,
2,
18,
13,
13,
17,
2,
18,
13,
2,
13,
17,
17,
4,
13,
17,
4,
18,
13,
13,
4,
13,
17,
10,
4,
13,
10,
39,
13,
10,
4,
13,
10,
4,
13
] | [
[
72,
4
],
[
72,
13
],
[
72,
14
],
[
66,
16
],
[
25,
24
],
[
67,
33
],
[
24,
34
],
[
67,
36
],
[
24,
38
],
[
67,
42
],
[
24,
43
],
[
67,
47
],
[
24,
49
],
[
72,
64
],
[
66,
67
],
[
72,
70
],
[
72,
73
]
] | [
"import sys\na,b,c=map(int,input().split())\n\nl=[a,b,c,a,b]\nfor x in range(3):\n if l[x]==l[x+1] and l[x]==5 and l[x+2]==7:\n print('YES')\n sys.exit()\nprint('NO')",
"import sys",
"sys",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"l=[a,b,c,a,b]",
"l",
"[a,b,c,a,b]",
"a",
"b",
"c",
"a",
"b",
"for x in range(3):\n if l[x]==l[x+1] and l[x]==5 and l[x+2]==7:\n print('YES')\n sys.exit()",
"x",
"range(3)",
"range",
"3",
"if l[x]==l[x+1] and l[x]==5 and l[x+2]==7:\n print('YES')\n sys.exit()",
"l[x]==l[x+1] and l[x]==5 and l[x+2]==7",
"l[x]==l[x+1] and l[x]==5",
"l[x]==l[x+1]",
"l[x]",
"l",
"x",
"l[x+1]",
"l",
"x+1",
"x",
"1",
"l[x]==5",
"l[x]",
"l",
"x",
"5",
"l[x+2]==7",
"l[x+2]",
"l",
"x+2",
"x",
"2",
"7",
"print('YES')",
"print",
"'YES'",
"sys.exit()",
"sys.exit",
"sys",
"exit",
"print('NO')",
"print",
"'NO'",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"l=[a,b,c,a,b]",
"[a,b,c,a,b]",
"l",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b"
] | import sys
a,b,c=map(int,input().split())
l=[a,b,c,a,b]
for x in range(3):
if l[x]==l[x+1] and l[x]==5 and l[x+2]==7:
print('YES')
sys.exit()
print('NO')
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
36,
2
],
[
37,
18
],
[
37,
25
],
[
36,
37
]
] | [
"arr = list(map(int, input().split()))\n\nif arr.count(5) == 2 and arr.count(7) == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"arr = list(map(int, input().split()))",
"arr",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if arr.count(5) == 2 and arr.count(7) == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"arr.count(5) == 2 and arr.count(7) == 1",
"arr.count(5) == 2",
"arr.count(5)",
"arr.count",
"arr",
"count",
"5",
"2",
"arr.count(7) == 1",
"arr.count(7)",
"arr.count",
"arr",
"count",
"7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"arr = list(map(int, input().split()))",
"list(map(int, input().split()))",
"arr"
] | arr = list(map(int, input().split()))
if arr.count(5) == 2 and arr.count(7) == 1:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
18,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
31,
2
],
[
32,
13
],
[
32,
20
],
[
31,
32
]
] | [
"a = input().split()\nif a.count('5')==2 and a.count('7')==1:\n print('YES')\nelse:\n print('NO')",
"a = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"if a.count('5')==2 and a.count('7')==1:\n print('YES')\nelse:\n print('NO')",
"a.count('5')==2 and a.count('7')==1",
"a.count('5')==2",
"a.count('5')",
"a.count",
"a",
"count",
"'5'",
"2",
"a.count('7')==1",
"a.count('7')",
"a.count",
"a",
"count",
"'7'",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"a = input().split()",
"input().split()",
"a"
] | a = input().split()
if a.count('5')==2 and a.count('7')==1:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
14,
2,
17,
13,
4,
18,
13,
13,
17,
0,
13,
13,
14,
2,
2,
17,
13,
2,
17,
13,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
13,
13
] | [
[
49,
2
],
[
46,
12
],
[
50,
15
],
[
47,
19
],
[
47,
22
],
[
52,
26
],
[
47,
27
],
[
53,
32
],
[
53,
35
],
[
46,
47
],
[
49,
50
],
[
47,
52
],
[
52,
53
]
] | [
"a = map(str, input().split())\nthree_num_list = list(a)\n\nif '5' in three_num_list:\n three_num_list.remove('5')\n two_num_list = three_num_list\n if '5' in two_num_list and '7' in two_num_list:\n print('YES')\n else:\n print('NO')\nelse:\n print('NO')",
"a = map(str, input().split())",
"a",
"map(str, input().split())",
"map",
"str",
"input().split()",
"().split",
"()",
"input",
"split",
"three_num_list = list(a)",
"three_num_list",
"list(a)",
"list",
"a",
"if '5' in three_num_list:\n three_num_list.remove('5')\n two_num_list = three_num_list\n if '5' in two_num_list and '7' in two_num_list:\n print('YES')\n else:\n print('NO')\nelse:\n print('NO')",
"'5' in three_num_list",
"'5'",
"three_num_list",
"three_num_list.remove('5')",
"three_num_list.remove",
"three_num_list",
"remove",
"'5'",
"two_num_list = three_num_list",
"two_num_list",
"three_num_list",
"if '5' in two_num_list and '7' in two_num_list:\n print('YES')\n else:\n print('NO')",
"'5' in two_num_list and '7' in two_num_list",
"'5' in two_num_list",
"'5'",
"two_num_list",
"'7' in two_num_list",
"'7'",
"two_num_list",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"print('NO')",
"print",
"'NO'",
"three_num_list = list(a)",
"list(a)",
"three_num_list",
"a = map(str, input().split())",
"map(str, input().split())",
"a",
"two_num_list = three_num_list",
"three_num_list",
"two_num_list"
] | a = map(str, input().split())
three_num_list = list(a)
if '5' in three_num_list:
three_num_list.remove('5')
two_num_list = three_num_list
if '5' in two_num_list and '7' in two_num_list:
print('YES')
else:
print('NO')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
4,
18,
13,
13,
17,
17,
14,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
39,
2
],
[
40,
17
],
[
40,
25
],
[
39,
40
]
] | [
"l=list(map(int,input().split()))\n\nif(l.count(5)==2):\n if(l.count(7)==1):\n print(\"YES\")\n else:\n print(\"NO\")\nelse:\n print(\"NO\")",
"l=list(map(int,input().split()))",
"l",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if(l.count(5)==2):\n if(l.count(7)==1):\n print(\"YES\")\n else:\n print(\"NO\")\nelse:\n print(\"NO\")",
"l.count(5)==2",
"l.count(5)",
"l.count",
"l",
"count",
"5",
"2",
"if(l.count(7)==1):\n print(\"YES\")\n else:\n print(\"NO\")",
"l.count(7)==1",
"l.count(7)",
"l.count",
"l",
"count",
"7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"print(\"NO\")",
"print",
"\"NO\"",
"l=list(map(int,input().split()))",
"list(map(int,input().split()))",
"l"
] | l=list(map(int,input().split()))
if(l.count(5)==2):
if(l.count(7)==1):
print("YES")
else:
print("NO")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
40,
2
],
[
41,
20
],
[
41,
25
],
[
41,
30
],
[
40,
41
]
] | [
"lst = sorted(list(map(int, input().split())))\n\nif lst[-1] == 7 and lst[0] == 5 and lst[1] == 5:\n print('YES')\nelse:\n print('NO')",
"lst = sorted(list(map(int, input().split())))",
"lst",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if lst[-1] == 7 and lst[0] == 5 and lst[1] == 5:\n print('YES')\nelse:\n print('NO')",
"lst[-1] == 7 and lst[0] == 5 and lst[1] == 5",
"lst[-1] == 7 and lst[0] == 5",
"lst[-1] == 7",
"lst[-1]",
"lst",
"-1",
"7",
"lst[0] == 5",
"lst[0]",
"lst",
"0",
"5",
"lst[1] == 5",
"lst[1]",
"lst",
"1",
"5",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"lst = sorted(list(map(int, input().split())))",
"sorted(list(map(int, input().split())))",
"lst"
] | lst = sorted(list(map(int, input().split())))
if lst[-1] == 7 and lst[0] == 5 and lst[1] == 5:
print('YES')
else:
print('NO')
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
17,
13,
13,
14,
2,
2,
4,
18,
39,
13,
13,
13,
13,
17,
17,
2,
4,
18,
39,
13,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
51,
2
],
[
51,
14
],
[
51,
15
],
[
51,
46
],
[
51,
49
],
[
51,
52
]
] | [
"A, B, C=list(map(int, input().split(\" \")))\nif ([A, B, C].count(5)==2) and ([A, B, C].count(7)==1):\n print('YES')\nelse:\n print('NO')",
"A, B, C=list(map(int, input().split(\" \")))",
"A",
"list(map(int, input().split(\" \")))",
"list",
"map(int, input().split(\" \"))",
"map",
"int",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"B",
"C",
"if ([A, B, C].count(5)==2) and ([A, B, C].count(7)==1):\n print('YES')\nelse:\n print('NO')",
"([A, B, C].count(5)==2) and ([A, B, C].count(7)==1)",
"[A, B, C].count(5)==2",
"[A, B, C].count(5)",
"[A, B, C].count",
"[A, B, C]",
"A",
"B",
"C",
"count",
"5",
"2",
"[A, B, C].count(7)==1",
"[A, B, C].count(7)",
"[A, B, C].count",
"[A, B, C]",
"A",
"B",
"C",
"count",
"7",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"A, B, C=list(map(int, input().split(\" \")))",
"list(map(int, input().split(\" \")))",
"A",
"B, C=list(map(int, input().split(\" \")))",
"list(map(int, input().split(\" \")))",
"B",
"C=list(map(int, input().split(\" \")))",
"list(map(int, input().split(\" \")))",
"C"
] | A, B, C=list(map(int, input().split(" ")))
if ([A, B, C].count(5)==2) and ([A, B, C].count(7)==1):
print('YES')
else:
print('NO')
|
[
7,
12,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
5,
13
],
[
5,
14
],
[
17,
16
],
[
4,
19
],
[
13,
20
],
[
14,
21
],
[
16,
24
],
[
40,
37
]
] | [
"def iroha():\n A, B, C = map(int, input().split())\n S = A + B + C\n if S == 17:\n print(\"YES\")\n else:\n print(\"NO\")\n\n\nif __name__ == \"__main__\":\n iroha()",
"def iroha():\n A, B, C = map(int, input().split())\n S = A + B + C\n if S == 17:\n print(\"YES\")\n else:\n print(\"NO\")",
"iroha",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"S = A + B + C",
"S",
"A + B + C",
"A + B",
"A",
"B",
"C",
"if S == 17:\n print(\"YES\")\n else:\n print(\"NO\")",
"S == 17",
"S",
"17",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"if __name__ == \"__main__\":\n iroha()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"iroha()",
"iroha",
"def iroha():\n A, B, C = map(int, input().split())\n S = A + B + C\n if S == 17:\n print(\"YES\")\n else:\n print(\"NO\")",
"def iroha():\n A, B, C = map(int, input().split())\n S = A + B + C\n if S == 17:\n print(\"YES\")\n else:\n print(\"NO\")",
"iroha"
] | def iroha():
A, B, C = map(int, input().split())
S = A + B + C
if S == 17:
print("YES")
else:
print("NO")
if __name__ == "__main__":
iroha() |
[
7,
15,
12,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
8,
2,
2,
2,
4,
13,
18,
13,
17,
17,
2,
4,
13,
18,
13,
17,
17,
2,
4,
13,
18,
13,
17,
17,
17,
17,
4,
13,
10,
12,
13
] | [
[
6,
5
],
[
12,
11
],
[
5,
14
],
[
11,
18
],
[
11,
31
],
[
11,
38
],
[
11,
45
],
[
54,
51
]
] | [
"from sys import stdin, stdout\n\ndef main():\n line = stdin.readline()\n parts = line.split()\n parts.sort()\n\n stdout.write('YES' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'NO')\n\nmain()",
"from sys import stdin, stdout",
"def main():\n line = stdin.readline()\n parts = line.split()\n parts.sort()\n\n stdout.write('YES' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'NO')",
"main",
"line = stdin.readline()",
"line",
"stdin.readline()",
"stdin.readline",
"stdin",
"readline",
"parts = line.split()",
"parts",
"line.split()",
"line.split",
"line",
"split",
"parts.sort()",
"parts.sort",
"parts",
"sort",
"stdout.write('YES' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'NO')",
"stdout.write",
"stdout",
"write",
"'YES' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'NO'",
"int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7",
"int(parts[0])==5 and int(parts[1])==5",
"int(parts[0])==5",
"int(parts[0])",
"int",
"parts[0]",
"parts",
"0",
"5",
"int(parts[1])==5",
"int(parts[1])",
"int",
"parts[1]",
"parts",
"1",
"5",
"int(parts[2])==7",
"int(parts[2])",
"int",
"parts[2]",
"parts",
"2",
"7",
"'YES'",
"'NO'",
"main()",
"main",
"def main():\n line = stdin.readline()\n parts = line.split()\n parts.sort()\n\n stdout.write('YES' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'NO')",
"def main():\n line = stdin.readline()\n parts = line.split()\n parts.sort()\n\n stdout.write('YES' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'NO')",
"main"
] | from sys import stdin, stdout
def main():
line = stdin.readline()
parts = line.split()
parts.sort()
stdout.write('YES' if int(parts[0])==5 and int(parts[1])==5 and int(parts[2])==7 else 'NO')
main() |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
4,
13,
13,
13,
4,
18,
13,
13,
14,
2,
2,
2,
18,
13,
17,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
46,
2
],
[
43,
9
],
[
47,
15
],
[
44,
18
],
[
47,
18
],
[
44,
25
],
[
47,
25
],
[
44,
28
],
[
47,
28
],
[
44,
33
],
[
47,
33
],
[
43,
44
],
[
46,
47
]
] | [
"l = input().split()\nl = list(map(int,l))\nl.sort()\nif l[0]==l[1]==5 and l[2]==7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"l = input().split()",
"l",
"input().split()",
"().split",
"()",
"input",
"split",
"l = list(map(int,l))",
"l",
"list(map(int,l))",
"list",
"map(int,l)",
"map",
"int",
"l",
"l.sort()",
"l.sort",
"l",
"sort",
"if l[0]==l[1]==5 and l[2]==7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"l[0]==l[1]==5 and l[2]==7",
"l[0]==l[1]==5",
"l[0]==l[1]",
"l[0]",
"l",
"0",
"l[1]",
"l",
"1",
"5",
"l[2]==7",
"l[2]",
"l",
"2",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"l = list(map(int,l))",
"list(map(int,l))",
"l",
"l = input().split()",
"input().split()",
"l"
] | l = input().split()
l = list(map(int,l))
l.sort()
if l[0]==l[1]==5 and l[2]==7:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
40,
2,
2,
2,
13,
13,
13,
17,
4,
13,
17,
4,
13,
14,
40,
2,
17,
39,
13,
13,
13,
4,
13,
17,
4,
13,
14,
40,
2,
17,
39,
13,
13,
13,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
63,
2
],
[
63,
11
],
[
63,
12
],
[
58,
18
],
[
61,
19
],
[
64,
20
],
[
63,
58
],
[
63,
61
],
[
63,
64
]
] | [
"# 整数の入力\na, b, c = map(int, input().split())\n# 合計17でないときNOを出力\nif not (a+b+c == 17):\n print(\"NO\")\n exit()\n# 7を含まないときNOを出力\nif not 7 in (a, b, c):\n print(\"NO\")\n exit()\n# 5を含まないときNOを出力、それ以外はYESを出力\nif not 5 in (a, b, c):\n print(\"NO\")\n exit()\nelse:\n print(\"YES\")",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if not (a+b+c == 17):\n print(\"NO\")\n exit()\n# 7を含まないときNOを出力",
"not (a+b+c == 17)",
"a+b+c == 17",
"a+b+c",
"a+b",
"a",
"b",
"c",
"17",
"print(\"NO\")",
"print",
"\"NO\"",
"exit()",
"exit",
"if not 7 in (a, b, c):\n print(\"NO\")\n exit()\n# 5を含まないときNOを出力、それ以外はYESを出力",
"not 7 in (a, b, c)",
"7 in (a, b, c)",
"7",
"(a, b, c)",
"a",
"b",
"c",
"print(\"NO\")",
"print",
"\"NO\"",
"exit()",
"exit",
"if not 5 in (a, b, c):\n print(\"NO\")\n exit()\nelse:\n print(\"YES\")",
"not 5 in (a, b, c)",
"5 in (a, b, c)",
"5",
"(a, b, c)",
"a",
"b",
"c",
"print(\"NO\")",
"print",
"\"NO\"",
"exit()",
"exit",
"print(\"YES\")",
"print",
"\"YES\"",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"c = map(int, input().split())",
"map(int, input().split())",
"c"
] | # 整数の入力
a, b, c = map(int, input().split())
# 合計17でないときNOを出力
if not (a+b+c == 17):
print("NO")
exit()
# 7を含まないときNOを出力
if not 7 in (a, b, c):
print("NO")
exit()
# 5を含まないときNOを出力、それ以外はYESを出力
if not 5 in (a, b, c):
print("NO")
exit()
else:
print("YES") |
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
29,
2
],
[
30,
17
],
[
29,
30
]
] | [
"ls = sorted(list(map(int, input().split())))\n\nif ls == [5, 5, 7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"ls = sorted(list(map(int, input().split())))",
"ls",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if ls == [5, 5, 7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"ls == [5, 5, 7]",
"ls",
"[5, 5, 7]",
"5",
"5",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"ls = sorted(list(map(int, input().split())))",
"sorted(list(map(int, input().split())))",
"ls"
] | ls = sorted(list(map(int, input().split())))
if ls == [5, 5, 7]:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
13,
17,
14,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
45,
2
],
[
51,
14
],
[
48,
17
],
[
21,
20
],
[
46,
20
],
[
20,
24
],
[
20,
28
],
[
52,
33
],
[
49,
36
],
[
45,
46
],
[
48,
49
],
[
51,
52
]
] | [
"inp=list(map(int,input().split()))\nfive=0\nseven=0\nfor i in inp:\n if i==5: five+=1\n elif i==7:seven+=1\n\nif five==2 and seven==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"inp=list(map(int,input().split()))",
"inp",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"five=0",
"five",
"0",
"seven=0",
"seven",
"0",
"for i in inp:\n if i==5: five+=1\n elif i==7:seven+=1",
"i",
"inp",
"if i==5: five+=1\n elif i==7:seven+=1",
"i==5",
"i",
"5",
"elif i==7:seve",
"i==7",
"i",
"7",
"if five==2 and seven==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"five==2 and seven==1",
"five==2",
"five",
"2",
"seven==1",
"seven",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"inp=list(map(int,input().split()))",
"list(map(int,input().split()))",
"inp",
"seven=0",
"0",
"seven",
"five=0",
"0",
"five"
] | inp=list(map(int,input().split()))
five=0
seven=0
for i in inp:
if i==5: five+=1
elif i==7:seven+=1
if five==2 and seven==1:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
2,
2,
2,
13,
13,
13,
17,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
58,
2
],
[
58,
11
],
[
58,
12
],
[
53,
20
],
[
56,
21
],
[
59,
22
],
[
53,
26
],
[
53,
29
],
[
56,
33
],
[
56,
36
],
[
59,
40
],
[
59,
43
],
[
58,
53
],
[
58,
56
],
[
58,
59
]
] | [
"a,b,c = map(int,input().split())\nif(a+b+c==17 and (a==5 or a==7) and (b==5 or b==7) and (c==5 or c==7)):\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if(a+b+c==17 and (a==5 or a==7) and (b==5 or b==7) and (c==5 or c==7)):\n print(\"YES\")\nelse:\n print(\"NO\")",
"a+b+c==17 and (a==5 or a==7) and (b==5 or b==7) and (c==5 or c==7)",
"a+b+c==17 and (a==5 or a==7) and (b==5 or b==7)",
"a+b+c==17 and (a==5 or a==7)",
"a+b+c==17",
"a+b+c",
"a+b",
"a",
"b",
"c",
"17",
"a==5 or a==7",
"a==5",
"a",
"5",
"a==7",
"a",
"7",
"b==5 or b==7",
"b==5",
"b",
"5",
"b==7",
"b",
"7",
"c==5 or c==7",
"c==5",
"c",
"5",
"c==7",
"c",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a,b,c = map(int,input().split())",
"map(int,input().split())",
"a",
"b,c = map(int,input().split())",
"map(int,input().split())",
"b",
"c = map(int,input().split())",
"map(int,input().split())",
"c"
] | a,b,c = map(int,input().split())
if(a+b+c==17 and (a==5 or a==7) and (b==5 or b==7) and (c==5 or c==7)):
print("YES")
else:
print("NO") |
[
7,
15,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
35,
3
],
[
36,
20
],
[
36,
25
],
[
35,
36
]
] | [
"from collections import Counter\nL=Counter(list(map(int,input().split())))\n\nif L[5]==2 and L[7]==1:\n print('YES')\nelse:\n print('NO')",
"from collections import Counter",
"L=Counter(list(map(int,input().split())))",
"L",
"Counter(list(map(int,input().split())))",
"Counter",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if L[5]==2 and L[7]==1:\n print('YES')\nelse:\n print('NO')",
"L[5]==2 and L[7]==1",
"L[5]==2",
"L[5]",
"L",
"5",
"2",
"L[7]==1",
"L[7]",
"L",
"7",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"L=Counter(list(map(int,input().split())))",
"Counter(list(map(int,input().split())))",
"L"
] | from collections import Counter
L=Counter(list(map(int,input().split())))
if L[5]==2 and L[7]==1:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
0,
13,
17,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
34,
2
],
[
35,
15
],
[
19,
18
],
[
35,
22
],
[
34,
35
]
] | [
"X=list(map(int,input().split()))\nX.sort(reverse=False)\nif X==[5,5,7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"X=list(map(int,input().split()))",
"X",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"X.sort(reverse=False)",
"X.sort",
"X",
"sort",
"reverse=False",
"reverse",
"False",
"if X==[5,5,7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"X==[5,5,7]",
"X",
"[5,5,7]",
"5",
"5",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"X=list(map(int,input().split()))",
"list(map(int,input().split()))",
"X"
] | X=list(map(int,input().split()))
X.sort(reverse=False)
if X==[5,5,7]:
print("YES")
else:
print("NO") |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
17,
4,
4,
13,
13,
0,
13,
13,
0,
13,
39,
39,
17,
17,
17,
39,
17,
17,
17,
39,
17,
17,
17,
14,
2,
13,
13,
4,
13,
17,
10,
13,
13,
10,
39,
13
] | [
[
4,
3
],
[
3,
13
],
[
40,
15
],
[
43,
18
],
[
41,
34
],
[
44,
35
],
[
40,
41
],
[
43,
44
]
] | [
"ls = [int(s) for s in input().split(\" \")]\nprels = [[5,7,5],[5,5,7],[7,5,5]]\nif ls in prels:\n print(\"YES\")\nelse :print(\"NO\")",
"int(s) for s in input().split(\" \")",
"for s in input().split(\" \")",
"s",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"for s in input().split(\" \")",
"int(s)",
"int",
"s",
"ls = [int(s) for s in input().split(\" \")]",
"ls",
"[int(s) for s in input().split(\" \")]",
"prels = [[5,7,5],[5,5,7],[7,5,5]]",
"prels",
"[[5,7,5],[5,5,7],[7,5,5]]",
"[5,7,5]",
"5",
"7",
"5",
"[5,5,7]",
"5",
"5",
"7",
"[7,5,5]",
"7",
"5",
"5",
"if ls in prels:\n print(\"YES\")\nelse :print(\"NO\")",
"ls in prels",
"ls",
"prels",
"print(\"YES\")",
"print",
"\"YES\"",
"ls = [int(s) for s in input().split(\" \")]",
"[int(s) for s in input().split(\" \")]",
"ls",
"prels = [[5,7,5],[5,5,7],[7,5,5]]",
"[[5,7,5],[5,5,7],[7,5,5]]",
"prels"
] | ls = [int(s) for s in input().split(" ")]
prels = [[5,7,5],[5,5,7],[7,5,5]]
if ls in prels:
print("YES")
else :print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
17,
0,
13,
17,
0,
13,
17,
28,
13,
39,
13,
13,
13,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
3,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
79,
2
],
[
79,
11
],
[
79,
12
],
[
70,
14
],
[
76,
17
],
[
64,
20
],
[
24,
23
],
[
23,
30
],
[
82,
33
],
[
23,
37
],
[
73,
40
],
[
83,
46
],
[
71,
46
],
[
74,
49
],
[
77,
49
],
[
58,
52
],
[
59,
56
],
[
65,
56
],
[
58,
59
],
[
79,
62
],
[
64,
65
],
[
79,
68
],
[
70,
71
],
[
73,
74
],
[
76,
77
],
[
79,
80
],
[
82,
83
]
] | [
"A, B, C = map(int, input().split())\n \nnum5 = 0\nnum7 = 0\nans = 'NO'\n \nfor num in [A, B, C]:\n if num == 5:\n num5+=1\n elif num == 7:\n num7+=1\n else:\n break\nif num5 ==2 and num7 == 1:\n ans = 'YES'\nprint(ans)",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"num5 = 0",
"num5",
"0",
"num7 = 0",
"num7",
"0",
"ans = 'NO'",
"ans",
"'NO'",
"for num in [A, B, C]:\n if num == 5:\n num5+=1\n elif num == 7:\n num7+=1\n else:\n break",
"num",
"[A, B, C]",
"A",
"B",
"C",
"if num == 5:\n num5+=1\n elif num == 7:\n num7+=1\n else:\n break",
"num == 5",
"num",
"5",
"num5+=1",
"num5",
"1",
"elif num == 7:\n num7+=1\n ",
"num == 7",
"num",
"7",
"num7+=1",
"num7",
"1",
"break",
"if num5 ==2 and num7 == 1:\n ans = 'YES'",
"num5 ==2 and num7 == 1",
"num5 ==2",
"num5",
"2",
"num7 == 1",
"num7",
"1",
"ans = 'YES'",
"ans",
"'YES'",
"print(ans)",
"print",
"ans",
"ans = 'YES'",
"'YES'",
"ans",
"C = map(int, input().split())",
"map(int, input().split())",
"C",
"ans = 'NO'",
"'NO'",
"ans",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B",
"num5 = 0",
"0",
"num5",
"num7+=1",
"1",
"num7",
"num7 = 0",
"0",
"num7",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A",
"num5+=1",
"1",
"num5"
] | A, B, C = map(int, input().split())
num5 = 0
num7 = 0
ans = 'NO'
for num in [A, B, C]:
if num == 5:
num5+=1
elif num == 7:
num7+=1
else:
break
if num5 ==2 and num7 == 1:
ans = 'YES'
print(ans) |
[
7,
15,
13,
13,
13,
13,
13,
13,
13,
13,
0,
13,
12,
4,
18,
4,
18,
18,
13,
13,
13,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
4,
13,
17,
12,
13,
12,
13,
12,
13,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
12,
13,
41,
28,
13,
4,
18,
4,
13,
13,
4,
2,
4,
13,
13,
17,
12,
13,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
12,
13,
12,
13,
12,
13,
0,
13,
4,
13,
13,
13,
14,
2,
2,
4,
18,
39,
13,
13,
13,
13,
17,
17,
2,
4,
18,
39,
13,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13,
10,
12,
13,
10,
4,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13
] | [
[
132,
11
],
[
135,
30
],
[
43,
42
],
[
133,
46
],
[
42,
51
],
[
57,
56
],
[
133,
60
],
[
56,
66
],
[
73,
72
],
[
133,
76
],
[
72,
81
],
[
90,
89
],
[
148,
91
],
[
90,
92
],
[
90,
93
],
[
142,
127
],
[
132,
133
],
[
135,
136
]
] | [
"import bisect, collections, copy, heapq, itertools, math, string, sys\ninput = lambda: sys.stdin.readline().rstrip() \nsys.setrecursionlimit(10**7)\nINF = float('inf')\ndef I(): return int(input())\ndef F(): return float(input())\ndef SS(): return input()\ndef LI(): return [int(x) for x in input().split()]\ndef LI_(): return [int(x)-1 for x in input().split()]\ndef LF(): return [float(x) for x in input().split()]\ndef LSS(): return input().split()\n\ndef resolve():\n A, B, C = LI()\n\n if (A, B, C).count(5) == 2 and (A, B, C).count(7) == 1:\n print('YES')\n else:\n print('NO')\n\nif __name__ == '__main__':\n resolve()",
"import bisect, collections, copy, heapq, itertools, math, string, sys",
"bisect",
"collections",
"copy",
"heapq",
"itertools",
"math",
"string",
"sys",
"input = lambda: sys.stdin.readline().rstrip()",
"input",
"lambda: sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"rstrip",
"sys.setrecursionlimit(10**7)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10**7",
"10",
"7",
"INF = float('inf')",
"INF",
"float('inf')",
"float",
"'inf'",
"def I(): return int(input())",
"I",
"def F(): return float(input())",
"F",
"def SS(): return input()",
"SS",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"def LI(): return [int(x) for x in input().split()]",
"LI",
"int(x)-1 for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)-1",
"int(x)",
"int",
"x",
"1",
"def LI_(): return [int(x)-1 for x in input().split()]",
"LI_",
"float(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"float(x)",
"float",
"x",
"def LF(): return [float(x) for x in input().split()]",
"LF",
"def LSS(): return input().split()",
"LSS",
"def resolve():\n A, B, C = LI()\n\n if (A, B, C).count(5) == 2 and (A, B, C).count(7) == 1:\n print('YES')\n else:\n print('NO')",
"resolve",
"A, B, C = LI()",
"A",
"LI()",
"LI",
"B",
"C",
"if (A, B, C).count(5) == 2 and (A, B, C).count(7) == 1:\n print('YES')\n else:\n print('NO')",
"(A, B, C).count(5) == 2 and (A, B, C).count(7) == 1",
"(A, B, C).count(5) == 2",
"(A, B, C).count(5)",
"(A, B, C).count",
"(A, B, C)",
"A",
"B",
"C",
"count",
"5",
"2",
"(A, B, C).count(7) == 1",
"(A, B, C).count(7)",
"(A, B, C).count",
"(A, B, C)",
"A",
"B",
"C",
"count",
"7",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"if __name__ == '__main__':\n resolve()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"resolve()",
"resolve",
"def F(): return float(input())",
"def F(): return float(input())",
"F",
"input = lambda: sys.stdin.readline().rstrip()",
"lambda: sys.stdin.readline().rstrip()",
"input",
"INF = float('inf')",
"float('inf')",
"INF",
"def LI_(): return [int(x)-1 for x in input().split()]",
"def LI_(): return [int(x)-1 for x in input().split()]",
"LI_",
"def resolve():\n A, B, C = LI()\n\n if (A, B, C).count(5) == 2 and (A, B, C).count(7) == 1:\n print('YES')\n else:\n print('NO')",
"def resolve():\n A, B, C = LI()\n\n if (A, B, C).count(5) == 2 and (A, B, C).count(7) == 1:\n print('YES')\n else:\n print('NO')",
"resolve",
"def SS(): return input()",
"def SS(): return input()",
"SS",
"def LI(): return [int(x) for x in input().split()]",
"def LI(): return [int(x) for x in input().split()]",
"LI",
"def LSS(): return input().split()",
"def LSS(): return input().split()",
"LSS",
"def I(): return int(input())",
"def I(): return int(input())",
"I",
"def LF(): return [float(x) for x in input().split()]",
"def LF(): return [float(x) for x in input().split()]",
"LF"
] | import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip()
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()
def resolve():
A, B, C = LI()
if (A, B, C).count(5) == 2 and (A, B, C).count(7) == 1:
print('YES')
else:
print('NO')
if __name__ == '__main__':
resolve()
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
14,
2,
13,
39,
39,
17,
17,
17,
39,
17,
17,
17,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
51,
2
],
[
51,
11
],
[
51,
12
],
[
48,
14
],
[
49,
21
],
[
51,
43
],
[
51,
46
],
[
48,
49
],
[
51,
52
]
] | [
"# -*- coding: utf-8 -*-\n#abc042\na, b, c=map(int, input().split())\n\nA=[a,b,c]\n\nif A in [[5,5,7], [5,7,5], [7,5,5]]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a, b, c=map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"A=[a,b,c]",
"A",
"[a,b,c]",
"a",
"b",
"c",
"if A in [[5,5,7], [5,7,5], [7,5,5]]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A in [[5,5,7], [5,7,5], [7,5,5]]",
"A",
"[[5,5,7], [5,7,5], [7,5,5]]",
"[5,5,7]",
"5",
"5",
"7",
"[5,7,5]",
"5",
"7",
"5",
"[7,5,5]",
"7",
"5",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"b, c=map(int, input().split())",
"map(int, input().split())",
"b",
"c=map(int, input().split())",
"map(int, input().split())",
"c",
"A=[a,b,c]",
"[a,b,c]",
"A",
"a, b, c=map(int, input().split())",
"map(int, input().split())",
"a"
] | # -*- coding: utf-8 -*-
#abc042
a, b, c=map(int, input().split())
A=[a,b,c]
if A in [[5,5,7], [5,7,5], [7,5,5]]:
print("YES")
else:
print("NO")
|
[
7,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
40,
4,
18,
13,
13,
17,
17,
40,
4,
18,
13,
13,
17,
17,
29,
17,
29,
17,
4,
13,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
20
],
[
4,
27
],
[
41,
38
]
] | [
"def check():\n A = list(map(int, input().split()))\n if A.count(5)!=2 or A.count(7)!=1:\n return 'NO'\n return 'YES'\nprint(check())",
"def check():\n A = list(map(int, input().split()))\n if A.count(5)!=2 or A.count(7)!=1:\n return 'NO'\n return 'YES'",
"check",
"A = list(map(int, input().split()))",
"A",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if A.count(5)!=2 or A.count(7)!=1:\n return 'NO'\n ",
"A.count(5)!=2 or A.count(7)!=1",
"A.count(5)!=2",
"A.count(5)",
"A.count",
"A",
"count",
"5",
"2",
"A.count(7)!=1",
"A.count(7)",
"A.count",
"A",
"count",
"7",
"1",
"return 'NO'",
"'NO'",
"return 'YES'",
"'YES'",
"print(check())",
"print",
"check()",
"check",
"def check():\n A = list(map(int, input().split()))\n if A.count(5)!=2 or A.count(7)!=1:\n return 'NO'\n return 'YES'",
"def check():\n A = list(map(int, input().split()))\n if A.count(5)!=2 or A.count(7)!=1:\n return 'NO'\n return 'YES'",
"check"
] | def check():
A = list(map(int, input().split()))
if A.count(5)!=2 or A.count(7)!=1:
return 'NO'
return 'YES'
print(check()) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
50,
2
],
[
50,
14
],
[
50,
16
],
[
50,
17
],
[
48,
23
],
[
48,
30
],
[
50,
42
],
[
50,
45
],
[
50,
48
],
[
50,
51
]
] | [
"li=a,b,c=list(map(int,input().split()))\nif li.count(7)==1 and li.count(5)==2:\n print(\"YES\")\nelse:\n print(\"NO\")",
"li=a,b,c=list(map(int,input().split()))",
"li",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"=a,b,c=list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"b",
"c",
"if li.count(7)==1 and li.count(5)==2:\n print(\"YES\")\nelse:\n print(\"NO\")",
"li.count(7)==1 and li.count(5)==2",
"li.count(7)==1",
"li.count(7)",
"li.count",
"li",
"count",
"7",
"1",
"li.count(5)==2",
"li.count(5)",
"li.count",
"li",
"count",
"5",
"2",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"c=list(map(int,input().split()))",
"list(map(int,input().split()))",
"c",
"a,b,c=list(map(int,input().split()))",
"list(map(int,input().split()))",
"a",
"li=a,b,c=list(map(int,input().split()))",
"list(map(int,input().split()))",
"li",
"b,c=list(map(int,input().split()))",
"list(map(int,input().split()))",
"b"
] | li=a,b,c=list(map(int,input().split()))
if li.count(7)==1 and li.count(5)==2:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
2,
13,
10,
4,
13,
10,
2,
13,
10,
4,
13,
10,
4,
13
] | [
[
54,
2
],
[
54,
11
],
[
54,
12
],
[
48,
14
],
[
46,
17
],
[
52,
18
],
[
55,
19
],
[
42,
21
],
[
46,
24
],
[
52,
25
],
[
55,
26
],
[
49,
30
],
[
43,
33
],
[
42,
43
],
[
54,
46
],
[
48,
49
],
[
54,
52
],
[
54,
55
]
] | [
"a,b,c =map(int,input().split() )\nd = a + b + c\ne = a * b * c\nif(d == 17 and e == 175):\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c =map(int,input().split() )",
"a",
"map(int,input().split() )",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"d = a + b + c",
"d",
"a + b + c",
"a + b",
"a",
"b",
"c",
"e = a * b * c",
"e",
"a * b * c",
"a * b",
"a",
"b",
"c",
"if(d == 17 and e == 175):\n print(\"YES\")\nelse:\n print(\"NO\")",
"d == 17 and e == 175",
"d == 17",
"d",
"17",
"e == 175",
"e",
"175",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"e = a * b * c",
"a * b * c",
"e",
"a,b,c =map(int,input().split() )",
"map(int,input().split() )",
"a",
"d = a + b + c",
"a + b + c",
"d",
"b,c =map(int,input().split() )",
"map(int,input().split() )",
"b",
"c =map(int,input().split() )",
"map(int,input().split() )",
"c"
] | a,b,c =map(int,input().split() )
d = a + b + c
e = a * b * c
if(d == 17 and e == 175):
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
28,
13,
4,
13,
4,
13,
13,
0,
18,
13,
13,
4,
13,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
42,
2
],
[
10,
9
],
[
43,
14
],
[
19,
16
],
[
43,
17
],
[
9,
18
],
[
16,
21
],
[
43,
22
],
[
9,
23
],
[
43,
26
],
[
43,
30
],
[
42,
43
]
] | [
"#入力\nlst = input().split()\n \n#整数値化\nfor i in range(len(lst)):\n lst[i] = int(lst[i])\n \n#ソート\nlst.sort()\n \n#出力\nif lst == [5, 5, 7]:\n print('YES')\nelse:\n print('NO')",
"lst = input().split()",
"lst",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in range(len(lst)):\n lst[i] = int(lst[i])\n \n#ソート",
"i",
"range(len(lst))",
"range",
"len(lst)",
"len",
"lst",
"lst[i] = int(lst[i])",
"lst[i]",
"lst",
"i",
"int(lst[i])",
"int",
"lst[i]",
"lst",
"i",
"lst.sort()",
"lst.sort",
"lst",
"sort",
"if lst == [5, 5, 7]:\n print('YES')\nelse:\n print('NO')",
"lst == [5, 5, 7]",
"lst",
"[5, 5, 7]",
"5",
"5",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"lst = input().split()",
"input().split()",
"lst"
] | #入力
lst = input().split()
#整数値化
for i in range(len(lst)):
lst[i] = int(lst[i])
#ソート
lst.sort()
#出力
if lst == [5, 5, 7]:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
4,
13,
13,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
34,
2
],
[
35,
18
],
[
35,
23
],
[
34,
35
]
] | [
"a = list(map(int,input().split()))\nif sum(a) == 17 and a.count(5) == 2:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a = list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if sum(a) == 17 and a.count(5) == 2:\n print(\"YES\")\nelse:\n print(\"NO\")",
"sum(a) == 17 and a.count(5) == 2",
"sum(a) == 17",
"sum(a)",
"sum",
"a",
"17",
"a.count(5) == 2",
"a.count(5)",
"a.count",
"a",
"count",
"5",
"2",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a = list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | a = list(map(int,input().split()))
if sum(a) == 17 and a.count(5) == 2:
print("YES")
else:
print("NO") |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.