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,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
2,
39,
17,
17,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
13,
8,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
17,
17,
4,
13,
13,
10,
8,
13,... | [
[
66,
2
],
[
66,
11
],
[
66,
12
],
[
60,
14
],
[
23,
20
],
[
61,
21
],
[
58,
22
],
[
28,
25
],
[
61,
26
],
[
64,
27
],
[
33,
30
],
[
61,
31
],
[
67,
32
],
[
... | [
"A, B, C = map(int, input().split())\nnum = [0]*11\nnum[A] += 1\nnum[B] += 1\nnum[C] += 1\nans = 'YES' if num[5] == 2 and num[7] == 1 else 'NO'\nprint(ans)",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"spli... | A, B, C = map(int, input().split())
num = [0]*11
num[A] += 1
num[B] += 1
num[C] += 1
ans = 'YES' if num[5] == 2 and num[7] == 1 else 'NO'
print(ans) |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
14,
2,
39,
17,
17,
17,
13,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13
] | [
[
38,
4
],
[
41,
16
],
[
39,
23
],
[
42,
30
],
[
38,
39
],
[
41,
42
]
] | [
"import itertools\nABC = list(map(str, input().split()))\n\nlist_ = list(itertools.permutations(ABC))\n\nif ('5', '7', '5') in list_:\n print('YES')\nelse:\n print('NO')",
"import itertools",
"itertools",
"ABC = list(map(str, input().split()))",
"ABC",
"list(map(str, input().split()))",
"list",
"map... | import itertools
ABC = list(map(str, input().split()))
list_ = list(itertools.permutations(ABC))
if ('5', '7', '5') in list_:
print('YES')
else:
print('NO') |
[
7,
0,
13,
17,
0,
13,
17,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
28,
13,
13,
14,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10,
17,... | [
[
61,
2
],
[
55,
5
],
[
49,
8
],
[
19,
18
],
[
50,
18
],
[
18,
22
],
[
58,
25
],
[
18,
29
],
[
52,
32
],
[
59,
37
],
[
62,
37
],
[
53,
40
],
[
56,
40
],
[
4... | [
"n_5 = 0\nn_7 = 0\n\na = map(int, input().split())\nfor i in a:\n if i == 5:\n n_5 += 1\n elif i == 7:\n n_7 += 1\n\nif n_5 == 2 and n_7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"n_5 = 0",
"n_5",
"0",
"n_7 = 0",
"n_7",
"0",
"a = map(int, input().split())",
"a",
"ma... | n_5 = 0
n_7 = 0
a = map(int, input().split())
for i in a:
if i == 5:
n_5 += 1
elif i == 7:
n_7 += 1
if n_5 == 2 and n_7 == 1:
print("YES")
else:
print("NO") |
[
7,
15,
13,
12,
13,
12,
13,
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,
29,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
29,
14,
2,
2,
2,
13,
... | [
[
9,
8
],
[
81,
15
],
[
9,
17
],
[
9,
18
],
[
8,
23
],
[
17,
26
],
[
18,
29
],
[
17,
39
],
[
18,
42
],
[
8,
45
],
[
18,
55
],
[
8,
58
],
[
17,
61
],
[
78,
... | [
"import sys\ndef input(): return sys.stdin.readline().strip()\n\ndef main():\n a, b, c = map(int, input().split())\n if a == 5 and b == 5 and c == 7:\n print(\"YES\")\n return\n if b == 5 and c == 5 and a == 7:\n print(\"YES\")\n return\n if c == 5 and a == 5 and b == 7:\n ... | import sys
def input(): return sys.stdin.readline().strip()
def main():
a, b, c = map(int, input().split())
if a == 5 and b == 5 and c == 7:
print("YES")
return
if b == 5 and c == 5 and a == 7:
print("YES")
return
if c == 5 and a == 5 and b == 7:
print("YES")
... |
[
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,
39,
13,
13,
13,
4,
18,
13,
13,
14,
2,
2,
2,
18,
13,
17,
17,
2,... | [
[
6,
5
],
[
12,
11
],
[
5,
14
],
[
18,
17
],
[
11,
21
],
[
25,
24
],
[
11,
28
],
[
32,
31
],
[
11,
35
],
[
39,
38
],
[
38,
45
],
[
38,
52
],
[
38,
57
],
[
3... | [
"from sys import stdin,stdout\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 l=[a,b,c]\n l.sort()\n if l[0]==5 and l[1]==5 and l[2]==7:\n stdout.write(\"YES\")\n else:\n stdout.write(\"NO\")\nmain()",
"f... | 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])
l=[a,b,c]
l.sort()
if l[0]==5 and l[1]==5 and l[2]==7:
stdout.write("YES")
else:
stdout.write("NO")
main() |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
14,
2,
2,
... | [
[
77,
2
],
[
77,
11
],
[
77,
12
],
[
78,
15
],
[
72,
20
],
[
75,
23
],
[
72,
33
],
[
78,
38
],
[
75,
41
],
[
75,
51
],
[
78,
56
],
[
72,
59
],
[
77,
72
],
[
... | [
"a,b,c = map(int,input().split())\n\nif a == 7:\n if b == 5 and c == 5:\n print(\"YES\")\n else:\n print(\"NO\")\nelif b == 7:\n if a == 5 and c == 5:\n print(\"YES\")\n else:\n print(\"NO\")\nelif c == 7:\n if a == 5 and b == 5:\n print(\"YES\")\n else:\n print(\"NO\")\nelse:\n print(\"NO\... | a,b,c = map(int,input().split())
if a == 7:
if b == 5 and c == 5:
print("YES")
else:
print("NO")
elif b == 7:
if a == 5 and c == 5:
print("YES")
else:
print("NO")
elif c == 7:
if a == 5 and b == 5:
print("YES")
else:
print("NO")
else:
print("NO") |
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
0,
13,
18,
18,
18,
13,
13,
13,
13,
4,
18,
13,
13,
2,
17,
17,
0,
13,
4,
13,
17,
0,
13,
2,
2,
17,
17,
17,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13... | [
[
82,
4
],
[
76,
11
],
[
79,
27
],
[
88,
32
],
[
42,
41
],
[
77,
50
],
[
41,
54
],
[
41,
58
],
[
86,
74
],
[
76,
77
],
[
79,
80
],
[
82,
83
],
[
88,
89
]
] | [
"import sys\n\nread = sys.stdin.read\nreadline = sys.stdin.buffer.readline\nsys.setrecursionlimit(10 ** 8)\nINF = float('inf')\nMOD = 10 ** 9 + 7\n\n\ndef main():\n A = list(map(int, readline().split()))\n A.sort()\n if A == [5,5,7]:\n print('YES')\n else:\n print('NO')\n\n\nif __name__ ==... | import sys
read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7
def main():
A = list(map(int, readline().split()))
A.sort()
if A == [5,5,7]:
print('YES')
else:
print('NO')
if __name__ == '__main__':
main()... |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
18,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
17,
14,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
43,
2
],
[
44,
15
],
[
44,
21
],
[
44,
24
],
[
44,
30
],
[
43,
44
]
] | [
"abc = list(map(int, input().split()))\nabc.sort()\nif abc[0] == abc[1] == 5:\n if abc[2] == 7:\n print('YES')\n else:\n print('NO')\nelse:\n print('NO')",
"abc = list(map(int, input().split()))",
"abc",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map"... | abc = list(map(int, input().split()))
abc.sort()
if abc[0] == abc[1] == 5:
if abc[2] == 7:
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
]
] | [
"a=sorted(list(map(int,input().split())))\nif a[0]==5 and a[1]==5 and a[2]==7:\n print(\"YES\")\nelse:\n print(\"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",... | a=sorted(list(map(int,input().split())))
if a[0]==5 and a[1]==5 and a[2]==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,... | [
[
63,
2
],
[
57,
14
],
[
57,
17
],
[
21,
20
],
[
64,
20
],
[
20,
24
],
[
51,
27
],
[
20,
31
],
[
60,
34
],
[
52,
39
],
[
55,
39
],
[
61,
42
],
[
58,
42
],
[
... | [
"l = list(map(int, input().split()))\n\nflag_5 = flag_7 = 0\n\nfor i in l:\n if i == 5:\n flag_5 += 1\n if i == 7:\n flag_7 += 1\n\nif flag_5 == 2 and flag_7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"l = list(map(int, input().split()))",
"l",
"list(map(int, input().split()))",... | l = list(map(int, input().split()))
flag_5 = flag_7 = 0
for i in l:
if i == 5:
flag_5 += 1
if i == 7:
flag_7 += 1
if flag_5 == 2 and flag_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,
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,
3
],
[
3,
12
],
[
72,
14
],
[
66,
17
],
[
69,
20
],
[
24,
23
],
[
73,
30
],
[
23,
31
],
[
63,
34
],
[
73,
39
],
[
23,
40
],
[
60,
43
],
[
64,
48
],
[
6... | [
"L=[int(i) for i in input().split()]\ncount5=0\ncount7=0\nfor i in range(3):\n if L[i]==5:\n count5+=1\n if L[i]==7:\n count7+=1\nif count5==2 and count7==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"int(i) for i in input().split()",
"for i in input().split()",
"i",
"input().split... | L=[int(i) for i in input().split()]
count5=0
count7=0
for i in range(3):
if L[i]==5:
count5+=1
if L[i]==7:
count7+=1
if count5==2 and count7==1:
print("YES")
else:
print("NO") |
[
7,
15,
13,
0,
13,
18,
18,
13,
13,
13,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
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,
18,
13,
10,
13,
13
] | [
[
48,
4
],
[
13,
12
],
[
49,
16
],
[
12,
21
],
[
51,
23
],
[
52,
30
],
[
52,
37
],
[
48,
49
],
[
51,
52
]
] | [
"# -*- coding: utf-8 -*-\nimport sys\ninput = sys.stdin.readline\ns = [int(_) for _ in input().split()]\n\nif (s.count(7)==1)&(s.count(5)==2):\n print('YES')\nelse:\n print('NO')",
"import sys",
"sys",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"rea... | # -*- coding: utf-8 -*-
import sys
input = sys.stdin.readline
s = [int(_) for _ in input().split()]
if (s.count(7)==1)&(s.count(5)==2):
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
13,
13,
14,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
39,
2
],
[
40,
10
],
[
40,
17
],
[
40,
22
],
[
40,
25
],
[
40,
29
],
[
39,
40
]
] | [
"n = list(int(i) for i in input().split())\n\nn.sort()\n\nif n[0] == 5 and n[1] == n[0] and n[2] == 7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"n = list(int(i) for i in input().split())",
"n",
"list(int(i) for i in input().split())",
"list",
"int(i)",
"int",
"i",
"n.sort()",
"n.sort",
"n... | n = list(int(i) for i in input().split())
n.sort()
if n[0] == 5 and n[1] == n[0] and n[2] == 7:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
14,
2,
17,
13,
4,
18,
13,
13,
17,
14,
2,
2,
17,
13,
2,
17,
13,
0,
13,
17,
4,
13,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13
] | [
[
40,
2
],
[
46,
14
],
[
41,
19
],
[
41,
22
],
[
41,
29
],
[
41,
32
],
[
43,
34
],
[
44,
38
],
[
47,
38
],
[
40,
41
],
[
43,
44
],
[
46,
47
]
] | [
"abc = list(map(int,input().split()))\nans = \"NO\"\nif 5 in abc:\n abc.remove(5)\n if 5 in abc and 7 in abc:\n ans = \"YES\"\n\nprint(ans)",
"abc = list(map(int,input().split()))",
"abc",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"... | abc = list(map(int,input().split()))
ans = "NO"
if 5 in abc:
abc.remove(5)
if 5 in abc and 7 in abc:
ans = "YES"
print(ans) |
[
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
]
] | [
"ABC = list(map(int, input().split()))\nif ABC.count(5) == 2 and ABC.count(7):\n print('YES')\nelse:\n print('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()))
if ABC.count(5) == 2 and ABC.count(7):
print('YES')
else:
print('NO') |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
0,
13,
4,
13,
39,
13,
13,
13,
4,
13,
8,
2,
13,
39,
17,
17,
17,
17,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
42,
2
],
[
42,
11
],
[
42,
12
],
[
39,
14
],
[
40,
25
],
[
42,
34
],
[
42,
37
],
[
39,
40
],
[
42,
43
]
] | [
"A,B,C = map(int, input().split())\n\nlist = sorted([A,B,C])\n\nprint('YES' if list == [5,5,7] else 'NO')",
"A,B,C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"list = sorted([A,B,C])",
"lis... | A,B,C = map(int, input().split())
list = sorted([A,B,C])
print('YES' if list == [5,5,7] else 'NO') |
[
7,
0,
13,
4,
18,
4,
13,
13,
4,
13,
18,
39,
17,
17,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
10,
4,
13
] | [
[
30,
2
],
[
31,
18
],
[
31,
25
],
[
30,
31
]
] | [
"L = input().split()\nprint(['NO','YES'][L.count('5')==2 and L.count('7')==1])",
"L = input().split()",
"L",
"input().split()",
"().split",
"()",
"input",
"split",
"print(['NO','YES'][L.count('5')==2 and L.count('7')==1])",
"print",
"['NO','YES'][L.count('5')==2 and L.count('7')==1]",
"['NO','... | L = input().split()
print(['NO','YES'][L.count('5')==2 and L.count('7')==1]) |
[
7,
12,
13,
0,
13,
39,
17,
17,
17,
0,
13,
4,
18,
4,
13,
13,
17,
28,
13,
13,
38,
5,
29,
17,
4,
18,
13,
13,
4,
13,
13,
29,
17,
14,
2,
13,
17,
0,
13,
4,
13,
4,
13,
13,
10,
12,
13,
10,
4,
13
] | [
[
5,
4
],
[
11,
10
],
[
19,
18
],
[
10,
18
],
[
4,
26
],
[
18,
30
],
[
48,
38
],
[
46,
40
],
[
49,
43
],
[
48,
49
]
] | [
"# coding:utf-8\n\n\ndef main():\n haiku = [5, 7, 5]\n word_num = input().split(' ')\n for num in word_num:\n try:\n haiku.remove(int(num))\n except:\n return 'NO'\n return 'YES'\n\n\nif __name__ == '__main__':\n reply = main()\n print(reply)",
"def main():\n ... | # coding:utf-8
def main():
haiku = [5, 7, 5]
word_num = input().split(' ')
for num in word_num:
try:
haiku.remove(int(num))
except:
return 'NO'
return 'YES'
if __name__ == '__main__':
reply = main()
print(reply)
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
12,
13,
0,
13,
4,
13,
13,
14,
2,
13,
39,
17,
17,
17,
29,
17,
29,
17,
23,
13,
4,
13,
4,
13,
13,
10,
4,
13,
10,
12,
13
] | [
[
37,
2
],
[
15,
14
],
[
30,
17
],
[
14,
20
],
[
30,
20
],
[
30,
30
],
[
41,
34
],
[
38,
35
],
[
37,
38
]
] | [
"a = map(int, input().split())\n\ndef answer(a: list) -> str:\n a = sorted(a)\n if a == [5, 5, 7]:\n return 'YES'\n else:\n return 'NO'\n\nprint(answer(a))",
"a = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
... | a = map(int, input().split())
def answer(a: list) -> str:
a = sorted(a)
if a == [5, 5, 7]:
return 'YES'
else:
return 'NO'
print(answer(a)) |
[
7,
12,
13,
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,
... | [
[
5,
4
],
[
5,
13
],
[
5,
14
],
[
4,
21
],
[
13,
24
],
[
14,
27
],
[
4,
32
],
[
13,
35
],
[
14,
38
],
[
4,
43
],
[
13,
46
],
[
14,
49
],
[
61,
58
]
] | [
"def main():\n A, B, C = map(int, input().split())\n 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):\n print('YES')\n else:\n print('NO')\nmain()",
"def main():\n A, B, C = map(int, input().split())\n if (A == 5 and B == 7 and C ==... | def main():
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')
main() |
[
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,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
32,
2
],
[
32,
11
],
[
32,
12
],
[
32,
27
],
[
32,
30
],
[
32,
33
]
] | [
"a, b, c = map(int, input().split())\n\nif sorted([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",
"if sorted([a, b, c]) == [5, ... | a, b, c = map(int, input().split())
if sorted([a, b, c]) == [5, 5, 7]: print('YES')
else: print('NO') |
[
7,
12,
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,
23,
13,
23,
13,
23,
13,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
4,
1... | [
[
5,
4
],
[
4,
14
],
[
4,
21
],
[
32,
32
],
[
34,
34
],
[
36,
36
],
[
40,
39
],
[
39,
48
],
[
69,
50
],
[
69,
52
],
[
69,
53
],
[
67,
55
],
[
61,
56
],
[
64... | [
"def haiku(A,B,C):\n\n list = [A,B,C]\n\n if(list.count(5) == 2 and list.count(7) ==1):\n print(\"YES\")\n else:\n print(\"NO\")\n\nA,B,C = (int(x) for x in input().split())\nhaiku(A,B,C)",
"def haiku(A,B,C):\n\n list = [A,B,C]\n\n if(list.count(5) == 2 and list.count(7) ==1):\n ... | def haiku(A,B,C):
list = [A,B,C]
if(list.count(5) == 2 and list.count(7) ==1):
print("YES")
else:
print("NO")
A,B,C = (int(x) for x in input().split())
haiku(A,B,C) |
[
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
] | [
[
43,
2
],
[
46,
14
],
[
44,
17
],
[
47,
23
],
[
47,
28
],
[
47,
33
],
[
43,
44
],
[
46,
47
]
] | [
"num = list(map(int, input().split()))\n\nans = sorted(num)\nif(ans[0]==5 and ans[1]==5 and ans[2] == 7):\n print(\"YES\")\nelse:\n print(\"NO\")",
"num = list(map(int, input().split()))",
"num",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().spl... | num = list(map(int, input().split()))
ans = sorted(num)
if(ans[0]==5 and ans[1]==5 and ans[2] == 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,
10,
4,
13
] | [
[
30,
2
],
[
31,
18
],
[
31,
25
],
[
30,
31
]
] | [
"abc = list(map(int, input().split()))\nif abc.count(5) == 2 and abc.count(7) == 1: print(\"YES\")\nelse: print(\"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()))
if abc.count(5) == 2 and abc.count(7) == 1: print("YES")
else: print("NO") |
[
7,
0,
13,
2,
39,
17,
17,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
28,
13,
13,
0,
18,
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,
2,
13
] | [
[
49,
2
],
[
46,
8
],
[
21,
20
],
[
47,
20
],
[
26,
23
],
[
50,
24
],
[
20,
25
],
[
50,
31
],
[
50,
36
],
[
46,
47
],
[
49,
50
]
] | [
"a=[0]*11\nx=list(map(int,input().split()))\nfor i in x:\n\ta[i] += 1\nif(a[5]==2 and a[7]==1):\n\tprint(\"YES\")\nelse:\n\tprint(\"NO\")",
"a=[0]*11",
"a",
"[0]*11",
"[0]",
"0",
"11",
"x=list(map(int,input().split()))",
"x",
"list(map(int,input().split()))",
"list",
"map(int,input().split())"... | a=[0]*11
x=list(map(int,input().split()))
for i in x:
a[i] += 1
if(a[5]==2 and a[7]==1):
print("YES")
else:
print("NO") |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
4,
13,
8,
2,
4,
13,
13,
17,
17,
17
] | [
[
4,
3
],
[
3,
12
]
] | [
"print(\"YES\" if sum([int(x) for x in input().split()]) == 17 else \"NO\")",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"print(\"YES\" if sum([int(x) for x in ... | print("YES" if sum([int(x) for x in input().split()]) == 17 else "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,
18,
13,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
10,
4,
13
] | [
[
38,
2
],
[
39,
15
],
[
39,
22
],
[
39,
25
],
[
39,
29
],
[
39,
34
],
[
38,
39
]
] | [
"a = list(map(int,input().split()))\na.sort()\nif(a[0] == a[1] and a[0] == 5 and a[2] == 7): print(\"YES\")\nelse: 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] == a[1] and a[0] == 5 and a[2] == 7): print("YES")
else: print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
14,
2,
4,
13,
18,
13,
13,
17,
0,
13,
17,
14,
2,
4,
13,
18,
13,
13,
17,
0,
13,
17,
14,
2,
13,
17,
14,
2,
13,
17,
4,
13,
17,
4,
13,
... | [
[
61,
2
],
[
73,
9
],
[
67,
12
],
[
16,
15
],
[
62,
20
],
[
62,
26
],
[
15,
27
],
[
64,
30
],
[
62,
37
],
[
15,
38
],
[
70,
41
],
[
65,
45
],
[
74,
45
],
[
... | [
"x = input().split()\nfn = 0\nsn = 0\n \nfor i in range(len(x)):\n if int(x[i]) == 5:\n fn += 1\n elif int(x[i]) == 7:\n sn += 1\n \nif fn == 2:\n if sn == 1:\n print(\"YES\")\n else:\n print(\"NO\")\nelse:\n print(\"NO\")",
"x = input().split()",
"x",
"input().split()",
"().split",
"()",... | x = input().split()
fn = 0
sn = 0
for i in range(len(x)):
if int(x[i]) == 5:
fn += 1
elif int(x[i]) == 7:
sn += 1
if fn == 2:
if sn == 1:
print("YES")
else:
print("NO")
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,
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... | [
[
4,
3
],
[
3,
12
],
[
73,
14
],
[
73,
16
],
[
73,
17
],
[
68,
22
],
[
71,
25
],
[
74,
28
],
[
68,
37
],
[
71,
40
],
[
74,
43
],
[
68,
52
],
[
71,
55
],
[
7... | [
"a,b,c = (int(x) for x in input().split())\n\nif a==7 and b==5 and c==5:\n print('YES')\nelif a==5 and b==7 and c==5:\n print('YES')\nelif a==5 and b==5 and c==7:\n print('YES')\nelse:\n print('NO')",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().sp... | a,b,c = (int(x) for x in input().split())
if a==7 and b==5 and c==5:
print('YES')
elif a==5 and b==7 and c==5:
print('YES')
elif a==5 and b==5 and c==7:
print('YES')
else:
print('NO') |
[
7,
15,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
17,
13,
4,
18,
13,
13,
17,
14,
2,
2,
17,
13,
2,
17,
13,
4,
13,
17,
4,
18,
13,
13,
4,
13,
17,
10,
4,
13
] | [
[
43,
4
],
[
44,
18
],
[
44,
21
],
[
44,
28
],
[
44,
31
],
[
43,
44
]
] | [
"import sys\nl=list(map(int, input().split()))\nif 5 in l:\n l.remove(5)\n if 5 in l and 7 in l:\n print(\"YES\")\n sys.exit()\nprint(\"NO\")",
"import sys",
"sys",
"l=list(map(int, input().split()))",
"l",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"... | import sys
l=list(map(int, input().split()))
if 5 in l:
l.remove(5)
if 5 in l and 7 in l:
print("YES")
sys.exit()
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
18,
13,
17,
17,
17,
10,
4,
13
] | [
[
36,
2
],
[
37,
22
],
[
37,
27
],
[
37,
31
],
[
36,
37
]
] | [
"a = sorted(list(map(int, input().split())))\nprint(\"YES\" if a[1] == 5 and a[0]== 5 and a[2] 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... | a = sorted(list(map(int, input().split())))
print("YES" if a[1] == 5 and a[0]== 5 and a[2] else "NO") |
[
7,
0,
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
] | [
[
32,
2
],
[
33,
14
],
[
33,
21
],
[
32,
33
]
] | [
"text = input().split(\" \")\nif text.count('5') == 2 and text.count('7') == 1:\n print('YES')\nelse:\n print('NO')",
"text = input().split(\" \")",
"text",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"if text.count('5') == 2 and text.count('7') == 1:\n print('YES... | text = input().split(" ")
if text.count('5') == 2 and text.count('7') == 1:
print('YES')
else:
print('NO')
|
[
7,
0,
13,
4,
18,
4,
13,
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,
10,
4,
13,
10,
4,
13,
10,
39,
13,... | [
[
60,
2
],
[
60,
8
],
[
60,
9
],
[
54,
11
],
[
51,
17
],
[
55,
20
],
[
48,
24
],
[
55,
27
],
[
52,
33
],
[
49,
36
],
[
60,
46
],
[
48,
49
],
[
51,
52
],
[
5... | [
"a, b, c = input().split()\nLIST = [a, b, c]\nfive = LIST.count(\"5\")\nseven = LIST.count(\"7\")\nif five == 2 and seven == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a, b, c = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"LIST = [a, b, c]",
"LI... | a, b, c = input().split()
LIST = [a, b, c]
five = LIST.count("5")
seven = LIST.count("7")
if five == 2 and seven == 1:
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
]
] | [
"ary = list(map(int, input().split()))\nprint('YES' if ary.count(5) == 2 and ary.count(7) == 1 else 'NO')",
"ary = list(map(int, input().split()))",
"ary",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"spl... | ary = list(map(int, input().split()))
print('YES' if ary.count(5) == 2 and ary.count(7) == 1 else '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,
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())\nfsf = [A, B, C]\nif (fsf.count(5) == 2) & (fsf.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())
fsf = [A, B, C]
if (fsf.count(5) == 2) & (fsf.count(7) == 1):
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,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
17,
17,
10,
4,
13
] | [
[
40,
2
],
[
41,
15
],
[
41,
24
],
[
41,
29
],
[
41,
34
],
[
40,
41
]
] | [
"a = list(map(int,input().split()))\n \na.sort()\nprint('YES' if a[0] == 5 and a[1] == 5 and a[2] == 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",
"sp... | a = list(map(int,input().split()))
a.sort()
print('YES' if a[0] == 5 and a[1] == 5 and a[2] == 7 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
]
] | [
"a = input().split()\nif a.count(\"7\")==1 and a.count(\"5\")==2:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"if a.count(\"7\")==1 and a.count(\"5\")==2:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a.count(\"7\")=... | a = input().split()
if a.count("7")==1 and a.count("5")==2:
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\"... | s = input()
print("YES" if s.count("5") == 2 and s.count("7") == 1 else "NO") |
[
7,
15,
13,
13,
13,
13,
13,
13,
13,
15,
13,
12,
13,
12,
13,
12,
13,
12,
13,
12,
13,
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,
12,
13,
10,
12,
13,
10,
12... | [
[
57,
22
],
[
64,
24
],
[
58,
30
],
[
58,
37
],
[
57,
58
]
] | [
"import bisect,collections,copy,heapq,itertools,math,string\nimport sys\ndef S(): return sys.stdin.readline().rstrip()\ndef M(): return map(int,sys.stdin.readline().rstrip().split())\ndef I(): return int(sys.stdin.readline().rstrip())\ndef LI(): return list(map(int,sys.stdin.readline().rstrip().split()))\ndef LS():... | import bisect,collections,copy,heapq,itertools,math,string
import sys
def S(): return sys.stdin.readline().rstrip()
def M(): return map(int,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return lis... |
[
7,
12,
13,
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,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
4,
17
],
[
4,
21
],
[
40,
37
]
] | [
"def main():\n lst = list(map(int, input().split()))\n lst.sort()\n\n if lst == [5, 5, 7]:\n print(\"YES\")\n else:\n print(\"NO\")\n\n\nif __name__ == \"__main__\":\n main()",
"def main():\n lst = list(map(int, input().split()))\n lst.sort()\n\n if lst == [5, 5, 7]:\n ... | def main():
lst = list(map(int, input().split()))
lst.sort()
if lst == [5, 5, 7]:
print("YES")
else:
print("NO")
if __name__ == "__main__":
main()
|
[
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,
... | [
[
94,
2
],
[
94,
11
],
[
94,
12
],
[
76,
14
],
[
97,
17
],
[
95,
21
],
[
103,
24
],
[
95,
28
],
[
100,
31
],
[
92,
35
],
[
106,
38
],
[
92,
42
],
[
85,
45
],
[
... | [
"A,B,C=map(int,input().split())\nn5=0\nn7=0\nif A==7:\n n7 += 1\nelif A==5:\n n5 += 1\nif B==7:\n n7 += 1\nelif B==5:\n n5 += 1\nif C==7:\n n7 += 1\nelif C==5:\n n5 += 1\n\nif n5==2 and n7==1:\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())
n5=0
n7=0
if A==7:
n7 += 1
elif A==5:
n5 += 1
if B==7:
n7 += 1
elif B==5:
n5 += 1
if C==7:
n7 += 1
elif C==5:
n5 += 1
if n5==2 and n7==1:
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
0,
13,
17,
0,
13,
17,
28,
13,
4,
13,
4,
13,
13,
14,
2,
4,
13,
18,
13,
13,
17,
0,
13,
17,
14,
2,
4,
13,
18,
13,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
... | [
[
67,
2
],
[
61,
9
],
[
58,
12
],
[
16,
15
],
[
68,
20
],
[
68,
26
],
[
15,
27
],
[
70,
30
],
[
68,
37
],
[
15,
38
],
[
64,
41
],
[
71,
46
],
[
62,
46
],
[
... | [
"data = input().split()\n\nseven = 0\nfive = 0\n\nfor i in range(len(data)):\n\tif int(data[i]) == 7:\n\t\tseven += 1\n\telif int(data[i]) == 5:\n\t\tfive +=1\n\nif seven == 1 and five == 2:\n\tprint('YES')\nelse:\n\tprint('NO')",
"data = input().split()",
"data",
"input().split()",
"().split",
"()",
"i... | data = input().split()
seven = 0
five = 0
for i in range(len(data)):
if int(data[i]) == 7:
seven += 1
elif int(data[i]) == 5:
five +=1
if seven == 1 and five == 2:
print('YES')
else:
print('NO') |
[
7,
12,
13,
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,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
5,
13
],
[
5,
14
],
[
4,
19
],
[
13,
20
],
[
14,
21
],
[
37,
34
]
] | [
"\ndef main():\n a, b, c = map(int, input().split())\n if a + b + c == 17:\n print('YES')\n else:\n print('NO')\n\n\nif __name__ == \"__main__\":\n main()",
"def main():\n a, b, c = map(int, input().split())\n if a + b + c == 17:\n print('YES')\n else:\n print('NO'... |
def main():
a, b, c = map(int, input().split())
if a + b + c == 17:
print('YES')
else:
print('NO')
if __name__ == "__main__":
main()
|
[
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
]
] | [
"x = input()\nx=x.split()\nx.sort()\n\n\nif x == ['5','5','7']:\n print('YES')\nelse:\n print('NO')",
"x = input()",
"x",
"input()",
"input",
"x=x.split()",
"x",
"x.split()",
"x.split",
"x",
"split",
"x.sort()",
"x.sort",
"x",
"sort",
"if x == ['5','5','7']:\n print('YES')\nel... | x = input()
x=x.split()
x.sort()
if x == ['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,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
4,
13,
8,
2,
13,
39,
17,
17,
17,
17,
17,
10,
2,
13,
10,
4,
13
] | [
[
43,
13
],
[
46,
20
],
[
47,
35
],
[
43,
44
],
[
46,
47
]
] | [
"from sys import stdin, stdout\nfrom time import perf_counter\n\nimport sys\nsys.setrecursionlimit(10**9)\nmod = 10**9+7\n\n# import sys\n# sys.stdout = open(\"e:/cp/output.txt\",\"w\")\n# sys.stdin = open(\"e:/cp/input.txt\",\"r\")\nl=sorted(map(int,input().split()))\nprint(\"YES\" if l == [5,5,7] else \"NO\")",
... | from sys import stdin, stdout
from time import perf_counter
import sys
sys.setrecursionlimit(10**9)
mod = 10**9+7
# import sys
# sys.stdout = open("e:/cp/output.txt","w")
# sys.stdin = open("e:/cp/input.txt","r")
l=sorted(map(int,input().split()))
print("YES" if l == [5,5,7] else "NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
2,
2,
18,
13,
17,
18,
13,
17,
18,
13,
17,
0,
13,
2,
2,
18,
13,
17,
18,
13,
17,
18,
13,
17,
14,
2,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
... | [
[
58,
2
],
[
64,
14
],
[
59,
18
],
[
59,
21
],
[
59,
24
],
[
61,
27
],
[
59,
31
],
[
59,
34
],
[
59,
37
],
[
65,
42
],
[
62,
46
],
[
62,
49
],
[
58,
59
],
[
... | [
"a=list(map(int,input().split()))\n\nb=a[0]+a[1]+a[2]\nc=a[2]-a[1]-a[0]\n\nif b==17 and (c==-7 or c==-3):\n \n print('YES')\n\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()",
"(... | a=list(map(int,input().split()))
b=a[0]+a[1]+a[2]
c=a[2]-a[1]-a[0]
if b==17 and (c==-7 or c==-3):
print('YES')
else:
print('NO')
|
[
7,
0,
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
] | [
[
32,
2
],
[
33,
14
],
[
33,
21
],
[
32,
33
]
] | [
"abc=input().split(\" \")\n\n\nif (abc.count(\"5\")==2) and (abc.count(\"7\")==1):\n print(\"YES\")\nelse:\n print(\"NO\")",
"abc=input().split(\" \")",
"abc",
"input().split(\" \")",
"().split",
"()",
"input",
"split",
"\" \"",
"if (abc.count(\"5\")==2) and (abc.count(\"7\")==1):\n print... | abc=input().split(" ")
if (abc.count("5")==2) and (abc.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,
2,
13,
13,
13,
17,
2,
2,
2,
13,
13,
13,
2,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
44,
2
],
[
44,
11
],
[
44,
12
],
[
45,
18
],
[
42,
19
],
[
39,
20
],
[
45,
25
],
[
42,
26
],
[
39,
27
],
[
44,
39
],
[
44,
42
],
[
44,
45
]
] | [
"a,b,c=map(int,input().split())\nif(a+b+c==17 and a*b*c==25*7):\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if(a+b+c==17 and a*b*c==25*7):\... | a,b,c=map(int,input().split())
if(a+b+c==17 and a*b*c==25*7):
print("YES")
else:
print("NO") |
[
7,
0,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
4,
18,
2,
2,
13,
13,
13,
13,
17,
17,
2,
4,
18,
2,
2,
13,
13,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
47,
2
],
[
47,
8
],
[
47,
9
],
[
48,
17
],
[
42,
18
],
[
45,
19
],
[
48,
28
],
[
42,
29
],
[
45,
30
],
[
47,
42
],
[
47,
45
],
[
47,
48
]
] | [
"a,b,c = input().split()\n\nif (a+b+c).count('5')==2 and (a+b+c).count('7') ==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c = input().split()",
"a",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if (a+b+c).count('5')==2 and (a+b+c).count('7') ==1:\n print(\"YES... | a,b,c = input().split()
if (a+b+c).count('5')==2 and (a+b+c).count('7') ==1:
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,
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,
... | [
[
94,
2
],
[
94,
11
],
[
94,
12
],
[
79,
14
],
[
103,
17
],
[
77,
21
],
[
82,
24
],
[
77,
28
],
[
106,
31
],
[
86,
35
],
[
88,
38
],
[
86,
42
],
[
91,
45
],
[
... | [
"A,B,C = map(int,input().split())\nb_5 = 0\nb_7 = 0\nif A == 5:\n b_5 += 1\nelif A == 7:\n b_7 += 1\nif B == 5:\n b_5 +=1\nelif B==7:\n b_7 += 1\nif C==5:\n b_5 +=1\nelif C==7:\n b_7 += 1\n\nif b_5 == 2 and b_7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"A,B,C = map(int,input().split())",
"A",
"m... | A,B,C = map(int,input().split())
b_5 = 0
b_7 = 0
if A == 5:
b_5 += 1
elif A == 7:
b_7 += 1
if B == 5:
b_5 +=1
elif B==7:
b_7 += 1
if C==5:
b_5 +=1
elif C==7:
b_7 += 1
if b_5 == 2 and b_7 == 1:
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,
4,
13,
17,
4,
13,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
... | [
[
56,
2
],
[
68,
14
],
[
68,
17
],
[
21,
20
],
[
57,
20
],
[
20,
24
],
[
62,
27
],
[
20,
31
],
[
65,
34
],
[
63,
44
],
[
60,
44
],
[
66,
47
],
[
69,
47
],
[
... | [
"li = list(map(int, input().split()))\ncount5 = count7 = 0\nfor l in li:\n if l == 5:\n count5 += 1\n elif l == 7:\n count7 += 1\n else:\n print(\"NO\")\n exit()\nif count5 == 2 and count7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"li = list(map(int, input().split(... | li = list(map(int, input().split()))
count5 = count7 = 0
for l in li:
if l == 5:
count5 += 1
elif l == 7:
count7 += 1
else:
print("NO")
exit()
if count5 == 2 and count7 == 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
],
[
66,
17
],
[
63,
20
],
[
69,
23
],
[
66,
32
],
[
63,
35
],
[
69,
38
],
[
66,
47
],
[
63,
50
],
[
69,
53
],
[
68,
63
],
[
... | [
"a,b,c = map(int,input().split())\nif a == 5 and b == 5 and c == 7:\n print(\"YES\")\nelif a == 7 and b == 5 and c == 5:\n print(\"YES\")\nelif a == 5 and b == 7 and c == 5:\n print(\"YES\")\nelse:\n print(\"NO\")\n ",
"a,b,c = map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
... | a,b,c = map(int,input().split())
if a == 5 and b == 5 and c == 7:
print("YES")
elif a == 7 and b == 5 and c == 5:
print("YES")
elif a == 5 and b == 7 and c == 5:
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13
] | [
[
24,
2
],
[
25,
9
],
[
25,
12
],
[
25,
15
],
[
24,
25
]
] | [
"line = input()\n\nif line == '5 5 7' or line == '5 7 5' or line == '7 5 5':\n print('YES')\nelse:\n print('NO')",
"line = input()",
"line",
"input()",
"input",
"if line == '5 5 7' or line == '5 7 5' or line == '7 5 5':\n print('YES')\nelse:\n print('NO')",
"line == '5 5 7' or line == '5 7 5... | line = input()
if line == '5 5 7' or line == '5 7 5' or line == '7 5 5':
print('YES')
else:
print('NO') |
[
7,
15,
13,
15,
15,
13,
15,
15,
13,
15,
0,
13,
18,
18,
13,
13,
13,
12,
13,
29,
4,
13,
4,
13,
12,
13,
29,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
17,
12,
13,
0,
13,
4,
13,
4,
18,
13,
13,
14,
2,
2,
2,
18,
1... | [
[
75,
11
],
[
76,
23
],
[
76,
35
],
[
78,
38
],
[
44,
43
],
[
85,
45
],
[
43,
48
],
[
43,
55
],
[
43,
58
],
[
43,
63
],
[
88,
73
],
[
75,
76
],
[
78,
79
]
] | [
"import sys\nfrom heapq import heappush, heappop, heapify\nimport math\nfrom math import gcd\nimport itertools as it\nfrom collections import deque \n\ninput = sys.stdin.readline\n\ndef inp():\n return int(input())\ndef inpl():\n return list(map(int, input().split()))\n\nINF = 1001001001\n\n# ----------------... | import sys
from heapq import heappush, heappop, heapify
import math
from math import gcd
import itertools as it
from collections import deque
input = sys.stdin.readline
def inp():
return int(input())
def inpl():
return list(map(int, input().split()))
INF = 1001001001
# -------------------------------------... |
[
7,
0,
13,
17,
0,
13,
17,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
13,
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,
... | [
[
120,
2
],
[
123,
5
],
[
10,
9
],
[
9,
18
],
[
114,
20
],
[
114,
22
],
[
114,
23
],
[
103,
26
],
[
117,
29
],
[
121,
31
],
[
103,
35
],
[
105,
38
],
[
124,
40
],... | [
"num5 = 0\nnum7 = 0\n\na, b, c = (int(x) for x in input().split())\n\nif (a == 5):\n num5 = num5 +1\nelif (a == 7):\n num7 = num7 +1\n\nif (b == 5):\n num5 = num5 +1\nelif (b == 7):\n num7 = num7 +1\n\nif (c == 5):\n num5 = num5 +1\nelif (c == 7):\n num7 = num7 +1\n\nif (num5 == 2) and (num7 == 1)... | num5 = 0
num7 = 0
a, b, c = (int(x) for x in input().split())
if (a == 5):
num5 = num5 +1
elif (a == 7):
num7 = num7 +1
if (b == 5):
num5 = num5 +1
elif (b == 7):
num7 = num7 +1
if (c == 5):
num5 = num5 +1
elif (c == 7):
num7 = num7 +1
if (num5 == 2) and (num7 == 1):
print("YES")
else:
... |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
4,
18,
13,
13,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13
] | [
[
4,
3
],
[
3,
12
],
[
34,
14
],
[
35,
18
],
[
35,
22
],
[
34,
35
]
] | [
"L = [int(x) for x in input().split()]\nL.sort()\n\nif L == [5,5,7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
... | L = [int(x) for x in input().split()]
L.sort()
if L == [5,5,7]:
print("YES")
else:
print("NO")
|
[
7,
15,
13,
15,
13,
15,
13,
15,
13,
12,
13,
14,
13,
0,
13,
4,
13,
17,
17,
0,
18,
13,
13,
13,
23,
13,
17,
12,
13,
29,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
14,
2,
13,
17,
0,
13,
17,
28,
13,
4,
13,
17,
2,
13,
17,
... | [
[
15,
14
],
[
23,
20
],
[
14,
23
],
[
26,
25
],
[
104,
45
],
[
49,
48
],
[
105,
53
],
[
113,
56
],
[
108,
58
],
[
113,
59
],
[
113,
60
],
[
111,
67
],
[
114,
68
]... | [
"import sys\nimport math\nimport collections\nimport heapq\n\ndef set_debug(debug_mode=False):\n if debug_mode:\n fin = open('input.txt', 'r')\n sys.stdin = fin\n\n\ndef int_input():\n return list(map(int, input().split()))\n\n\nif __name__ == '__main__':\n # set_debug(True)\n\n # t = int(... | import sys
import math
import collections
import heapq
def set_debug(debug_mode=False):
if debug_mode:
fin = open('input.txt', 'r')
sys.stdin = fin
def int_input():
return list(map(int, input().split()))
if __name__ == '__main__':
# set_debug(True)
# t = int(input())
t = 1
... |
[
7,
15,
13,
15,
15,
13,
6,
13,
12,
13,
0,
13,
18,
13,
13,
13,
18,
13,
13,
0,
18,
13,
13,
4,
13,
18,
13,
13,
4,
13,
13,
4,
13,
4,
18,
18,
13,
13,
13,
17,
0,
13,
18,
4,
18,
18,
13,
13,
13,
39,
17,
0,
18,
13,
13,... | [
[
12,
11
],
[
16,
15
],
[
23,
20
],
[
11,
22
],
[
28,
25
],
[
15,
27
],
[
69,
30
],
[
20,
35
],
[
11,
37
],
[
42,
41
],
[
20,
45
],
[
11,
47
],
[
55,
52
],
[
... | [
"#\n# abc042 a\n#\n\nimport sys\nfrom io import StringIO\nimport unittest\n\n\nclass TestClass(unittest.TestCase):\n def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n ... | #
# abc042 a
#
import sys
from io import StringIO
import unittest
class TestClass(unittest.TestCase):
def assertIO(self, input, output):
stdout, stdin = sys.stdout, sys.stdin
sys.stdout, sys.stdin = StringIO(), StringIO(input)
resolve()
sys.stdout.seek(0)
out = sys.stdout.... |
[
7,
12,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
0,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
0,
13,
17,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17... | [
[
5,
4
],
[
5,
13
],
[
5,
14
],
[
4,
19
],
[
13,
22
],
[
14,
25
],
[
29,
28
],
[
4,
34
],
[
13,
37
],
[
14,
40
],
[
44,
43
],
[
4,
49
],
[
13,
52
],
[
14,
... | [
"def main():\n a, b, c = map(int, input().split())\n if a == 5 and b == 5 and c == 7:\n ans = 'YES'\n elif a == 5 and b == 7 and c == 5:\n ans = 'YES'\n elif a == 7 and b == 5 and c == 5:\n ans = 'YES'\n else:\n ans = 'NO'\n print(ans)\n\n\nif __name__ == \"__main__\":\... | def main():
a, b, c = map(int, input().split())
if a == 5 and b == 5 and c == 7:
ans = 'YES'
elif a == 5 and b == 7 and c == 5:
ans = 'YES'
elif a == 7 and b == 5 and c == 5:
ans = 'YES'
else:
ans = 'NO'
print(ans)
if __name__ == "__main__":
main()
|
[
7,
12,
13,
14,
2,
39,
13,
13,
13,
39,
39,
17,
17,
17,
39,
17,
17,
17,
39,
17,
17,
17,
29,
17,
29,
17,
23,
13,
23,
13,
23,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
13,
4,
13,
13,
13,
13,
10,
4,
13,
1... | [
[
27,
27
],
[
29,
29
],
[
31,
31
],
[
58,
33
],
[
58,
42
],
[
58,
43
],
[
62,
47
],
[
56,
48
],
[
59,
49
],
[
53,
50
],
[
58,
53
],
[
58,
56
],
[
58,
59
]
] | [
"def actual(A, B, C):\n if (A, B, C) in [(5, 5, 7), (5, 7, 5), (7, 5, 5)]:\n return 'YES'\n\n return 'NO'\n\nA, B, C = map(int, input().split()) \nprint(actual(A, B, C))",
"def actual(A, B, C):\n if (A, B, C) in [(5, 5, 7), (5, 7, 5), (7, 5, 5)]:\n return 'YES'\n\n return 'NO'",
"actu... | def actual(A, B, C):
if (A, B, C) in [(5, 5, 7), (5, 7, 5), (7, 5, 5)]:
return 'YES'
return 'NO'
A, B, C = map(int, input().split())
print(actual(A, B, C)) |
[
7,
0,
13,
39,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
18,
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,... | [
[
63,
2
],
[
60,
5
],
[
60,
14
],
[
60,
15
],
[
64,
18
],
[
58,
20
],
[
64,
23
],
[
55,
25
],
[
64,
28
],
[
61,
30
],
[
64,
36
],
[
64,
43
],
[
60,
55
],
[
... | [
"ans = []\nA, B, C = map(int, input().split())\nans.append(A)\nans.append(B)\nans.append(C)\nif ans.count(5) == 2 and ans.count(7) == 1:\n print('YES')\nelse:\n print('NO')",
"ans = []",
"ans",
"[]",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"inpu... | ans = []
A, B, C = map(int, input().split())
ans.append(A)
ans.append(B)
ans.append(C)
if ans.count(5) == 2 and ans.count(7) == 1:
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,
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,
... | [
[
106,
2
],
[
106,
11
],
[
106,
12
],
[
88,
14
],
[
76,
17
],
[
98,
21
],
[
85,
24
],
[
98,
28
],
[
79,
31
],
[
92,
35
],
[
82,
38
],
[
92,
42
],
[
100,
45
],
[... | [
"a,b,c=map(int,input().split())\nb5=0\nb7=0\nif a==5:\n b5+=1\nif a==7:\n b7+=1\nif b==5:\n b5+=1\nif b==7:\n b7+=1\nif c==5:\n b5+=1\nif c==7:\n b7+=1\nif b5==2 and b7==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a,b,c=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
... | a,b,c=map(int,input().split())
b5=0
b7=0
if a==5:
b5+=1
if a==7:
b7+=1
if b==5:
b5+=1
if b==7:
b7+=1
if c==5:
b5+=1
if c==7:
b7+=1
if b5==2 and b7==1:
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
]
] | [
"a = list(map(int,input().split()))\nif a.count(7) == 1 and a.count(5):\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 a.count(7) == 1 and a.count(5):
print("YES")
else:
print("NO")
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
39,
17,
17,
17,
4,
13,
8,
2,
13,
13,
17,
17,
10,
39,
13,
10,
4,
13
] | [
[
31,
2
],
[
28,
14
],
[
32,
23
],
[
29,
24
],
[
28,
29
],
[
31,
32
]
] | [
"ll = sorted(map(int, input().split()))\nans = [5, 5, 7]\n\nprint('YES' if ll == ans else 'NO')",
"ll = sorted(map(int, input().split()))",
"ll",
"sorted(map(int, input().split()))",
"sorted",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
... | ll = sorted(map(int, input().split()))
ans = [5, 5, 7]
print('YES' if ll == ans else '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
],
[
32,
17
],
[
35,
18
],
[
29,
19
],
[
34,
29
],
[
34,
32
],
[
34,
35
]
] | [
"A,B,C = map(int,input().split())\n\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,
0,
13,
17,
14,
2,
18,
13,
17,
17,
14,
2,
18,
13,
17,
17,
14,
2,
18,
13,
17,
17,
4,
13,
17,
0,
13,
17,
14,
2,
13,
17,
4,
13,
17,
10,
4,
13,
10,
17... | [
[
52,
2
],
[
53,
15
],
[
58,
18
],
[
53,
23
],
[
53,
29
],
[
53,
35
],
[
55,
42
],
[
56,
46
],
[
59,
46
],
[
52,
53
],
[
55,
56
],
[
58,
59
]
] | [
"A=list(map(int,input().split()))\n\nA.sort()\nflag=0\n\nif A[0]==5:\n if A[1]==5:\n if A[2]==7:\n print(\"YES\")\n flag+=1\n\nif flag==0:\n print(\"NO\")",
"A=list(map(int,input().split()))",
"A",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"... | A=list(map(int,input().split()))
A.sort()
flag=0
if A[0]==5:
if A[1]==5:
if A[2]==7:
print("YES")
flag+=1
if flag==0:
print("NO")
|
[
7,
0,
13,
4,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
28,
13,
4,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
... | [
[
43,
2
],
[
55,
6
],
[
55,
15
],
[
18,
17
],
[
56,
20
],
[
46,
22
],
[
44,
27
],
[
47,
29
],
[
52,
31
],
[
44,
34
],
[
53,
41
],
[
44,
41
],
[
43,
44
],
[
... | [
"R=list()\nN,L=map(int,input().split())\nfor i in range(N):\n S=input()\n R.append(S)\nR=sorted(R)\nprint(\"\".join(R))",
"R=list()",
"R",
"list()",
"list",
"N,L=map(int,input().split())",
"N",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"spl... | R=list()
N,L=map(int,input().split())
for i in range(N):
S=input()
R.append(S)
R=sorted(R)
print("".join(R)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
4,
13,
0,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
4,
13,
10,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
45,
2
],
[
45,
11
],
[
15,
14
],
[
40,
17
],
[
42,
24
],
[
48,
27
],
[
43,
30
],
[
49,
37
],
[
43,
37
],
[
45,
40
],
[
42,
43
],
[
45,
46
],
[
48,
49
]
] | [
"N, L = map(int, input().split())\nS = [str(input()) for i in range(N)]\n\nS = sorted(S)\n\n\nprint(''.join(S))",
"N, L = map(int, input().split())",
"N",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"L",
"str(input()) for i in range(N)",
... | N, L = map(int, input().split())
S = [str(input()) for i in range(N)]
S = sorted(S)
print(''.join(S)) |
[
7,
15,
13,
15,
13,
15,
13,
15,
13,
15,
13,
15,
13,
15,
13,
15,
0,
13,
12,
4,
18,
4,
18,
18,
13,
13,
13,
13,
0,
13,
12,
4,
18,
4,
18,
18,
13,
13,
13,
13,
0,
13,
12,
4,
13,
4,
18,
18,
13,
13,
13,
0,
13,
12,
4,
... | [
[
134,
17
],
[
122,
29
],
[
131,
41
],
[
128,
52
],
[
125,
67
],
[
143,
84
],
[
149,
89
],
[
146,
96
],
[
129,
98
],
[
146,
99
],
[
103,
102
],
[
141,
105
],
[
135,
... | [
"import sys\nimport math\nimport itertools\nimport collections\nimport heapq\nimport re\nimport numpy as np\nfrom functools import reduce\n\nrr = lambda: sys.stdin.readline().rstrip()\nrs = lambda: sys.stdin.readline().split()\nri = lambda: int(sys.stdin.readline())\nrm = lambda: map(int, sys.stdin.readline().split... | import sys
import math
import itertools
import collections
import heapq
import re
import numpy as np
from functools import reduce
rr = lambda: sys.stdin.readline().rstrip()
rs = lambda: sys.stdin.readline().split()
ri = lambda: int(sys.stdin.readline())
rm = lambda: map(int, sys.stdin.readline().split())
rl = lambda: ... |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
17,
13,
4,
18,
13,
13,
4,
13,
4,
18,
13,
13,
0,
13,
17,
28,
13,
4,
13,
17,
13,
0,
13,
18,
13,
13,
4,
13,
13,
10,
4,
13,
10,
17,
13,
10,
3... | [
[
61,
2
],
[
61,
11
],
[
55,
13
],
[
17,
16
],
[
62,
20
],
[
56,
23
],
[
56,
29
],
[
52,
32
],
[
36,
35
],
[
62,
39
],
[
58,
41
],
[
56,
43
],
[
35,
44
],
[
... | [
"n, l = map(int, input().split())\n\nstrList = []\nfor _ in range(0, n):\n strList.append(input())\n\nstrList.sort()\n\nans = \"\"\nfor i in range(0, n):\n ans += strList[i]\n\nprint(ans)",
"n, l = map(int, input().split())",
"n",
"map(int, input().split())",
"map",
"int",
"input().split()",
"()... | n, l = map(int, input().split())
strList = []
for _ in range(0, n):
strList.append(input())
strList.sort()
ans = ""
for i in range(0, n):
ans += strList[i]
print(ans)
|
[
7,
12,
13,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
4,
13,
4,
18,
17,
13,
4,
13,
13,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
5,
15
],
[
19,
18
],
[
4,
21
],
[
27,
26
],
[
26,
36
],
[
41,
38
]
] | [
"def resolve():\n N, L = list(map(int, input().split()))\n S_list = [input() for i in range(N)]\n print(\"\".join(sorted(S_list)))\n\nresolve()",
"def resolve():\n N, L = list(map(int, input().split()))\n S_list = [input() for i in range(N)]\n print(\"\".join(sorted(S_list)))",
"resolve",
"N... | def resolve():
N, L = list(map(int, input().split()))
S_list = [input() for i in range(N)]
print("".join(sorted(S_list)))
resolve() |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
4,
13,
4,
18,
17,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
13,
13
] | [
[
37,
2
],
[
37,
11
],
[
15,
14
],
[
35,
17
],
[
40,
22
],
[
41,
32
],
[
37,
35
],
[
37,
38
],
[
40,
41
]
] | [
"n, l = map(int,input().split())\ns = [input() for _ in range(n)]\n\nprint(''.join(sorted(s)))",
"n, l = map(int,input().split())",
"n",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"input() for _ in range(n)",
"for _ in range(n)",
... | n, l = map(int,input().split())
s = [input() for _ in range(n)]
print(''.join(sorted(s))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
0,
13,
4,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
39,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
48,
2
],
[
48,
11
],
[
39,
13
],
[
17,
16
],
[
43,
19
],
[
40,
22
],
[
45,
27
],
[
40,
30
],
[
46,
37
],
[
39,
40
],
[
48,
43
],
[
45,
46
],
[
48,
49
]
] | [
"N, L = map(int, input().split())\nlst = []\nfor i in range(N):\n lst.append(input())\n\nslst = sorted(lst)\nprint(\"\".join(slst))",
"N, L = map(int, input().split())",
"N",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"L",
"lst = []",
... | N, L = map(int, input().split())
lst = []
for i in range(N):
lst.append(input())
slst = sorted(lst)
print("".join(slst)) |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
0,
13,
4,
18,
17,
13,
4,
13,
13,
4,
13,
13,
10,
13,
13,
10,
39,
13,
10,
13,
13,
10,
4,
13
] | [
[
4,
3
],
[
3,
12
],
[
50,
14
],
[
50,
16
],
[
47,
18
],
[
22,
21
],
[
51,
24
],
[
48,
27
],
[
53,
32
],
[
48,
39
],
[
54,
42
],
[
50,
45
],
[
47,
48
],
[
5... | [
"N, L = [int(x) for x in input().split()]\nS_list = []\nfor i in range(N):\n S_list.append(input())\n \nS = ''.join(sorted(S_list))\nprint(S)",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()... | N, L = [int(x) for x in input().split()]
S_list = []
for i in range(N):
S_list.append(input())
S = ''.join(sorted(S_list))
print(S) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
43,
2
],
[
43,
11
],
[
15,
14
],
[
41,
17
],
[
37,
22
],
[
46,
25
],
[
38,
28
],
[
47,
35
],
[
38,
35
],
[
37,
38
],
[
43,
41
],
[
43,
44
],
[
46,
47
]
] | [
"n,k=map(int,input().split())\nar=[input() for _ in range(n)]\nar=sorted(ar)\nprint(''.join(ar))",
"n,k=map(int,input().split())",
"n",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"k",
"input() for _ in range(n)",
"for _ in range(n)",
... | n,k=map(int,input().split())
ar=[input() for _ in range(n)]
ar=sorted(ar)
print(''.join(ar))
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
4,
18,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
4,
13,
10,
4,
13,
10,
13,
13
] | [
[
39,
2
],
[
39,
11
],
[
15,
14
],
[
40,
17
],
[
42,
22
],
[
43,
26
],
[
43,
34
],
[
39,
37
],
[
39,
40
],
[
42,
43
]
] | [
"n,l = map(int,input().split())\ns = [input() for i in range(n)]\n\ns.sort()\n\nprint(''.join(s))",
"n,l = map(int,input().split())",
"n",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"input() for i in range(n)",
"for i in range(n)",... | n,l = map(int,input().split())
s = [input() for i in range(n)]
s.sort()
print(''.join(s)) |
[
7,
12,
13,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
4,
18,
13,
13,
4,
13,
4,
18,
17,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
5,
4
],
[
5,
13
],
[
16,
15
],
[
19,
18
],
[
4,
21
],
[
15,
24
],
[
15,
30
],
[
15,
38
],
[
47,
44
]
] | [
"# vim: fileencoding=utf-8\n\n\ndef main():\n n, l = map(int, input().split())\n li = []\n for i in range(n):\n li.append(input())\n li.sort()\n print(\"\".join(li))\n\n\nif __name__ == \"__main__\":\n main()",
"def main():\n n, l = map(int, input().split())\n li = []\n for i in ... | # vim: fileencoding=utf-8
def main():
n, l = map(int, input().split())
li = []
for i in range(n):
li.append(input())
li.sort()
print("".join(li))
if __name__ == "__main__":
main()
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
0,
13,
4,
13,
13,
28,
13,
13,
4,
13,
13,
0,
13,
17,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13,
10,... | [
[
56,
2
],
[
56,
11
],
[
50,
13
],
[
17,
16
],
[
54,
19
],
[
44,
21
],
[
51,
26
],
[
45,
28
],
[
47,
30
],
[
51,
33
],
[
36,
35
],
[
48,
35
],
[
35,
39
],
[
... | [
"n,l = map(int,input().split())\ns_list = []\n\nfor i in range(n):\n s = input()\n s_list.append(s)\n\ns_list_sorted = sorted(s_list)\n\nfor s_i in s_list_sorted:\n print(s_i,end = \"\")",
"n,l = map(int,input().split())",
"n",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().... | n,l = map(int,input().split())
s_list = []
for i in range(n):
s = input()
s_list.append(s)
s_list_sorted = sorted(s_list)
for s_i in s_list_sorted:
print(s_i,end = "") |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
4,
13,
10,
4,
13,
10,
13,
13,
10,
4,
13
] | [
[
40,
2
],
[
40,
11
],
[
15,
14
],
[
38,
17
],
[
43,
22
],
[
46,
25
],
[
44,
28
],
[
47,
35
],
[
44,
35
],
[
40,
38
],
[
40,
41
],
[
43,
44
],
[
46,
47
]
] | [
"N,L=map(int,input().split())\ns = [input() for _ in range(N)]\ns = sorted(s)\nprint(''.join(s))",
"N,L=map(int,input().split())",
"N",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"L",
"input() for _ in range(N)",
"for _ in range(N)",
... | N,L=map(int,input().split())
s = [input() for _ in range(N)]
s = sorted(s)
print(''.join(s)) |
[
7,
15,
13,
15,
15,
13,
15,
0,
13,
18,
18,
13,
13,
13,
0,
13,
12,
4,
18,
4,
13,
13,
0,
13,
12,
4,
13,
4,
13,
0,
13,
12,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
41,
28,
13,
4,
18,
4,
13,
13,
4,
2,
4,
13,
13,
17,
... | [
[
140,
8
],
[
134,
15
],
[
141,
20
],
[
122,
23
],
[
141,
28
],
[
146,
30
],
[
141,
40
],
[
45,
44
],
[
141,
48
],
[
44,
54
],
[
143,
57
],
[
125,
61
],
[
128,
66
... | [
"import sys\nfrom collections import defaultdict, deque, Counter\nimport math\n \n# import copy\nfrom bisect import bisect_left, bisect_right\n# import heapq\n \n# sys.setrecursionlimit(1000000)\n \n# input aliases\ninput = sys.stdin.readline\n \ngetS = lambda: input().strip()\ngetN = lambda: int(input())\ngetList ... | import sys
from collections import defaultdict, deque, Counter
import math
# import copy
from bisect import bisect_left, bisect_right
# import heapq
# sys.setrecursionlimit(1000000)
# input aliases
input = sys.stdin.readline
getS = lambda: input().strip()
getN = lambda: int(input())
getList = lambda: list(map(i... |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
0,
13,
17,
28,
13,
4,
13,
13,
0,
13,
18,
13,
13,
4,
13,
13,
10,
4,
13,
10,
18,
13,
10... | [
[
65,
2
],
[
65,
11
],
[
59,
13
],
[
17,
16
],
[
51,
19
],
[
56,
21
],
[
60,
26
],
[
57,
28
],
[
60,
31
],
[
62,
34
],
[
38,
37
],
[
51,
40
],
[
53,
42
],
[
... | [
"n, l = map(int, input().split())\nS = []\n\nfor i in range(n):\n s = input()\n S.append(s)\n \nS.sort()\n\nans = ''\nfor i in range(n):\n ans += S[i]\n \nprint(ans)",
"n, l = map(int, input().split())",
"n",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"inp... | n, l = map(int, input().split())
S = []
for i in range(n):
s = input()
S.append(s)
S.sort()
ans = ''
for i in range(n):
ans += S[i]
print(ans) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
4,
18,
13,
13,
4,
13,
31,
13,
0,
13,
17,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
44,
2
],
[
44,
11
],
[
41,
13
],
[
17,
16
],
[
45,
19
],
[
42,
22
],
[
42,
28
],
[
42,
33
],
[
36,
35
],
[
44,
39
],
[
41,
42
],
[
44,
45
]
] | [
"n,l=map(int,input().split())\na=[]\nfor i in range(n):\n a.append(input())\na.sort()\nprint(*a,sep=\"\")",
"n,l=map(int,input().split())",
"n",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"a=[]",
"a",
"[]",
"for i in range(n... | n,l=map(int,input().split())
a=[]
for i in range(n):
a.append(input())
a.sort()
print(*a,sep="") |
[
7,
15,
15,
15,
15,
13,
15,
13,
15,
13,
15,
13,
15,
13,
4,
18,
13,
13,
17,
0,
13,
2,
2,
17,
17,
17,
15,
0,
13,
18,
13,
13,
12,
13,
29,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
12,
13,
29,
4,
13,
4,
13,
13,
4,
18,
... | [
[
101,
20
],
[
119,
28
],
[
120,
43
],
[
120,
56
],
[
120,
64
],
[
116,
66
],
[
105,
68
],
[
116,
69
],
[
73,
72
],
[
117,
75
],
[
110,
80
],
[
113,
83
],
[
111,
86... | [
"#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, product # (string,3) 3回\n#from collections import deque\nfrom collections import deque,defa... | #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, product # (string,3) 3回
#from collections import deque
from collections import deque,defaultdict,Cou... |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
4,
13,
4,
13,
0,
13,
17,
28,
13,
4,
13,
13,
0,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
13,
13,
10,
17,
13,
10,
4,
13
] | [
[
45,
2
],
[
45,
11
],
[
33,
13
],
[
42,
19
],
[
23,
22
],
[
34,
25
],
[
39,
27
],
[
22,
28
],
[
40,
31
],
[
43,
31
],
[
33,
34
],
[
45,
37
],
[
22,
39
],
[
... | [
"n, l = map(int, input().split())\na = list(input() for i in range(n))\nans = ''\nfor i in sorted(a):\n ans += i\nprint(ans)",
"n, l = map(int, input().split())",
"n",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"a = list(input() fo... | n, l = map(int, input().split())
a = list(input() for i in range(n))
ans = ''
for i in sorted(a):
ans += i
print(ans) |
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
4,
13,
4,
18,
17,
13,
4,
13,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
44,
2
],
[
44,
13
],
[
41,
15
],
[
19,
18
],
[
45,
21
],
[
42,
24
],
[
42,
36
],
[
44,
39
],
[
41,
42
],
[
44,
45
]
] | [
"N,L=list(map(int,input().split()))\nS=[]\nfor i in range(N):\n S.append(input())\n\nprint(''.join(sorted(S)))",
"N,L=list(map(int,input().split()))",
"N",
"list(map(int,input().split()))",
"list",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"sp... | N,L=list(map(int,input().split()))
S=[]
for i in range(N):
S.append(input())
print(''.join(sorted(S)))
|
[
7,
0,
13,
4,
13,
4,
13,
13,
4,
18,
4,
13,
13,
0,
13,
18,
13,
17,
13,
18,
13,
17,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
4,
13,
4,
13,
4,
18,
17,
13,
4,
13,
13,
10,
18,
13,
10,
4,
13,
10,
18,
13... | [
[
51,
2
],
[
48,
14
],
[
52,
16
],
[
54,
18
],
[
52,
20
],
[
57,
23
],
[
27,
26
],
[
49,
29
],
[
58,
32
],
[
58,
46
],
[
48,
49
],
[
51,
52
],
[
54,
55
],
[
... | [
"INP=list(map(int, input().split()))\nN,L=INP[0],INP[1]\nSlist=[]\nfor i in range(N):\n Slist.append(str(input()))\nprint(\"\".join(sorted(Slist)))",
"INP=list(map(int, input().split()))",
"INP",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()"... | INP=list(map(int, input().split()))
N,L=INP[0],INP[1]
Slist=[]
for i in range(N):
Slist.append(str(input()))
print("".join(sorted(Slist))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
4,
13,
4,
13,
4,
13,
4,
18,
17,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
32,
2
],
[
32,
11
],
[
29,
13
],
[
30,
24
],
[
32,
27
],
[
29,
30
],
[
32,
33
]
] | [
"N,L = map(int, input().split())\nS = sorted(input() for _ in range(N))\n\nprint(''.join(S))",
"N,L = map(int, input().split())",
"N",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"L",
"S = sorted(input() for _ in range(N))",
"S",
"sor... | N,L = map(int, input().split())
S = sorted(input() for _ in range(N))
print(''.join(S)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
0,
13,
17,
42,
2,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
0,
13,
17,
0,
13,
4,
13,
13,
0,
13,
4,
18,
17,
13,
13,
4,
13,
13,
10,
39,
13,
10,
4,
13,
10,
... | [
[
68,
2
],
[
68,
11
],
[
50,
13
],
[
56,
16
],
[
60,
20
],
[
57,
21
],
[
66,
21
],
[
62,
23
],
[
51,
28
],
[
63,
30
],
[
65,
32
],
[
53,
35
],
[
51,
38
],
[
... | [
"N, L = map(int,input().split())\n\nword = []\ncount = 0\nwhile N > count:\n S = input()\n word.append(S)\n count += 1\n\nword = sorted(word)\nans = ''.join(word)\n\nprint(ans)",
"N, L = map(int,input().split())",
"N",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
... | N, L = map(int,input().split())
word = []
count = 0
while N > count:
S = input()
word.append(S)
count += 1
word = sorted(word)
ans = ''.join(word)
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,
... | [
[
150,
11
],
[
132,
30
],
[
43,
42
],
[
151,
46
],
[
42,
51
],
[
57,
56
],
[
151,
60
],
[
56,
66
],
[
73,
72
],
[
151,
76
],
[
72,
81
],
[
90,
89
],
[
124,
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,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
4,
18,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
13,
13,
10,
4,
13,
10,
4,
13
] | [
[
42,
2
],
[
42,
11
],
[
15,
14
],
[
40,
17
],
[
36,
22
],
[
37,
26
],
[
37,
34
],
[
36,
37
],
[
42,
40
],
[
42,
43
]
] | [
"N,L = map(int, input().split())\nS = [input() for i in range(N)]\nS.sort()\nprint(\"\".join(S))",
"N,L = map(int, input().split())",
"N",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"L",
"input() for i in range(N)",
"for i in range(N)"... | N,L = map(int, input().split())
S = [input() for i in range(N)]
S.sort()
print("".join(S)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
4,
13,
4,
18,
17,
13,
4,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13,
10,
4,
13
] | [
[
51,
2
],
[
51,
11
],
[
48,
13
],
[
17,
16
],
[
43,
19
],
[
45,
21
],
[
49,
26
],
[
46,
28
],
[
43,
28
],
[
49,
40
],
[
51,
43
],
[
45,
46
],
[
48,
49
],
[
... | [
"a,b=map(int,input().split())\nl=[]\nfor i in range(a):\n a=input()\n l.append(a)\nprint(\"\".join(map(str,sorted(l))))",
"a,b=map(int,input().split())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"l=[]",
"l",
"[]",
... | a,b=map(int,input().split())
l=[]
for i in range(a):
a=input()
l.append(a)
print("".join(map(str,sorted(l)))) |
[
7,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
0,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
39,
13,
10,
13,
13,
10,
13,
13,
... | [
[
4,
3
],
[
3,
12
],
[
53,
14
],
[
53,
16
],
[
47,
18
],
[
22,
21
],
[
51,
24
],
[
56,
26
],
[
48,
31
],
[
57,
33
],
[
48,
38
],
[
48,
45
],
[
47,
48
],
[
5... | [
"n,x = (int(i) for i in input().split())\nl = []\nfor i in range (n):\n s = input ()\n l.append (s)\nlist.sort(l)\nprint(''.join(l))",
"int(i) for i in input().split()",
"for i in input().split()",
"i",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in input().split()",
"int(i)"... | n,x = (int(i) for i in input().split())
l = []
for i in range (n):
s = input ()
l.append (s)
list.sort(l)
print(''.join(l)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
4,
18,
13,
13,
0,
13,
17,
28,
13,
4,
13,
13,
0,
13,
2,
13,
18,
13,
13,
4,
13,
13,
10,
39,
13,
10,
4,
13,
10,
17... | [
[
61,
2
],
[
61,
11
],
[
49,
13
],
[
17,
16
],
[
53,
19
],
[
50,
22
],
[
50,
28
],
[
55,
31
],
[
35,
34
],
[
53,
37
],
[
58,
39
],
[
56,
41
],
[
59,
41
],
[
... | [
"# N、Lの入力受付\nN, L = map(int, input().split())\n# N回連続で入力文字列を受付\nS = []\nfor i in range(N):\n S.append(input())\n# S内をソート\nS.sort()\n# Sの要素を結合\nresult = \"\"\nfor i in range(N):\n result = result + S[i]\n# resultを出力\nprint(result)",
"N, L = map(int, input().split())",
"N",
"map(int, input().split())",
... | # N、Lの入力受付
N, L = map(int, input().split())
# N回連続で入力文字列を受付
S = []
for i in range(N):
S.append(input())
# S内をソート
S.sort()
# Sの要素を結合
result = ""
for i in range(N):
result = result + S[i]
# resultを出力
print(result)
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
0,
13,
4,
13,
4,
18,
13,
13,
13,
4,
18,
13,
13,
0,
13,
17,
28,
13,
13,
0,
13,
13,
4,
13,
13,
10,
13,
13,
10,
4,
13,
10,
4,
13,
10,
17... | [
[
61,
2
],
[
61,
11
],
[
58,
13
],
[
17,
16
],
[
50,
19
],
[
52,
21
],
[
59,
26
],
[
53,
28
],
[
59,
31
],
[
55,
34
],
[
38,
37
],
[
59,
37
],
[
46,
40
],
[
... | [
"n,l = map(int,input().split())\nstrings = []\nfor _ in range(n):\n s = input()\n strings.append(s)\nstrings.sort()\nans = ''\nfor string in strings:\n ans += string\nprint(ans)",
"n,l = map(int,input().split())",
"n",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",... | n,l = map(int,input().split())
strings = []
for _ in range(n):
s = input()
strings.append(s)
strings.sort()
ans = ''
for string in strings:
ans += string
print(ans) |
[
7,
15,
13,
12,
13,
12,
13,
0,
13,
4,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
4,
18,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
4,
13,
10,
12,
13,
10,
12,
13,
10,
4,
13,
10,
13,
13
] | [
[
45,
8
],
[
43,
10
],
[
45,
11
],
[
15,
14
],
[
46,
17
],
[
40,
20
],
[
48,
22
],
[
49,
26
],
[
40,
26
],
[
49,
34
],
[
40,
34
],
[
45,
37
],
[
45,
46
],
[
... | [
"import sys\ndef LI(): return list(map(int,sys.stdin.readline().rstrip().split())) #空白あり\ndef S(): return sys.stdin.readline().rstrip()\n\nN,L = LI()\nS = [S() for i in range(N)]\nS.sort()\nprint(''.join(S))",
"import sys",
"sys",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) #空白あり"... | import sys
def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) #空白あり
def S(): return sys.stdin.readline().rstrip()
N,L = LI()
S = [S() for i in range(N)]
S.sort()
print(''.join(S)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
4,
13,
4,
18,
17,
13,
4,
13,
13,
10,
39,
13,
10,
4,
13,
10,
4,
13
] | [
[
42,
2
],
[
42,
11
],
[
36,
13
],
[
17,
16
],
[
40,
19
],
[
37,
22
],
[
37,
34
],
[
36,
37
],
[
42,
40
],
[
42,
43
]
] | [
"n, l = map(int, input().split())\n\ns = []\nfor i in range(n):\n s.append(input())\n\n\nprint(\"\".join(sorted(s)))",
"n, l = map(int, input().split())",
"n",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"s = []",
"s",
"[]",
... | n, l = map(int, input().split())
s = []
for i in range(n):
s.append(input())
print("".join(sorted(s)))
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
0,
13,
4,
13,
13,
4,
13,
4,
18,
17,
13,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
13,
13
] | [
[
43,
2
],
[
43,
11
],
[
15,
14
],
[
41,
17
],
[
46,
22
],
[
37,
25
],
[
47,
28
],
[
38,
35
],
[
37,
38
],
[
43,
41
],
[
43,
44
],
[
46,
47
]
] | [
"n, l = map(int, input().split())\nk = [input() for _ in range(n)]\ns = sorted(k)\nprint(\"\".join(s))",
"n, l = map(int, input().split())",
"n",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"input() for _ in range(n)",
"for _ in ra... | n, l = map(int, input().split())
k = [input() for _ in range(n)]
s = sorted(k)
print("".join(s)) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
0,
13,
39,
28,
13,
4,
13,
13,
4,
18,
13,
13,
4,
13,
4,
13,
4,
18,
17,
13,
4,
13,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
39,
13
] | [
[
42,
2
],
[
42,
11
],
[
45,
13
],
[
17,
16
],
[
40,
19
],
[
46,
22
],
[
46,
37
],
[
42,
40
],
[
42,
43
],
[
45,
46
]
] | [
"n,l = map(int,input().split())\nS = []\nfor i in range(n):\n S.append(input())\nprint(\"\".join(map(str,sorted(S))))",
"n,l = map(int,input().split())",
"n",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"S = []",
"S",
"[]",
"... | n,l = map(int,input().split())
S = []
for i in range(n):
S.append(input())
print("".join(map(str,sorted(S)))) |
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
0,
13,
4,
13,
13,
4,
13,
31,
13,
0,
13,
17,
10,
4,
13,
10,
4,
13,
10,
13,
13,
10,
4,
13
] | [
[
40,
2
],
[
40,
11
],
[
15,
14
],
[
38,
17
],
[
43,
22
],
[
46,
25
],
[
44,
28
],
[
47,
32
],
[
44,
32
],
[
35,
34
],
[
40,
38
],
[
40,
41
],
[
43,
44
],
[
... | [
"# -*- coding: utf-8 -*-\n\nn,l = map(int,input().split())\ns = [input() for i in range(n)]\ns = sorted(s)\nprint(*s,sep=\"\")\n",
"n,l = map(int,input().split())",
"n",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"input() for i in ra... | # -*- coding: utf-8 -*-
n,l = map(int,input().split())
s = [input() for i in range(n)]
s = sorted(s)
print(*s,sep="")
|
[
7,
0,
13,
4,
13,
13,
4,
18,
4,
13,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
4,
13,
4,
18,
17,
13,
4,
13,
13,
10,
4,
13,
10,
4,
13,
10,
13,
13
] | [
[
37,
2
],
[
37,
11
],
[
15,
14
],
[
38,
17
],
[
40,
22
],
[
41,
32
],
[
37,
35
],
[
37,
38
],
[
40,
41
]
] | [
"N, L = map(int, input().split())\nS = [input() for i in range(N)]\n\nprint(\"\".join(sorted(S)))",
"N, L = map(int, input().split())",
"N",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"L",
"input() for i in range(N)",
"for i in range(N... | N, L = map(int, input().split())
S = [input() for i in range(N)]
print("".join(sorted(S))) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.