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,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
13,
39,
17,
17,
17,
17,
17,
10,
4,
13
] | [
[
27,
2
],
[
28,
19
],
[
27,
28
]
] | [
"a = sorted(list(map(int, input().split())))\nprint(\"YES\" if a == [5,5,7] else \"NO\")",
"a = sorted(list(map(int, input().split())))",
"a",
"sorted(list(map(int, input().split())))",
"sorted",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split... | a = sorted(list(map(int, input().split())))
print("YES" if a == [5,5,7] else "NO") |
[
7,
0,
13,
4,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
19,
2
],
[
20,
7
],
[
19,
20
]
] | [
"s = input()\nif s in ['5 5 7', '5 7 5', '7 5 5']:\n print('YES')\nelse:\n print('NO')",
"s = input()",
"s",
"input()",
"input",
"if s in ['5 5 7', '5 7 5', '7 5 5']:\n print('YES')\nelse:\n print('NO')",
"s in ['5 5 7', '5 7 5', '7 5 5']",
"s",
"['5 5 7', '5 7 5', '7 5 5']",
"'5 5 7'"... | s = input()
if s in ['5 5 7', '5 7 5', '7 5 5']:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
18,
4,
13,
13,
17,
41,
28,
13,
13,
4,
4,
13,
13,
0,
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,
10,
13,
13
] | [
[
49,
2
],
[
12,
11
],
[
50,
11
],
[
11,
16
],
[
52,
18
],
[
53,
22
],
[
53,
29
],
[
53,
34
],
[
53,
39
],
[
49,
50
],
[
52,
53
]
] | [
"str_line = input().split(\" \")\nnum_line = [int(n) for n in str_line]\n\nnum_line.sort()\n#print(num_line)\n\nif (num_line[0]==5)and(num_line[1]==5)and(num_line[2]==7):\n print(\"YES\")\nelse:\n print(\"NO\")",
"str_line = input().split(\" \")",
"str_line",
"input().split(\" \")",
"().split",
"()"... | str_line = input().split(" ")
num_line = [int(n) for n in str_line]
num_line.sort()
#print(num_line)
if (num_line[0]==5)and(num_line[1]==5)and(num_line[2]==7):
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
0,
13,
17,
28,
13,
13,
14,
2,
13,
17,
0,
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,
17,
13,
10,
4,
13
] | [
[
47,
2
],
[
44,
8
],
[
12,
11
],
[
48,
11
],
[
11,
15
],
[
41,
18
],
[
11,
22
],
[
38,
25
],
[
39,
29
],
[
42,
29
],
[
45,
29
],
[
38,
39
],
[
41,
42
],
[
... | [
"text = str(input())\ncnt = 0\n\nfor i in text:\n if i == \"5\":\n cnt += 1\n if i == \"7\":\n cnt += 2\n\nif cnt == 4:\n print(\"YES\")\nelse:\n print(\"NO\")",
"text = str(input())",
"text",
"str(input())",
"str",
"input()",
"input",
"cnt = 0",
"cnt",
"0",
"for i in t... | text = str(input())
cnt = 0
for i in text:
if i == "5":
cnt += 1
if i == "7":
cnt += 2
if cnt == 4:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
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,... | [
[
70,
2
],
[
70,
13
],
[
70,
14
],
[
71,
19
],
[
68,
22
],
[
65,
25
],
[
71,
34
],
[
68,
37
],
[
65,
40
],
[
71,
49
],
[
68,
52
],
[
65,
55
],
[
70,
65
],
[
... | [
"a, b, c = list(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 = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"l... | a, b, c = list(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,
12,
13,
0,
13,
4,
13,
4,
13,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
12,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
39,
4
],
[
31,
8
],
[
39,
9
],
[
39,
10
],
[
37,
15
],
[
34,
18
],
[
40,
21
],
[
39,
34
],
[
39,
37
],
[
39,
40
]
] | [
"def MAP(): return map(int, input().split())\na, b, c = sorted(MAP())\nif a == 5 and b == 5 and c == 7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"def MAP(): return map(int, input().split())",
"MAP",
"a, b, c = sorted(MAP())",
"a",
"sorted(MAP())",
"sorted",
"MAP()",
"MAP",
"b",
"c",
"if a =... | def MAP(): return map(int, input().split())
a, b, c = sorted(MAP())
if a == 5 and b == 5 and c == 7:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
17,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
32,
2
],
[
33,
14
],
[
33,
21
],
[
32,
33
]
] | [
"tmp = input().split(\" \")\nprint(\"YES\") if tmp.count(\"5\") == 2 and tmp.count(\"7\") == 1 else print(\"NO\")",
"tmp = input().split(\" \")",
"tmp",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"print(\"YES\") if tmp.count(\"5\") == 2 and tmp.count(\"7\") == 1 else prin... | tmp = input().split(" ")
print("YES") if tmp.count("5") == 2 and tmp.count("7") == 1 else print("NO") |
[
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
]
] | [
"#!/usr/bin/env python3\nl = sorted(list(map(int, input().split())))\n\nif l == [5, 5, 7]:\n print('YES')\nelse:\n print('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().s... | #!/usr/bin/env python3
l = sorted(list(map(int, input().split())))
if l == [5, 5, 7]:
print('YES')
else:
print('NO')
|
[
7,
15,
12,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
13,
18,
13,
17,
0,
13,
4,
13,
18,
13,
17,
0,
13,
4,
13,
18,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
17,
42,
2,
13,
17,
14,
2,
4,
13,
18,
13,... | [
[
6,
5
],
[
12,
11
],
[
5,
14
],
[
18,
17
],
[
11,
21
],
[
25,
24
],
[
11,
28
],
[
32,
31
],
[
11,
35
],
[
39,
38
],
[
42,
41
],
[
45,
44
],
[
44,
48
],
[
7... | [
"from sys import stdin, stdout\n\n\ndef main():\n line = stdin.readline()\n parts = line.split()\n a = int(parts[0])\n b = int(parts[1])\n c = int(parts[2])\n\n count5 = 0\n count7 = 0\n x = 0\n while x < 3:\n if int(parts[x]) == 5:\n count5 += 1\n elif int(parts[... | from sys import stdin, stdout
def main():
line = stdin.readline()
parts = line.split()
a = int(parts[0])
b = int(parts[1])
c = int(parts[2])
count5 = 0
count7 = 0
x = 0
while x < 3:
if int(parts[x]) == 5:
count5 += 1
elif int(parts[x]) == 7:
... |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
34,
2
],
[
35,
20
],
[
35,
27
],
[
34,
35
]
] | [
"abc = list(map(int,input().split()))\n\nprint(\"YES\" if abc.count(5) == 2 and abc.count(7) == 1 else \"NO\")",
"abc = list(map(int,input().split()))",
"abc",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"s... | abc = list(map(int,input().split()))
print("YES" if abc.count(5) == 2 and abc.count(7) == 1 else "NO") |
[
7,
15,
13,
15,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
12,
4,
13,
4,
18,
18,
13,
13,
13,
0,
13,
12,
4,
13,
13,
4,
18,
4,
18,
18,
13,
13,
13,
13,
0,
13,
12,
4,
13,
4,
13,
0,
13,
12,
4,
18,
4,
18,
18,
13,
13,
13... | [
[
132,
13
],
[
126,
24
],
[
123,
39
],
[
127,
44
],
[
141,
46
],
[
147,
58
],
[
71,
70
],
[
144,
79
],
[
124,
81
],
[
129,
83
],
[
135,
86
],
[
90,
89
],
[
145,
89
... | [
"import sys\nimport math\n\n#https://atcoder.jp/contests/agc008/submissions/15248942\nsys.setrecursionlimit(10 ** 8)\nini = lambda: int(sys.stdin.readline())\ninm = lambda: map(int, sys.stdin.readline().split())\ninl = lambda: list(inm())\nins = lambda: sys.stdin.readline().rstrip()\ndebug = lambda *a, **kw: print(... | import sys
import math
#https://atcoder.jp/contests/agc008/submissions/15248942
sys.setrecursionlimit(10 ** 8)
ini = lambda: int(sys.stdin.readline())
inm = lambda: map(int, sys.stdin.readline().split())
inl = lambda: list(inm())
ins = lambda: sys.stdin.readline().rstrip()
debug = lambda *a, **kw: print("\033[33m", *a... |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13
] | [
[
53,
2
],
[
54,
15
],
[
54,
27
],
[
54,
39
],
[
53,
54
]
] | [
"b=list(map(int,input().split()))\nif(b==[5,5,7]):\n print(\"YES\")\n exit()\nif(b==[5,7,5]):\n print(\"YES\")\n exit()\n\nif(b==[7,5,5]):\n print(\"YES\")\n exit()\nelse:\n print(\"NO\")",
"b=list(map(int,input().split()))",
"b",
"list(map(int,input().split()))",
"list",
"map(int... | b=list(map(int,input().split()))
if(b==[5,5,7]):
print("YES")
exit()
if(b==[5,7,5]):
print("YES")
exit()
if(b==[7,5,5]):
print("YES")
exit()
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
12,
4,
13,
13,
23,
4,
18,
4,
13,
13,
17,
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
] | [
[
41,
2
],
[
42,
23
],
[
42,
30
],
[
41,
42
]
] | [
"arr = list(map(lambda x: int(x), input().split(\" \")))\n\nif arr.count(5) == 2 and arr.count(7) == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"arr = list(map(lambda x: int(x), input().split(\" \")))",
"arr",
"list(map(lambda x: int(x), input().split(\" \")))",
"list",
"map(lambda x: int(x), inpu... | arr = list(map(lambda x: int(x), input().split(" ")))
if arr.count(5) == 2 and arr.count(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,
13,
14,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
4,
13,
17,
10,
4,
13,
10,
4,
... | [
[
55,
3
],
[
52,
15
],
[
56,
18
],
[
53,
23
],
[
56,
23
],
[
53,
28
],
[
56,
28
],
[
53,
35
],
[
56,
35
],
[
53,
40
],
[
56,
40
],
[
52,
53
],
[
55,
56
]
] | [
"from collections import Counter\na = list(map(int, input().split()))\n\na = Counter(a)\n\nif a.get(7) and a.get(5):\n if a[7]==1 and a[5]==2:\n print('YES')\n exit()\nprint('NO')\n",
"from collections import Counter",
"a = list(map(int, input().split()))",
"a",
"list(map(int, input().split... | from collections import Counter
a = list(map(int, input().split()))
a = Counter(a)
if a.get(7) and a.get(5):
if a[7]==1 and a[5]==2:
print('YES')
exit()
print('NO')
|
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
8,
2,
2,
2,
13,
13,
2,
13,
17,
2,
13,
17,
17,
17,
10,
18,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
43,
4
],
[
52,
11
],
[
44,
22
],
[
52,
24
],
[
52,
25
],
[
50,
32
],
[
53,
33
],
[
53,
35
],
[
47,
38
],
[
43,
44
],
[
52,
47
],
[
52,
50
],
[
52,
53
]
] | [
"import sys\ninput = sys.stdin.readline\n\na,b,c = sorted(list(map(int,input().split())))\nprint('YES' if a==b and b==5 and c==7 else 'NO')",
"import sys",
"sys",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"a,b,c = sorted(list(map(int,in... | import sys
input = sys.stdin.readline
a,b,c = sorted(list(map(int,input().split())))
print('YES' if a==b and b==5 and c==7 else '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
]
] | [
"x = list(map(int,input().split()))\n \nif (x.count(5) == 2) and (x.count(7) == 1):\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",
"()",
... | x = list(map(int,input().split()))
if (x.count(5) == 2) and (x.count(7) == 1):
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
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,
10,
4,
13
] | [
[
38,
2
],
[
41,
14
],
[
39,
17
],
[
35,
19
],
[
42,
26
],
[
36,
27
],
[
35,
36
],
[
38,
39
],
[
41,
42
]
] | [
"# -*- coding: utf-8 -*-\n\nl = list(map(int, input().split()))\nl_s = sorted(l)\nl_r = [5, 5, 7]\n\nif l_s == l_r:\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().s... | # -*- coding: utf-8 -*-
l = list(map(int, input().split()))
l_s = sorted(l)
l_r = [5, 5, 7]
if l_s == l_r:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4... | [
[
59,
2
],
[
59,
8
],
[
59,
9
],
[
60,
14
],
[
57,
15
],
[
54,
18
],
[
60,
27
],
[
54,
28
],
[
57,
31
],
[
57,
40
],
[
54,
41
],
[
60,
44
],
[
59,
54
],
[
5... | [
"a, b, c = input().split() \n\nif a == b == \"5\" and c == \"7\":\n print(\"YES\")\nelif a == c == \"5\" and b == \"7\":\n print(\"YES\")\nelif b == c == \"5\" and a == \"7\":\n print(\"YES\")\nelse:\n print(\"NO\")",
"a, b, c = input().split()",
"a",... | a, b, c = input().split()
if a == b == "5" and c == "7":
print("YES")
elif a == c == "5" and b == "7":
print("YES")
elif b == c == "5" and a == "7":
print("YES")
else:
print("NO") |
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
4,
13,
10,
18,
13,
10,
12,
13
] | [
[
45,
4
],
[
14,
13
],
[
46,
22
],
[
26,
25
],
[
13,
28
],
[
25,
31
],
[
13,
31
],
[
49,
43
],
[
45,
46
]
] | [
"import sys\ninput = sys.stdin.readline\n\ndef main():\n I = list( map( int , input().split() ) )\n I = sorted( I )\n if I == [5,5,7]:\n print('YES')\n else:\n print('NO')\n\nmain()",
"import sys",
"sys",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",... | import sys
input = sys.stdin.readline
def main():
I = list( map( int , input().split() ) )
I = sorted( I )
if I == [5,5,7]:
print('YES')
else:
print('NO')
main() |
[
7,
0,
13,
4,
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
] | [
[
28,
2
],
[
29,
10
],
[
29,
17
],
[
28,
29
]
] | [
"s = input()\nif s.count('5') == 2 and s.count('7') == 1:\n print('YES')\nelse:\n print('NO')",
"s = input()",
"s",
"input()",
"input",
"if s.count('5') == 2 and s.count('7') == 1:\n print('YES')\nelse:\n print('NO')",
"s.count('5') == 2 and s.count('7') == 1",
"s.count('5') == 2",
"s.co... | s = input()
if s.count('5') == 2 and s.count('7') == 1:
print('YES')
else:
print('NO') |
[
7,
0,
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,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
14,
... | [
[
80,
2
],
[
81,
18
],
[
81,
23
],
[
81,
28
],
[
81,
39
],
[
81,
44
],
[
81,
49
],
[
81,
60
],
[
81,
65
],
[
81,
70
],
[
80,
81
]
] | [
"listA=list(map(int,input().split()))\nif listA[0] == 5 and listA[1] == 5 and listA[2] == 7:\n print('YES')\nelif listA[0] == 5 and listA[1] == 7 and listA[2] == 5:\n print('YES')\nelif listA[0] == 7 and listA[1] == 5 and listA[2] == 5:\n print('YES')\nelse:\n print('NO')\n ",
"listA=list(map(int,inpu... | listA=list(map(int,input().split()))
if listA[0] == 5 and listA[1] == 5 and listA[2] == 7:
print('YES')
elif listA[0] == 5 and listA[1] == 7 and listA[2] == 5:
print('YES')
elif listA[0] == 7 and listA[1] == 5 and listA[2] == 5:
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
]
] | [
"S = list(map(int, input().split()))\n\nif S.count(5) == 2 and S.count(7):\n print(\"YES\")\nelse:\n print(\"NO\")",
"S = list(map(int, input().split()))",
"S",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",... | S = list(map(int, input().split()))
if S.count(5) == 2 and S.count(7):
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
26,
2
],
[
27,
12
],
[
27,
19
],
[
26,
27
]
] | [
"S = input()\nprint('YES' if S.count(\"5\") == 2 and S.count(\"7\") == 1 else 'NO')",
"S = input()",
"S",
"input()",
"input",
"print('YES' if S.count(\"5\") == 2 and S.count(\"7\") == 1 else 'NO')",
"print",
"'YES' if S.count(\"5\") == 2 and S.count(\"7\") == 1 else 'NO'",
"S.count(\"5\") == 2 and S... | S = input()
print('YES' if S.count("5") == 2 and S.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,
13,
13,
17,
2,
13,
13,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
44,
2
],
[
44,
13
],
[
44,
14
],
[
45,
21
],
[
39,
22
],
[
42,
23
],
[
45,
26
],
[
39,
27
],
[
42,
29
],
[
44,
39
],
[
44,
42
],
[
44,
45
]
] | [
"a,b,c = sorted(map(int, input().split()))\nif (a+b+c==17)&(a==b)&(c==7):\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c = sorted(map(int, input().split()))",
"a",
"sorted(map(int, input().split()))",
"sorted",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
... | a,b,c = sorted(map(int, input().split()))
if (a+b+c==17)&(a==b)&(c==7):
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
26,
2
],
[
27,
12
],
[
27,
19
],
[
26,
27
]
] | [
"s = input()\nprint('YES' if s.count('5') == 2 and s.count('7') == 1 else 'NO')",
"s = input()",
"s",
"input()",
"input",
"print('YES' if s.count('5') == 2 and s.count('7') == 1 else 'NO')",
"print",
"'YES' if s.count('5') == 2 and s.count('7') == 1 else 'NO'",
"s.count('5') == 2 and s.count('7') ==... | s = input()
print('YES' if s.count('5') == 2 and s.count('7') == 1 else 'NO') |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
4,
13,
13,
4,
13,
13,
4,
13,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
37,
2
],
[
37,
8
],
[
37,
9
],
[
32,
16
],
[
38,
19
],
[
35,
22
],
[
37,
32
],
[
37,
35
],
[
37,
38
]
] | [
"a, b, c = input().split()\nif int(a)*int(b)*int(c) == 175:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a, b, c = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if int(a)*int(b)*int(c) == 175:\n print(\"YES\")\nelse:\n print(\"NO\")",
"int(a)*int(b)... | a, b, c = input().split()
if int(a)*int(b)*int(c) == 175:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
18,
39,
17,
17,
2,
2,
2,
13,
13,
17,
2,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
37,
2
],
[
37,
13
],
[
37,
14
],
[
35,
24
],
[
38,
25
],
[
32,
28
],
[
37,
32
],
[
37,
35
],
[
37,
38
]
] | [
"a,b,c=sorted(map(int,input().split()))\nprint([\"NO\",\"YES\"][a==b==5 and c==7])",
"a,b,c=sorted(map(int,input().split()))",
"a",
"sorted(map(int,input().split()))",
"sorted",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"... | a,b,c=sorted(map(int,input().split()))
print(["NO","YES"][a==b==5 and c==7]) |
[
7,
15,
15,
15,
15,
13,
15,
13,
15,
13,
4,
18,
13,
13,
17,
0,
13,
2,
2,
17,
17,
17,
12,
13,
29,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
12,
13,
29,
4,
13,
4,
13,
0,
13,
4,
13,
4,
13,
4,
13,
8,
2,
2,
18,
13,
17,
... | [
[
68,
16
],
[
65,
43
],
[
72,
47
],
[
66,
54
],
[
66,
59
],
[
65,
66
],
[
68,
69
]
] | [
"#from statistics import median\n#import collections\n#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]\nfrom fractions import gcd\nfrom itertools import combinations,permutations,accumulate # (string,3) 3回\n#from collections import deque\nfrom collections import deque,defaultdict,C... | #from statistics import median
#import collections
#aa = collections.Counter(a) # list to list || .most_common(2)で最大の2個とりだせるお a[0][0]
from fractions import gcd
from itertools import combinations,permutations,accumulate # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Counter
impo... |
[
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
]
] | [
"Len = list(map(int, input().split()))\n\nif Len.count(5) == 2 and Len.count(7) == 1:\n print('YES')\nelse:\n print('NO')",
"Len = list(map(int, input().split()))",
"Len",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",... | Len = list(map(int, input().split()))
if Len.count(5) == 2 and Len.count(7) == 1:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
8,
2,
2,
2,
13,
13,
13,
17,
17,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
32,
2
],
[
32,
11
],
[
32,
12
],
[
33,
19
],
[
27,
20
],
[
30,
21
],
[
32,
27
],
[
32,
30
],
[
32,
33
]
] | [
"a, b, c = map(int, input().split())\nprint('YES' if a+b+c == 17 else 'NO')",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"print('YES' if a+b+c == 17 else 'NO')",
"print",
"'YES'... | a, b, c = map(int, input().split())
print('YES' if a+b+c == 17 else '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
]
] | [
"l = input().split()\nif l.count(\"7\") == 1 and l.count(\"5\") == 2:\n print('YES')\nelse:\n print('NO')",
"l = input().split()",
"l",
"input().split()",
"().split",
"()",
"input",
"split",
"if l.count(\"7\") == 1 and l.count(\"5\") == 2:\n print('YES')\nelse:\n print('NO')",
"l.count... | l = input().split()
if l.count("7") == 1 and l.count("5") == 2:
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,
39,
13,
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,... | [
[
69,
2
],
[
69,
11
],
[
69,
12
],
[
72,
14
],
[
66,
20
],
[
57,
26
],
[
73,
29
],
[
60,
33
],
[
67,
36
],
[
58,
42
],
[
73,
42
],
[
61,
45
],
[
67,
45
],
[
... | [
"a,b,c = map(int,input().split())\nA = [a,b,c]\nB = [a,b,c]\nA = A.count(5)\nB = B.count(7)\nif A == 2 and B == 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",... | a,b,c = map(int,input().split())
A = [a,b,c]
B = [a,b,c]
A = A.count(5)
B = B.count(7)
if A == 2 and B == 1:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
26,
2
],
[
27,
12
],
[
27,
19
],
[
26,
27
]
] | [
"S = input()\n\nprint('YES' if(S.count('5') == 2 and S.count('7') == 1) else 'NO')",
"S = input()",
"S",
"input()",
"input",
"print('YES' if(S.count('5') == 2 and S.count('7') == 1) else 'NO')",
"print",
"'YES' if(S.count('5') == 2 and S.count('7') == 1) else 'NO'",
"S.count('5') == 2 and S.count('7... | S = input()
print('YES' if(S.count('5') == 2 and S.count('7') == 1) else '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
]
] | [
"length = list(map(int, input().split()))\n\nlength.sort()\n\nif length == [5,5,7]:\n print('YES')\nelse:\n print('NO')",
"length = list(map(int, input().split()))",
"length",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",... | length = list(map(int, input().split()))
length.sort()
if length == [5,5,7]:
print('YES')
else:
print('NO')
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
34,
2
],
[
35,
20
],
[
35,
27
],
[
34,
35
]
] | [
"apple = list(map(str, input().split()))\nprint(\"YES\" if apple.count(\"5\") == 2 and apple.count(\"7\") == 1 else \"NO\")",
"apple = list(map(str, input().split()))",
"apple",
"list(map(str, input().split()))",
"list",
"map(str, input().split())",
"map",
"str",
"input().split()",
"().split",
"... | apple = list(map(str, input().split()))
print("YES" if apple.count("5") == 2 and apple.count("7") == 1 else "NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13
] | [
[
42,
2
],
[
45,
14
],
[
43,
21
],
[
43,
28
],
[
39,
33
],
[
40,
37
],
[
46,
37
],
[
39,
40
],
[
42,
43
],
[
45,
46
]
] | [
"x=list(map(int,input().split()))\nans=\"NO\"\nif x.count(7)==1 and x.count(5)==2:\n ans=\"YES\"\nprint(ans)",
"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=list(map(int,input().split()))
ans="NO"
if x.count(7)==1 and x.count(5)==2:
ans="YES"
print(ans) |
[
7,
15,
13,
0,
13,
12,
4,
18,
4,
18,
18,
13,
13,
13,
13,
12,
13,
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,
14,
2,
13,
17,
4,
... | [
[
58,
4
],
[
19,
18
],
[
59,
27
],
[
18,
34
],
[
18,
41
],
[
62,
56
],
[
58,
59
]
] | [
"import sys\ninput = lambda: sys.stdin.readline().rstrip()\n\ndef main():\n x = list(map(int, input().split()))\n if x.count(5) == 2 and x.count(7) == 1:\n print(\"YES\")\n else:\n print(\"NO\")\n \nif __name__ == '__main__':\n main()",
"import sys",
"sys",
"input = lambda: sys.st... | import sys
input = lambda: sys.stdin.readline().rstrip()
def main():
x = list(map(int, input().split()))
if x.count(5) == 2 and x.count(7) == 1:
print("YES")
else:
print("NO")
if __name__ == '__main__':
main() |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
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
]
] | [
"#ABC042A\nx = list(input().split())\nprint(\"YES\" if x.count(\"5\")==2 and x.count(\"7\")==1 else \"NO\")",
"x = list(input().split())",
"x",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"print(\"YES\" if x.count(\"5\")==2 and x.count(\"7\")==1 else \... | #ABC042A
x = list(input().split())
print("YES" if x.count("5")==2 and x.count("7")==1 else "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,
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,
... | [
[
100,
2
],
[
100,
11
],
[
100,
12
],
[
79,
14
],
[
106,
17
],
[
89,
21
],
[
85,
24
],
[
89,
28
],
[
82,
31
],
[
101,
35
],
[
94,
38
],
[
101,
42
],
[
103,
45
],
... | [
"a,b,c=map(int,input().split())\n\nN5=0\nN7=0\n\nif a==5:\n N5 +=1\nelif a==7:\n N7 +=1\n\nif b==5:\n N5 +=1\nelif b==7:\n N7 +=1\n \nif c==5:\n N5 +=1\nelif c==7:\n N7 +=1\n \nif (N5==2)*(N7==1):\n print('YES')\nelse:\n print('NO')",
"a,b,c=map(int,input().split())",
"a",
"map(int,input... | a,b,c=map(int,input().split())
N5=0
N7=0
if a==5:
N5 +=1
elif a==7:
N7 +=1
if b==5:
N5 +=1
elif b==7:
N7 +=1
if c==5:
N5 +=1
elif c==7:
N7 +=1
if (N5==2)*(N7==1):
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,
4,
13,
17,
10,
4,
13
] | [
[
44,
2
],
[
45,
15
],
[
45,
22
],
[
45,
27
],
[
45,
32
],
[
44,
45
]
] | [
"abc=list(map(int,input().split()))\nabc.sort()\nif abc[0]==5 and abc[1]==5 and abc[2]==7:\n print(\"YES\")\n exit()\nprint(\"NO\")",
"abc=list(map(int,input().split()))",
"abc",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split"... | abc=list(map(int,input().split()))
abc.sort()
if abc[0]==5 and abc[1]==5 and abc[2]==7:
print("YES")
exit()
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
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,
39,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
51,
2
],
[
51,
11
],
[
51,
12
],
[
42,
14
],
[
43,
24
],
[
43,
31
],
[
42,
43
],
[
51,
46
],
[
51,
49
],
[
51,
52
]
] | [
"A, B, C = map(int, input().split())\n\nH = [A, B, C]\nif H.count(5) == 2 and H.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, B, C = map(int, input().split())
H = [A, B, C]
if H.count(5) == 2 and H.count(7) == 1:
print('YES')
else:
print('NO') |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
13,
0,
13,
13,
4,
18,
13,
13,
0,
13,
4,
18,
17,
13,
13,
0,
13,
12,
8,
13,
4,
13,
17,
4,
13,
17,
23,
4,
13,
2,
13,
17,
10,
4,
13,
10,
13,
13,
10,
12,
13
] | [
[
4,
3
],
[
3,
10
],
[
46,
12
],
[
47,
16
],
[
43,
19
],
[
47,
24
],
[
49,
26
],
[
50,
38
],
[
44,
40
],
[
43,
44
],
[
46,
47
],
[
49,
50
]
] | [
"A = [i for i in input().split()]\n\nA.sort()\ns = \"\".join(A)\n\nYN = lambda b: print('YES') if b else print('NO')\nYN( s == \"557\" )\n",
"i for i in input().split()",
"for i in input().split()",
"i",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in input().split()",
"i",
"A... | A = [i for i in input().split()]
A.sort()
s = "".join(A)
YN = lambda b: print('YES') if b else print('NO')
YN( s == "557" )
|
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
18,
39,
17,
17,
2,
2,
2,
13,
13,
17,
2,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
34,
2
],
[
34,
10
],
[
34,
11
],
[
32,
21
],
[
35,
22
],
[
29,
25
],
[
34,
29
],
[
34,
32
],
[
34,
35
]
] | [
"a,b,c=sorted(input().split())\nprint([\"NO\",\"YES\"][a==b==\"5\" and c==\"7\"])",
"a,b,c=sorted(input().split())",
"a",
"sorted(input().split())",
"sorted",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"print([\"NO\",\"YES\"][a==b==\"5\" and c==\"7\"])",
"print",
"[... | a,b,c=sorted(input().split())
print(["NO","YES"][a==b=="5" and c=="7"]) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
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,
39,
13,
10,
4,
13
] | [
[
51,
2
],
[
51,
11
],
[
51,
12
],
[
48,
14
],
[
49,
24
],
[
49,
31
],
[
51,
43
],
[
51,
46
],
[
48,
49
],
[
51,
52
]
] | [
"a, b, c = map(int, input().split())\niroha = [a, b, c]\nif iroha.count(5) == 2 and iroha.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"... | a, b, c = map(int, input().split())
iroha = [a, b, c]
if iroha.count(5) == 2 and iroha.count(7) == 1:
print("YES")
else:
print("NO") |
[
7,
15,
12,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
13,
18,
13,
17,
0,
13,
17,
0,
13,
17,
28,
13,
13,
14,
2,
4,
13,
13,
17,
0,
13,
2,
13,
17,
14,
2,
4,
13,
13,
17,
0,
13,
2,
13,
17,
4,
18,
... | [
[
6,
5
],
[
12,
11
],
[
5,
14
],
[
18,
17
],
[
11,
21
],
[
25,
24
],
[
28,
27
],
[
31,
30
],
[
11,
30
],
[
30,
36
],
[
40,
39
],
[
24,
41
],
[
39,
41
],
[
3... | [
"from sys import stdin, stdout\n\n\ndef main():\n line = stdin.readline()\n parts = line.split()\n n = int(parts[0])\n countfive = 0\n countseven = 0\n for i in parts:\n if int(i)==5:\n countfive= countfive+1\n if int(i)==7:\n countseven= countseven+1\n\n\n s... | from sys import stdin, stdout
def main():
line = stdin.readline()
parts = line.split()
n = int(parts[0])
countfive = 0
countseven = 0
for i in parts:
if int(i)==5:
countfive= countfive+1
if int(i)==7:
countseven= countseven+1
stdout.write( "YES" if... |
[
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,
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,
... | [
[
103,
2
],
[
103,
11
],
[
103,
12
],
[
88,
14
],
[
97,
17
],
[
92,
21
],
[
82,
24
],
[
92,
28
],
[
76,
31
],
[
95,
35
],
[
85,
38
],
[
95,
42
],
[
106,
45
],
[... | [
"A, B, C = map(int, input().split())\n\ncount_5 = 0\ncount_7 = 0\n\nif A == 5:\n count_5 += 1\nelif A == 7:\n count_7 += 1\n \nif B == 5:\n count_5 += 1\nelif B == 7:\n count_7 += 1\n \nif C == 5:\n count_5 += 1\nelif C == 7:\n count_7 += 1\n \nif count_5 == 2 and count_7 == 1:\n print(\"YES\")\nelse:\n ... | A, B, C = map(int, input().split())
count_5 = 0
count_7 = 0
if A == 5:
count_5 += 1
elif A == 7:
count_7 += 1
if B == 5:
count_5 += 1
elif B == 7:
count_7 += 1
if C == 5:
count_5 += 1
elif C == 7:
count_7 += 1
if count_5 == 2 and count_7 == 1:
print("YES")
else:
print("NO")
|
[
7,
12,
13,
0,
13,
4,
13,
0,
13,
4,
18,
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,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
9,
8
],
[
4,
11
],
[
8,
15
],
[
4,
15
],
[
8,
22
],
[
4,
22
],
[
8,
27
],
[
4,
27
],
[
8,
32
],
[
4,
32
],
[
45,
42
]
] | [
"def hiku():\n\tlst=input()\n\tlst = lst.split()\n\tlst.sort()\n\tif lst[0]=='5' and lst[1]=='5' and lst[2]=='7':\n\t\tprint(\"YES\")\n\telse:\n\t\tprint('NO')\nhiku()",
"def hiku():\n\tlst=input()\n\tlst = lst.split()\n\tlst.sort()\n\tif lst[0]=='5' and lst[1]=='5' and lst[2]=='7':\n\t\tprint(\"YES\")\n\telse:\n... | def hiku():
lst=input()
lst = lst.split()
lst.sort()
if lst[0]=='5' and lst[1]=='5' and lst[2]=='7':
print("YES")
else:
print('NO')
hiku()
|
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
2,
2,
17,
17,
17,
0,
13,
4,
13,
17,
4,
18,
13,
13,
2,
17,
17,
12,
13,
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,
... | [
[
81,
4
],
[
72,
11
],
[
75,
18
],
[
33,
32
],
[
82,
41
],
[
32,
48
],
[
32,
55
],
[
79,
70
],
[
72,
73
],
[
75,
76
],
[
81,
82
]
] | [
"import sys\n\nreadline = sys.stdin.readline\nMOD = 10 ** 9 + 7\nINF = float('INF')\nsys.setrecursionlimit(10 ** 5)\n\n\ndef main():\n x = list(map(int, readline().split()))\n\n if x.count(5) == 2 and x.count(7) == 1:\n print(\"YES\")\n else:\n print(\"NO\")\n\n\nif __name__ == '__main__':\n ... | import sys
readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)
def main():
x = list(map(int, readline().split()))
if x.count(5) == 2 and x.count(7) == 1:
print("YES")
else:
print("NO")
if __name__ == '__main__':
main()
|
[
7,
0,
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,
... | [
[
62,
2
],
[
62,
11
],
[
62,
12
],
[
60,
19
],
[
57,
22
],
[
63,
25
],
[
60,
30
],
[
57,
33
],
[
63,
36
],
[
60,
41
],
[
57,
44
],
[
63,
47
],
[
62,
57
],
[
... | [
"a,b,c=map(int,input().split())\nif a==5 and b==7 and c==5 or a==7 and b==5 and c==5 or a==5 and b==5 and 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",
... | a,b,c=map(int,input().split())
if a==5 and b==7 and c==5 or a==7 and b==5 and c==5 or a==5 and b==5 and c==7:
print("YES")
else:
print("NO") |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
14,
2,
2,
2,
13,
39,
17,
17,
17,
2,
13,
39,
17,
17,
17,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
44,
14
],
[
45,
20
],
[
45,
26
],
[
45,
32
],
[
44,
45
]
] | [
"num_list = [int(x) for x in input().split()]\nif num_list == [5, 5, 7] or num_list == [5, 7, 5] or num_list == [7, 5, 5]:\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 ... | num_list = [int(x) for x in input().split()]
if num_list == [5, 5, 7] or num_list == [5, 7, 5] or num_list == [7, 5, 5]:
print('YES')
else:
print('NO') |
[
7,
12,
13,
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,
14,
2,
13,
17,
... | [
[
5,
4
],
[
17,
16
],
[
20,
19
],
[
23,
22
],
[
4,
22
],
[
22,
26
],
[
30,
29
],
[
22,
33
],
[
37,
36
],
[
29,
41
],
[
16,
41
],
[
36,
44
],
[
19,
44
],
[
6... | [
"# A - 和風いろはちゃんイージー\ndef main():\n abc = list(map(int, input().split()))\n c5 = 0\n c7 = 0\n\n for i in abc:\n if i == 5:\n c5 += 1\n elif i == 7:\n c7 += 1\n else:\n if c5 == 2 and c7 == 1:\n print('YES')\n else:\n print('NO')\n... | # A - 和風いろはちゃんイージー
def main():
abc = list(map(int, input().split()))
c5 = 0
c7 = 0
for i in abc:
if i == 5:
c5 += 1
elif i == 7:
c7 += 1
else:
if c5 == 2 and c7 == 1:
print('YES')
else:
print('NO')
if __na... |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
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,
10,
4,
13,
10,
39,
13
] | [
[
49,
2
],
[
49,
8
],
[
49,
9
],
[
52,
11
],
[
53,
18
],
[
53,
25
],
[
53,
28
],
[
53,
33
],
[
49,
44
],
[
49,
47
],
[
49,
50
],
[
52,
53
]
] | [
"a,b,c=input().split()\nls=[a,b,c]\nls.sort()\nif ls[0]==ls[1]==\"5\" and ls[2]==\"7\":\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c=input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"ls=[a,b,c]",
"ls",
"[a,b,c]",
"a",
"b",
"c",
"ls.sort()"... | a,b,c=input().split()
ls=[a,b,c]
ls.sort()
if ls[0]==ls[1]=="5" and ls[2]=="7":
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
39,
28,
13,
13,
14,
40,
13,
17,
4,
18,
13,
13,
13,
4,
18,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
39,
13
] | [
[
41,
2
],
[
44,
9
],
[
13,
12
],
[
42,
12
],
[
12,
16
],
[
45,
20
],
[
12,
22
],
[
45,
25
],
[
45,
29
],
[
41,
42
],
[
44,
45
]
] | [
"a = input().strip()\nlst=[]\nfor i in a:\n if i != \" \":\n lst.append(i)\nlst.sort()\nif lst == ['5','5','7']:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a = input().strip()",
"a",
"input().strip()",
"().strip",
"()",
"input",
"strip",
"lst=[]",
"lst",
"[]",
"for i in a:\n ... | a = input().strip()
lst=[]
for i in a:
if i != " ":
lst.append(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,
17,
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
] | [
[
37,
2
],
[
38,
19
],
[
38,
26
],
[
37,
38
]
] | [
"data=list(map(int, input().split(\" \")))\nif (data.count(5)==2) and (data.count(7)==1):\n print('YES')\nelse:\n print('NO')",
"data=list(map(int, input().split(\" \")))",
"data",
"list(map(int, input().split(\" \")))",
"list",
"map(int, input().split(\" \"))",
"map",
"int",
"input().split(\" \")... | data=list(map(int, input().split(" ")))
if (data.count(5)==2) and (data.count(7)==1):
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
0,
13,
17,
4,
13,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
45,
2
],
[
42,
14
],
[
46,
21
],
[
46,
28
],
[
39,
33
],
[
40,
37
],
[
43,
37
],
[
39,
40
],
[
42,
43
],
[
45,
46
]
] | [
"A = list(map(int, input().split()))\n\nans = 'NO'\n\nif A.count(5) == 2 and A.count(7) == 1:\n ans = 'YES'\n\nprint(ans)",
"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()))
ans = 'NO'
if A.count(5) == 2 and A.count(7) == 1:
ans = 'YES'
print(ans) |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
17,
28,
13,
13,
0,
13,
4,
13,
13,
14,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10,
4,
13
] | [
[
30,
2
],
[
33,
9
],
[
13,
12
],
[
31,
12
],
[
36,
15
],
[
12,
18
],
[
37,
21
],
[
34,
21
],
[
30,
31
],
[
33,
34
],
[
36,
37
]
] | [
"a = input().split()\nsums = 0\nfor i in a:\n sums += int(i)\n\nif sums == 17:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"sums = 0",
"sums",
"0",
"for i in a:\n sums += int(i)",
"i",
"a",
"sums... | a = input().split()
sums = 0
for i in a:
sums += int(i)
if sums == 17:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
14,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
43,
2
],
[
43,
11
],
[
43,
12
],
[
40,
14
],
[
41,
23
],
[
43,
35
],
[
43,
38
],
[
40,
41
],
[
43,
44
]
] | [
"a,b,c = map(int,input().split())\nabclist = [a,b,c]\nif abclist.count(5) == 2:\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",
"abclist = [a,b,c]... | a,b,c = map(int,input().split())
abclist = [a,b,c]
if abclist.count(5) == 2:
print("YES")
else:
print("NO") |
[
7,
12,
13,
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,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
15
],
[
4,
22
],
[
36,
33
]
] | [
"def resolve():\n ABC = input().split()\n if ABC.count(\"5\") == 2 and ABC.count(\"7\") == 1:\n print(\"YES\")\n else:\n print(\"NO\")\n\nresolve()",
"def resolve():\n ABC = input().split()\n if ABC.count(\"5\") == 2 and ABC.count(\"7\") == 1:\n print(\"YES\")\n else:\n ... | def resolve():
ABC = input().split()
if ABC.count("5") == 2 and ABC.count("7") == 1:
print("YES")
else:
print("NO")
resolve() |
[
7,
12,
13,
0,
13,
4,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
9,
8
],
[
4,
11
],
[
15,
14
],
[
8,
17
],
[
4,
17
],
[
14,
20
],
[
8,
20
],
[
4,
20
],
[
35,
32
]
] | [
"def test(): \n arr = input()\n arr = arr.split()\n arr = sorted(arr)\n if arr==['5', '5', '7']:\n print(\"YES\")\n else:\n print(\"NO\") \ntest()",
"def test(): \n arr = input()\n arr = arr.split()\n arr = sorted(arr)\n if arr==['5', '5', '7']:\n print(\"YES\")\n else:\n print(\"NO\") ",
... | def test():
arr = input()
arr = arr.split()
arr = sorted(arr)
if arr==['5', '5', '7']:
print("YES")
else:
print("NO")
test() |
[
7,
15,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
8,
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\nN = dict(Counter(map(int,input().split())))\nprint(\"YES\") if (N[5]==2 and N[7]==1) else print(\"NO\")",
"from collections import Counter",
"N = dict(Counter(map(int,input().split())))",
"N",
"dict(Counter(map(int,input().split())))",
"dict",
"Counter(map(int,input().s... | from collections import Counter
N = dict(Counter(map(int,input().split())))
print("YES") if (N[5]==2 and N[7]==1) else print("NO") |
[
7,
0,
13,
4,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
4,
13,
8,
2,
4,
18,
17,
13,
13,
17,
17,
17,
10,
4,
13
] | [
[
27,
2
],
[
28,
12
],
[
28,
22
],
[
27,
28
]
] | [
"l=list(input().split())\nl.sort()\nprint(\"YES\" if \" \".join(l)==\"5 5 7\" else \"NO\")",
"l=list(input().split())",
"l",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"l.sort()",
"l.sort",
"l",
"sort",
"print(\"YES\" if \" \".join(l)==\"5 5 7... | l=list(input().split())
l.sort()
print("YES" if " ".join(l)=="5 5 7" else "NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
14,
2,
18,
13,
13,
17,
0,
13,
17,
14,
2,
18,
13,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
... | [
[
71,
2
],
[
62,
14
],
[
68,
17
],
[
21,
20
],
[
72,
25
],
[
72,
29
],
[
20,
30
],
[
59,
33
],
[
72,
38
],
[
20,
39
],
[
65,
42
],
[
60,
47
],
[
63,
47
],
[
... | [
"a = list(map(int, input().split()))\n\ncounter_5 = 0\ncounter_7 = 0\n\nfor i in range(len(a)):\n if a[i] == 5:\n counter_5 += 1\n if a[i]== 7:\n counter_7 += 1\n\nif counter_5 == 2 and counter_7 ==1:\n print('YES')\nelse:\n print('NO')",
"a = list(map(int, input().split()))",
"a",
"list(map(int, in... | a = list(map(int, input().split()))
counter_5 = 0
counter_7 = 0
for i in range(len(a)):
if a[i] == 5:
counter_5 += 1
if a[i]== 7:
counter_7 += 1
if counter_5 == 2 and counter_7 ==1:
print('YES')
else:
print('NO') |
[
7,
12,
13,
0,
13,
4,
18,
17,
13,
4,
13,
4,
18,
4,
13,
13,
17,
17,
4,
13,
8,
2,
13,
17,
17,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
22
],
[
34,
31
]
] | [
"def main():\n abc = ''.join(sorted(input().replace(' ', '')))\n print('YES' if abc == '557' else 'NO')\n\n\nif __name__ == '__main__':\n main()",
"def main():\n abc = ''.join(sorted(input().replace(' ', '')))\n print('YES' if abc == '557' else 'NO')",
"main",
"abc = ''.join(sorted(input().repl... | def main():
abc = ''.join(sorted(input().replace(' ', '')))
print('YES' if abc == '557' else 'NO')
if __name__ == '__main__':
main()
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
32,
2
],
[
35,
14
],
[
33,
17
],
[
36,
20
],
[
32,
33
],
[
35,
36
]
] | [
"#A\na = list(map(int,input().split()))\nb = sorted(a)\nif b == [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",
"s... | #A
a = list(map(int,input().split()))
b = sorted(a)
if b == [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,
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,
... | [
[
51,
2
],
[
60,
14
],
[
57,
17
],
[
21,
20
],
[
52,
20
],
[
20,
24
],
[
54,
27
],
[
20,
31
],
[
63,
34
],
[
64,
39
],
[
58,
39
],
[
55,
42
],
[
61,
42
],
[
... | [
"list = list(map(int,input().split()))\n\nfive = 0\nseven = 0\n\nfor i in list:\n if i == 5:\n five += 1\n elif i == 7:\n seven += 1\n else:\n pass\n\nif seven == 1 and five == 2:\n print(\"YES\")\nelse:\n print(\"NO\")",
"list = list(map(int,input().split()))",
"list",
"list(map(int,input()... | list = list(map(int,input().split()))
five = 0
seven = 0
for i in list:
if i == 5:
five += 1
elif i == 7:
seven += 1
else:
pass
if seven == 1 and five == 2:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4... | [
[
62,
2
],
[
62,
11
],
[
62,
12
],
[
60,
17
],
[
63,
18
],
[
57,
21
],
[
60,
30
],
[
57,
31
],
[
63,
34
],
[
63,
43
],
[
57,
44
],
[
60,
47
],
[
62,
57
],
[
... | [
"a,b,c=map(int,input().split())\nif a==b==5 and c==7:\n print('YES')\nelif a==c==5 and b==7:\n print('YES')\nelif b==c==5 and a==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",
"()",
"inp... | a,b,c=map(int,input().split())
if a==b==5 and c==7:
print('YES')
elif a==c==5 and b==7:
print('YES')
elif b==c==5 and a==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,
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,... | [
[
57,
2
],
[
54,
14
],
[
63,
17
],
[
21,
20
],
[
58,
20
],
[
20,
24
],
[
60,
27
],
[
20,
31
],
[
51,
34
],
[
61,
39
],
[
55,
39
],
[
52,
42
],
[
64,
42
],
[
... | [
"array = list(map(int,input().split()))\ncnt5 = 0\ncnt7 = 0\nfor i in array:\n if i == 5:\n cnt5 += 1\n if i == 7:\n cnt7 +=1\nif cnt5 ==2 and cnt7 ==1:\n print('YES')\nelse:\n print('NO')",
"array = list(map(int,input().split()))",
"array",
"list(map(int,input().split()))",
"list",
"map(int,inp... | array = list(map(int,input().split()))
cnt5 = 0
cnt7 = 0
for i in array:
if i == 5:
cnt5 += 1
if i == 7:
cnt7 +=1
if cnt5 ==2 and cnt7 ==1:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
2,
13,
13,
13,
17,
2,
2,
2,
13,
13,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
42,
2
],
[
42,
11
],
[
42,
12
],
[
43,
18
],
[
40,
19
],
[
37,
20
],
[
43,
25
],
[
40,
26
],
[
37,
27
],
[
42,
37
],
[
42,
40
],
[
42,
43
]
] | [
"a,b,c = map(int,input().split())\nif a+b+c == 17 and a*b*c == 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",
"if a+b+c == 17 and a*b*c ==... | a,b,c = map(int,input().split())
if a+b+c == 17 and a*b*c == 175:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
40,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
28,
2
],
[
29,
17
],
[
28,
29
]
] | [
"li=list(map(int,input().split()))\n\nif li.count(5)>=2:\n print('YES')\nelse:\n print('NO')",
"li=list(map(int,input().split()))",
"li",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if li.coun... | li=list(map(int,input().split()))
if li.count(5)>=2:
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,
4,
13,
13,
4,
13,
8,
2,
13,
39,
17,
17,
17,
17,
17,
10,
4,
13,
10,
2,
13
] | [
[
51,
13
],
[
22,
21
],
[
21,
30
],
[
48,
32
],
[
49,
40
],
[
48,
49
],
[
51,
52
]
] | [
"from sys import stdin, stdout\nfrom time import perf_counter\n\nimport sys\nsys.setrecursionlimit(10**9)\nmod = 10**9+7\n\n\nl =sorted([int(item) for item in input().split()])\nprint(\"YES\" if l == [5,5,7] else \"NO\")",
"from sys import stdin, stdout",
"from time import perf_counter",
"import sys",
"sys"... | from sys import stdin, stdout
from time import perf_counter
import sys
sys.setrecursionlimit(10**9)
mod = 10**9+7
l =sorted([int(item) for item in input().split()])
print("YES" if l == [5,5,7] else "NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
4,
13,
13,
13,
13,
17,
2,
4,
13,
13,
13,
13,
17,
2,
2,
2,
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
],
[
51,
19
],
[
45,
20
],
[
48,
21
],
[
51,
26
],
[
45,
27
],
[
48,
28
],
[
51,
33
],
[
45,
34
],
[
48,
35
],
[
50,
45
],
[
... | [
"A, B, C = map(int, input().split())\nif min(A, B, C) == 5 and max(A, B, C) == 7 and 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",
... | A, B, C = map(int, input().split())
if min(A, B, C) == 5 and max(A, B, C) == 7 and A + B + C == 17:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
2,
39,
17,
17,
28,
13,
13,
0,
18,
13,
4,
13,
13,
17,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
2,
13
] | [
[
47,
2
],
[
50,
6
],
[
48,
9
],
[
53,
13
],
[
20,
19
],
[
51,
19
],
[
27,
22
],
[
54,
23
],
[
19,
26
],
[
54,
32
],
[
54,
37
],
[
47,
48
],
[
50,
51
],
[
5... | [
"x = input()\nstr_a = x.split(\" \")\narray=[0]*10\nfor s in str_a:\n array[int(s)]+=1\nif array[5]==2 and array[7]==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"x = input()",
"x",
"input()",
"input",
"str_a = x.split(\" \")",
"str_a",
"x.split(\" \")",
"x.split",
"x",
"split",
"\" \"",
... | x = input()
str_a = x.split(" ")
array=[0]*10
for s in str_a:
array[int(s)]+=1
if array[5]==2 and array[7]==1:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
2,
2,
13,
39,
17,
17,
17,
2,
13,
39,
17,
17,
17,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
41,
2
],
[
42,
17
],
[
42,
23
],
[
42,
29
],
[
41,
42
]
] | [
"L = list(map(int, input().split()))\n\nif L == [5, 7, 5] or L == [5, 5, 7] or L == [7, 5, 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",
... | L = list(map(int, input().split()))
if L == [5, 7, 5] or L == [5, 5, 7] or L == [7, 5, 5]:
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
18,
4,
13,
13,
17,
17,
4,
13,
18,
17,
39,
2,
4,
18,
13,
13,
17,
17,
17,
10,
4,
13
] | [
[
24,
2
],
[
25,
18
],
[
24,
25
]
] | [
"a=input().replace('5','');print('NYOE S'[a.count('7')==1::2])",
"a=input().replace('5','')",
"a",
"input().replace('5','')",
"().replace",
"()",
"input",
"replace",
"'5'",
"''",
"print('NYOE S'[a.count('7')==1::2])",
"print",
"'NYOE S'[a.count('7')==1::2]",
"'NYOE S'",
"a.count('7')==1:... | a=input().replace('5','');print('NYOE S'[a.count('7')==1::2]) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
35,
2
],
[
32,
14
],
[
36,
17
],
[
33,
20
],
[
32,
33
],
[
35,
36
]
] | [
"lst = list(map(int, input().split()))\nslst = sorted(lst)\nif slst == [5, 5, 7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"lst = list(map(int, input().split()))",
"lst",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",... | lst = list(map(int, input().split()))
slst = sorted(lst)
if slst == [5, 5, 7]:
print("YES")
else:
print("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,
14,
2,
2,
13,
17,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
14,
2,
2,
2,
13,
13,
13,
17,
0,
13,
17,
4,
13,
13,
10,
4,
1... | [
[
67,
2
],
[
67,
11
],
[
67,
12
],
[
58,
14
],
[
62,
19
],
[
62,
22
],
[
56,
27
],
[
56,
30
],
[
68,
35
],
[
68,
38
],
[
62,
44
],
[
56,
45
],
[
68,
46
],
[
... | [
"A,B,C = map(int,input().split())\nres = \"NO\"\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 res = \"YES\"\nprint(res)",
"A,B,C = map(int,input().split())",
"A",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
... | A,B,C = map(int,input().split())
res = "NO"
if A == 5 or A == 7:
if B == 5 or B == 7:
if C == 5 or C == 7:
if A+B+C == 17:
res = "YES"
print(res) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
18,
39,
17,
17,
2,
2,
4,
13,
13,
13,
13,
17,
2,
2,
2,
2,
13,
13,
13,
4,
13,
13,
13,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
47,
2
],
[
47,
11
],
[
47,
12
],
[
45,
23
],
[
42,
24
],
[
48,
25
],
[
45,
31
],
[
42,
32
],
[
48,
33
],
[
45,
36
],
[
42,
37
],
[
48,
38
],
[
47,
42
],
[
... | [
"a,b,c=map(int,input().split());print(['NO','YES'][max(a,b,c)==7 and (a+b+c)-max(a,b,c)==10])",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"print(['NO','YES'][max(a,b,c)==7 and (a+b+c)-ma... | a,b,c=map(int,input().split());print(['NO','YES'][max(a,b,c)==7 and (a+b+c)-max(a,b,c)==10]) |
[
7,
0,
13,
4,
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
] | [
[
31,
2
],
[
32,
13
],
[
32,
20
],
[
31,
32
]
] | [
"a = list(str(i) for i in input().split())\nif a.count(\"5\") == 2 and a.count(\"7\") == 1:\n\tprint(\"YES\")\nelse:\n\tprint(\"NO\")",
"a = list(str(i) for i in input().split())",
"a",
"list(str(i) for i in input().split())",
"list",
"str(i)",
"str",
"i",
"if a.count(\"5\") == 2 and a.count(\"7\") ... | a = list(str(i) for i in input().split())
if a.count("5") == 2 and a.count("7") == 1:
print("YES")
else:
print("NO") |
[
7,
15,
13,
12,
13,
0,
13,
4,
13,
13,
13,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
14,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
... | [
[
63,
6
],
[
61,
8
],
[
63,
9
],
[
63,
10
],
[
55,
15
],
[
64,
16
],
[
58,
19
],
[
55,
28
],
[
58,
29
],
[
64,
32
],
[
64,
41
],
[
58,
42
],
[
55,
45
],
[
6... | [
"import sys\ndef MI(): return map(int,sys.stdin.readline().rstrip().split())\n\nA,B,C = MI()\nif A == B == 5 and C == 7:\n print('YES')\nelif A == C == 5 and B == 7:\n print('YES')\nelif B == C == 5 and A == 7:\n print('YES')\nelse:\n print('NO')",
"import sys",
"sys",
"def MI(): return map(int,sy... | import sys
def MI(): return map(int,sys.stdin.readline().rstrip().split())
A,B,C = MI()
if A == B == 5 and C == 7:
print('YES')
elif A == C == 5 and B == 7:
print('YES')
elif B == C == 5 and A == 7:
print('YES')
else:
print('NO') |
[
7,
14,
2,
13,
17,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
4,
13,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
30,
6
],
[
31,
21
],
[
30,
31
]
] | [
"# -*- coding: utf-8 -*-\n\nif __name__ == \"__main__\":\n str_list = list(map(int, input().split()))\n if sum(str_list) == 17:\n print('YES')\n else:\n print('NO')",
"if __name__ == \"__main__\":\n str_list = list(map(int, input().split()))\n if sum(str_list) == 17:\n print('Y... | # -*- coding: utf-8 -*-
if __name__ == "__main__":
str_list = list(map(int, input().split()))
if sum(str_list) == 17:
print('YES')
else:
print('NO')
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
4,
13,
4,
13,
13,
39,
17,
17,
17,
17,
17,
10,
4,
13
] | [
[
29,
2
],
[
30,
21
],
[
29,
30
]
] | [
"a = list(map(int, input().split()))\nprint('YES' if list(sorted(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",
"print('YES'... | a = list(map(int, input().split()))
print('YES' if list(sorted(a)) == [5,5,7] else 'NO') |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
13,
13,
13,
0,
13,
39,
39,
17,
17,
17,
39,
17,
17,
17,
39,
17,
17,
17,
14,
2,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
39,
... | [
[
57,
2
],
[
57,
11
],
[
57,
12
],
[
51,
14
],
[
54,
20
],
[
52,
36
],
[
55,
37
],
[
57,
46
],
[
57,
49
],
[
51,
52
],
[
54,
55
],
[
57,
58
]
] | [
"A, B, C = map(int, input().split())\nL = [A, B, C]\nans = [[5, 5, 7], [5, 7, 5], [7, 5, 5]]\n\nif L in ans:\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",
... | A, B, C = map(int, input().split())
L = [A, B, C]
ans = [[5, 5, 7], [5, 7, 5], [7, 5, 5]]
if L in ans:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
17,
4,
18,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
27,
2
],
[
28,
11
],
[
28,
15
],
[
27,
28
]
] | [
"nums= input().split(' ')\nnums.sort()\nif nums== ['5','5','7']:\n print('YES')\nelse:\n print('NO')",
"nums= input().split(' ')",
"nums",
"input().split(' ')",
"().split",
"()",
"input",
"split",
"' '",
"nums.sort()",
"nums.sort",
"nums",
"sort",
"if nums== ['5','5','7']:\n print('YES'... | nums= input().split(' ')
nums.sort()
if nums== ['5','5','7']:
print('YES')
else:
print('NO')
|
[
7,
0,
13,
4,
18,
4,
13,
13,
14,
40,
2,
2,
4,
13,
18,
13,
17,
4,
13,
18,
13,
17,
4,
13,
18,
13,
17,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
17,
4,
13,
17,
14,
2,
2,
18,
13,
17,
18,
13,
17,
17,
4,
13... | [
[
74,
2
],
[
75,
15
],
[
75,
20
],
[
75,
25
],
[
75,
35
],
[
75,
38
],
[
75,
48
],
[
75,
51
],
[
75,
61
],
[
75,
64
],
[
74,
75
]
] | [
"input_line = input().split()\n\nif int(input_line[0]) + int(input_line[1]) + int(input_line[2]) != 17:\n print(\"NO\")\n pass\nelif input_line[0] == input_line[1] == \"5\":\n print(\"YES\")\n pass\nelif input_line[1] == input_line[2] == \"5\":\n print(\"YES\")\n pass\nelif input_line[0] == input_... | input_line = input().split()
if int(input_line[0]) + int(input_line[1]) + int(input_line[2]) != 17:
print("NO")
pass
elif input_line[0] == input_line[1] == "5":
print("YES")
pass
elif input_line[1] == input_line[2] == "5":
print("YES")
pass
elif input_line[0] == input_line[2] == "5":
print(... |
[
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,
4,
13,
... | [
[
54,
2
],
[
51,
14
],
[
63,
17
],
[
21,
20
],
[
55,
20
],
[
20,
24
],
[
60,
27
],
[
20,
31
],
[
57,
34
],
[
61,
39
],
[
52,
39
],
[
58,
42
],
[
64,
42
],
[
... | [
"a = list(map(int, input().split()))\ncnt_5 = 0\ncnt_7 = 0\n\nfor i in a:\n if i == 5:\n cnt_5 += 1\n if i == 7:\n cnt_7 += 1\n \nif cnt_5 == 2 and cnt_7 == 1:\n print('YES')\nelse:\n print('NO')",
"a = list(map(int, input().split()))",
"a",
"list(map(int, input().split()))",
"list",
"map(i... | a = list(map(int, input().split()))
cnt_5 = 0
cnt_7 = 0
for i in a:
if i == 5:
cnt_5 += 1
if i == 7:
cnt_7 += 1
if cnt_5 == 2 and cnt_7 == 1:
print('YES')
else:
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,
4,
13,
17,
0,
13,
2,
18,
13,
13,
17,
0,
13,
2,
18,
13,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
... | [
[
4,
3
],
[
3,
12
],
[
56,
14
],
[
65,
17
],
[
59,
20
],
[
24,
23
],
[
62,
28
],
[
57,
31
],
[
23,
32
],
[
68,
35
],
[
57,
38
],
[
23,
39
],
[
63,
44
],
[
6... | [
"a = [int(x) for x in input().split()]\ncountF = 0\ncountS = 0\nfor i in range(3):\n countF += a[i] == 5\n countS += a[i] == 7\nif countF == 2 and countS == 1:\n print('YES')\nelse:\n print('NO')",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split... | a = [int(x) for x in input().split()]
countF = 0
countS = 0
for i in range(3):
countF += a[i] == 5
countS += a[i] == 7
if countF == 2 and countS == 1:
print('YES')
else:
print('NO') |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
2,
18,
13,
13,
17,
0,
13,
4,
13,
2,
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,
4
],
[
54,
16
],
[
49,
21
],
[
51,
25
],
[
49,
30
],
[
55,
36
],
[
52,
39
],
[
48,
49
],
[
51,
52
],
[
54,
55
]
] | [
"import math\n\nn = list(map(int,input().split()))\na = sum(n[i] == 5 for i in range(3))\nb = sum(n[i] == 7 for i in range(3))\nif a == 2 and b == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"import math",
"math",
"n = list(map(int,input().split()))",
"n",
"list(map(int,input().split()))",
"list"... | import math
n = list(map(int,input().split()))
a = sum(n[i] == 5 for i in range(3))
b = sum(n[i] == 7 for i in range(3))
if a == 2 and b == 1:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
14,
2,
4,
13,
39,
17,
17,
4,
13,
13,
14,
2,
4,
13,
13,
17,
0,
13,
17,
4,
13,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
39,
2
],
[
45,
14
],
[
40,
25
],
[
42,
33
],
[
43,
37
],
[
46,
37
],
[
39,
40
],
[
42,
43
],
[
45,
46
]
] | [
"a = list(map(int,input().split()))\nanswer = 'NO'\nif set([5,7]) == set(a):\n if len([i for i in a if i == 5]) == 2:\n answer = 'YES'\nprint(answer)",
"a = list(map(int,input().split()))",
"a",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()"... | a = list(map(int,input().split()))
answer = 'NO'
if set([5,7]) == set(a):
if len([i for i in a if i == 5]) == 2:
answer = 'YES'
print(answer) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
39,
17,
17,
17,
14,
2,
2,
2,
13,
13,
13,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
43,
2
],
[
43,
11
],
[
43,
12
],
[
40,
14
],
[
44,
23
],
[
38,
24
],
[
35,
25
],
[
41,
26
],
[
43,
35
],
[
43,
38
],
[
40,
41
],
[
43,
44
]
] | [
"a,b,c = map(str, input().split())\nok = [\"575\", \"557\", \"755\"]\nif (a+b+c in ok):\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",
"ok = [\... | a,b,c = map(str, input().split())
ok = ["575", "557", "755"]
if (a+b+c in ok):
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
21,
22,
17,
17,
22,
17,
17,
0,
18,
13,
13,
2,
18,
13,
13,
17,
0,
18,
13,
13,
2,
18,
13,
13,
17,
0,
18,
13,
13,
2,
18,
13,
13,
17,
14,
2,
2,
18,
13,
17,
... | [
[
74,
2
],
[
74,
11
],
[
74,
12
],
[
77,
14
],
[
26,
23
],
[
78,
24
],
[
75,
25
],
[
78,
28
],
[
75,
29
],
[
35,
32
],
[
78,
33
],
[
69,
34
],
[
78,
37
],
[
... | [
"a, b, c = (map(int, input().split()))\n\nm = {5: 0, 7: 0}\nm[a] = m[a] + 1\nm[b] = m[b] + 1\nm[c] = m[c] + 1\nif m[5] == 2 and m[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()",
"().spl... | a, b, c = (map(int, input().split()))
m = {5: 0, 7: 0}
m[a] = m[a] + 1
m[b] = m[b] + 1
m[c] = m[c] + 1
if m[5] == 2 and m[7] == 1:
print("YES")
else:
print("NO")
|
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
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,
13,
13,
10,
4,
13
] | [
[
4,
3
],
[
3,
12
],
[
44,
14
],
[
47,
17
],
[
45,
20
],
[
48,
26
],
[
45,
26
],
[
48,
33
],
[
45,
33
],
[
44,
45
],
[
47,
48
]
] | [
"l = [int(x) for x in input().split()]\nl = sorted(l)\nif l.count(5)==2 and l.count(7)==1:\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)",
... | l = [int(x) for x in input().split()]
l = sorted(l)
if l.count(5)==2 and l.count(7)==1:
print("YES")
else:
print("NO") |
[
7,
15,
13,
15,
12,
13,
0,
13,
4,
18,
4,
13,
13,
41,
28,
13,
13,
4,
4,
13,
13,
0,
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,
4,
13,
10,
12... | [
[
8,
7
],
[
16,
15
],
[
7,
15
],
[
15,
20
],
[
23,
22
],
[
22,
26
],
[
22,
33
],
[
22,
38
],
[
22,
43
],
[
56,
53
]
] | [
"import math\nfrom datetime import date\n\ndef main():\n\t\t\n\tline = input().split()\n\ta = [int(x) for x in line]\n\ta.sort()\n\n\tif a[0] == 5 and a[1] == 5 and a[2] == 7:\n\t\tprint(\"YES\")\n\telse:\n\t\tprint(\"NO\")\n\t\nmain()",
"import math",
"math",
"from datetime import date",
"def main():\n\t\t... | import math
from datetime import date
def main():
line = input().split()
a = [int(x) for x in line]
a.sort()
if a[0] == 5 and a[1] == 5 and a[2] == 7:
print("YES")
else:
print("NO")
main()
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
17,
18,
13,
17,
14,
2,
2,
17,
18,
13,
17,
2,
17,
18,
13,
17,
4,
13,
17,
0,
13,
17,
4,
13,
17,
0,
13,
17,
14,
2,
17,
18,
13,
17,
14,
2,
2,
2,
17,
18,
13,
... | [
[
92,
2
],
[
93,
17
],
[
93,
24
],
[
93,
29
],
[
36,
35
],
[
42,
41
],
[
93,
47
],
[
93,
55
],
[
93,
60
],
[
93,
66
],
[
93,
71
],
[
78,
77
],
[
84,
83
],
[
... | [
"#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\na = list(map(int, input().split()))\n\nif 7 == a[0]:\n if 5 == a[1] and 5 == a[2]:\n print(\"YES\", end=\"\\n\")\n else:\n print(\"NO\", end=\"\\n\") \n\nelif 5 == a[0]:\n if (7 == a[1] and 5 == a[2]) or (5 == a[1] and 7 == a[2]):\n ... | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
a = list(map(int, input().split()))
if 7 == a[0]:
if 5 == a[1] and 5 == a[2]:
print("YES", end="\n")
else:
print("NO", end="\n")
elif 5 == a[0]:
if (7 == a[1] and 5 == a[2]) or (5 == a[1] and 7 == a[2]):
print("YES", end="\n")
... |
[
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,... | [
[
63,
2
],
[
60,
14
],
[
57,
17
],
[
21,
20
],
[
64,
20
],
[
20,
24
],
[
54,
27
],
[
20,
31
],
[
51,
34
],
[
55,
39
],
[
61,
39
],
[
52,
42
],
[
58,
42
],
[
... | [
"l = list(map(int, input().split()))\n\ncounter5 = 0\ncounter7 = 0\n\nfor num in l:\n if num == 5:\n counter5+=1\n \n if num == 7:\n counter7+=1\n\nif counter5 == 2 and counter7 == 1:\n print(\"YES\")\n\nelse:\n print(\"NO\")",
"l = list(map(int, input().split()))",
"l",
"list(map... | l = list(map(int, input().split()))
counter5 = 0
counter7 = 0
for num in l:
if num == 5:
counter5+=1
if num == 7:
counter7+=1
if counter5 == 2 and counter7 == 1:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
29,
2
],
[
30,
15
],
[
30,
22
],
[
29,
30
]
] | [
"abc = input().split()\n\nprint(\"YES\" if abc.count(\"5\") == 2 and abc.count(\"7\") == 1 else \"NO\")",
"abc = input().split()",
"abc",
"input().split()",
"().split",
"()",
"input",
"split",
"print(\"YES\" if abc.count(\"5\") == 2 and abc.count(\"7\") == 1 else \"NO\")",
"print",
"\"YES\" if a... | abc = input().split()
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,
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
]
] | [
"num=list(map(int,input().split()))\nnum.sort()\nprint('YES' if num==[5,5,7] else 'NO')",
"num=list(map(int,input().split()))",
"num",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"num.sort()",
... | num=list(map(int,input().split()))
num.sort()
print('YES' if num==[5,5,7] else 'NO')
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
14,
2,
18,
13,
13,
17,
0,
13,
17,
14,
2,
18,
13,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
... | [
[
65,
2
],
[
62,
14
],
[
68,
17
],
[
21,
20
],
[
66,
25
],
[
66,
29
],
[
20,
30
],
[
59,
33
],
[
66,
38
],
[
20,
39
],
[
71,
42
],
[
60,
47
],
[
63,
47
],
[
... | [
"cmd = list( map( int, input( ).split( )))\ncnt5 = 0\ncnt7 = 0\nfor i in range( len( cmd)):\n if cmd[i] == 5:\n cnt5 +=1\n elif cmd[ i] == 7:\n cnt7 += 1\nif cnt5 == 2 and cnt7 == 1:\n print( \"YES\")\nelse:\n print( \"NO\")",
"cmd = list( map( int, input( ).split( )))",
"cmd",
"list( map( int, inpu... | cmd = list( map( int, input( ).split( )))
cnt5 = 0
cnt7 = 0
for i in range( len( cmd)):
if cmd[i] == 5:
cnt5 +=1
elif cmd[ i] == 7:
cnt7 += 1
if cnt5 == 2 and cnt7 == 1:
print( "YES")
else:
print( "NO")
|
[
7,
15,
13,
15,
13,
15,
13,
15,
13,
15,
13,
15,
13,
12,
13,
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,
29,
17,
14,
2,
13,
17,
... | [
[
17,
16
],
[
16,
32
],
[
16,
39
],
[
59,
56
]
] | [
"import math\nimport collections\nimport fractions\nimport itertools\nimport functools\nimport operator\n\ndef solve():\n iroha = list(map(int, input().split()))\n if iroha.count(5)==2 and iroha.count(7)==1:\n print(\"YES\")\n else:\n print(\"NO\")\n return 0\n\nif __name__ == \"__main__\"... | import math
import collections
import fractions
import itertools
import functools
import operator
def solve():
iroha = list(map(int, input().split()))
if iroha.count(5)==2 and iroha.count(7)==1:
print("YES")
else:
print("NO")
return 0
if __name__ == "__main__":
solve() |
[
7,
0,
13,
4,
13,
41,
28,
13,
4,
18,
13,
13,
17,
4,
4,
13,
13,
0,
13,
13,
4,
13,
8,
2,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
4,
13,
13,
17,
17,
17,
10,
4,
... | [
[
55,
2
],
[
8,
7
],
[
56,
10
],
[
7,
16
],
[
58,
18
],
[
59,
28
],
[
56,
28
],
[
59,
33
],
[
56,
33
],
[
59,
39
],
[
56,
39
],
[
59,
44
],
[
56,
44
],
[
59... | [
"a = input()\na = [int(i)for i in a.split(\" \")]\nprint(\"YES\" if (a[0] == 5 or a[0] == 7) and (a[1] == 5 or a[1] == 7) and (sum(a) == 17) else \"NO\")",
"a = input()",
"a",
"input()",
"input",
"int(i)for i in a.split(\" \")",
"for i in a.split(\" \")",
"i",
"a.split(\" \")",
"a.split",
"a",
... | a = input()
a = [int(i)for i in a.split(" ")]
print("YES" if (a[0] == 5 or a[0] == 7) and (a[1] == 5 or a[1] == 7) and (sum(a) == 17) else "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())\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... | A,B,C=map(int,input().split())
if sorted([A,B,C])==[5,5,7]:
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.