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