problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p03210
u790710233
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10**7)\n\n\ndef main():\n N = input()\n if N in \'753\':\n print(\'YES\')\n else:\n print(\'NO\')\n\n\nif __name__ == "__main__":\n import time\n start = time.time()\n main()\n end = time.time() - start\n print(end*10**3, \'ms\')\n', 'import sys\ninput = sys.stdin.readline\nsys.setrecursionlimit(10**7)\n\n\ndef main():\n N = input()\n if N in \'753\':\n print(\'YES\')\n else:\n print(\'NO\')\n\n\nif __name__ == "__main__":\n main()\n', "print('YES' if input() in '753' else 'NO')\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s754518967', 's803386011', 's899666614']
[3056.0, 2940.0, 2940.0]
[20.0, 17.0, 17.0]
[304, 207, 43]
p03210
u790812284
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\nif X == 3 or X == 5 or X == 7:\n print("Yes")\nelse:\n print("No")', 'X = int(input())\nif X == 3 or X == 5 or X == 7:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s454149578', 's530075375']
[2940.0, 3060.0]
[17.0, 19.0]
[86, 86]
p03210
u794173881
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['age = input()\n\nif age == 7 or age == 5 or age == 3:\n print("YES")\nelse:\n print("NO")', 'age = int(input())\n \nif age == 7 or age == 5 or age == 3:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s291938924', 's270260749']
[3060.0, 2940.0]
[20.0, 18.0]
[86, 92]
p03210
u798314431
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['# your code goes here\nmax = int(input())\ncount=0\nfor x in range(1, max+1):\n for y in range(0, len(str(x))):\n currentNum = int(str(x)[y])\n if currentNum == 7 or currentNum == 5 or currentNum == 3:\n if y+1 == len(str(x)):\n count = count+1\n else:\n break\nprint (count)', 'max = int(input())\ncount=0\nfor x in range(1, max):\n for y in range(1, len(str(x))):\n currentNum = x[y]\n if currentNum == 7 or currentNum == 5 or currentNum == 3:\n if y == len(str(x)):\n count = count+1\n else:\n break', "x = int(input())\nif x == 3 or x == 5 or x == 7:\n\tprint('YES')\nelse:\n\tprint('NO')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s054515140', 's721312008', 's764653114']
[3060.0, 3060.0, 2940.0]
[18.0, 18.0, 18.0]
[291, 241, 80]
p03210
u798557584
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['n = input()\nif (n == \'3\') or (n == \'5\') or (n == \'7\'):\n print("Yes")\nelse:\n print("No")\n', "x = int(input())\nif x == 7 or x == 5 or x == 3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s149211160', 's173404950']
[2940.0, 2940.0]
[17.0, 17.0]
[88, 86]
p03210
u803481017
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['s = int(input())\nif = 3 or 5 or 7:\n print("YES")\nelse:\n print("NO")', 's = int(input())\nif == 3 or 5 or 7:\n print("YES")\nelse:\n print("NO")\n', 'X = int(input())\nif X == 3 or X ==5 or X == 7:\n print("YES")\nelse:\n print("NO")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s530905041', 's671685823', 's383801333']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[69, 71, 81]
p03210
u805552010
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("Yes")\nelse:\n print("No")', 'x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s072232311', 's768167969']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 86]
p03210
u806855121
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["X = int(input())\n\nif X == 7 or X == 5 or X == 3:\n print('YES')\n\nprint('NO')", "X = int(input())\n\nif X == 7 or X == 5 or X == 3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s074278412', 's337545237']
[2940.0, 3064.0]
[17.0, 17.0]
[78, 87]
p03210
u807070737
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\n\nsft = [3,5,7]\n\nif x in sft:\n print("YES")\nelse:\n print("NO")', 'X = int(input())\n\nsft = [3,5,7]\n\nif X in sft:\n print("YES")\nelse:\n print("NO")']
['Runtime Error', 'Accepted']
['s742967634', 's525460502']
[2940.0, 2940.0]
[18.0, 17.0]
[80, 80]
p03210
u810066979
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['import sys\nimport math\nimport itertools\n\nn=int(input())\nif n==5 or n==7 or n==3 :\n\tprint("Yes")\nelse :\n\tprint("No")', 'import sys\nimport math\nimport itertools\n\nn=int(input())\nif n==5 or n==7 or n==3\n\tprint("Yes")\nelse :\n\tprint("No")', 'import sys\nimport math\nimport itertools\n\nn=int(input())\nif n==5 or n==7 or n==3 :\n\tprint("YES")\nelse :\n\tprint("NO")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s197564973', 's230145687', 's213023748']
[3060.0, 2940.0, 3188.0]
[17.0, 17.0, 19.0]
[115, 113, 115]
p03210
u811000506
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["a = int,input()\nif(a==7 or a==5 or a==3):\n print('YES')\nelse:\n print('NO')", 'a = int(input())\nif(a==7 or a==5 or a==3):\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s955347935', 's036277459']
[2940.0, 2940.0]
[17.0, 18.0]
[76, 77]
p03210
u814265211
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x = int(input())\n\nprint("Yes" if x in [3, 5, 7] else "No")\n', "X = int(input())\nprint('YES' if X in [3, 5, 7] else 'NO')"]
['Wrong Answer', 'Accepted']
['s803524249', 's538202284']
[2940.0, 8832.0]
[17.0, 26.0]
[59, 57]
p03210
u814781830
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["N = int(input())\nret = 0\na = ['3','5','7']\nfor i in range(357, N+1):\n t = list(set(str(i))).sor()\n if t == a:\n ret += 1\nprint(ret)", 'a = ["7","5","3"]\nold = input()\nres = "NO"\nif old in a:\n res = "YES"\nprint(res)']
['Wrong Answer', 'Accepted']
['s035111343', 's424652835']
[2940.0, 2940.0]
[17.0, 17.0]
[143, 80]
p03210
u814986259
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['N=int(input())\nif N == 3 or N == 5 or N == 7:\n print("Yes")\n \nelse:\n print("No")', 'N=int(input())\nif N == 3 or N == 5 or N == 7:\n print("YES")\n \nelse:\n print("NO")\n']
['Wrong Answer', 'Accepted']
['s790386212', 's941972264']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 84]
p03210
u815878613
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["X = input()\n\nif X == '3' or X == '5' or X == '7':\n print('Yes')\nelse:\n print('No')\n", "X = input()\n\nif X == '3' or X == '5' or X == '7':\n print('YES')\nelse:\n print('NO')\n"]
['Wrong Answer', 'Accepted']
['s806184648', 's115971012']
[2940.0, 2940.0]
[17.0, 17.0]
[89, 89]
p03210
u816587940
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['N = int(input())\nif N == 7 or 5 or 3:\n print("Yes")\nelse:\n print("No")\n', 'N = int(input())\nif N == 7 or N == 5 or N == 3:\n print("Yes")\nelse:\n print("No")\n', 'N = int(input())\nif N == 7 or N == 5 or N == 3:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s562979015', 's975709934', 's126095684']
[2940.0, 2940.0, 3316.0]
[19.0, 18.0, 21.0]
[77, 87, 87]
p03210
u818078165
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\n\n\nif X == 3 or X == 5 or X == 7:\n print("Yes")\nelse:\n print("No")', 'X = int(input())\n\n\nif X == 3 or X == 5 or X == 7:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Accepted']
['s540945784', 's223455185']
[2940.0, 2940.0]
[17.0, 17.0]
[88, 89]
p03210
u818145161
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['s = input()\nsz = len(s)\nans = 1000\nfor i in range(len(s)):\n p = s[i:i+3]\n if(len(p) == 3):\n diff = abs(753 - int(p));\n if(ans > diff):\n ans = diff\n \nprint(ans)\n', 'n = int(input())\ncnt = 0\nfor i in range(n):\n st = str(i+1)\n if ("7" in st) and ("5" in st) and ("3" in st) \\\n and not("1" in st) and not("2" in st) and not("4" in st) \\\n and not("6" in st) and not("8" in st) and not("9" in st) and not("0" in st):\n cnt = cnt + 1\nprint(cnt)', '{True:"YES",False:"NO"}[(int(input()) in [3,4,5])]\n', 'print({True:"YES",False:"NO"}[(int(input()) in [7,5,3])])']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s055493629', 's276968668', 's624479590', 's309613558']
[2940.0, 3060.0, 2940.0, 2940.0]
[18.0, 22.0, 18.0, 18.0]
[198, 297, 51, 57]
p03210
u819529201
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x=int(input())\nif x==7:\n print('yes')\nelif x==5:\n print('yes')\nelif x==3:\n print('yes')\nelse:\n print('no')", "x=int(input())\nif x= 7:\n print('yes')\nelif x=5:\n print('yes')\nelif x=3:\n print('yes')\nelse:\n print('no')", "x=int(input())\nif x==7:\n print('YES')\nelif x==5:\n print('YES')\nelif x==3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s012707732', 's541638744', 's243280444']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[118, 116, 118]
p03210
u819910751
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["X = int(input())\n\nif X in (3, 5, 7):\n print('Yes')\nelse:\n print('No')\n", "X = int(input())\n\nif X in (3, 5, 7):\n print('YES')\nelse:\n print('NO')\n"]
['Wrong Answer', 'Accepted']
['s981534910', 's135042546']
[9076.0, 9000.0]
[23.0, 26.0]
[76, 76]
p03210
u820351940
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['print("YES" input() in "753" else "NO")', 'print("YES" if input() in "753" else "NO")']
['Runtime Error', 'Accepted']
['s281076119', 's490998004']
[2940.0, 2940.0]
[18.0, 18.0]
[39, 42]
p03210
u822725754
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\nif x == 3 or x == 5 or x == 7:\n\tprint('Yes')\nelse:\n\tprint('No')\n", "x = int(input())\nif x == 3 or x == 5 or x == 7:\n\tprint('YES')\nelse:\n\tprint('NO')\n"]
['Wrong Answer', 'Accepted']
['s178101629', 's087195540']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 81]
p03210
u828105169
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\nprint(X)\nif X == 7 or X == 5 or X == 3:\n print("YES")\nelse:\n print("NO")', 'X = int(input())\nif X == 7 or X == 5 or X == 3:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s727336123', 's380097446']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 86]
p03210
u834248129
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\n\nans = [3,5,7]\nif x in ans:\n print('Yes')\nelse:\n print('No')\n", "x = int(input())\n\nans = [3,5,7]\nif x in ans:\n print('YES')\nelse:\n print('NO')\n"]
['Wrong Answer', 'Accepted']
['s482973402', 's201859360']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 84]
p03210
u835732324
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["n = int(input())\nif n == 7 or n == 5 or n == 3:\n print('Yes')\nelse:\n print('No')", "n = int(input())\nif n == 7 or n == 5 or n == 3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s115739316', 's555732282']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 86]
p03210
u837286475
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['\nx = int( input() )\n\nprint( "Yes" if x == 3 or x == 5 or x == 7 else "No" )', '\nx = int( input() )\n\nprint( "YES" if x == 3 or x == 5 or x == 7 else "NO" )']
['Wrong Answer', 'Accepted']
['s382187246', 's432532278']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 75]
p03210
u840958781
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x=int(input())\nif x==7 or x==5 or x==3:\n print(YES)\nelse:\n print(NO)', 'x=int(input())\nif x==7 or x==5 or x==3:\n print("YES")\nelse:\n print("NO")\n']
['Runtime Error', 'Accepted']
['s726470869', 's802017677']
[2940.0, 2940.0]
[17.0, 17.0]
[74, 79]
p03210
u842170774
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['S=input();print(min(abs(int(S[i:i+3])-753)for i in range(len(S))))\n', "print(['NO','YES'][input()in'357'])"]
['Wrong Answer', 'Accepted']
['s126494735', 's936888313']
[2940.0, 2940.0]
[18.0, 17.0]
[67, 35]
p03210
u843612833
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["n = int(input())\nif n == 3 or n == 5 or n == 7:\n print('Yes')\nelse:\n print('No')", "n = int(input())\nif n == 3 or n == 5 or n == 7:\n print('Yes')\nelse:\n print('No')", "n = int(input())\nif n == 3 or n == 5 or n == 7:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s294889257', 's704721700', 's696927843']
[2940.0, 2940.0, 2940.0]
[20.0, 17.0, 18.0]
[86, 86, 86]
p03210
u844646164
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["X = int(input())\nif X == 5 or X == 3 or X == 7:\n print('Yes')\nelse:\n print('NO')", "X = int(input())\nif X in [3, 5, 7]:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s873979019', 's722396249']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 74]
p03210
u844789719
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["X=int(input())\nif X == 7 or X == 3 or X == 5:\n print('NO')\nelse:\n print('YES')\n", "X=int(input())\nif X == 7 or X == 3 or X == 5:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s357125404', 's353085206']
[2940.0, 2940.0]
[18.0, 18.0]
[85, 84]
p03210
u845847173
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = input()\n\nif X == 3 or X == 5 or X == 7:\n print("YES")\nelse:\n print("NO")', 'X = input()\n\nif X == 3 or X == 5 or X == 7:\n print("Yes")\nelse:\n print("No")', 'X = input()\n\nif X == 3 or X == 5 or X == 7:\n print("YES")\nelse:\n print("NO")', 'X = int(input())\n\nif X == 3 or X == 5 or X == 7:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s771433358', 's850298427', 's880927118', 's612558130']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0]
[82, 82, 82, 87]
p03210
u846150137
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["if input() in list('357'):\n print('Yes')\nelse:\n print('No')", "if input() in list('357'):\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s020030534', 's244199258']
[2940.0, 2940.0]
[17.0, 17.0]
[61, 61]
p03210
u847605090
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x=int(input())\nif x==7 or x==5 or x==3:\n print(YES)\nelse:\n print(NO)', "x=int(input())\nif x==7 or x==5 or x==3:\n print('YES)\nelse:\n print('NO')", 'x=int(input())\nif x==7 or x==5 or x==3:\n print(Yes)\nelse:\n print(No)', 'S = input()\n\nmini=999\n\nfor i in range(len(S)-2):\n if abs(753 - int(S[i:i+3])) < mini:\n mini = abs(753 - int(S[i:i+3]))\n\nprint(mini)\n', "x=int(input())\n\nif x==7 or x==5 or x==3:\n print('YES')\nelse:\n print('NO')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s069863935', 's351936158', 's677215038', 's852336605', 's043285185']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 18.0, 17.0]
[74, 77, 74, 136, 79]
p03210
u854093727
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\n\nif X == 7 or X == 5 or X == 3:\n print("Yes")\nelse:\n print("No")\n', 'X = int(input())\n\nif X == 7 or X == 5 or X == 3:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Accepted']
['s334800891', 's498225282']
[2940.0, 2940.0]
[18.0, 17.0]
[88, 88]
p03210
u855057563
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['n=input()\nif n==3 or n==5 or n==7:\n print("YES")\nelse:\n print("NO")', "a = input()\na = int(a)\n\nif a == 7 or a == 5 or a == 3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s046648315', 's553472838']
[9092.0, 9160.0]
[28.0, 32.0]
[69, 93]
p03210
u855380359
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\na = False\nif x = 7 or x = 5 or x = 3:\n a = True\n \nprint('YES' if a else 'NO')", "x = int(input())\na = False\nif x == 7 or x == 5 or x == 3:\n a = True\n \nprint('YES' if a else 'NO')"]
['Runtime Error', 'Accepted']
['s814407368', 's419562696']
[8908.0, 9096.0]
[26.0, 33.0]
[96, 99]
p03210
u858136677
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x \xa0= int(input())\nif x == 3 or x == 5 or x == 7:\n print('YES')\nelse:\n print('NO')", "x = int(input())\nif x == 3 or x == 5 or x == 7:\n print('YES')\nelse:\n print('NO')"]
['Runtime Error', 'Accepted']
['s284437588', 's804361720']
[3060.0, 2940.0]
[18.0, 18.0]
[88, 87]
p03210
u863397945
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['age = int(input())\n\nif age == 3,5,7:\n print("YES")\nelse:\n print("NO")', 'age = int(input())\n\nif age == 7 or age == 5 or age == 3:\n print("Yes")\nelse:\n print("No")', 'age = int(input())\n\nif age == 7 or age == 5 or age == 3:\n print("YES")\nelse:\n print("NO")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s678491190', 's724754020', 's853873272']
[2940.0, 8980.0, 9100.0]
[18.0, 28.0, 27.0]
[71, 95, 95]
p03210
u864069774
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("Yes")\nelse:\n print("No")\n', 'x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Accepted']
['s400553457', 's844394353']
[2940.0, 2940.0]
[18.0, 18.0]
[88, 88]
p03210
u864900001
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x = int(input())\nif(x==7 or x==5 or x==3):\n print("Yes")\nelse:\n print("No")\n', 'x = int(input())\nif(x==7 or x==5 or x==3):\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Accepted']
['s147098991', 's593725977']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 82]
p03210
u865383026
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\nif(X == 3 or X == 5 or X == 7):\n print("yes")\nelse:\n print("No")', 'X = input()\nif(X == \'3\' or X == \'5\' or X == \'7\'):\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s001030271', 's621067289']
[2940.0, 2940.0]
[17.0, 18.0]
[83, 84]
p03210
u865413330
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x = int(input())\n\nif x == 3 | x == 5 | x == 7:\n print("Yes")\nelse:\n print("No")\n', 'x = int(input())\n\nif x == 3 | x == 5 | x == 7:\n print("YES")\nelse:\n print("NO")\n', 'x = int(input())\n\nif (x == 3) | (x == 5) | (x == 7):\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s766526866', 's978194930', 's535355538']
[2940.0, 2940.0, 2940.0]
[20.0, 17.0, 17.0]
[86, 86, 92]
p03210
u870297120
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["A=int(intput())\nprint('Yes' if A in list(range(3,8,2)) else 'No')", "X=int(input())\nprint('YES' if X in [7,5,3] else 'NO')"]
['Runtime Error', 'Accepted']
['s026173012', 's904613061']
[2940.0, 2940.0]
[17.0, 17.0]
[65, 53]
p03210
u870518235
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['N = int(input())\nif 63 % N == 0:\n print("YES")\nelse:\n print("NO")', 'N = int(input())\nif N == 1:\n print("NO")\nelif 105 % N == 0:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Accepted']
['s478677408', 's662167958']
[9140.0, 9016.0]
[25.0, 25.0]
[71, 102]
p03210
u870793476
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\n\nif x == '7' or x == '5' or x == '3':\n print('YES')\nelse:\n print('NO')", "x = int(input())\n\nif x == 7 or x == 5 or x == 3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s894521010', 's589333821']
[2940.0, 3064.0]
[17.0, 21.0]
[93, 87]
p03210
u870906509
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\nif x = 7:\n print('YES')\n elif x = 5:\n print('YES')\n elif x =3:\n print('YES')\n else:\n print('NO')", "x = int(input())\nif (x==7) or (x==5) or (x==3):\n print('YES')\nelse:\n print('NO')"]
['Runtime Error', 'Accepted']
['s687967902', 's771173207']
[2940.0, 2940.0]
[17.0, 17.0]
[129, 86]
p03210
u872158847
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = input()\nif X == 3 or X == 5 or X == 7:\n print("YES")\nelse:\n print("NO")\n', 'X = input()\nif X == 3 || X == 5 || X == 7:\n print("YES")\nelse:\n print("NO")', 'X = int(input())\nif X == 7 or X == 5 or X == 3:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s189582685', 's482265425', 's864676301']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[82, 77, 87]
p03210
u873269440
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['\ndef main():\n\n N = int(input())\n\n if N == 3 or N== 5 or N == 7:\n print("Yes")\n else:\n print("No")\n \n\n\nif __name__== "__main__":\n main() ', '\ndef main():\n\n N = int(input())\n\n if N == 3 or N== 5 or N == 7:\n print("YES")\n else:\n print("NO")\n \n\n\nif __name__== "__main__":\n main() ']
['Wrong Answer', 'Accepted']
['s329526170', 's852140838']
[2940.0, 2940.0]
[17.0, 17.0]
[165, 165]
p03210
u874333466
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['#include <stdio.h>\n\nint main() {\n int X;\n scanf("%d", &X);\n \n if (X == 3) {\n printf("YES");\n } else if (X == 5) {\n printf("YES");\n } else if (X == 7) {\n printf("YES");\n } else {\n printf("NO");\n }\n \n return 0;\n \n}\n', "if int(input()) in [3, 5, 7]:\n print('YES')\nelse:\n print('NO')"]
['Runtime Error', 'Accepted']
['s414686954', 's783256769']
[2940.0, 2940.0]
[17.0, 17.0]
[236, 64]
p03210
u875731881
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["str1=input('年齢')\nnum=int(str1)\nif num==3 or num==5 or num==7:\n print('YES')\nelse:\n print('NO')\n", "str1=input('年齢')\nnum=int(str1)\nif num==3 and num==5 and num==7:\n print('YES')\nelse:\n print('NO')\n", "str1=input('')\nnum=int(str1)\nif num==3 or num==5 or num==7:\n print('YES')\nelse:\n print('NO')\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s458517053', 's604381359', 's023316311']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[105, 107, 99]
p03210
u881316390
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["def age_check(age):\n if age == 3 or age == 5 or age == 7:\n print('YES')\n else:\n print('NO')", "def age_check(age):\n if age ==3:\n print('YES')\n elif age ==5:\n print('YES')\n elif age == 7:\n print('YES')\n else:\n print('NO')\n \nage = input()\n \nage_check(age) ", "def age_check(age):\n if age ==3:\n print('YES')\n else age == 5:\n print('YES')\n else age == 7:\n print('YES')\n else:\n print('NO')\n\nage = input()\n\nage_check(age) ", "def age_check(age):\n if age ==3:\n print('YES')\n else age == 5:\n print('YES')\n else age == 7:\n print('YES')\n else:\n print('NO')\n\nage = input()\n\nage_check(age) \n", "def age_check(age):\n if age == 3 or age == 5 or age == 7:\n print('YES')\n else:\n print('NO')\n \nage = int(input())\n \nage_check(age) "]
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s060504787', 's111886738', 's215158644', 's699697140', 's092644595']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[99, 175, 198, 175, 138]
p03210
u882831132
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["print('YES' if int(input) in [3,5,7] else 'NO')", "print('YES' if int(input()) in [3,5,7] else 'NO')\n"]
['Runtime Error', 'Accepted']
['s197332499', 's369777947']
[2940.0, 2940.0]
[18.0, 18.0]
[47, 50]
p03210
u883040023
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\n\nif X == 7 or 5 or 3:\n print("Yes")\nelse:\n print("No")', 'X = int(input())\n\nif X == 7 or X == 5 or X == 3:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s770699246', 's168163193']
[2940.0, 3060.0]
[17.0, 19.0]
[77, 87]
p03210
u886902015
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X=int(input())\nif X== 3,5, 7:\n print("YES")\nelse:\n print("NO")\n', 'X=int(input())\nif X== 3 or X==5 or X==7:\n print("YES")\nelse:\n print("NO")\n']
['Runtime Error', 'Accepted']
['s349836170', 's465902895']
[8980.0, 9020.0]
[25.0, 30.0]
[65, 76]
p03210
u889405092
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X=input()\nif X in "753":\n "YES"\nelse:\n "NO"', 'X=input()\nif X in "753":\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s568199778', 's268227537']
[8980.0, 8940.0]
[25.0, 27.0]
[45, 59]
p03210
u891666094
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x = int(input("name?\\n"))\n\nif x == 3 or x == 5 or x == 7:\n\tprint("YES")\nelse:\n\tprint("NO")', 'x = int(input())\n\nif x == 3 or x == 5 or x == 7:\n\tprint("YES")\nelse:\n\tprint("NO")\n']
['Wrong Answer', 'Accepted']
['s073211949', 's018162691']
[2940.0, 2940.0]
[18.0, 18.0]
[90, 82]
p03210
u895536055
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\nif X == 3 or X == 5 or X == 7:\n print("YES)\nelse:\n print("NO")', 'X = int(input())\nif X == 3 or X == 5 or X == 7:\n print("YES")\nelse:\n print("NO")\n']
['Runtime Error', 'Accepted']
['s677453674', 's627930775']
[2940.0, 2940.0]
[18.0, 18.0]
[81, 83]
p03210
u896451538
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['def MAP(): return list(map(int,input().split()))\ndef INT(): return int(input())\ndef FLOAT(): return float(input())\nMOD = 10**9+7\n\nl = [3,5,7]\nif INT() in l:\n print("Yes")\nelse:\n print("No")', 'def MAP(): return list(map(int,input().split()))\ndef INT(): return int(input())\ndef FLOAT(): return float(input())\nMOD = 10**9+7\n\nl = [3,5,7]\nif INT() in l:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s940694051', 's109744893']
[2940.0, 3060.0]
[17.0, 21.0]
[195, 195]
p03210
u896741788
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['print("YNEOS"[1-input()in"357"::2])', 'print("YES"if input()in"357"else"NO")']
['Runtime Error', 'Accepted']
['s548006108', 's101021311']
[2940.0, 2940.0]
[18.0, 17.0]
[35, 37]
p03210
u903722062
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['d = int(input())\nif d == 3 or d== 5 or d==7:\n\tprint("YES")\nelse\n\tprint("NO")\t', 'd = int(input())\nif d == 3 or d== 5 or d==7:\n print("YES")\nelse:\n print("NO")\t']
['Runtime Error', 'Accepted']
['s912625815', 's671908278']
[2940.0, 2940.0]
[18.0, 18.0]
[77, 78]
p03210
u904943473
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = int(input())\n\nans = "No"\nif (X == 3 or X == 5 or X == 7):\n ans = "Yes"\nprint(ans)', 'X = int(input())\n\nans = "NO"\nif (X == 3 or X == 5 or X == 7):\n ans = "YES"\nprint(ans)']
['Wrong Answer', 'Accepted']
['s844356895', 's153523306']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 86]
p03210
u905582793
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['n = int(input())\nif n == 7 or n == 5 or n == 3:\n print(YES)\nelse:\n print(NO)', 'n = int(input())\nif n == 7 or n == 5 or n == 3:\n print(YES)\nelse:\n print(NO)', 'n = int(input())\nif n == 7 or n == 5 or n == 3:\n print("YES")\nelse:\n print("NO")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s101684567', 's108875474', 's432354731']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[82, 78, 82]
p03210
u905922270
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["X = int(input())\nif 1<= X and X <= 9:\n print('NO')\nelse:\n print('NO')", "X = int(input())\nif X == 3 or X == 5 or X ==7:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s763737374', 's920012394']
[2940.0, 2940.0]
[18.0, 18.0]
[75, 85]
p03210
u909162870
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['n = int(input())\nif n == 3 or n == 5 or n == 7:\n print("Yes")\nelse:\n print("No")', 'n = int(input())\nif n == 3 or n == 5 or n == 7:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s509652342', 's571696382']
[2940.0, 2940.0]
[18.0, 17.0]
[86, 86]
p03210
u911438260
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['s = input()\nkoho = []\nfor i in range(len(s)-2):\n S = int(s[i:i+3])\n sa = abs(S - 753)\n koho.append(sa)\nprint(min(koho))', "X = int(input())\nif X == 7 or X == 5 or X == 3:\n print('YES')\nelse:\n print('NO')"]
['Runtime Error', 'Accepted']
['s999794365', 's535067033']
[2940.0, 2940.0]
[17.0, 17.0]
[128, 86]
p03210
u911575040
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["n=int(input())\ndef dfs(s):\n if int(s)>n:\n return 0 \n if all(s.count(i) for i in '753'):\n ans=1\n else:\n ans=0\n for i in '753':\n ans+=dfs(s+i)\n return ans\nprint(ans)", "x=map(int,input().split(' '))\nif x==3 or x==5 or x==7:\n print('YES')\nelse:\n print('NO')", "x=int(input())\nif x==3 or x==5 or x==7:\n print('YES')\nelse:\n print('NO')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s247527750', 's966656328', 's915830188']
[2940.0, 3060.0, 2940.0]
[19.0, 19.0, 17.0]
[206, 93, 78]
p03210
u912650255
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["N = int(input())\nif N in [7,5,3]:\n print('Yes')\nelse:\n print('No')\n", "N = input()\nif N in ['7','5','3']:\n print('YES')\nelse:\n print('NO')\n"]
['Wrong Answer', 'Accepted']
['s937323693', 's037563501']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 74]
p03210
u915078431
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['y=[3,5,7]\nx=int(input())\nif x in y:\n print("祝ってやる")\nelse:\n print("呪ってやる")\n', 'y=[3,5,7]\nx=int(input())\nif x in y:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Accepted']
['s376953540', 's004010041']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 75]
p03210
u917558625
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["X=int(input())\nif X==(7 or 5 or 3):\n print('YES')\nelse:\n print('NO')", "X=int(input())\np=[3,5,7]\nif X in p:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s394940105', 's669160040']
[2940.0, 2940.0]
[17.0, 17.0]
[70, 70]
p03210
u919730120
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x=int(input())\nif x==7 or x==5 or x==3:\n print('Yes')\nelse:\n print('No')", "x=int(input())\nif x==7 or x==5 or x==3:\n print('YES')\nelse:\n print('NO')\n"]
['Wrong Answer', 'Accepted']
['s611532819', 's815673690']
[2940.0, 2940.0]
[17.0, 17.0]
[74, 75]
p03210
u920694585
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["n = int(input())\nif n == 7 or n == 5 or n == 3:\n print('Yes')\nelse:\n print('No')\n", "n = int(input())\nif n == 7 or n == 5 or n == 3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s663549072', 's137706640']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 86]
p03210
u921773161
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\nif x =3 or x = 5 or x = 7:\n print('YES')\nelse:\n print('NO')", "a = int(input())\nif a ==3 or a==5 or a ==7:\n ans = 'YES'\nelse:\n ans = 'NO'\n\nprint(ans)"]
['Runtime Error', 'Accepted']
['s805083793', 's593427842']
[2940.0, 2940.0]
[17.0, 19.0]
[78, 92]
p03210
u928784113
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nX = int(input())\ndef f(n):\n if (n == 3)or(n == 5)or(n == 7):\n print("YES")\n else:\n print("NO")\n \nprint("{}".format(f(X)))', '#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nX = int(input())\ndef f(n):\n if (n = 3) or (n = 5)or (n = 7):\n print("YES")\n else:\n print("NO")\n \nprint("{}".format(f(X)))', '#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nX = int(input())\ndef f(n):\n if n == 3,5,7:\n print("YES")\n else:\n print("NO")\n \nprint("{}".format(f(X)))', '#!/usr/bin/env python\n# -*- coding: utf-8 -*-\nX = int(input())\ndef f(n):\n if (n == 3)or(n == 5)or(n == 7):\n return "YES"\n else:\n return "NO"\n \nprint("{}".format(f(X)))']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s118265199', 's194775955', 's207229173', 's394174663']
[2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0, 17.0]
[178, 178, 160, 178]
p03210
u931118906
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x=int(input())\nif x==3 or x==5 or x==7:\n print('Yes')\nelse:\n print('No')\n", "x=input()\n'''if x==3 or x==5 or x==7:\n print('Yes')\nelse:\n print('No')\n'''\nif x in [7,5,3]:\n print('YES')\nelse:\n print('NO')\n", "x=int(input())\nif x in [7,5,3]:\n print('Yes')\nelse:\n print('No')\n", "x=int(input())\n'''if x==3 or x==5 or x==7:\n print('Yes')\nelse:\n print('No')\n'''\nif x in [7,5,3]:\n print('Yes')\nelse:\n print('No')\n", "x=int(input())\n'''if x==3 or x==5 or x==7:\n print('Yes')\nelse:\n print('No')\n'''\nif x in [7,5,3]:\n print('Yes')\nelse:\n print('No')\n", "x=int(input())\n'''if x==3 or x==5 or x==7:\n print('Yes')\nelse:\n print('No')\n'''\nif x in [7,5,3]:\n print('YES')\nelse:\n print('NO')\n\n"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s001569371', 's058553436', 's284540000', 's827213919', 's902435798', 's580409965']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 18.0, 17.0]
[79, 137, 71, 142, 142, 143]
p03210
u932913455
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['def main114():\n import numpy as np\n\n S = input()\n answer = 0\n\n digit1 = []\n digit2 = []\n digit3 = []\n\n for i in range(len(S)):\n digit1.append(abs(7 - int(S[i])))\n digit2.append(abs(5 - int(S[i])))\n digit3.append(abs(3 - int(S[i])))\n\n first = [i for i, x in enumerate(digit1) if x == min(digit1) and i < len(digit1) - 2]\n\n if len(first) == 1:\n answer = int(S[first[0]]) * 100 + int(S[first[0] + 1]) * 10 + int(S[first[0] + 2])\n\n elif len(first) > 1:\n digit2_new = []\n for i in range(len(first)):\n digit2_new.append(digit2[first[i] + 1])\n\n second = [i for i, x in enumerate(digit2) if x == min(digit2_new) and i < len(digit2) - 1]\n if len(second) == 1:\n answer = int(S[first[0]]) * 100 + int(S[second[0]]) * 10 + int(S[second[0] + 1])\n elif len(second) > 1:\n digit3_new = []\n for i in range(len(second)):\n digit3_new.append(digit3[second[i] + 1])\n\n third = [i for i, x in enumerate(digit3) if x == min(digit3_new) and i < len(digit3)]\n answer = int(S[first[0]]) * 100 + int(S[second[0]]) * 10 + int(S[third[0]])\n\n answer = abs(753 - answer)\n print(answer)\n\n\nmain114()', 'import numpy as np\n\nS = input()\nanswer = 0\n\ndigit1 = []\ndigit2 = []\ndigit3 = []\n\nfor i in range(len(S)):\n digit1.append(abs(7 - int(S[i])))\n digit2.append(abs(5 - int(S[i])))\n digit3.append(abs(3 - int(S[i])))\n\nfirst = [i for i, x in enumerate(digit1) if x == min(digit1) and i < len(S) - 2]\n\nif len(first) == 1:\n answer = int(S[first[0]]) * 100 + int(S[first[0] + 1]) * 10 + int(S[first[0] + 2])\n\nelif len(first) > 1:\n digit2_new = []\n for i in range(len(first)):\n digit2_new.append(digit2[first[i] + 1])\n\n second = [i for i, x in enumerate(digit2) if x == min(digit2_new) and i < len(S) - 1]\n if len(second) == 1:\n answer = int(S[first[0]]) * 100 + int(S[second[0]]) * 10 + int(S[second[0] + 1])\n elif len(second) > 1:\n digit3_new = []\n for i in range(len(second)):\n digit3_new.append(digit3[second[i] + 1])\n\n third = [i for i, x in enumerate(digit3) if x == min(digit3_new) and i < len(S)]\n answer = int(S[first[0]]) * 100 + int(S[second[0]]) * 10 + int(S[third[0]])\n\nanswer = abs(753 - answer)\nprint(answer)', 'X = int(input())\n\nif X == 3 or X == 5 or X == 7:\n print("YES")\n\nelse:\n print(\'NO\')']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s043263555', 's638476279', 's763005771']
[12412.0, 12500.0, 2940.0]
[150.0, 149.0, 17.0]
[1245, 1091, 88]
p03210
u933341648
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['n=[int(input()) for i in range(int(input()))]\nprint(sum(n) - max(n)//2)', "print('YES' if input() in ['3', '5', '7'] else 'NO')"]
['Runtime Error', 'Accepted']
['s727303758', 's629800499']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 52]
p03210
u937396845
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x = input()\nif x==3 or x==5 or x==7:\n print("YES")\nelse:\n print("NO")\n', 'X = input()\nif X=3 or X=5 or X=7:\n print("YES")\nelse:\n print("NO")\n', 'X = int(input())\nif X=3 or X=5 or X=7:\n print("YES")\nelse:\n print("NO")', 'X = int(input())\nif x=3 or X=5 or x=7:\n print("YES")\nelse:\n print("NO")', 'x = int(input())\nif x==3 or x==5 or x==7:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s083263476', 's191612869', 's581267794', 's653604460', 's997777359']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 17.0]
[72, 69, 73, 73, 77]
p03210
u941438707
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['print("Yes" if input() in "753" else "No")', 'print("YES" if input() in "753" else "NO")']
['Wrong Answer', 'Accepted']
['s928395018', 's411642917']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 42]
p03210
u943057856
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['l=[3,5,7]\nprint("Yes" if int(input()) in l else "No" )', 'l=[3,5,7]\nprint("YES" if int(input()) in l else "NO" )']
['Wrong Answer', 'Accepted']
['s429170527', 's090335593']
[2940.0, 2940.0]
[17.0, 17.0]
[54, 54]
p03210
u944404180
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["X = int(input())\nif X == 7 or X== 5 or X== 3:\n print('Yes')\nelse:\n print('NO')", "X = int(input())\nif X == 7 or X== 5 or X== 3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s152401066', 's882827662']
[2940.0, 2940.0]
[17.0, 18.0]
[84, 84]
p03210
u945419374
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['s=input()\nimin=753\nfor i in range(len(s)-2):\n\tif abs(int(s[i]+s[i+1]+s[i+2])-753)<imin:\n\t\timin=abs(int(s[i]+s[i+1]+s[i+2])-753)\nprint(imin)', 'x=int(input())\nif x==3:\n\tprint("Yes")\nelif x==5:\n\tprint("Yes")\nelif x==7:\n\tprint("Yes")\t\nelse:\t\n\tprint("No")', 'x=int(input())\nif x==3:\n\tprint("YES")\nelif x==5:\n\tprint("YES")\nelif x==7:\n\tprint("YES")\t\nelse:\t\n\tprint("NO")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s212773732', 's466391281', 's525081765']
[3060.0, 3060.0, 2940.0]
[19.0, 17.0, 17.0]
[139, 108, 108]
p03210
u945460548
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["N = int(input())\n\ndef dfs(s): \n\tif int(s) > N:\n\t\treturn 0\n\tret = 1 if all(s.count(c) > 0 for c in '753') else 0 \n\tfor c in '753':\n\t\tret += dfs(s + c)\n\treturn ret\n\nprint(dfs('0')) \n", '# coding: utf-8\n# Your code here!\nimport itertools\nx = int(input())\nl = [3, 5, 7]\n\nh = itertools.combinations_with_replacement(l, 4)\n\ncnt = 0\nfor v in itertools.combinations_with_replacement(l, 4):\n if (3 in v and 5 in v and 7 in v):\n num = v[0]+v[1]+v[2]+v[3]\n if int(num) < x:\n cnt += 1\n\nh_list = list(itertools.combinations_with_replacement(l, 4))\n\nprint (cnt)', "x = int(input())\nif (x == 7 or x == 5 or x==3):\n\tprint ('YES')\nelse:\n\tprint ('NO')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s333930635', 's745135212', 's093045283']
[2940.0, 3064.0, 2940.0]
[19.0, 17.0, 18.0]
[350, 391, 82]
p03210
u945761460
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['y=int(input())\nif y==7 or y==5 0r y==3:\n print("YES")\nelse:\n print("NO")', 'y=int(input())\nif y==7 or y==5 or y==3:\n print("YES")\nelse:\n print("NO")']
['Runtime Error', 'Accepted']
['s729396862', 's129348392']
[8796.0, 9064.0]
[25.0, 23.0]
[74, 74]
p03210
u946026022
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['x = int(input())\ny = str(x)\n\nsa = None\n\nfor i in range(len(y) - 2):\n z = str(x)[i:3+i]\n bbb = abs(int(z) - 753)\n\n if not sa:\n sa = bbb\n \n if sa > bbb:\n sa = bbb\n\nprint(sa)', "x = int(input())\ny = str(x)\n\nif x == 3 or x == 5 or x == 7 :\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s282485244', 's769297539']
[2940.0, 2940.0]
[18.0, 18.0]
[200, 99]
p03210
u949414593
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["print('NYoe s'[input()in'357'::2])", "print('NYOE S'[input()in'357'::2])"]
['Wrong Answer', 'Accepted']
['s806387960', 's205381490']
[2940.0, 2940.0]
[18.0, 17.0]
[34, 34]
p03210
u951601135
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["s=list(map(str,input()))\n#print(s)\ns_3=[]\nfor i in range(len(s)-2):\n a=''.join(s[i:(i+3)])\n #print(a)\n s_3.append(abs(int(a)-753))\nprint(min(s_3))", "if(int(input())==(3 or 5 or 7)):\n print('YES')\nelse:print('NO')", "a=int(input())\nif(a==3 or a==5 or a==7):\n print('YES')\nelse:print('NO')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s613547082', 's699511427', 's541540383']
[2940.0, 2940.0, 3060.0]
[18.0, 18.0, 19.0]
[149, 64, 72]
p03210
u955501568
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["# Title: close to 753\n\n\nimport sys\n\n\nsys.setrecursionlimit(10 ** 6)\n\nread_single_str = lambda: sys.stdin.readline().strip()\n\n\ndef solution(s):\n return min(map(lambda x: abs(x-753), map(int, [s[i:i+3] for i in range(len(s)-2)])))\n\n\ndef main():\n s = read_single_str()\n print(solution(s))\n\n\nif __name__ == '__main__':\n main()", "# Title: Shichi-Go-San\n\n\nimport sys\n\n\nsys.setrecursionlimit(10 ** 6)\n\nread_single_int = lambda: int(sys.stdin.readline().strip())\n\n\ndef solution(x: int):\n if x == 3 or x == 5 or x == 7:\n return 'YES'\n return 'NO'\n\n\ndef main():\n x = read_single_int()\n print(solution(x))\n\n\nif __name__ == '__main__':\n main()"]
['Runtime Error', 'Accepted']
['s726046314', 's022730771']
[3060.0, 2940.0]
[18.0, 18.0]
[390, 384]
p03210
u959651981
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\nif X == 3 or x == 5 or x == 7:\n print('YES')\nelse:\n print('NO')", "x = int(input())\nif x == 3 or x == 5 or x == 7:\n print('YES')\nelse:\n print('NO')\n"]
['Runtime Error', 'Accepted']
['s499974983', 's673898447']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 87]
p03210
u960171798
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['X = input()\nif X == ("7" or "5" or "3"):\n print("YES")\nelse:\n print("NO")\n', 'X = int(input())\nif X==3 or X==5 or X==7:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s651035542', 's189916823']
[2940.0, 2940.0]
[17.0, 18.0]
[76, 76]
p03210
u960513073
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['n = int.input()\n\nif n == 7 or n == 5 or n == 3:\n print("YES")\nelse:\n print("NO")', 'n = int(input())\n\nif n == 7 or n == 5 or n == 3:\n print("YES")\nelse:\n print("NO")']
['Runtime Error', 'Accepted']
['s110070439', 's403586806']
[2940.0, 2940.0]
[17.0, 18.0]
[82, 83]
p03210
u963903527
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["N = int(input())\n\ndef dfs(s):\n if int(s) > N:\n return 0\n ret = 1 if all(s.count(c) > 0 for c in '753') else 0\n for c in '753':\n ret += dfs(s+c)\n return ret\n\nprint(dfs('0'))", "print('YES' if input() in ['7','5','3'] else 'NO')"]
['Wrong Answer', 'Accepted']
['s020154684', 's809629472']
[2940.0, 2940.0]
[18.0, 17.0]
[198, 50]
p03210
u963915126
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\n\nif x==3 or x==5 or x==7:\n print('Yes')\nelse:\n print('No')", "x = int(input())\n\nif x==3 or x==5 or x==7:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s088143910', 's931779440']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 81]
p03210
u965033073
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["N = int(input())\nif N == 7\u3000or N == 5 or N == 3:\n\tprint('YES')\nelse:\n \tprint('NO')", "N = int(input())\nif N == 7\u3000or N == 5 or N == 3:\n print('YES')\nelse:\n print('NO')\n", "N = int(input())\nif N == 7 or N == 5 or N == 3:\n\tprint('YES')\nelse:\n \tprint('NO')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s064063874', 's064441816', 's550242085']
[2940.0, 2940.0, 2940.0]
[19.0, 17.0, 18.0]
[85, 86, 84]
p03210
u967835038
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["import random\nans=['YES','NO']\nprint(random.choice(ans))", 'x=int(input())\nif x==3 or x==5 or x==7:\n print("YES")\nelse:\n print("NO")']
['Wrong Answer', 'Accepted']
['s083555004', 's779512894']
[4208.0, 2940.0]
[34.0, 17.0]
[56, 78]
p03210
u969190727
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['List=[7,5,3]\nX=int(input())\nif X in List:\n print("YES")\nElse:\n print("NO")', 'List=[7,5,3]\nX=int(input())\nif X in List:\n print("YES")\nelse:\n print("NO")']
['Runtime Error', 'Accepted']
['s195084256', 's006066244']
[2940.0, 2940.0]
[17.0, 19.0]
[76, 76]
p03210
u969848070
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["a = int(input())\nif a == 7 or a == 5 or a == 3:\n print('Yes')\nelse:\n print('No')", "a = int(input())\nif a == 7 or a == 5 or a == 3:\n print('YES')\nelse:\n print('NO')"]
['Wrong Answer', 'Accepted']
['s355391217', 's275892049']
[2940.0, 2940.0]
[17.0, 19.0]
[82, 82]
p03210
u970197315
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input())\nprint('Yes' if x == 7 or x == 5 or x == 3 else 'No')", "x = int(input())\nprint('YES' if x == 7 or x == 5 or x == 3 else 'NO')"]
['Wrong Answer', 'Accepted']
['s228309319', 's717453988']
[2940.0, 2940.0]
[17.0, 19.0]
[69, 69]
p03210
u972645896
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
['# A\n\ns = input() \nX = int(s) \n\nif X == 3 or X == 7:\n print("YES")\nelse:\n print("NO")\n', '# A\n\ns = input() \nX = int(s) \n\nif X == 3 or X == 7:\n print("YES")\nelse:\n print("NO")\n', '# A\n\ns = input() \nX = int(s) \n\nif X == 3 or X == 6 or X == 7:\n print("YES")\nelse:\n print("NO")\n', '# A\n\ns = input() \nX = int(s) \n\nif X == 3 or X == 7:\n print("YES")\nelse:\n print("NO")\n', '# A\n\ns = input() \nX = int(s) \n\nif X == 3 or X == 5 or X == 7:\n print("YES")\nelse:\n print("NO")\n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s419209239', 's511322471', 's555902677', 's856626462', 's134587469']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0, 18.0, 19.0]
[153, 153, 163, 153, 163]
p03210
u972658925
2,000
1,048,576
_Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?
["x = int(input)\nif x==3 or x==5 or x==7:\n print('YES')\nelse:\n print('NO')\n", "x = int(input())\nif x==3 or x==5 or x==7:\n print('YES')\nelse:\n print('NO')\n"]
['Runtime Error', 'Accepted']
['s111179350', 's503432680']
[2940.0, 2940.0]
[18.0, 17.0]
[79, 81]