node_ids
sequencelengths 4
1.4k
| edge_index
sequencelengths 1
2.22k
| text
sequencelengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
0,
13,
4,
13,
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,
10,
4,
13,
10,
2,
13,
10,
4,
13,
10,
4,
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
],
[
54,
35
],
[
61,
40
],
[
61,
45
],
[
55,
52
],
[
54,
55
],
[
66,
58
],
[
60,
61
],
[
66,
64
],
[
66,
67
]
] | [
"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",
"split",
"B",
"C",
"num = [0]*11",
"num",
"[0]*11",
"[0]",
"0",
"11",
"num[A] += 1",
"num[A]",
"num",
"A",
"1",
"num[B] += 1",
"num[B]",
"num",
"B",
"1",
"num[C] += 1",
"num[C]",
"num",
"C",
"1",
"ans = 'YES' if num[5] == 2 and num[7] == 1 else 'NO'",
"ans",
"'YES' if num[5] == 2 and num[7] == 1 else 'NO'",
"num[5] == 2 and num[7] == 1",
"num[5] == 2",
"num[5]",
"num",
"5",
"2",
"num[7] == 1",
"num[7]",
"num",
"7",
"1",
"'YES'",
"'NO'",
"print(ans)",
"print",
"ans",
"ans = 'YES' if num[5] == 2 and num[7] == 1 else 'NO'",
"'YES' if num[5] == 2 and num[7] == 1 else 'NO'",
"ans",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A",
"num = [0]*11",
"[0]*11",
"num",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B",
"C = map(int, input().split())",
"map(int, input().split())",
"C"
] | A, B, C = map(int, input().split())
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(str, input().split())",
"map",
"str",
"input().split()",
"().split",
"()",
"input",
"split",
"list_ = list(itertools.permutations(ABC))",
"list_",
"list(itertools.permutations(ABC))",
"list",
"itertools.permutations(ABC)",
"itertools.permutations",
"itertools",
"permutations",
"ABC",
"if ('5', '7', '5') in list_:\n print('YES')\nelse:\n print('NO')",
"('5', '7', '5') in list_",
"('5', '7', '5')",
"'5'",
"'7'",
"'5'",
"list_",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"ABC = list(map(str, input().split()))",
"list(map(str, input().split()))",
"ABC",
"list_ = list(itertools.permutations(ABC))",
"list(itertools.permutations(ABC))",
"list_"
] | 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,
13,
10,
17,
13,
10,
17,
13
] | [
[
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
],
[
49,
50
],
[
52,
53
],
[
55,
56
],
[
58,
59
],
[
61,
62
]
] | [
"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",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in a:\n if i == 5:\n n_5 += 1\n elif i == 7:\n n_7 += 1",
"i",
"a",
"if i == 5:\n n_5 += 1\n elif i == 7:\n n_7 += 1",
"i == 5",
"i",
"5",
"n_5 += 1",
"n_5",
"1",
"elif i == 7:\n n_7 += 1",
"i == 7",
"i",
"7",
"n_7 += 1",
"n_7",
"1",
"if n_5 == 2 and n_7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"n_5 == 2 and n_7 == 1",
"n_5 == 2",
"n_5",
"2",
"n_7 == 1",
"n_7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a = map(int, input().split())",
"map(int, input().split())",
"a",
"n_7 += 1",
"1",
"n_7",
"n_7 = 0",
"0",
"n_7",
"n_5 += 1",
"1",
"n_5",
"n_5 = 0",
"0",
"n_5"
] | 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,
17,
2,
13,
17,
2,
13,
17,
4,
13,
17,
29,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
12,
13,
10,
12,
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,
75
]
] | [
"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 print(\"YES\")\n return\n print(\"NO\")\n\n\nif __name__ == \"__main__\":\n main()",
"import sys",
"sys",
"def input(): return sys.stdin.readline().strip()",
"input",
"def 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 print(\"YES\")\n return\n print(\"NO\")",
"main",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a == 5 and b == 5 and c == 7:\n print(\"YES\")\n return\n ",
"a == 5 and b == 5 and c == 7",
"a == 5 and b == 5",
"a == 5",
"a",
"5",
"b == 5",
"b",
"5",
"c == 7",
"c",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"return",
"if b == 5 and c == 5 and a == 7:\n print(\"YES\")\n return\n ",
"b == 5 and c == 5 and a == 7",
"b == 5 and c == 5",
"b == 5",
"b",
"5",
"c == 5",
"c",
"5",
"a == 7",
"a",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"return",
"if c == 5 and a == 5 and b == 7:\n print(\"YES\")\n return\n ",
"c == 5 and a == 5 and b == 7",
"c == 5 and a == 5",
"c == 5",
"c",
"5",
"a == 5",
"a",
"5",
"b == 7",
"b",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"return",
"print(\"NO\")",
"print",
"\"NO\"",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"def 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 print(\"YES\")\n return\n print(\"NO\")",
"def 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 print(\"YES\")\n return\n print(\"NO\")",
"main",
"def input(): return sys.stdin.readline().strip()",
"def input(): return sys.stdin.readline().strip()",
"input"
] | 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")
return
print("NO")
if __name__ == "__main__":
main()
|
[
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,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
13,
10,
12,
13
] | [
[
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
],
[
38,
62
],
[
79,
76
]
] | [
"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()",
"from sys import stdin,stdout",
"def 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\")",
"main",
"line=stdin.readline()",
"line",
"stdin.readline()",
"stdin.readline",
"stdin",
"readline",
"parts=line.split()",
"parts",
"line.split()",
"line.split",
"line",
"split",
"a=int(parts[0])",
"a",
"int(parts[0])",
"int",
"parts[0]",
"parts",
"0",
"b=int(parts[1])",
"b",
"int(parts[1])",
"int",
"parts[1]",
"parts",
"1",
"c= int(parts[2])",
"c",
"int(parts[2])",
"int",
"parts[2]",
"parts",
"2",
"l=[a,b,c]",
"l",
"[a,b,c]",
"a",
"b",
"c",
"l.sort()",
"l.sort",
"l",
"sort",
"if l[0]==5 and l[1]==5 and l[2]==7:\n stdout.write(\"YES\")\n else:\n stdout.write(\"NO\")",
"l[0]==5 and l[1]==5 and l[2]==7",
"l[0]==5 and l[1]==5",
"l[0]==5",
"l[0]",
"l",
"0",
"5",
"l[1]==5",
"l[1]",
"l",
"1",
"5",
"l[2]==7",
"l[2]",
"l",
"2",
"7",
"stdout.write(\"YES\")",
"stdout.write",
"stdout",
"write",
"\"YES\"",
"stdout.write(\"NO\")",
"stdout.write",
"stdout",
"write",
"\"NO\"",
"main()",
"main",
"def 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\")",
"def 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\")",
"main"
] | 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,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
4,
13
] | [
[
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
],
[
77,
75
],
[
77,
78
]
] | [
"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())",
"a",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if 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 == 7",
"a",
"7",
"if b == 5 and c == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"b == 5 and c == 5",
"b == 5",
"b",
"5",
"c == 5",
"c",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"elif b == 7:\n if a == 5 and c == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"b == 7",
"b",
"7",
"if a == 5 and c == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"a == 5 and c == 5",
"a == 5",
"a",
"5",
"c == 5",
"c",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"elif c == 7:\n if a == 5 and b == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"c == 7",
"c",
"7",
"if a == 5 and b == 5:\n print(\"YES\")\n else:\n print(\"NO\")",
"a == 5 and b == 5",
"a == 5",
"a",
"5",
"b == 5",
"b",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"print(\"NO\")",
"print",
"\"NO\"",
"b,c = map(int,input().split())",
"map(int,input().split())",
"b",
"c = map(int,input().split())",
"map(int,input().split())",
"c",
"a,b,c = map(int,input().split())",
"map(int,input().split())",
"a"
] | 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,
14,
2,
13,
39,
17,
17,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
18,
13,
10,
4,
13,
10,
18,
13,
10,
12,
13,
10,
2,
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__ == '__main__':\n main()",
"import sys",
"sys",
"read = sys.stdin.read",
"read",
"sys.stdin.read",
"sys.stdin",
"sys",
"stdin",
"read",
"readline = sys.stdin.buffer.readline",
"readline",
"sys.stdin.buffer.readline",
"sys.stdin.buffer",
"sys.stdin",
"sys",
"stdin",
"buffer",
"readline",
"sys.setrecursionlimit(10 ** 8)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10 ** 8",
"10",
"8",
"INF = float('inf')",
"INF",
"float('inf')",
"float",
"'inf'",
"MOD = 10 ** 9 + 7",
"MOD",
"10 ** 9 + 7",
"10 ** 9",
"10",
"9",
"7",
"def 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')",
"main",
"A = list(map(int, readline().split()))",
"A",
"list(map(int, readline().split()))",
"list",
"map(int, readline().split())",
"map",
"int",
"readline().split()",
"().split",
"()",
"readline",
"split",
"A.sort()",
"A.sort",
"A",
"sort",
"if A == [5,5,7]:\n print('YES')\n else:\n print('NO')",
"A == [5,5,7]",
"A",
"[5,5,7]",
"5",
"5",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"if __name__ == '__main__':\n main()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"main()",
"main",
"readline = sys.stdin.buffer.readline",
"sys.stdin.buffer.readline",
"readline",
"INF = float('inf')",
"float('inf')",
"INF",
"read = sys.stdin.read",
"sys.stdin.read",
"read",
"def 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')",
"def 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')",
"main",
"MOD = 10 ** 9 + 7",
"10 ** 9 + 7",
"MOD"
] | 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",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"abc.sort()",
"abc.sort",
"abc",
"sort",
"if abc[0] == abc[1] == 5:\n if abc[2] == 7:\n print('YES')\n else:\n print('NO')\nelse:\n print('NO')",
"abc[0] == abc[1] == 5",
"abc[0] == abc[1]",
"abc[0]",
"abc",
"0",
"abc[1]",
"abc",
"1",
"5",
"if abc[2] == 7:\n print('YES')\n else:\n print('NO')",
"abc[2] == 7",
"abc[2]",
"abc",
"2",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"print('NO')",
"print",
"'NO'",
"abc = list(map(int, input().split()))",
"list(map(int, input().split()))",
"abc"
] | 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",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if a[0]==5 and a[1]==5 and a[2]==7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"a[0]==5 and a[1]==5 and a[2]==7",
"a[0]==5 and a[1]==5",
"a[0]==5",
"a[0]",
"a",
"0",
"5",
"a[1]==5",
"a[1]",
"a",
"1",
"5",
"a[2]==7",
"a[2]",
"a",
"2",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a=sorted(list(map(int,input().split())))",
"sorted(list(map(int,input().split())))",
"a"
] | 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,
10,
17,
13,
10,
17,
13,
10,
4,
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
],
[
51,
52
],
[
57,
55
],
[
57,
58
],
[
60,
61
],
[
63,
64
]
] | [
"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()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"flag_5 = flag_7 = 0",
"flag_5",
"0",
"= flag_7 = 0",
"flag_7",
"0",
"for i in l:\n if i == 5:\n flag_5 += 1\n if i == 7:\n flag_7 += 1",
"i",
"l",
"if i == 5:\n flag_5 += 1\n ",
"i == 5",
"i",
"5",
"flag_5 += 1",
"flag_5",
"1",
"if i == 7:\n flag_7 += 1",
"i == 7",
"i",
"7",
"flag_7 += 1",
"flag_7",
"1",
"if flag_5 == 2 and flag_7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"flag_5 == 2 and flag_7 == 1",
"flag_5 == 2",
"flag_5",
"2",
"flag_7 == 1",
"flag_7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"flag_5 += 1",
"1",
"flag_5",
"flag_5 = flag_7 = 0",
"0",
"flag_5",
"flag_7 = 0",
"0",
"flag_7",
"flag_7 += 1",
"1",
"flag_7",
"l = list(map(int, input().split()))",
"list(map(int, input().split()))",
"l"
] | 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,
13,
17,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
13,
13
] | [
[
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
],
[
67,
48
],
[
61,
51
],
[
70,
51
],
[
60,
61
],
[
63,
64
],
[
66,
67
],
[
69,
70
],
[
72,
73
]
] | [
"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()",
"().split",
"()",
"input",
"split",
"for i in input().split()",
"int(i)",
"int",
"i",
"L=[int(i) for i in input().split()]",
"L",
"[int(i) for i in input().split()]",
"count5=0",
"count5",
"0",
"count7=0",
"count7",
"0",
"for i in range(3):\n if L[i]==5:\n count5+=1\n if L[i]==7:\n count7+=1",
"i",
"range(3)",
"range",
"3",
"if L[i]==5:\n count5+=1\n ",
"L[i]==5",
"L[i]",
"L",
"i",
"5",
"count5+=1",
"count5",
"1",
"if L[i]==7:\n count7+=1",
"L[i]==7",
"L[i]",
"L",
"i",
"7",
"count7+=1",
"count7",
"1",
"if count5==2 and count7==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"count5==2 and count7==1",
"count5==2",
"count5",
"2",
"count7==1",
"count7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"count7+=1",
"1",
"count7",
"count5+=1",
"1",
"count5",
"count5=0",
"0",
"count5",
"count7=0",
"0",
"count7",
"L=[int(i) for i in input().split()]",
"[int(i) for i in input().split()]",
"L"
] | 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",
"readline",
"int(_) for _ in input().split()",
"for _ in input().split()",
"_",
"input().split()",
"().split",
"()",
"input",
"split",
"for _ in input().split()",
"int(_)",
"int",
"_",
"s = [int(_) for _ in input().split()]",
"s",
"[int(_) for _ in input().split()]",
"if (s.count(7)==1)&(s.count(5)==2):\n print('YES')\nelse:\n print('NO')",
"(s.count(7)==1)&(s.count(5)==2)",
"s.count(7)==1",
"s.count(7)",
"s.count",
"s",
"count",
"7",
"1",
"s.count(5)==2",
"s.count(5)",
"s.count",
"s",
"count",
"5",
"2",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"input = sys.stdin.readline",
"sys.stdin.readline",
"input",
"s = [int(_) for _ in input().split()]",
"[int(_) for _ in input().split()]",
"s"
] | # -*- 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",
"sort",
"if n[0] == 5 and n[1] == n[0] and n[2] == 7:\n print(\"YES\")\nelse:\n print(\"NO\")",
"n[0] == 5 and n[1] == n[0] and n[2] == 7",
"n[0] == 5 and n[1] == n[0]",
"n[0] == 5",
"n[0]",
"n",
"0",
"5",
"n[1] == n[0]",
"n[1]",
"n",
"1",
"n[0]",
"n",
"0",
"n[2] == 7",
"n[2]",
"n",
"2",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"n = list(int(i) for i in input().split())",
"list(int(i) for i in input().split())",
"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()",
"().split",
"()",
"input",
"split",
"ans = \"NO\"",
"ans",
"\"NO\"",
"if 5 in abc:\n abc.remove(5)\n if 5 in abc and 7 in abc:\n ans = \"YES\"",
"5 in abc",
"5",
"abc",
"abc.remove(5)",
"abc.remove",
"abc",
"remove",
"5",
"if 5 in abc and 7 in abc:\n ans = \"YES\"",
"5 in abc and 7 in abc",
"5 in abc",
"5",
"abc",
"7 in abc",
"7",
"abc",
"ans = \"YES\"",
"ans",
"\"YES\"",
"print(ans)",
"print",
"ans",
"abc = list(map(int,input().split()))",
"list(map(int,input().split()))",
"abc",
"ans = \"YES\"",
"\"YES\"",
"ans",
"ans = \"NO\"",
"\"NO\"",
"ans"
] | 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",
"()",
"input",
"split",
"if ABC.count(5) == 2 and ABC.count(7):\n print('YES')\nelse:\n print('NO')",
"ABC.count(5) == 2 and ABC.count(7)",
"ABC.count(5) == 2",
"ABC.count(5)",
"ABC.count",
"ABC",
"count",
"5",
"2",
"ABC.count(7)",
"ABC.count",
"ABC",
"count",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"ABC = list(map(int, input().split()))",
"list(map(int, input().split()))",
"ABC"
] | 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])",
"list",
"sorted([A,B,C])",
"sorted",
"[A,B,C]",
"A",
"B",
"C",
"print('YES' if list == [5,5,7] else 'NO')",
"print",
"'YES' if list == [5,5,7] else 'NO'",
"list == [5,5,7]",
"list",
"[5,5,7]",
"5",
"5",
"7",
"'YES'",
"'NO'",
"A,B,C = map(int, input().split())",
"map(int, input().split())",
"A",
"C = map(int, input().split())",
"map(int, input().split())",
"C",
"list = sorted([A,B,C])",
"sorted([A,B,C])",
"list",
"B,C = map(int, input().split())",
"map(int, input().split())",
"B"
] | 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','YES']",
"'NO'",
"'YES'",
"L.count('5')==2 and L.count('7')==1",
"L.count('5')==2",
"L.count('5')",
"L.count",
"L",
"count",
"'5'",
"2",
"L.count('7')==1",
"L.count('7')",
"L.count",
"L",
"count",
"'7'",
"1",
"L = input().split()",
"input().split()",
"L"
] | 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 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'",
"main",
"haiku = [5, 7, 5]",
"haiku",
"[5, 7, 5]",
"5",
"7",
"5",
"word_num = input().split(' ')",
"word_num",
"input().split(' ')",
"().split",
"()",
"input",
"split",
"' '",
"for num in word_num:\n try:\n haiku.remove(int(num))\n except:\n return 'NO'\n ",
"num",
"word_num",
"try:\n haiku.remove(int(num))\n except:\n return 'NO'\n ",
"except:\n return 'NO'\n ",
"return 'NO'",
"'NO'",
"haiku.remove(int(num))",
"haiku.remove",
"haiku",
"remove",
"int(num)",
"int",
"num",
"return 'YES'",
"'YES'",
"if __name__ == '__main__':\n reply = main()\n print(reply)",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"reply = main()",
"reply",
"main()",
"main",
"print(reply)",
"print",
"reply",
"def 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'",
"def 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'",
"main",
"reply = main()",
"main()",
"reply"
] | # 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",
"()",
"input",
"split",
"def answer(a: list) -> str:\n a = sorted(a)\n if a == [5, 5, 7]:\n return 'YES'\n else:\n return 'NO'",
"answer",
"a = sorted(a)",
"a",
"sorted(a)",
"sorted",
"a",
"if a == [5, 5, 7]:\n return 'YES'\n else:\n return 'NO'",
"a == [5, 5, 7]",
"a",
"[5, 5, 7]",
"5",
"5",
"7",
"return 'YES'",
"'YES'",
"return 'NO'",
"'NO'",
"a: list",
"a",
"print(answer(a))",
"print",
"answer(a)",
"answer",
"a",
"a = map(int, input().split())",
"map(int, input().split())",
"a",
"def answer(a: list) -> str:\n a = sorted(a)\n if a == [5, 5, 7]:\n return 'YES'\n else:\n return 'NO'",
"def answer(a: list) -> str:\n a = sorted(a)\n if a == [5, 5, 7]:\n return 'YES'\n else:\n return 'NO'",
"answer"
] | 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,
4,
13,
10,
12,
13
] | [
[
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 == 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')",
"main",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"if (A == 5 and B == 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')",
"(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)",
"(A == 5 and B == 7 and C == 5) or (A == 7 and B == 5 and C == 5)",
"A == 5 and B == 7 and C == 5",
"A == 5 and B == 7",
"A == 5",
"A",
"5",
"B == 7",
"B",
"7",
"C == 5",
"C",
"5",
"A == 7 and B == 5 and C == 5",
"A == 7 and B == 5",
"A == 7",
"A",
"7",
"B == 5",
"B",
"5",
"C == 5",
"C",
"5",
"A == 5 and B == 5 and C ==7",
"A == 5 and B == 5",
"A == 5",
"A",
"5",
"B == 5",
"B",
"5",
"C ==7",
"C",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"main()",
"main",
"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')",
"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')",
"main"
] | 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, 5, 7]: print('YES')\nelse: print('NO')",
"sorted([a, b, c]) == [5, 5, 7]",
"sorted([a, b, c])",
"sorted",
"[a, b, c]",
"a",
"b",
"c",
"[5, 5, 7]",
"5",
"5",
"7",
"b, c = map(int, input().split())",
"map(int, input().split())",
"b",
"a, b, c = map(int, input().split())",
"map(int, input().split())",
"a",
"c = map(int, input().split())",
"map(int, input().split())",
"c"
] | a, b, c = map(int, input().split())
if sorted([a, b, c]) == [5, 5, 7]: print('YES')
else: print('NO') |
[
7,
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,
13,
13,
13,
13,
10,
13,
13,
10,
13,
13,
10,
12,
13,
10,
13,
13
] | [
[
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,
57
],
[
70,
58
],
[
69,
61
],
[
69,
64
],
[
69,
70
]
] | [
"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 print(\"YES\")\n else:\n print(\"NO\")",
"haiku",
"list = [A,B,C]",
"list",
"[A,B,C]",
"A",
"B",
"C",
"if(list.count(5) == 2 and list.count(7) ==1):\n print(\"YES\")\n else:\n print(\"NO\")",
"list.count(5) == 2 and list.count(7) ==1",
"list.count(5) == 2",
"list.count(5)",
"list.count",
"list",
"count",
"5",
"2",
"list.count(7) ==1",
"list.count(7)",
"list.count",
"list",
"count",
"7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"A",
"A",
"B",
"B",
"C",
"C",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"A,B,C = (int(x) for x in input().split())",
"A",
"(int(x) for x in input().split())",
"B",
"C",
"haiku(A,B,C)",
"haiku",
"A",
"B",
"C",
"A,B,C = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"A",
"B,C = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"B",
"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\")",
"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\")",
"haiku",
"C = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"C"
] | 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().split()",
"().split",
"()",
"input",
"split",
"ans = sorted(num)",
"ans",
"sorted(num)",
"sorted",
"num",
"if(ans[0]==5 and ans[1]==5 and ans[2] == 7):\n print(\"YES\")\nelse:\n print(\"NO\")",
"ans[0]==5 and ans[1]==5 and ans[2] == 7",
"ans[0]==5 and ans[1]==5",
"ans[0]==5",
"ans[0]",
"ans",
"0",
"5",
"ans[1]==5",
"ans[1]",
"ans",
"1",
"5",
"ans[2] == 7",
"ans[2]",
"ans",
"2",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"num = list(map(int, input().split()))",
"list(map(int, input().split()))",
"num",
"ans = sorted(num)",
"sorted(num)",
"ans"
] | 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",
"()",
"input",
"split",
"if abc.count(5) == 2 and abc.count(7) == 1: print(\"YES\")\nelse: print(\"NO\")",
"abc.count(5) == 2 and abc.count(7) == 1",
"abc.count(5) == 2",
"abc.count(5)",
"abc.count",
"abc",
"count",
"5",
"2",
"abc.count(7) == 1",
"abc.count(7)",
"abc.count",
"abc",
"count",
"7",
"1",
"abc = list(map(int, input().split()))",
"list(map(int, input().split()))",
"abc"
] | 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())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"for i in x:\n\ta[i] += 1",
"i",
"x",
"a[i] += 1",
"a[i]",
"a",
"i",
"1",
"if(a[5]==2 and a[7]==1):\n\tprint(\"YES\")\nelse:\n\tprint(\"NO\")",
"a[5]==2 and a[7]==1",
"a[5]==2",
"a[5]",
"a",
"5",
"2",
"a[7]==1",
"a[7]",
"a",
"7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"x=list(map(int,input().split()))",
"list(map(int,input().split()))",
"x",
"a=[0]*11",
"[0]*11",
"a"
] | 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 input().split()]) == 17 else \"NO\")",
"print",
"\"YES\" if sum([int(x) for x in input().split()]) == 17 else \"NO\"",
"sum([int(x) for x in input().split()]) == 17",
"sum([int(x) for x in input().split()])",
"sum",
"[int(x) for x in input().split()]",
"17",
"\"YES\"",
"\"NO\""
] | 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",
"()",
"input",
"split",
"a.sort()",
"a.sort",
"a",
"sort",
"if(a[0] == a[1] and a[0] == 5 and a[2] == 7): print(\"YES\")\nelse: print(\"NO\")",
"a[0] == a[1] and a[0] == 5 and a[2] == 7",
"a[0] == a[1] and a[0] == 5",
"a[0] == a[1]",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"a[0] == 5",
"a[0]",
"a",
"0",
"5",
"a[2] == 7",
"a[2]",
"a",
"2",
"7",
"a = list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | 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,
17,
4,
13,
17,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
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
],
[
71,
49
],
[
68,
49
],
[
61,
62
],
[
64,
65
],
[
67,
68
],
[
70,
71
],
[
73,
74
]
] | [
"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",
"()",
"input",
"split",
"fn = 0",
"fn",
"0",
"sn = 0",
"sn",
"0",
"for i in range(len(x)):\n if int(x[i]) == 5:\n fn += 1\n elif int(x[i]) == 7:\n sn += 1\n ",
"i",
"range(len(x))",
"range",
"len(x)",
"len",
"x",
"if int(x[i]) == 5:\n fn += 1\n elif int(x[i]) == 7:\n sn += 1\n ",
"int(x[i]) == 5",
"int(x[i])",
"int",
"x[i]",
"x",
"i",
"5",
"fn += 1",
"fn",
"1",
"elif int(x[i]) == 7:\n sn += 1\n ",
"int(x[i]) == 7",
"int(x[i])",
"int",
"x[i]",
"x",
"i",
"7",
"sn += 1",
"sn",
"1",
"if fn == 2:\n if sn == 1:\n print(\"YES\")\n else:\n print(\"NO\")\nelse:\n print(\"NO\")",
"fn == 2",
"fn",
"2",
"if sn == 1:\n print(\"YES\")\n else:\n print(\"NO\")",
"sn == 1",
"sn",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"print(\"NO\")",
"print",
"\"NO\"",
"x = input().split()",
"input().split()",
"x",
"fn += 1",
"1",
"fn",
"sn = 0",
"0",
"sn",
"sn += 1",
"1",
"sn",
"fn = 0",
"0",
"fn"
] | 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,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
13,
13,
10,
13,
13,
10,
13,
13
] | [
[
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
],
[
74,
58
],
[
73,
68
],
[
73,
71
],
[
73,
74
]
] | [
"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()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"a,b,c = (int(x) for x in input().split())",
"a",
"(int(x) for x in input().split())",
"b",
"c",
"if a==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')",
"a==7 and b==5 and c==5",
"a==7 and b==5",
"a==7",
"a",
"7",
"b==5",
"b",
"5",
"c==5",
"c",
"5",
"print('YES')",
"print",
"'YES'",
"elif a==5 and b==7 and c==5:\n print('YES')",
"a==5 and b==7 and c==5",
"a==5 and b==7",
"a==5",
"a",
"5",
"b==7",
"b",
"7",
"c==5",
"c",
"5",
"print('YES')",
"print",
"'YES'",
"elif a==5 and b==5 and c==7:\n print('YES')",
"a==5 and b==5 and c==7",
"a==5 and b==5",
"a==5",
"a",
"5",
"b==5",
"b",
"5",
"c==7",
"c",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"a,b,c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"a",
"b,c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"b",
"c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"c"
] | a,b,c = (int(x) for x in input().split())
if a==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())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if 5 in l:\n l.remove(5)\n if 5 in l and 7 in l:\n print(\"YES\")\n sys.exit()",
"5 in l",
"5",
"l",
"l.remove(5)",
"l.remove",
"l",
"remove",
"5",
"if 5 in l and 7 in l:\n print(\"YES\")\n sys.exit()",
"5 in l and 7 in l",
"5 in l",
"5",
"l",
"7 in l",
"7",
"l",
"print(\"YES\")",
"print",
"\"YES\"",
"sys.exit()",
"sys.exit",
"sys",
"exit",
"print(\"NO\")",
"print",
"\"NO\"",
"l=list(map(int, input().split()))",
"list(map(int, input().split()))",
"l"
] | 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",
"input().split()",
"().split",
"()",
"input",
"split",
"print(\"YES\" if a[1] == 5 and a[0]== 5 and a[2] else \"NO\")",
"print",
"\"YES\" if a[1] == 5 and a[0]== 5 and a[2] else \"NO\"",
"a[1] == 5 and a[0]== 5 and a[2]",
"a[1] == 5 and a[0]== 5",
"a[1] == 5",
"a[1]",
"a",
"1",
"5",
"a[0]== 5",
"a[0]",
"a",
"0",
"5",
"a[2]",
"a",
"2",
"\"YES\"",
"\"NO\"",
"a = sorted(list(map(int, input().split())))",
"sorted(list(map(int, input().split())))",
"a"
] | 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')\nelse:\n print('NO')",
"text.count('5') == 2 and text.count('7') == 1",
"text.count('5') == 2",
"text.count('5')",
"text.count",
"text",
"count",
"'5'",
"2",
"text.count('7') == 1",
"text.count('7')",
"text.count",
"text",
"count",
"'7'",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"text = input().split(\" \")",
"input().split(\" \")",
"text"
] | 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,
10,
4,
13,
10,
4,
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
],
[
54,
55
],
[
60,
58
],
[
60,
61
]
] | [
"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]",
"LIST",
"[a, b, c]",
"a",
"b",
"c",
"five = LIST.count(\"5\")",
"five",
"LIST.count(\"5\")",
"LIST.count",
"LIST",
"count",
"\"5\"",
"seven = LIST.count(\"7\")",
"seven",
"LIST.count(\"7\")",
"LIST.count",
"LIST",
"count",
"\"7\"",
"if five == 2 and seven == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"five == 2 and seven == 1",
"five == 2",
"five",
"2",
"seven == 1",
"seven",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"c = input().split()",
"input().split()",
"c",
"seven = LIST.count(\"7\")",
"LIST.count(\"7\")",
"seven",
"five = LIST.count(\"5\")",
"LIST.count(\"5\")",
"five",
"LIST = [a, b, c]",
"[a, b, c]",
"LIST",
"b, c = input().split()",
"input().split()",
"b",
"a, b, c = input().split()",
"input().split()",
"a"
] | 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",
"split",
"print('YES' if ary.count(5) == 2 and ary.count(7) == 1 else 'NO')",
"print",
"'YES' if ary.count(5) == 2 and ary.count(7) == 1 else 'NO'",
"ary.count(5) == 2 and ary.count(7) == 1",
"ary.count(5) == 2",
"ary.count(5)",
"ary.count",
"ary",
"count",
"5",
"2",
"ary.count(7) == 1",
"ary.count(7)",
"ary.count",
"ary",
"count",
"7",
"1",
"'YES'",
"'NO'",
"ary = list(map(int, input().split()))",
"list(map(int, input().split()))",
"ary"
] | 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",
"C",
"fsf = [A, B, C]",
"fsf",
"[A, B, C]",
"A",
"B",
"C",
"if (fsf.count(5) == 2) & (fsf.count(7) == 1):\n print(\"YES\")\nelse:\n print(\"NO\")",
"(fsf.count(5) == 2) & (fsf.count(7) == 1)",
"fsf.count(5) == 2",
"fsf.count(5)",
"fsf.count",
"fsf",
"count",
"5",
"2",
"fsf.count(7) == 1",
"fsf.count(7)",
"fsf.count",
"fsf",
"count",
"7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A",
"fsf = [A, B, C]",
"[A, B, C]",
"fsf",
"C = map(int, input().split())",
"map(int, input().split())",
"C"
] | 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",
"split",
"a.sort()",
"a.sort",
"a",
"sort",
"print('YES' if a[0] == 5 and a[1] == 5 and a[2] == 7 else 'NO')",
"print",
"'YES' if a[0] == 5 and a[1] == 5 and a[2] == 7 else 'NO'",
"a[0] == 5 and a[1] == 5 and a[2] == 7",
"a[0] == 5 and a[1] == 5",
"a[0] == 5",
"a[0]",
"a",
"0",
"5",
"a[1] == 5",
"a[1]",
"a",
"1",
"5",
"a[2] == 7",
"a[2]",
"a",
"2",
"7",
"'YES'",
"'NO'",
"a = list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | a = list(map(int,input().split()))
a.sort()
print('YES' if a[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\")==1 and a.count(\"5\")==2",
"a.count(\"7\")==1",
"a.count(\"7\")",
"a.count",
"a",
"count",
"\"7\"",
"1",
"a.count(\"5\")==2",
"a.count(\"5\")",
"a.count",
"a",
"count",
"\"5\"",
"2",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a = input().split()",
"input().split()",
"a"
] | 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\") == 2 and s.count(\"7\") == 1",
"s.count(\"5\") == 2",
"s.count(\"5\")",
"s.count",
"s",
"count",
"\"5\"",
"2",
"s.count(\"7\") == 1",
"s.count(\"7\")",
"s.count",
"s",
"count",
"\"7\"",
"1",
"\"YES\"",
"\"NO\"",
"s = input()",
"input()",
"s"
] | 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,
13,
10,
4,
13,
10,
12,
13,
10,
12,
13
] | [
[
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(): return list(sys.stdin.readline().rstrip().split())\nl = LI()\nif l.count(5) == 2 and l.count(7) == 1:\n print('YES')\nelse:\n print('NO')",
"import bisect,collections,copy,heapq,itertools,math,string",
"bisect",
"collections",
"copy",
"heapq",
"itertools",
"math",
"string",
"import sys",
"sys",
"def S(): return sys.stdin.readline().rstrip()",
"S",
"def M(): return map(int,sys.stdin.readline().rstrip().split())",
"M",
"def I(): return int(sys.stdin.readline().rstrip())",
"I",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))",
"LI",
"def LS(): return list(sys.stdin.readline().rstrip().split())",
"LS",
"l = LI()",
"l",
"LI()",
"LI",
"if l.count(5) == 2 and l.count(7) == 1:\n print('YES')\nelse:\n print('NO')",
"l.count(5) == 2 and l.count(7) == 1",
"l.count(5) == 2",
"l.count(5)",
"l.count",
"l",
"count",
"5",
"2",
"l.count(7) == 1",
"l.count(7)",
"l.count",
"l",
"count",
"7",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"def S(): return sys.stdin.readline().rstrip()",
"def S(): return sys.stdin.readline().rstrip()",
"S",
"def LS(): return list(sys.stdin.readline().rstrip().split())",
"def LS(): return list(sys.stdin.readline().rstrip().split())",
"LS",
"def M(): return map(int,sys.stdin.readline().rstrip().split())",
"def M(): return map(int,sys.stdin.readline().rstrip().split())",
"M",
"l = LI()",
"LI()",
"l",
"def I(): return int(sys.stdin.readline().rstrip())",
"def I(): return int(sys.stdin.readline().rstrip())",
"I",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))",
"LI"
] | 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 list(sys.stdin.readline().rstrip().split())
l = LI()
if l.count(5) == 2 and l.count(7) == 1:
print('YES')
else:
print('NO') |
[
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 print(\"YES\")\n else:\n print(\"NO\")",
"main",
"lst = list(map(int, input().split()))",
"lst",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"lst.sort()",
"lst.sort",
"lst",
"sort",
"if lst == [5, 5, 7]:\n print(\"YES\")\n else:\n print(\"NO\")",
"lst == [5, 5, 7]",
"lst",
"[5, 5, 7]",
"5",
"5",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"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\")",
"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\")",
"main"
] | 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,
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,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13
] | [
[
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
],
[
80,
49
],
[
82,
52
],
[
80,
56
],
[
88,
59
],
[
89,
64
],
[
86,
64
],
[
101,
64
],
[
77,
64
],
[
83,
67
],
[
107,
67
],
[
104,
67
],
[
98,
67
],
[
76,
77
],
[
94,
80
],
[
82,
83
],
[
85,
86
],
[
88,
89
],
[
94,
92
],
[
94,
95
],
[
97,
98
],
[
100,
101
],
[
103,
104
],
[
106,
107
]
] | [
"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())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"n5=0",
"n5",
"0",
"n7=0",
"n7",
"0",
"if A==7:\n n7 += 1\nelif A==5:\n n5 += 1",
"A==7",
"A",
"7",
"n7 += 1",
"n7",
"1",
"elif A==5:\n n5 += 1",
"A==5",
"A",
"5",
"n5 += 1",
"n5",
"1",
"if B==7:\n n7 += 1\nelif B==5:\n n5 += 1",
"B==7",
"B",
"7",
"n7 += 1",
"n7",
"1",
"elif B==5:\n n5 += 1",
"B==5",
"B",
"5",
"n5 += 1",
"n5",
"1",
"if C==7:\n n7 += 1\nelif C==5:\n n5 += 1",
"C==7",
"C",
"7",
"n7 += 1",
"n7",
"1",
"elif C==5:\n n5 += 1",
"C==5",
"C",
"5",
"n5 += 1",
"n5",
"1",
"if n5==2 and n7==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"n5==2 and n7==1",
"n5==2",
"n5",
"2",
"n7==1",
"n7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"n5=0",
"0",
"n5",
"C=map(int,input().split())",
"map(int,input().split())",
"C",
"n7 += 1",
"1",
"n7",
"n5 += 1",
"1",
"n5",
"n5 += 1",
"1",
"n5",
"B,C=map(int,input().split())",
"map(int,input().split())",
"B",
"A,B,C=map(int,input().split())",
"map(int,input().split())",
"A",
"n7=0",
"0",
"n7",
"n5 += 1",
"1",
"n5",
"n7 += 1",
"1",
"n7",
"n7 += 1",
"1",
"n7"
] | 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,
17,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
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
],
[
65,
49
],
[
59,
49
],
[
58,
59
],
[
61,
62
],
[
64,
65
],
[
67,
68
],
[
70,
71
]
] | [
"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",
"()",
"input",
"split",
"seven = 0",
"seven",
"0",
"five = 0",
"five",
"0",
"for 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",
"i",
"range(len(data))",
"range",
"len(data)",
"len",
"data",
"if int(data[i]) == 7:\n\t\tseven += 1\n\telif int(data[i]) == 5:\n\t\tfive +=1",
"int(data[i]) == 7",
"int(data[i])",
"int",
"data[i]",
"data",
"i",
"7",
"seven += 1",
"seven",
"1",
"elif int(data[i]) == 5:\n\t\tfive +=1",
"int(data[i]) == 5",
"int(data[i])",
"int",
"data[i]",
"data",
"i",
"5",
"five +=1",
"five",
"1",
"if seven == 1 and five == 2:\n\tprint('YES')\nelse:\n\tprint('NO')",
"seven == 1 and five == 2",
"seven == 1",
"seven",
"1",
"five == 2",
"five",
"2",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"five = 0",
"0",
"five",
"seven = 0",
"0",
"seven",
"five +=1",
"1",
"five",
"data = input().split()",
"input().split()",
"data",
"seven += 1",
"1",
"seven"
] | 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')",
"main",
"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')\n else:\n print('NO')",
"a + b + c == 17",
"a + b + c",
"a + b",
"a",
"b",
"c",
"17",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"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():\n a, b, c = map(int, input().split())\n if a + b + c == 17:\n print('YES')\n else:\n print('NO')",
"main"
] |
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')\nelse:\n print('NO')",
"x == ['5','5','7']",
"x",
"['5','5','7']",
"'5'",
"'5'",
"'7'",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"x=x.split()",
"x.split()",
"x",
"x = input()",
"input()",
"x"
] | 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",
"sys.setrecursionlimit(10**9)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10**9",
"10",
"9",
"mod = 10**9+7",
"mod",
"10**9+7",
"10**9",
"10",
"9",
"7",
"l=sorted(map(int,input().split()))",
"l",
"sorted(map(int,input().split()))",
"sorted",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"print(\"YES\" if l == [5,5,7] else \"NO\")",
"print",
"\"YES\" if l == [5,5,7] else \"NO\"",
"l == [5,5,7]",
"l",
"[5,5,7]",
"5",
"5",
"7",
"\"YES\"",
"\"NO\"",
"mod = 10**9+7",
"10**9+7",
"mod",
"l=sorted(map(int,input().split()))",
"sorted(map(int,input().split()))",
"l"
] | 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,
17,
10,
4,
13,
10,
2,
13,
10,
2,
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
],
[
61,
62
],
[
64,
65
]
] | [
"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()",
"().split",
"()",
"input",
"split",
"b=a[0]+a[1]+a[2]",
"b",
"a[0]+a[1]+a[2]",
"a[0]+a[1]",
"a[0]",
"a",
"0",
"a[1]",
"a",
"1",
"a[2]",
"a",
"2",
"c=a[2]-a[1]-a[0]",
"c",
"a[2]-a[1]-a[0]",
"a[2]-a[1]",
"a[2]",
"a",
"2",
"a[1]",
"a",
"1",
"a[0]",
"a",
"0",
"if b==17 and (c==-7 or c==-3):\n \n print('YES')\n\nelse:\n print('NO')",
"b==17 and (c==-7 or c==-3)",
"b==17",
"b",
"17",
"c==-7 or c==-3",
"c==-7",
"c",
"-7",
"c==-3",
"c",
"-3",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"a=list(map(int,input().split()))",
"list(map(int,input().split()))",
"a",
"c=a[2]-a[1]-a[0]",
"a[2]-a[1]-a[0]",
"c",
"b=a[0]+a[1]+a[2]",
"a[0]+a[1]+a[2]",
"b"
] | 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(\"YES\")\nelse:\n print(\"NO\")",
"(abc.count(\"5\")==2) and (abc.count(\"7\")==1)",
"abc.count(\"5\")==2",
"abc.count(\"5\")",
"abc.count",
"abc",
"count",
"\"5\"",
"2",
"abc.count(\"7\")==1",
"abc.count(\"7\")",
"abc.count",
"abc",
"count",
"\"7\"",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"abc=input().split(\" \")",
"input().split(\" \")",
"abc"
] | 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):\n print(\"YES\")\nelse:\n print(\"NO\")",
"a+b+c==17 and a*b*c==25*7",
"a+b+c==17",
"a+b+c",
"a+b",
"a",
"b",
"c",
"17",
"a*b*c==25*7",
"a*b*c",
"a*b",
"a",
"b",
"c",
"25*7",
"25",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"c=map(int,input().split())",
"map(int,input().split())",
"c",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a"
] | 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\")\nelse:\n print(\"NO\")",
"(a+b+c).count('5')==2 and (a+b+c).count('7') ==1",
"(a+b+c).count('5')==2",
"(a+b+c).count('5')",
"a+b+c).count",
"a+b+c",
"a+b",
"a",
"b",
"c",
"count",
"'5'",
"2",
"(a+b+c).count('7') ==1",
"(a+b+c).count('7')",
"a+b+c).count",
"a+b+c",
"a+b",
"a",
"b",
"c",
"count",
"'7'",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"b,c = input().split()",
"input().split()",
"b",
"c = input().split()",
"input().split()",
"c",
"a,b,c = input().split()",
"input().split()",
"a"
] | 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,
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,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13
] | [
[
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
],
[
95,
49
],
[
100,
52
],
[
95,
56
],
[
97,
59
],
[
101,
64
],
[
89,
64
],
[
83,
64
],
[
80,
64
],
[
98,
67
],
[
92,
67
],
[
107,
67
],
[
104,
67
],
[
94,
77
],
[
79,
80
],
[
82,
83
],
[
94,
86
],
[
88,
89
],
[
91,
92
],
[
94,
95
],
[
97,
98
],
[
100,
101
],
[
103,
104
],
[
106,
107
]
] | [
"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",
"map(int,input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"b_5 = 0",
"b_5",
"0",
"b_7 = 0",
"b_7",
"0",
"if A == 5:\n b_5 += 1\nelif A == 7:\n b_7 += 1",
"A == 5",
"A",
"5",
"b_5 += 1",
"b_5",
"1",
"elif A == 7:\n b_7 += 1",
"A == 7",
"A",
"7",
"b_7 += 1",
"b_7",
"1",
"if B == 5:\n b_5 +=1\nelif B==7:\n b_7 += 1",
"B == 5",
"B",
"5",
"b_5 +=1",
"b_5",
"1",
"elif B==7:\n b_7 += 1",
"B==7",
"B",
"7",
"b_7 += 1",
"b_7",
"1",
"if C==5:\n b_5 +=1\nelif C==7:\n b_7 += 1",
"C==5",
"C",
"5",
"b_5 +=1",
"b_5",
"1",
"elif C==7:\n b_7 += 1",
"C==7",
"C",
"7",
"b_7 += 1",
"b_7",
"1",
"if b_5 == 2 and b_7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"b_5 == 2 and b_7 == 1",
"b_5 == 2",
"b_5",
"2",
"b_7 == 1",
"b_7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"A,B,C = map(int,input().split())",
"map(int,input().split())",
"A",
"b_5 = 0",
"0",
"b_5",
"b_5 += 1",
"1",
"b_5",
"B,C = map(int,input().split())",
"map(int,input().split())",
"B",
"b_5 +=1",
"1",
"b_5",
"b_7 += 1",
"1",
"b_7",
"C = map(int,input().split())",
"map(int,input().split())",
"C",
"b_7 += 1",
"1",
"b_7",
"b_5 +=1",
"1",
"b_5",
"b_7 = 0",
"0",
"b_7",
"b_7 += 1",
"1",
"b_7"
] | 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,
4,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13
] | [
[
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
],
[
56,
57
],
[
68,
60
],
[
62,
63
],
[
65,
66
],
[
68,
69
]
] | [
"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()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"count5 = count7 = 0",
"count5",
"0",
"= count7 = 0",
"count7",
"0",
"for l in li:\n if l == 5:\n count5 += 1\n elif l == 7:\n count7 += 1\n else:\n print(\"NO\")\n exit()",
"l",
"li",
"if l == 5:\n count5 += 1\n elif l == 7:\n count7 += 1\n else:\n print(\"NO\")\n exit()",
"l == 5",
"l",
"5",
"count5 += 1",
"count5",
"1",
"elif l == 7:\n count7 += 1\n ",
"l == 7",
"l",
"7",
"count7 += 1",
"count7",
"1",
"print(\"NO\")",
"print",
"\"NO\"",
"exit()",
"exit",
"if count5 == 2 and count7 == 1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"count5 == 2 and count7 == 1",
"count5 == 2",
"count5",
"2",
"count7 == 1",
"count7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"li = list(map(int, input().split()))",
"list(map(int, input().split()))",
"li",
"count5 = count7 = 0",
"0",
"count5",
"count5 += 1",
"1",
"count5",
"count7 += 1",
"1",
"count7",
"count7 = 0",
"0",
"count7"
] | 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,
17,
4,
13,
17,
10,
4,
13,
10,
4,
13,
10,
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
],
[
68,
66
],
[
68,
69
]
] | [
"a,b,c = map(int,input().split())\nif a == 5 and b == 5 and c == 7:\n print(\"YES\")\nelif a == 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",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if 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 == 5 and b == 5 and c == 7",
"a == 5 and b == 5",
"a == 5",
"a",
"5",
"b == 5",
"b",
"5",
"c == 7",
"c",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"elif a == 7 and b == 5 and c == 5:\n print(\"YES\")",
"a == 7 and b == 5 and c == 5",
"a == 7 and b == 5",
"a == 7",
"a",
"7",
"b == 5",
"b",
"5",
"c == 5",
"c",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"elif a == 5 and b == 7 and c == 5:\n print(\"YES\")",
"a == 5 and b == 7 and c == 5",
"a == 5 and b == 7",
"a == 5",
"a",
"5",
"b == 7",
"b",
"7",
"c == 5",
"c",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"b,c = map(int,input().split())",
"map(int,input().split())",
"b",
"a,b,c = map(int,input().split())",
"map(int,input().split())",
"a",
"c = map(int,input().split())",
"map(int,input().split())",
"c"
] | a,b,c = map(int,input().split())
if a == 5 and b == 5 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' or line == '7 5 5'",
"line == '5 5 7' or line == '5 7 5'",
"line == '5 5 7'",
"line",
"'5 5 7'",
"line == '5 7 5'",
"line",
"'5 7 5'",
"line == '7 5 5'",
"line",
"'7 5 5'",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"line = input()",
"input()",
"line"
] | 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,
13,
17,
18,
13,
17,
17,
2,
18,
13,
17,
17,
4,
13,
17,
4,
13,
17,
4,
13,
10,
18,
13,
10,
17,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13
] | [
[
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# ---------------------------------------\n\ndef main():\n A = inpl()\n A.sort()\n if A[0]==A[1]==5 and A[2]==7:\n print(\"YES\")\n else:\n print(\"NO\")\n\nmain()",
"import sys",
"sys",
"from heapq import heappush, heappop, heapify",
"import math",
"math",
"from math import gcd",
"import itertools as it",
"itertools",
"from collections import deque",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"def inp():\n return int(input())",
"inp",
"return int(input())",
"int(input())",
"int",
"input()",
"input",
"def inpl():\n return list(map(int, input().split()))",
"inpl",
"return list(map(int, input().split()))",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"INF = 1001001001",
"INF",
"1001001001",
"def main():\n A = inpl()\n A.sort()\n if A[0]==A[1]==5 and A[2]==7:\n print(\"YES\")\n else:\n print(\"NO\")",
"main",
"A = inpl()",
"A",
"inpl()",
"inpl",
"A.sort()",
"A.sort",
"A",
"sort",
"if A[0]==A[1]==5 and A[2]==7:\n print(\"YES\")\n else:\n print(\"NO\")",
"A[0]==A[1]==5 and A[2]==7",
"A[0]==A[1]==5",
"A[0]==A[1]",
"A[0]",
"A",
"0",
"A[1]",
"A",
"1",
"5",
"A[2]==7",
"A[2]",
"A",
"2",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"main()",
"main",
"input = sys.stdin.readline",
"sys.stdin.readline",
"input",
"INF = 1001001001",
"1001001001",
"INF",
"def inp():\n return int(input())",
"def inp():\n return int(input())",
"inp",
"def inpl():\n return list(map(int, input().split()))",
"def inpl():\n return list(map(int, input().split()))",
"inpl",
"def main():\n A = inpl()\n A.sort()\n if A[0]==A[1]==5 and A[2]==7:\n print(\"YES\")\n else:\n print(\"NO\")",
"def main():\n A = inpl()\n A.sort()\n if A[0]==A[1]==5 and A[2]==7:\n print(\"YES\")\n else:\n print(\"NO\")",
"main"
] | 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
# ---------------------------------------
def main():
A = inpl()
A.sort()
if A[0]==A[1]==5 and A[2]==7:
print("YES")
else:
print("NO")
main()
|
[
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,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
2,
13,
10,
2,
13,
10,
2,
13,
10,
13,
13,
10,
2,
13,
10,
2,
13,
10,
13,
13,
10,
13,
13,
10,
2,
13,
10,
17,
13,
10,
17,
13
] | [
[
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
],
[
112,
44
],
[
108,
47
],
[
118,
49
],
[
121,
49
],
[
112,
53
],
[
93,
56
],
[
106,
58
],
[
124,
58
],
[
115,
62
],
[
99,
65
],
[
109,
67
],
[
118,
67
],
[
121,
67
],
[
115,
71
],
[
96,
74
],
[
94,
76
],
[
106,
76
],
[
124,
76
],
[
100,
81
],
[
109,
81
],
[
118,
81
],
[
121,
81
],
[
97,
84
],
[
94,
84
],
[
106,
84
],
[
124,
84
],
[
93,
94
],
[
96,
97
],
[
99,
100
],
[
114,
103
],
[
105,
106
],
[
108,
109
],
[
114,
112
],
[
114,
115
],
[
117,
118
],
[
120,
121
],
[
123,
124
]
] | [
"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):\n print(\"YES\")\nelse:\n print(\"NO\")",
"num5 = 0",
"num5",
"0",
"num7 = 0",
"num7",
"0",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"a, b, c = (int(x) for x in input().split())",
"a",
"(int(x) for x in input().split())",
"b",
"c",
"if (a == 5):\n num5 = num5 +1\nelif (a == 7):\n num7 = num7 +1",
"a == 5",
"a",
"5",
"num5 = num5 +1",
"num5",
"num5 +1",
"num5",
"1",
"elif (a == 7):\n num7 = num7 +1",
"a == 7",
"a",
"7",
"num7 = num7 +1",
"num7",
"num7 +1",
"num7",
"1",
"if (b == 5):\n num5 = num5 +1\nelif (b == 7):\n num7 = num7 +1",
"b == 5",
"b",
"5",
"num5 = num5 +1",
"num5",
"num5 +1",
"num5",
"1",
"elif (b == 7):\n num7 = num7 +1",
"b == 7",
"b",
"7",
"num7 = num7 +1",
"num7",
"num7 +1",
"num7",
"1",
"if (c == 5):\n num5 = num5 +1\nelif (c == 7):\n num7 = num7 +1",
"c == 5",
"c",
"5",
"num5 = num5 +1",
"num5",
"num5 +1",
"num5",
"1",
"elif (c == 7):\n num7 = num7 +1",
"c == 7",
"c",
"7",
"num7 = num7 +1",
"num7",
"num7 +1",
"num7",
"1",
"if (num5 == 2) and (num7 == 1):\n print(\"YES\")\nelse:\n print(\"NO\")",
"(num5 == 2) and (num7 == 1)",
"num5 == 2",
"num5",
"2",
"num7 == 1",
"num7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"num7 = num7 +1",
"num7 +1",
"num7",
"num7 = num7 +1",
"num7 +1",
"num7",
"num5 = num5 +1",
"num5 +1",
"num5",
"a, b, c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"a",
"num7 = num7 +1",
"num7 +1",
"num7",
"num5 = num5 +1",
"num5 +1",
"num5",
"b, c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"b",
"c = (int(x) for x in input().split())",
"(int(x) for x in input().split())",
"c",
"num5 = num5 +1",
"num5 +1",
"num5",
"num5 = 0",
"0",
"num5",
"num7 = 0",
"0",
"num7"
] | 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:
print("NO")
|
[
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",
"[int(x) for x in input().split()]",
"L.sort()",
"L.sort",
"L",
"sort",
"if L == [5,5,7]:\n print(\"YES\")\nelse:\n print(\"NO\")",
"L == [5,5,7]",
"L",
"[5,5,7]",
"5",
"5",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"L = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"L"
] | 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,
0,
13,
4,
13,
13,
13,
14,
2,
2,
2,
2,
2,
13,
13,
17,
2,
13,
17,
2,
2,
2,
13,
13,
17,
2,
13,
17,
2,
2,
2,
13,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
12,
13,
10,
4,
13,
10,
17,
13,
10,
12,
13,
10,
4,
13,
10,
4,
13
] | [
[
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
],
[
102,
71
],
[
111,
76
],
[
102,
77
],
[
114,
80
],
[
114,
85
],
[
102,
86
],
[
111,
89
],
[
113,
102
],
[
104,
105
],
[
113,
111
],
[
113,
114
]
] | [
"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(input())\n t = 1\n\n for ti in range(1, t + 1):\n a, b, c = int_input()\n\n if (a == b == 5 and c == 7) or (a == c == 5 and b == 7) or (b == c ==5 and a == 7):\n print('YES')\n else:\n print('NO')\n",
"import sys",
"sys",
"import math",
"math",
"import collections",
"collections",
"import heapq",
"heapq",
"def set_debug(debug_mode=False):\n if debug_mode:\n fin = open('input.txt', 'r')\n sys.stdin = fin",
"set_debug",
"if debug_mode:\n fin = open('input.txt', 'r')\n sys.stdin = fin",
"debug_mode",
"fin = open('input.txt', 'r')",
"fin",
"open('input.txt', 'r')",
"open",
"'input.txt'",
"'r'",
"sys.stdin = fin",
"sys.stdin",
"sys",
"stdin",
"fin",
"debug_mode=False",
"debug_mode",
"False",
"def int_input():\n return list(map(int, input().split()))",
"int_input",
"return list(map(int, input().split()))",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"if __name__ == '__main__':\n # set_debug(True)\n\n # t = int(input())\n t = 1\n\n for ti in range(1, t + 1):\n a, b, c = int_input()\n\n if (a == b == 5 and c == 7) or (a == c == 5 and b == 7) or (b == c ==5 and a == 7):\n print('YES')\n else:\n print('NO')",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"t = 1",
"t",
"1",
"for ti in range(1, t + 1):\n a, b, c = int_input()\n\n if (a == b == 5 and c == 7) or (a == c == 5 and b == 7) or (b == c ==5 and a == 7):\n print('YES')\n else:\n print('NO')",
"ti",
"range(1, t + 1)",
"range",
"1",
"t + 1",
"t",
"1",
"a, b, c = int_input()",
"a",
"int_input()",
"int_input",
"b",
"c",
"if (a == b == 5 and c == 7) or (a == c == 5 and b == 7) or (b == c ==5 and a == 7):\n print('YES')\n else:\n print('NO')",
"(a == b == 5 and c == 7) or (a == c == 5 and b == 7) or (b == c ==5 and a == 7)",
"(a == b == 5 and c == 7) or (a == c == 5 and b == 7)",
"a == b == 5 and c == 7",
"a == b == 5",
"a == b",
"a",
"b",
"5",
"c == 7",
"c",
"7",
"a == c == 5 and b == 7",
"a == c == 5",
"a == c",
"a",
"c",
"5",
"b == 7",
"b",
"7",
"b == c ==5 and a == 7",
"b == c ==5",
"b == c",
"b",
"c",
"5",
"a == 7",
"a",
"7",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"def set_debug(debug_mode=False):\n if debug_mode:\n fin = open('input.txt', 'r')\n sys.stdin = fin",
"def set_debug(debug_mode=False):\n if debug_mode:\n fin = open('input.txt', 'r')\n sys.stdin = fin",
"set_debug",
"c = int_input()",
"int_input()",
"c",
"t = 1",
"1",
"t",
"def int_input():\n return list(map(int, input().split()))",
"def int_input():\n return list(map(int, input().split()))",
"int_input",
"a, b, c = int_input()",
"int_input()",
"a",
"b, c = int_input()",
"int_input()",
"b"
] | 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
for ti in range(1, t + 1):
a, b, c = int_input()
if (a == b == 5 and c == 7) or (a == c == 5 and b == 7) or (b == c ==5 and a == 7):
print('YES')
else:
print('NO')
|
[
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,
13,
18,
13,
13,
13,
4,
18,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
0,
13,
17,
0,
13,
17,
4,
18,
13,
13,
13,
13,
23,
13,
12,
13,
0,
13,
17,
0,
13,
17,
4,
18,
13,
13,
13,
13,
23,
13,
18,
13,
13,
12,
13,
0,
13,
4,
13,
4,
18,
4,
13,
13,
14,
2,
2,
4,
18,
13,
13,
17,
17,
2,
4,
18,
13,
13,
17,
17,
4,
13,
17,
4,
13,
17,
14,
2,
13,
17,
4,
13,
10,
6,
13,
10,
12,
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
],
[
11,
54
],
[
11,
55
],
[
59,
56
],
[
15,
58
],
[
15,
59
],
[
67,
62
],
[
41,
64
],
[
71,
65
],
[
67,
67
],
[
69,
69
],
[
71,
71
],
[
76,
75
],
[
79,
78
],
[
87,
82
],
[
9,
83
],
[
75,
84
],
[
78,
85
],
[
87,
87
],
[
92,
91
],
[
95,
94
],
[
103,
98
],
[
9,
99
],
[
91,
100
],
[
94,
101
],
[
103,
103
],
[
111,
110
],
[
110,
123
],
[
110,
130
],
[
151,
145
]
] | [
"#\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 out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n def test_入力例_1(self):\n input = \"\"\"5 5 7\"\"\"\n output = \"\"\"YES\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_2(self):\n input = \"\"\"7 7 5\"\"\"\n output = \"\"\"NO\"\"\"\n self.assertIO(input, output)\n\n\ndef resolve():\n L = list(input().split())\n if L.count(\"5\") == 2 and L.count(\"7\") == 1:\n print(\"YES\")\n else:\n print(\"NO\")\n\n\nif __name__ == \"__main__\":\n # unittest.main()\n resolve()",
"import sys",
"sys",
"from io import StringIO",
"import unittest",
"unittest",
"class 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 out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n def test_入力例_1(self):\n input = \"\"\"5 5 7\"\"\"\n output = \"\"\"YES\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_2(self):\n input = \"\"\"7 7 5\"\"\"\n output = \"\"\"NO\"\"\"\n self.assertIO(input, output)",
"TestClass",
"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 out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n ",
"assertIO",
"stdout, stdin = sys.stdout, sys.stdin",
"stdout",
"sys.stdout",
"sys",
"stdout",
"stdin",
"sys.stdin",
"sys",
"stdin",
"sys.stdout, sys.stdin = StringIO(), StringIO(input)",
"sys.stdout",
"sys",
"stdout",
"StringIO()",
"StringIO",
"sys.stdin",
"sys",
"stdin",
"StringIO(input)",
"StringIO",
"input",
"resolve()",
"resolve",
"sys.stdout.seek(0)",
"sys.stdout.seek",
"sys.stdout",
"sys",
"stdout",
"seek",
"0",
"out = sys.stdout.read()[:-1]",
"out",
"sys.stdout.read()[:-1]",
"sys.stdout.read()",
"sys.stdout.read",
"sys.stdout",
"sys",
"stdout",
"read",
":-1",
"-1",
"sys.stdout, sys.stdin = stdout, stdin",
"sys.stdout",
"sys",
"stdout",
"stdout",
"sys.stdin",
"sys",
"stdin",
"stdin",
"self.assertEqual(out, output)",
"self.assertEqual",
"self",
"assertEqual",
"out",
"output",
"self",
"self",
"input",
"input",
"output",
"output",
"def test_入力例_1(self):\n input = \"\"\"5 5 7\"\"\"\n output = \"\"\"YES\"\"\"\n self.assertIO(input, output)\n\n ",
"test_入力例_1",
"input = \"\"\"5 5 7\"\"\"",
"input",
"\"\"\"5 5 7\"\"\"",
"output = \"\"\"YES\"\"\"",
"output",
"\"\"\"YES\"\"\"",
"self.assertIO(input, output)",
"self.assertIO",
"self",
"assertIO",
"input",
"output",
"self",
"self",
"def test_入力例_2(self):\n input = \"\"\"7 7 5\"\"\"\n output = \"\"\"NO\"\"\"\n self.assertIO(input, output)",
"test_入力例_2",
"input = \"\"\"7 7 5\"\"\"",
"input",
"\"\"\"7 7 5\"\"\"",
"output = \"\"\"NO\"\"\"",
"output",
"\"\"\"NO\"\"\"",
"self.assertIO(input, output)",
"self.assertIO",
"self",
"assertIO",
"input",
"output",
"self",
"self",
"unittest.TestCase",
"unittest",
"TestCase",
"def resolve():\n L = list(input().split())\n if L.count(\"5\") == 2 and L.count(\"7\") == 1:\n print(\"YES\")\n else:\n print(\"NO\")",
"resolve",
"L = list(input().split())",
"L",
"list(input().split())",
"list",
"input().split()",
"().split",
"()",
"input",
"split",
"if L.count(\"5\") == 2 and L.count(\"7\") == 1:\n print(\"YES\")\n else:\n print(\"NO\")",
"L.count(\"5\") == 2 and L.count(\"7\") == 1",
"L.count(\"5\") == 2",
"L.count(\"5\")",
"L.count",
"L",
"count",
"\"5\"",
"2",
"L.count(\"7\") == 1",
"L.count(\"7\")",
"L.count",
"L",
"count",
"\"7\"",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"if __name__ == \"__main__\":\n # unittest.main()\n resolve()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"resolve()",
"resolve",
"class 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 out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n def test_入力例_1(self):\n input = \"\"\"5 5 7\"\"\"\n output = \"\"\"YES\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_2(self):\n input = \"\"\"7 7 5\"\"\"\n output = \"\"\"NO\"\"\"\n self.assertIO(input, output)",
"class 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 out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n\n def test_入力例_1(self):\n input = \"\"\"5 5 7\"\"\"\n output = \"\"\"YES\"\"\"\n self.assertIO(input, output)\n\n def test_入力例_2(self):\n input = \"\"\"7 7 5\"\"\"\n output = \"\"\"NO\"\"\"\n self.assertIO(input, output)",
"TestClass",
"def resolve():\n L = list(input().split())\n if L.count(\"5\") == 2 and L.count(\"7\") == 1:\n print(\"YES\")\n else:\n print(\"NO\")",
"def resolve():\n L = list(input().split())\n if L.count(\"5\") == 2 and L.count(\"7\") == 1:\n print(\"YES\")\n else:\n print(\"NO\")",
"resolve"
] | #
# 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.read()[:-1]
sys.stdout, sys.stdin = stdout, stdin
self.assertEqual(out, output)
def test_入力例_1(self):
input = """5 5 7"""
output = """YES"""
self.assertIO(input, output)
def test_入力例_2(self):
input = """7 7 5"""
output = """NO"""
self.assertIO(input, output)
def resolve():
L = list(input().split())
if L.count("5") == 2 and L.count("7") == 1:
print("YES")
else:
print("NO")
if __name__ == "__main__":
# unittest.main()
resolve()
|
[
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,
0,
13,
17,
0,
13,
17,
4,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13
] | [
[
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,
55
],
[
59,
58
],
[
62,
61
],
[
61,
65
],
[
58,
65
],
[
43,
65
],
[
28,
65
],
[
74,
71
]
] | [
"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__\":\n main()",
"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)",
"main",
"a, b, c = map(int, input().split())",
"a",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"if a == 5 and b == 5 and c == 7:\n 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 ",
"a == 5 and b == 5 and c == 7",
"a == 5 and b == 5",
"a == 5",
"a",
"5",
"b == 5",
"b",
"5",
"c == 7",
"c",
"7",
"ans = 'YES'",
"ans",
"'YES'",
"elif a == 5 and b == 7 and c == 5:\n ans = 'YES'\n ",
"a == 5 and b == 7 and c == 5",
"a == 5 and b == 7",
"a == 5",
"a",
"5",
"b == 7",
"b",
"7",
"c == 5",
"c",
"5",
"ans = 'YES'",
"ans",
"'YES'",
"elif a == 7 and b == 5 and c == 5:\n ans = 'YES'\n ",
"a == 7 and b == 5 and c == 5",
"a == 7 and b == 5",
"a == 7",
"a",
"7",
"b == 5",
"b",
"5",
"c == 5",
"c",
"5",
"ans = 'YES'",
"ans",
"'YES'",
"ans = 'NO'",
"ans",
"'NO'",
"print(ans)",
"print",
"ans",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"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)",
"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)",
"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,
10,
4,
13,
10,
4,
13,
10,
12,
13
] | [
[
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'",
"actual",
"if (A, B, C) in [(5, 5, 7), (5, 7, 5), (7, 5, 5)]:\n return 'YES'\n\n ",
"(A, B, C) in [(5, 5, 7), (5, 7, 5), (7, 5, 5)]",
"(A, B, C)",
"A",
"B",
"C",
"[(5, 5, 7), (5, 7, 5), (7, 5, 5)]",
"(5, 5, 7)",
"5",
"5",
"7",
"(5, 7, 5)",
"5",
"7",
"5",
"(7, 5, 5)",
"7",
"5",
"5",
"return 'YES'",
"'YES'",
"return 'NO'",
"'NO'",
"A",
"A",
"B",
"B",
"C",
"C",
"A, B, C = map(int, input().split())",
"A",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"print(actual(A, B, C))",
"print",
"actual(A, B, C)",
"actual",
"A",
"B",
"C",
"C = map(int, input().split())",
"map(int, input().split())",
"C",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B",
"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'",
"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'",
"actual"
] | 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,
10,
4,
13,
10,
4,
13,
10,
39,
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
],
[
60,
58
],
[
60,
61
],
[
63,
64
]
] | [
"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",
"input().split()",
"().split",
"()",
"input",
"split",
"B",
"C",
"ans.append(A)",
"ans.append",
"ans",
"append",
"A",
"ans.append(B)",
"ans.append",
"ans",
"append",
"B",
"ans.append(C)",
"ans.append",
"ans",
"append",
"C",
"if ans.count(5) == 2 and ans.count(7) == 1:\n print('YES')\nelse:\n print('NO')",
"ans.count(5) == 2 and ans.count(7) == 1",
"ans.count(5) == 2",
"ans.count(5)",
"ans.count",
"ans",
"count",
"5",
"2",
"ans.count(7) == 1",
"ans.count(7)",
"ans.count",
"ans",
"count",
"7",
"1",
"print('YES')",
"print",
"'YES'",
"print('NO')",
"print",
"'NO'",
"B, C = map(int, input().split())",
"map(int, input().split())",
"B",
"A, B, C = map(int, input().split())",
"map(int, input().split())",
"A",
"C = map(int, input().split())",
"map(int, input().split())",
"C",
"ans = []",
"[]",
"ans"
] | 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,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
4,
13,
17,
4,
13,
17,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
17,
13,
10,
17,
13,
10,
4,
13
] | [
[
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
],
[
107,
49
],
[
94,
52
],
[
107,
56
],
[
103,
59
],
[
95,
64
],
[
83,
64
],
[
86,
64
],
[
89,
64
],
[
104,
67
],
[
101,
67
],
[
80,
67
],
[
77,
67
],
[
76,
77
],
[
79,
80
],
[
82,
83
],
[
85,
86
],
[
88,
89
],
[
106,
92
],
[
94,
95
],
[
106,
98
],
[
100,
101
],
[
103,
104
],
[
106,
107
]
] | [
"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",
"input().split()",
"().split",
"()",
"input",
"split",
"b",
"c",
"b5=0",
"b5",
"0",
"b7=0",
"b7",
"0",
"if a==5:\n b5+=1",
"a==5",
"a",
"5",
"b5+=1",
"b5",
"1",
"if a==7:\n b7+=1",
"a==7",
"a",
"7",
"b7+=1",
"b7",
"1",
"if b==5:\n b5+=1",
"b==5",
"b",
"5",
"b5+=1",
"b5",
"1",
"if b==7:\n b7+=1",
"b==7",
"b",
"7",
"b7+=1",
"b7",
"1",
"if c==5:\n b5+=1",
"c==5",
"c",
"5",
"b5+=1",
"b5",
"1",
"if c==7:\n b7+=1",
"c==7",
"c",
"7",
"b7+=1",
"b7",
"1",
"if b5==2 and b7==1:\n print(\"YES\")\nelse:\n print(\"NO\")",
"b5==2 and b7==1",
"b5==2",
"b5",
"2",
"b7==1",
"b7",
"1",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"b7=0",
"0",
"b7",
"b7+=1",
"1",
"b7",
"b5+=1",
"1",
"b5",
"b5+=1",
"1",
"b5",
"b5=0",
"0",
"b5",
"b,c=map(int,input().split())",
"map(int,input().split())",
"b",
"b5+=1",
"1",
"b5",
"a,b,c=map(int,input().split())",
"map(int,input().split())",
"a",
"b7+=1",
"1",
"b7",
"b7+=1",
"1",
"b7",
"c=map(int,input().split())",
"map(int,input().split())",
"c"
] | 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",
"split",
"if a.count(7) == 1 and a.count(5):\n print(\"YES\")\nelse:\n print(\"NO\")",
"a.count(7) == 1 and a.count(5)",
"a.count(7) == 1",
"a.count(7)",
"a.count",
"a",
"count",
"7",
"1",
"a.count(5)",
"a.count",
"a",
"count",
"5",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"a = list(map(int,input().split()))",
"list(map(int,input().split()))",
"a"
] | a = list(map(int,input().split()))
if 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",
"ans = [5, 5, 7]",
"ans",
"[5, 5, 7]",
"5",
"5",
"7",
"print('YES' if ll == ans else 'NO')",
"print",
"'YES' if ll == ans else 'NO'",
"ll == ans",
"ll",
"ans",
"'YES'",
"'NO'",
"ans = [5, 5, 7]",
"[5, 5, 7]",
"ans",
"ll = sorted(map(int, input().split()))",
"sorted(map(int, input().split()))",
"ll"
] | 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\")\nelse:\n print(\"NO\")",
"A+B+C == 17",
"A+B+C",
"A+B",
"A",
"B",
"C",
"17",
"print(\"YES\")",
"print",
"\"YES\"",
"print(\"NO\")",
"print",
"\"NO\"",
"C = map(int,input().split())",
"map(int,input().split())",
"C",
"A,B,C = map(int,input().split())",
"map(int,input().split())",
"A",
"B,C = map(int,input().split())",
"map(int,input().split())",
"B"
] | A,B,C = map(int,input().split())
if (A+B+C == 17):
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,
13,
10,
17,
13
] | [
[
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())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"A.sort()",
"A.sort",
"A",
"sort",
"flag=0",
"flag",
"0",
"if A[0]==5:\n if A[1]==5:\n if A[2]==7:\n print(\"YES\")\n flag+=1",
"A[0]==5",
"A[0]",
"A",
"0",
"5",
"if A[1]==5:\n if A[2]==7:\n print(\"YES\")\n flag+=1",
"A[1]==5",
"A[1]",
"A",
"1",
"5",
"if A[2]==7:\n print(\"YES\")\n flag+=1",
"A[2]==7",
"A[2]",
"A",
"2",
"7",
"print(\"YES\")",
"print",
"\"YES\"",
"flag+=1",
"flag",
"1",
"if flag==0:\n print(\"NO\")",
"flag==0",
"flag",
"0",
"print(\"NO\")",
"print",
"\"NO\"",
"A=list(map(int,input().split()))",
"list(map(int,input().split()))",
"A",
"flag+=1",
"1",
"flag",
"flag=0",
"0",
"flag"
] | 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,
13
] | [
[
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
],
[
46,
47
],
[
55,
50
],
[
52,
53
],
[
55,
56
]
] | [
"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",
"split",
"L",
"for i in range(N):\n S=input()\n R.append(S)",
"i",
"range(N)",
"range",
"N",
"S=input()",
"S",
"input()",
"input",
"R.append(S)",
"R.append",
"R",
"append",
"S",
"R=sorted(R)",
"R",
"sorted(R)",
"sorted",
"R",
"print(\"\".join(R))",
"print",
"\"\".join(R)",
"\"\".join",
"\"\"",
"join",
"R",
"R=list()",
"list()",
"R",
"S=input()",
"input()",
"S",
"L=map(int,input().split())",
"map(int,input().split())",
"L",
"R=sorted(R)",
"sorted(R)",
"R",
"N,L=map(int,input().split())",
"map(int,input().split())",
"N"
] | 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)",
"for i in range(N)",
"i",
"range(N)",
"range",
"N",
"for i in range(N)",
"str(input())",
"str",
"input()",
"input",
"S = [str(input()) for i in range(N)]",
"S",
"[str(input()) for i in range(N)]",
"S = sorted(S)",
"S",
"sorted(S)",
"sorted",
"S",
"print(''.join(S))",
"print",
"''.join(S)",
"''.join",
"''",
"join",
"S",
"N, L = map(int, input().split())",
"map(int, input().split())",
"N",
"S = [str(input()) for i in range(N)]",
"[str(input()) for i in range(N)]",
"S",
"L = map(int, input().split())",
"map(int, input().split())",
"L",
"S = sorted(S)",
"sorted(S)",
"S"
] | 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,
13,
13,
4,
18,
4,
18,
18,
13,
13,
13,
13,
0,
13,
12,
4,
13,
4,
13,
13,
4,
18,
4,
18,
18,
13,
13,
13,
13,
0,
13,
4,
13,
17,
0,
13,
2,
2,
17,
17,
17,
0,
13,
4,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
4,
13,
13,
4,
13,
31,
13,
0,
13,
17,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
4,
13,
10,
2,
13
] | [
[
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,
108
],
[
137,
110
],
[
138,
117
],
[
120,
119
],
[
122,
123
],
[
125,
126
],
[
128,
129
],
[
131,
132
],
[
134,
135
],
[
137,
138
],
[
146,
141
],
[
143,
144
],
[
146,
147
],
[
149,
150
]
] | [
"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())\nrl = lambda: list(map(int, sys.stdin.readline().split()))\ninf = float('inf')\nmod = 10**9 + 7\n\nn, l = rm()\ns = sorted([rr() for _ in range(n)])\nprint(*s, sep='')\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",
"import sys",
"sys",
"import math",
"math",
"import itertools",
"itertools",
"import collections",
"collections",
"import heapq",
"heapq",
"import re",
"re",
"import numpy as np",
"numpy",
"from functools import reduce",
"rr = lambda: sys.stdin.readline().rstrip()",
"rr",
"lambda: sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"rstrip",
"rs = lambda: sys.stdin.readline().split()",
"rs",
"lambda: sys.stdin.readline().split()",
"sys.stdin.readline().split()",
"sys.stdin.readline().split",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"split",
"ri = lambda: int(sys.stdin.readline())",
"ri",
"lambda: int(sys.stdin.readline())",
"int(sys.stdin.readline())",
"int",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"rm = lambda: map(int, sys.stdin.readline().split())",
"rm",
"lambda: map(int, sys.stdin.readline().split())",
"map(int, sys.stdin.readline().split())",
"map",
"int",
"sys.stdin.readline().split()",
"sys.stdin.readline().split",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"split",
"rl = lambda: list(map(int, sys.stdin.readline().split()))",
"rl",
"lambda: list(map(int, sys.stdin.readline().split()))",
"list(map(int, sys.stdin.readline().split()))",
"list",
"map(int, sys.stdin.readline().split())",
"map",
"int",
"sys.stdin.readline().split()",
"sys.stdin.readline().split",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"split",
"inf = float('inf')",
"inf",
"float('inf')",
"float",
"'inf'",
"mod = 10**9 + 7",
"mod",
"10**9 + 7",
"10**9",
"10",
"9",
"7",
"n, l = rm()",
"n",
"rm()",
"rm",
"l",
"rr() for _ in range(n)",
"for _ in range(n)",
"_",
"range(n)",
"range",
"n",
"for _ in range(n)",
"rr()",
"rr",
"s = sorted([rr() for _ in range(n)])",
"s",
"sorted([rr() for _ in range(n)])",
"sorted",
"[rr() for _ in range(n)]",
"print(*s, sep='')",
"print",
"*s",
"s",
"sep=''",
"sep",
"''",
"rs = lambda: sys.stdin.readline().split()",
"lambda: sys.stdin.readline().split()",
"rs",
"rl = lambda: list(map(int, sys.stdin.readline().split()))",
"lambda: list(map(int, sys.stdin.readline().split()))",
"rl",
"rm = lambda: map(int, sys.stdin.readline().split())",
"lambda: map(int, sys.stdin.readline().split())",
"rm",
"ri = lambda: int(sys.stdin.readline())",
"lambda: int(sys.stdin.readline())",
"ri",
"rr = lambda: sys.stdin.readline().rstrip()",
"lambda: sys.stdin.readline().rstrip()",
"rr",
"s = sorted([rr() for _ in range(n)])",
"sorted([rr() for _ in range(n)])",
"s",
"n, l = rm()",
"rm()",
"n",
"inf = float('inf')",
"float('inf')",
"inf",
"l = rm()",
"rm()",
"l",
"mod = 10**9 + 7",
"10**9 + 7",
"mod"
] | 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: list(map(int, sys.stdin.readline().split()))
inf = float('inf')
mod = 10**9 + 7
n, l = rm()
s = sorted([rr() for _ in range(n)])
print(*s, sep='')
|
[
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,
39,
13,
10,
18,
13,
10,
4,
13
] | [
[
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
],
[
59,
47
],
[
53,
47
],
[
61,
50
],
[
52,
53
],
[
55,
56
],
[
58,
59
],
[
61,
62
]
] | [
"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()",
"().split",
"()",
"input",
"split",
"l",
"strList = []",
"strList",
"[]",
"for _ in range(0, n):\n strList.append(input())",
"_",
"range(0, n)",
"range",
"0",
"n",
"strList.append(input())",
"strList.append",
"strList",
"append",
"input()",
"input",
"strList.sort()",
"strList.sort",
"strList",
"sort",
"ans = \"\"",
"ans",
"\"\"",
"for i in range(0, n):\n ans += strList[i]",
"i",
"range(0, n)",
"range",
"0",
"n",
"ans += strList[i]",
"ans",
"strList[i]",
"strList",
"i",
"print(ans)",
"print",
"ans",
"l = map(int, input().split())",
"map(int, input().split())",
"l",
"ans = \"\"",
"\"\"",
"ans",
"strList = []",
"[]",
"strList",
"ans += strList[i]",
"strList[i]",
"ans",
"n, l = map(int, input().split())",
"map(int, input().split())",
"n"
] | 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, L = list(map(int, input().split()))",
"N",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"L",
"input() for i in range(N)",
"for i in range(N)",
"i",
"range(N)",
"range",
"N",
"for i in range(N)",
"input()",
"input",
"S_list = [input() for i in range(N)]",
"S_list",
"[input() for i in range(N)]",
"print(\"\".join(sorted(S_list)))",
"print",
"\"\".join(sorted(S_list))",
"\"\".join",
"\"\"",
"join",
"sorted(S_list)",
"sorted",
"S_list",
"resolve()",
"resolve",
"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)))",
"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"
] | 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)",
"_",
"range(n)",
"range",
"n",
"for _ in range(n)",
"input()",
"input",
"s = [input() for _ in range(n)]",
"s",
"[input() for _ in range(n)]",
"print(''.join(sorted(s)))",
"print",
"''.join(sorted(s))",
"''.join",
"''",
"join",
"sorted(s)",
"sorted",
"s",
"n, l = map(int,input().split())",
"map(int,input().split())",
"n",
"l = map(int,input().split())",
"map(int,input().split())",
"l",
"s = [input() for _ in range(n)]",
"[input() for _ in range(n)]",
"s"
] | 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 = []",
"lst",
"[]",
"for i in range(N):\n lst.append(input())",
"i",
"range(N)",
"range",
"N",
"lst.append(input())",
"lst.append",
"lst",
"append",
"input()",
"input",
"slst = sorted(lst)",
"slst",
"sorted(lst)",
"sorted",
"lst",
"print(\"\".join(slst))",
"print",
"\"\".join(slst)",
"\"\".join",
"\"\"",
"join",
"slst",
"lst = []",
"[]",
"lst",
"N, L = map(int, input().split())",
"map(int, input().split())",
"N",
"slst = sorted(lst)",
"sorted(lst)",
"slst",
"L = map(int, input().split())",
"map(int, input().split())",
"L"
] | 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
],
[
50,
51
],
[
53,
54
]
] | [
"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()",
"int(x)",
"int",
"x",
"N, L = [int(x) for x in input().split()]",
"N",
"[int(x) for x in input().split()]",
"L",
"S_list = []",
"S_list",
"[]",
"for i in range(N):\n S_list.append(input())\n ",
"i",
"range(N)",
"range",
"N",
"S_list.append(input())",
"S_list.append",
"S_list",
"append",
"input()",
"input",
"S = ''.join(sorted(S_list))",
"S",
"''.join(sorted(S_list))",
"''.join",
"''",
"join",
"sorted(S_list)",
"sorted",
"S_list",
"print(S)",
"print",
"S",
"L = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"L",
"S_list = []",
"[]",
"S_list",
"N, L = [int(x) for x in input().split()]",
"[int(x) for x in input().split()]",
"N",
"S = ''.join(sorted(S_list))",
"''.join(sorted(S_list))",
"S"
] | 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)",
"_",
"range(n)",
"range",
"n",
"for _ in range(n)",
"input()",
"input",
"ar=[input() for _ in range(n)]",
"ar",
"[input() for _ in range(n)]",
"ar=sorted(ar)",
"ar",
"sorted(ar)",
"sorted",
"ar",
"print(''.join(ar))",
"print",
"''.join(ar)",
"''.join",
"''",
"join",
"ar",
"ar=[input() for _ in range(n)]",
"[input() for _ in range(n)]",
"ar",
"n,k=map(int,input().split())",
"map(int,input().split())",
"n",
"k=map(int,input().split())",
"map(int,input().split())",
"k",
"ar=sorted(ar)",
"sorted(ar)",
"ar"
] | 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)",
"i",
"range(n)",
"range",
"n",
"for i in range(n)",
"input()",
"input",
"s = [input() for i in range(n)]",
"s",
"[input() for i in range(n)]",
"s.sort()",
"s.sort",
"s",
"sort",
"print(''.join(s))",
"print",
"''.join(s)",
"''.join",
"''",
"join",
"s",
"l = map(int,input().split())",
"map(int,input().split())",
"l",
"n,l = map(int,input().split())",
"map(int,input().split())",
"n",
"s = [input() for i in range(n)]",
"[input() for i in range(n)]",
"s"
] | 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 range(n):\n li.append(input())\n li.sort()\n print(\"\".join(li))",
"main",
"n, l = map(int, input().split())",
"n",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"l",
"li = []",
"li",
"[]",
"for i in range(n):\n li.append(input())\n ",
"i",
"range(n)",
"range",
"n",
"li.append(input())",
"li.append",
"li",
"append",
"input()",
"input",
"li.sort()",
"li.sort",
"li",
"sort",
"print(\"\".join(li))",
"print",
"\"\".join(li)",
"\"\".join",
"\"\"",
"join",
"li",
"if __name__ == \"__main__\":\n main()",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"def 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))",
"def 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))",
"main"
] | # 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,
4,
13
] | [
[
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
],
[
42,
41
],
[
44,
45
],
[
47,
48
],
[
50,
51
],
[
56,
54
],
[
56,
57
]
] | [
"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()",
"().split",
"()",
"input",
"split",
"l",
"s_list = []",
"s_list",
"[]",
"for i in range(n):\n s = input()\n s_list.append(s)",
"i",
"range(n)",
"range",
"n",
"s = input()",
"s",
"input()",
"input",
"s_list.append(s)",
"s_list.append",
"s_list",
"append",
"s",
"s_list_sorted = sorted(s_list)",
"s_list_sorted",
"sorted(s_list)",
"sorted",
"s_list",
"for s_i in s_list_sorted:\n print(s_i,end = \"\")",
"s_i",
"s_list_sorted",
"print(s_i,end = \"\")",
"print",
"s_i",
"end = \"\"",
"end",
"\"\"",
"s = input()",
"input()",
"s",
"s_list_sorted = sorted(s_list)",
"sorted(s_list)",
"s_list_sorted",
"s_list = []",
"[]",
"s_list",
"n,l = map(int,input().split())",
"map(int,input().split())",
"n",
"l = map(int,input().split())",
"map(int,input().split())",
"l"
] | 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)",
"_",
"range(N)",
"range",
"N",
"for _ in range(N)",
"input()",
"input",
"s = [input() for _ in range(N)]",
"s",
"[input() for _ in range(N)]",
"s = sorted(s)",
"s",
"sorted(s)",
"sorted",
"s",
"print(''.join(s))",
"print",
"''.join(s)",
"''.join",
"''",
"join",
"s",
"N,L=map(int,input().split())",
"map(int,input().split())",
"N",
"L=map(int,input().split())",
"map(int,input().split())",
"L",
"s = [input() for _ in range(N)]",
"[input() for _ in range(N)]",
"s",
"s = sorted(s)",
"sorted(s)",
"s"
] | 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,
0,
13,
12,
13,
0,
13,
2,
17,
17,
0,
13,
2,
2,
17,
17,
17,
0,
13,
12,
4,
13,
13,
2,
13,
17,
13,
23,
12,
13,
0,
13,
4,
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,
10,
2,
13,
10,
2,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
18,
13,
10,
12,
13,
10,
12,
13
] | [
[
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
],
[
137,
73
],
[
129,
79
],
[
129,
81
],
[
87,
86
],
[
147,
88
],
[
87,
89
],
[
92,
91
],
[
95,
94
],
[
86,
97
],
[
91,
100
],
[
135,
103
],
[
91,
106
],
[
91,
114
],
[
132,
120
],
[
122,
123
],
[
125,
126
],
[
128,
129
],
[
134,
135
],
[
137,
138
],
[
140,
141
],
[
143,
144
],
[
146,
147
]
] | [
"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 = lambda: list(map(int, input().split()))\ngetZList = lambda: [int(x) - 1 for x in input().split()]\n \nINF = 10 ** 20\nMOD = 10**9 + 7\ndivide = lambda x: pow(x, MOD-2, MOD)\n\ndef main():\n n, l = getList()\n lis = []\n for i in range(n):\n lis.append(getS())\n\n lis.sort()\n print(\"\".join(lis))\n\nif __name__ == \"__main__\":\n main()\n ",
"import sys",
"sys",
"from collections import defaultdict, deque, Counter",
"import math",
"math",
"from bisect import bisect_left, bisect_right",
"input = sys.stdin.readline",
"input",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"getS = lambda: input().strip()",
"getS",
"lambda: input().strip()",
"input().strip()",
"().strip",
"()",
"input",
"strip",
"getN = lambda: int(input())",
"getN",
"lambda: int(input())",
"int(input())",
"int",
"input()",
"input",
"getList = lambda: list(map(int, input().split()))",
"getList",
"lambda: list(map(int, input().split()))",
"list(map(int, input().split()))",
"list",
"map(int, input().split())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"int(x) - 1 for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x) - 1",
"int(x)",
"int",
"x",
"1",
"getZList = lambda: [int(x) - 1 for x in input().split()]",
"getZList",
"lambda: [int(x) - 1 for x in input().split()]",
"[int(x) - 1 for x in input().split()]",
"INF = 10 ** 20",
"INF",
"10 ** 20",
"10",
"20",
"MOD = 10**9 + 7",
"MOD",
"10**9 + 7",
"10**9",
"10",
"9",
"7",
"divide = lambda x: pow(x, MOD-2, MOD)",
"divide",
"lambda x: pow(x, MOD-2, MOD)",
"pow(x, MOD-2, MOD)",
"pow",
"x",
"MOD-2",
"MOD",
"2",
"MOD",
"x",
"def main():\n n, l = getList()\n lis = []\n for i in range(n):\n lis.append(getS())\n\n lis.sort()\n print(\"\".join(lis))",
"main",
"n, l = getList()",
"n",
"getList()",
"getList",
"l",
"lis = []",
"lis",
"[]",
"for i in range(n):\n lis.append(getS())\n\n ",
"i",
"range(n)",
"range",
"n",
"lis.append(getS())",
"lis.append",
"lis",
"append",
"getS()",
"getS",
"lis.sort()",
"lis.sort",
"lis",
"sort",
"print(\"\".join(lis))",
"print",
"\"\".join(lis)",
"\"\".join",
"\"\"",
"join",
"lis",
"if __name__ == \"__main__\":\n main()\n ",
"__name__ == \"__main__\"",
"__name__",
"\"__main__\"",
"main()",
"main",
"getN = lambda: int(input())",
"lambda: int(input())",
"getN",
"INF = 10 ** 20",
"10 ** 20",
"INF",
"MOD = 10**9 + 7",
"10**9 + 7",
"MOD",
"def main():\n n, l = getList()\n lis = []\n for i in range(n):\n lis.append(getS())\n\n lis.sort()\n print(\"\".join(lis))",
"def main():\n n, l = getList()\n lis = []\n for i in range(n):\n lis.append(getS())\n\n lis.sort()\n print(\"\".join(lis))",
"main",
"getS = lambda: input().strip()",
"lambda: input().strip()",
"getS",
"divide = lambda x: pow(x, MOD-2, MOD)",
"lambda x: pow(x, MOD-2, MOD)",
"divide",
"input = sys.stdin.readline",
"sys.stdin.readline",
"input",
"getZList = lambda: [int(x) - 1 for x in input().split()]",
"lambda: [int(x) - 1 for x in input().split()]",
"getZList",
"getList = lambda: list(map(int, input().split()))",
"lambda: list(map(int, input().split()))",
"getList"
] | 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(int, input().split()))
getZList = lambda: [int(x) - 1 for x in input().split()]
INF = 10 ** 20
MOD = 10**9 + 7
divide = lambda x: pow(x, MOD-2, MOD)
def main():
n, l = getList()
lis = []
for i in range(n):
lis.append(getS())
lis.sort()
print("".join(lis))
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,
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,
4,
13,
10,
39,
13,
10,
17,
13,
10,
4,
13
] | [
[
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
],
[
60,
44
],
[
37,
45
],
[
54,
48
],
[
63,
48
],
[
65,
51
],
[
53,
54
],
[
56,
57
],
[
59,
60
],
[
62,
63
],
[
65,
66
]
] | [
"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",
"()",
"input",
"split",
"l",
"S = []",
"S",
"[]",
"for i in range(n):\n s = input()\n S.append(s)\n ",
"i",
"range(n)",
"range",
"n",
"s = input()",
"s",
"input()",
"input",
"S.append(s)",
"S.append",
"S",
"append",
"s",
"S.sort()",
"S.sort",
"S",
"sort",
"ans = ''",
"ans",
"''",
"for i in range(n):\n ans += S[i]\n ",
"i",
"range(n)",
"range",
"n",
"ans += S[i]",
"ans",
"S[i]",
"S",
"i",
"print(ans)",
"print",
"ans",
"n, l = map(int, input().split())",
"map(int, input().split())",
"n",
"ans += S[i]",
"S[i]",
"ans",
"s = input()",
"input()",
"s",
"S = []",
"[]",
"S",
"ans = ''",
"''",
"ans",
"l = map(int, input().split())",
"map(int, input().split())",
"l"
] | 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 a.append(input())",
"i",
"range(n)",
"range",
"n",
"a.append(input())",
"a.append",
"a",
"append",
"input()",
"input",
"a.sort()",
"a.sort",
"a",
"sort",
"print(*a,sep=\"\")",
"print",
"*a",
"a",
"sep=\"\"",
"sep",
"\"\"",
"l=map(int,input().split())",
"map(int,input().split())",
"l",
"a=[]",
"[]",
"a",
"n,l=map(int,input().split())",
"map(int,input().split())",
"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,
4,
13,
13,
12,
13,
29,
4,
13,
4,
13,
0,
13,
4,
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,
4,
13,
13,
13,
10,
4,
13,
10,
2,
13,
10,
12,
13,
10,
12,
13,
10,
13,
13,
10,
4,
13,
10,
4,
13,
10,
18,
13,
10,
12,
13
] | [
[
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
],
[
114,
96
],
[
111,
96
],
[
116,
99
],
[
101,
102
],
[
110,
111
],
[
113,
114
],
[
116,
117
],
[
119,
120
]
] | [
"#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,defaultdict,Counter\nimport decimal\nimport re\nimport math\nimport bisect\n#\n#\n#\n# pythonで無理なときは、pypyでやると正解するかも!!\n#\n#\n# my_round_int = lambda x:np.round((x*2 + 1)//2)\n# 四捨五入g\n#\n# インデックス系\n# int min_y = max(0, i - 2), max_y = min(h - 1, i + 2);\n# int min_x = max(0, j - 2), max_x = min(w - 1, j + 2);\n#\n#\nimport sys\nsys.setrecursionlimit(10000000)\nmod = 10**9 + 7\n#mod = 9982443453\n#mod = 998244353\nfrom sys import stdin\nreadline = stdin.readline\ndef readInts():\n return list(map(int,readline().split()))\ndef readTuples():\n return tuple(map(int,readline().split()))\ndef I():\n return int(readline())\nn,l = readInts()\ns = [input() for _ in range(n)]\ns = sorted(s)\nprint(''.join(map(str,s)))",
"from fractions import gcd",
"from itertools import combinations,permutations,accumulate, product",
"from collections import deque,defaultdict,Counter",
"import decimal",
"decimal",
"import re",
"re",
"import math",
"math",
"import bisect",
"bisect",
"import sys",
"sys",
"sys.setrecursionlimit(10000000)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10000000",
"mod = 10**9 + 7",
"mod",
"10**9 + 7",
"10**9",
"10",
"9",
"7",
"from sys import stdin",
"readline = stdin.readline",
"readline",
"stdin.readline",
"stdin",
"readline",
"def readInts():\n return list(map(int,readline().split()))",
"readInts",
"return list(map(int,readline().split()))",
"list(map(int,readline().split()))",
"list",
"map(int,readline().split())",
"map",
"int",
"readline().split()",
"().split",
"()",
"readline",
"split",
"def readTuples():\n return tuple(map(int,readline().split()))",
"readTuples",
"return tuple(map(int,readline().split()))",
"tuple(map(int,readline().split()))",
"tuple",
"map(int,readline().split())",
"map",
"int",
"readline().split()",
"().split",
"()",
"readline",
"split",
"def I():\n return int(readline())",
"I",
"return int(readline())",
"int(readline())",
"int",
"readline()",
"readline",
"n,l = readInts()",
"n",
"readInts()",
"readInts",
"l",
"input() for _ in range(n)",
"for _ in range(n)",
"_",
"range(n)",
"range",
"n",
"for _ in range(n)",
"input()",
"input",
"s = [input() for _ in range(n)]",
"s",
"[input() for _ in range(n)]",
"s = sorted(s)",
"s",
"sorted(s)",
"sorted",
"s",
"print(''.join(map(str,s)))",
"print",
"''.join(map(str,s))",
"''.join",
"''",
"join",
"map(str,s)",
"map",
"str",
"s",
"l = readInts()",
"readInts()",
"l",
"mod = 10**9 + 7",
"10**9 + 7",
"mod",
"def readInts():\n return list(map(int,readline().split()))",
"def readInts():\n return list(map(int,readline().split()))",
"readInts",
"def I():\n return int(readline())",
"def I():\n return int(readline())",
"I",
"s = [input() for _ in range(n)]",
"[input() for _ in range(n)]",
"s",
"s = sorted(s)",
"sorted(s)",
"s",
"n,l = readInts()",
"readInts()",
"n",
"readline = stdin.readline",
"stdin.readline",
"readline",
"def readTuples():\n return tuple(map(int,readline().split()))",
"def readTuples():\n return tuple(map(int,readline().split()))",
"readTuples"
] | #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,Counter
import decimal
import re
import math
import bisect
#
#
#
# pythonで無理なときは、pypyでやると正解するかも!!
#
#
# my_round_int = lambda x:np.round((x*2 + 1)//2)
# 四捨五入g
#
# インデックス系
# int min_y = max(0, i - 2), max_y = min(h - 1, i + 2);
# int min_x = max(0, j - 2), max_x = min(w - 1, j + 2);
#
#
import sys
sys.setrecursionlimit(10000000)
mod = 10**9 + 7
#mod = 9982443453
#mod = 998244353
from sys import stdin
readline = stdin.readline
def readInts():
return list(map(int,readline().split()))
def readTuples():
return tuple(map(int,readline().split()))
def I():
return int(readline())
n,l = readInts()
s = [input() for _ in range(n)]
s = sorted(s)
print(''.join(map(str,s)))
|
[
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
],
[
39,
40
],
[
42,
43
],
[
45,
46
]
] | [
"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() for i in range(n))",
"a",
"list(input() for i in range(n))",
"list",
"input()",
"input",
"ans = ''",
"ans",
"''",
"for i in sorted(a):\n ans += i",
"i",
"sorted(a)",
"sorted",
"a",
"ans += i",
"ans",
"i",
"print(ans)",
"print",
"ans",
"a = list(input() for i in range(n))",
"list(input() for i in range(n))",
"a",
"l = map(int, input().split())",
"map(int, input().split())",
"l",
"ans += i",
"i",
"ans",
"ans = ''",
"''",
"ans",
"n, l = map(int, input().split())",
"map(int, input().split())",
"n"
] | 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",
"split",
"L",
"S=[]",
"S",
"[]",
"for i in range(N):\n S.append(input())",
"i",
"range(N)",
"range",
"N",
"S.append(input())",
"S.append",
"S",
"append",
"input()",
"input",
"print(''.join(sorted(S)))",
"print",
"''.join(sorted(S))",
"''.join",
"''",
"join",
"sorted(S)",
"sorted",
"S",
"L=list(map(int,input().split()))",
"list(map(int,input().split()))",
"L",
"S=[]",
"[]",
"S",
"N,L=list(map(int,input().split()))",
"list(map(int,input().split()))",
"N"
] | 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,
10,
39,
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
],
[
57,
58
]
] | [
"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()",
"().split",
"()",
"input",
"split",
"N,L=INP[0],INP[1]",
"N",
"INP[0]",
"INP",
"0",
"L",
"INP[1]",
"INP",
"1",
"Slist=[]",
"Slist",
"[]",
"for i in range(N):\n Slist.append(str(input()))",
"i",
"range(N)",
"range",
"N",
"Slist.append(str(input()))",
"Slist.append",
"Slist",
"append",
"str(input())",
"str",
"input()",
"input",
"print(\"\".join(sorted(Slist)))",
"print",
"\"\".join(sorted(Slist))",
"\"\".join",
"\"\"",
"join",
"sorted(Slist)",
"sorted",
"Slist",
"N,L=INP[0],INP[1]",
"INP[0]",
"N",
"INP=list(map(int, input().split()))",
"list(map(int, input().split()))",
"INP",
"L=INP[0],INP[1]",
"INP[1]",
"L",
"Slist=[]",
"[]",
"Slist"
] | 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",
"sorted(input() for _ in range(N))",
"sorted",
"input()",
"input",
"print(''.join(S))",
"print",
"''.join(S)",
"''.join",
"''",
"join",
"S",
"N,L = map(int, input().split())",
"map(int, input().split())",
"N",
"S = sorted(input() for _ in range(N))",
"sorted(input() for _ in range(N))",
"S",
"L = map(int, input().split())",
"map(int, input().split())",
"L"
] | 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,
17,
13,
10,
4,
13,
10,
4,
13,
10,
17,
13,
10,
4,
13,
10,
4,
13
] | [
[
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
],
[
71,
40
],
[
54,
45
],
[
51,
45
],
[
72,
48
],
[
50,
51
],
[
53,
54
],
[
56,
57
],
[
68,
60
],
[
62,
63
],
[
65,
66
],
[
68,
69
],
[
71,
72
]
] | [
"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",
"()",
"input",
"split",
"L",
"word = []",
"word",
"[]",
"count = 0",
"count",
"0",
"while N > count:\n S = input()\n word.append(S)\n count += 1",
"N > count",
"N",
"count",
"S = input()",
"S",
"input()",
"input",
"word.append(S)",
"word.append",
"word",
"append",
"S",
"count += 1",
"count",
"1",
"word = sorted(word)",
"word",
"sorted(word)",
"sorted",
"word",
"ans = ''.join(word)",
"ans",
"''.join(word)",
"''.join",
"''",
"join",
"word",
"print(ans)",
"print",
"ans",
"word = []",
"[]",
"word",
"word = sorted(word)",
"sorted(word)",
"word",
"count = 0",
"0",
"count",
"N, L = map(int,input().split())",
"map(int,input().split())",
"N",
"S = input()",
"input()",
"S",
"count += 1",
"1",
"count",
"L = map(int,input().split())",
"map(int,input().split())",
"L",
"ans = ''.join(word)",
"''.join(word)",
"ans"
] | 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,
28,
13,
4,
18,
4,
13,
13,
4,
2,
4,
13,
13,
17,
12,
13,
41,
28,
13,
4,
18,
4,
13,
13,
4,
4,
13,
13,
12,
13,
12,
13,
12,
13,
0,
13,
4,
13,
13,
41,
28,
13,
4,
13,
13,
4,
4,
13,
0,
13,
13,
4,
18,
13,
13,
4,
13,
4,
18,
17,
13,
13,
14,
2,
13,
17,
4,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
4,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13,
10,
12,
13
] | [
[
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
],
[
90,
92
],
[
96,
95
],
[
89,
98
],
[
142,
101
],
[
104,
103
],
[
103,
107
],
[
103,
115
],
[
148,
121
],
[
132,
133
],
[
150,
151
]
] | [
"import bisect, collections, copy, heapq, itertools, math, string, sys\ninput = lambda: sys.stdin.readline().rstrip() \nsys.setrecursionlimit(10**7)\nINF = float('inf')\ndef I(): return int(input())\ndef F(): return float(input())\ndef SS(): return input()\ndef LI(): return [int(x) for x in input().split()]\ndef LI_(): return [int(x)-1 for x in input().split()]\ndef LF(): return [float(x) for x in input().split()]\ndef LSS(): return input().split()\n\ndef resolve():\n N, L = LI()\n S = [SS() for _ in range(N)]\n\n S.sort()\n print(''.join(S))\n\nif __name__ == '__main__':\n resolve()",
"import bisect, collections, copy, heapq, itertools, math, string, sys",
"bisect",
"collections",
"copy",
"heapq",
"itertools",
"math",
"string",
"sys",
"input = lambda: sys.stdin.readline().rstrip()",
"input",
"lambda: sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip()",
"sys.stdin.readline().rstrip",
"sys.stdin.readline()",
"sys.stdin.readline",
"sys.stdin",
"sys",
"stdin",
"readline",
"rstrip",
"sys.setrecursionlimit(10**7)",
"sys.setrecursionlimit",
"sys",
"setrecursionlimit",
"10**7",
"10",
"7",
"INF = float('inf')",
"INF",
"float('inf')",
"float",
"'inf'",
"def I(): return int(input())",
"I",
"def F(): return float(input())",
"F",
"def SS(): return input()",
"SS",
"int(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)",
"int",
"x",
"def LI(): return [int(x) for x in input().split()]",
"LI",
"int(x)-1 for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"int(x)-1",
"int(x)",
"int",
"x",
"1",
"def LI_(): return [int(x)-1 for x in input().split()]",
"LI_",
"float(x) for x in input().split()",
"for x in input().split()",
"x",
"input().split()",
"().split",
"()",
"input",
"split",
"for x in input().split()",
"float(x)",
"float",
"x",
"def LF(): return [float(x) for x in input().split()]",
"LF",
"def LSS(): return input().split()",
"LSS",
"def resolve():\n N, L = LI()\n S = [SS() for _ in range(N)]\n\n S.sort()\n print(''.join(S))",
"resolve",
"N, L = LI()",
"N",
"LI()",
"LI",
"L",
"SS() for _ in range(N)",
"for _ in range(N)",
"_",
"range(N)",
"range",
"N",
"for _ in range(N)",
"SS()",
"SS",
"S = [SS() for _ in range(N)]",
"S",
"[SS() for _ in range(N)]",
"S.sort()",
"S.sort",
"S",
"sort",
"print(''.join(S))",
"print",
"''.join(S)",
"''.join",
"''",
"join",
"S",
"if __name__ == '__main__':\n resolve()",
"__name__ == '__main__'",
"__name__",
"'__main__'",
"resolve()",
"resolve",
"def LI(): return [int(x) for x in input().split()]",
"def LI(): return [int(x) for x in input().split()]",
"LI",
"def LI_(): return [int(x)-1 for x in input().split()]",
"def LI_(): return [int(x)-1 for x in input().split()]",
"LI_",
"def I(): return int(input())",
"def I(): return int(input())",
"I",
"INF = float('inf')",
"float('inf')",
"INF",
"def LSS(): return input().split()",
"def LSS(): return input().split()",
"LSS",
"def LF(): return [float(x) for x in input().split()]",
"def LF(): return [float(x) for x in input().split()]",
"LF",
"def SS(): return input()",
"def SS(): return input()",
"SS",
"def F(): return float(input())",
"def F(): return float(input())",
"F",
"def resolve():\n N, L = LI()\n S = [SS() for _ in range(N)]\n\n S.sort()\n print(''.join(S))",
"def resolve():\n N, L = LI()\n S = [SS() for _ in range(N)]\n\n S.sort()\n print(''.join(S))",
"resolve",
"input = lambda: sys.stdin.readline().rstrip()",
"lambda: sys.stdin.readline().rstrip()",
"input"
] | import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip()
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()
def resolve():
N, L = LI()
S = [SS() for _ in range(N)]
S.sort()
print(''.join(S))
if __name__ == '__main__':
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,
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)",
"i",
"range(N)",
"range",
"N",
"for i in range(N)",
"input()",
"input",
"S = [input() for i in range(N)]",
"S",
"[input() for i in range(N)]",
"S.sort()",
"S.sort",
"S",
"sort",
"print(\"\".join(S))",
"print",
"\"\".join(S)",
"\"\".join",
"\"\"",
"join",
"S",
"S = [input() for i in range(N)]",
"[input() for i in range(N)]",
"S",
"N,L = map(int, input().split())",
"map(int, input().split())",
"N",
"L = map(int, input().split())",
"map(int, input().split())",
"L"
] | 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
],
[
51,
52
]
] | [
"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",
"[]",
"for i in range(a):\n a=input()\n l.append(a)",
"i",
"range(a)",
"range",
"a",
"a=input()",
"a",
"input()",
"input",
"l.append(a)",
"l.append",
"l",
"append",
"a",
"print(\"\".join(map(str,sorted(l))))",
"print",
"\"\".join(map(str,sorted(l)))",
"\"\".join",
"\"\"",
"join",
"map(str,sorted(l))",
"map",
"str",
"sorted(l)",
"sorted",
"l",
"a,b=map(int,input().split())",
"map(int,input().split())",
"a",
"a=input()",
"input()",
"a",
"l=[]",
"[]",
"l",
"b=map(int,input().split())",
"map(int,input().split())",
"b"
] | 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,
10,
4,
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
],
[
53,
51
],
[
53,
54
],
[
56,
57
]
] | [
"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)",
"int",
"i",
"n,x = (int(i) for i in input().split())",
"n",
"(int(i) for i in input().split())",
"x",
"l = []",
"l",
"[]",
"for i in range (n):\n s = input ()\n l.append (s)",
"i",
"range (n)",
"range",
"n",
"s = input ()",
"s",
"input ()",
"input",
"l.append (s)",
"l.append",
"l",
"append",
"s",
"list.sort(l)",
"list.sort",
"list",
"sort",
"l",
"print(''.join(l))",
"print",
"''.join(l)",
"''.join",
"''",
"join",
"l",
"l = []",
"[]",
"l",
"n,x = (int(i) for i in input().split())",
"(int(i) for i in input().split())",
"n",
"x = (int(i) for i in input().split())",
"(int(i) for i in input().split())",
"x",
"s = input ()",
"input ()",
"s"
] | 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,
13,
10,
2,
13,
10,
4,
13
] | [
[
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
],
[
50,
43
],
[
34,
44
],
[
59,
47
],
[
56,
47
],
[
49,
50
],
[
61,
53
],
[
55,
56
],
[
58,
59
],
[
61,
62
]
] | [
"# 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())",
"map",
"int",
"input().split()",
"().split",
"()",
"input",
"split",
"L",
"S = []",
"S",
"[]",
"for i in range(N):\n S.append(input())\n# S内をソート",
"i",
"range(N)",
"range",
"N",
"S.append(input())",
"S.append",
"S",
"append",
"input()",
"input",
"S.sort()",
"S.sort",
"S",
"sort",
"result = \"\"",
"result",
"\"\"",
"for i in range(N):\n result = result + S[i]\n# resultを出力",
"i",
"range(N)",
"range",
"N",
"result = result + S[i]",
"result",
"result + S[i]",
"result",
"S[i]",
"S",
"i",
"print(result)",
"print",
"result",
"S = []",
"[]",
"S",
"N, L = map(int, input().split())",
"map(int, input().split())",
"N",
"result = \"\"",
"\"\"",
"result",
"result = result + S[i]",
"result + S[i]",
"result",
"L = map(int, input().split())",
"map(int, input().split())",
"L"
] | # 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,
13,
10,
39,
13,
10,
4,
13
] | [
[
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
],
[
37,
41
],
[
47,
44
],
[
56,
44
],
[
37,
46
],
[
46,
47
],
[
61,
50
],
[
52,
53
],
[
55,
56
],
[
58,
59
],
[
61,
62
]
] | [
"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",
"()",
"input",
"split",
"l",
"strings = []",
"strings",
"[]",
"for _ in range(n):\n s = input()\n strings.append(s)",
"_",
"range(n)",
"range",
"n",
"s = input()",
"s",
"input()",
"input",
"strings.append(s)",
"strings.append",
"strings",
"append",
"s",
"strings.sort()",
"strings.sort",
"strings",
"sort",
"ans = ''",
"ans",
"''",
"for string in strings:\n ans += string",
"string",
"strings",
"ans += string",
"ans",
"string",
"print(ans)",
"print",
"ans",
"ans += string",
"string",
"ans",
"n,l = map(int,input().split())",
"map(int,input().split())",
"n",
"s = input()",
"input()",
"s",
"ans = ''",
"''",
"ans",
"strings = []",
"[]",
"strings",
"l = map(int,input().split())",
"map(int,input().split())",
"l"
] | 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
],
[
48,
49
]
] | [
"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())) #空白あり",
"LI",
"def S(): return sys.stdin.readline().rstrip()",
"S",
"N,L = LI()",
"N",
"LI()",
"LI",
"L",
"S() for i in range(N)",
"for i in range(N)",
"i",
"range(N)",
"range",
"N",
"for i in range(N)",
"S()",
"S",
"S = [S() for i in range(N)]",
"S",
"[S() for i in range(N)]",
"S.sort()",
"S.sort",
"S",
"sort",
"print(''.join(S))",
"print",
"''.join(S)",
"''.join",
"''",
"join",
"S",
"L = LI()",
"LI()",
"L",
"def S(): return sys.stdin.readline().rstrip()",
"def S(): return sys.stdin.readline().rstrip()",
"S",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) #空白あり",
"def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) #空白あり",
"LI",
"N,L = LI()",
"LI()",
"N",
"S = [S() for i in range(N)]",
"[S() for i in range(N)]",
"S"
] | 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",
"[]",
"for i in range(n):\n s.append(input())",
"i",
"range(n)",
"range",
"n",
"s.append(input())",
"s.append",
"s",
"append",
"input()",
"input",
"print(\"\".join(sorted(s)))",
"print",
"\"\".join(sorted(s))",
"\"\".join",
"\"\"",
"join",
"sorted(s)",
"sorted",
"s",
"s = []",
"[]",
"s",
"n, l = map(int, input().split())",
"map(int, input().split())",
"n",
"l = map(int, input().split())",
"map(int, input().split())",
"l"
] | 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 range(n)",
"_",
"range(n)",
"range",
"n",
"for _ in range(n)",
"input()",
"input",
"k = [input() for _ in range(n)]",
"k",
"[input() for _ in range(n)]",
"s = sorted(k)",
"s",
"sorted(k)",
"sorted",
"k",
"print(\"\".join(s))",
"print",
"\"\".join(s)",
"\"\".join",
"\"\"",
"join",
"s",
"s = sorted(k)",
"sorted(k)",
"s",
"n, l = map(int, input().split())",
"map(int, input().split())",
"n",
"l = map(int, input().split())",
"map(int, input().split())",
"l",
"k = [input() for _ in range(n)]",
"[input() for _ in range(n)]",
"k"
] | 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",
"[]",
"for i in range(n):\n S.append(input())",
"i",
"range(n)",
"range",
"n",
"S.append(input())",
"S.append",
"S",
"append",
"input()",
"input",
"print(\"\".join(map(str,sorted(S))))",
"print",
"\"\".join(map(str,sorted(S)))",
"\"\".join",
"\"\"",
"join",
"map(str,sorted(S))",
"map",
"str",
"sorted(S)",
"sorted",
"S",
"n,l = map(int,input().split())",
"map(int,input().split())",
"n",
"l = map(int,input().split())",
"map(int,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
],
[
46,
47
]
] | [
"# -*- 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 range(n)",
"for i in range(n)",
"i",
"range(n)",
"range",
"n",
"for i in range(n)",
"input()",
"input",
"s = [input() for i in range(n)]",
"s",
"[input() for i in range(n)]",
"s = sorted(s)",
"s",
"sorted(s)",
"sorted",
"s",
"print(*s,sep=\"\")",
"print",
"*s",
"s",
"sep=\"\"",
"sep",
"\"\"",
"n,l = map(int,input().split())",
"map(int,input().split())",
"n",
"l = map(int,input().split())",
"map(int,input().split())",
"l",
"s = [input() for i in range(n)]",
"[input() for i in range(n)]",
"s",
"s = sorted(s)",
"sorted(s)",
"s"
] | # -*- 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)",
"i",
"range(N)",
"range",
"N",
"for i in range(N)",
"input()",
"input",
"S = [input() for i in range(N)]",
"S",
"[input() for i in range(N)]",
"print(\"\".join(sorted(S)))",
"print",
"\"\".join(sorted(S))",
"\"\".join",
"\"\"",
"join",
"sorted(S)",
"sorted",
"S",
"L = map(int, input().split())",
"map(int, input().split())",
"L",
"N, L = map(int, input().split())",
"map(int, input().split())",
"N",
"S = [input() for i in range(N)]",
"[input() for i in range(N)]",
"S"
] | N, L = map(int, input().split())
S = [input() for i in range(N)]
print("".join(sorted(S))) |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.