node_ids listlengths 4 1.4k | edge_index listlengths 1 2.22k | text listlengths 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... | 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,
... | [
[
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
],
[
... | [
"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",
"readli... | 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... | 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",
"... | 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,... | [
[
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
],
... | [
"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\n... | 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_... |
[
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/abc... | """
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",
... | 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... | [
[
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
],
[
6... | [
"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"... | 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])",... | 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
],
[
... | [
"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... | 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"... | 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",
"()",
... | 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,
... | [
[
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
],... | [
"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())
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,... | [
[
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
],
[
... | [
"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",
"in... | 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... | [
[
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
],
[
... | [
"# 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()... | # 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:... | 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(... | 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,
... | [
[
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
],
[
... | [
"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()))",
"li... | 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,... | [
[
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
],
[
5... | [
"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()",
"(... | 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, combinatio... | 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 m... |
[
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().s... | 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... | 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,
1... | [
[
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
],
[
5... | [
"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(... | 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()",
"().spl... | 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,
... | [
[
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
],
[
... | [
"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,... | 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())",... | 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",
... | 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 \"\".jo... | 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,
... | [
[
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
],
[
... | [
"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())",... | 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'... | # 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\")\... | 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,
... | [
[
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
],
[
... | [
"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=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().... | 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
],
[
5... | [
"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(... | 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,
... | [
[
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
],
[
... | [
"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 ... | 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:
pri... |
[
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,
... | [
[
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",
"()",... | 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,... | [
[
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
],
[
6... | [
"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",
... | 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",
"... | 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",... | 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,... | [
[
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
],
[
... | [
"# 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 ==... | # 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
... |
[
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... | 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'... | 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,
... | [
[
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
],
[
... | [
"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().spli... | 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):\... | 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",
"inpu... | 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,
... | [
[
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
],
[
... | [
"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,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(... | 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,
... | [
[
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... | [
"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()... | 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... | 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']... | 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,... | [
[
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
],
[
... | [
"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())",
... | 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",
"... | 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,
1... | [
[
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
],
[
... | [
"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 ... | 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(... |
[
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,
1... | [
[
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
],
[
... | [
"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[... | 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\"... | 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.... | 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",
... | 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=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 ... | 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, ... | 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",
"cou... | 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,... | [
[
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
],
[
6... | [
"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 inpu... | 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,... | [
[
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
],
[
... | [
"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",
... | 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,
... | [
[
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
],
[
... | [
"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",
... | 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)/... | 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",
"()",
... | 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 prin... | 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... | [
[
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
],
[
... | [
"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",
"()",
... | 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().spli... | 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,
1... | [
[
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
],
[
... | [
"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\")\n... | 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,... | [
[
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
],
[
... | [
"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",... | 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.c... | # -*- 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... | 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,
... | [
[
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
],
[
... | [
"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... | 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,
1... | [
[
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
],
[
... | [
"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... | 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... | [
[
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
],
[
... | [
"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().spl... | 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",... | 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'... | 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())
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().... | 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, i... | 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()... | 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... | 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 pa... | 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... | 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,... | [
[
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 = ... | # 整数の入力
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... | 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())",
... | 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,
... | [
[
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
],
[
... | [
"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",
... | 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().... | 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",
"spl... | 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 i... | 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,
... | [
[
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
],
[
... | [
"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())",
... | 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,
... | [
[
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
],
... | [
"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... | 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 [... |
[
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... | # -*- 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(... | 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",
"()"... | 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
],
[
... | [
"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 =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... | #入力
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",
"... | a = list(map(int,input().split()))
if sum(a) == 17 and a.count(5) == 2:
print("YES")
else:
print("NO") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.