TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 3 or X == 5or X == 7:
    print("Yes")
else:
    print("No")

X = int(input())
if X == 3 or X == 5or X == 7:
    print("YES")
else:
    print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a = int(input())
if a==3 or a==5 or a==7:
	print("YES")
else:
	print("NO")
return

s = input()
nlen = len(s)
a = min([abs(int(s[i:i+3])-753) for i in range(nlen-2+1)])
print(a)


a = int(input())
if a==3 or a==5 or a==7:
	print("YES")
else:
	print("NO")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
print('YES' if input() in '753' else 'NO')i

print('YES' if input() in '753' else 'NO')

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X = 3 or 5 or 7:
  print('Yes')
else:
  print('No')

X = int(input())
if X == 3 or X == 5 or X == 7:
  print('Yes')
else:
  print('No')

X = int(input())
if X == 3 or 5 or 7:
  print('Yes')
else:
  print('No')

X = int(input())
if X == 3 or X == 5 or X == 7:
  print('YES')
else:
  print('NO')

Verdicts: Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
s=input();print(min(abs(int(s[i:i+3])-753)for i in [0]*len(s)))

print("NYOE S"[input()in"357"::2])

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
print('Yes' if int(input()) in [7, 5, 3] else 'No')


print('YES' if int(input()) in [7, 5, 3] else 'NO')


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a = int(input())
if a == 3 or a == 5 or a == 7:
  print("Yes")
else:
  print("No")

a = int(input())
if a == 3 or a == 5 or a == 7:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n=int(input())
print(["NO","YES"][if n in [7,5,3]])

s=input()
l=[]
for i in range(len(s)-2):
  l.append(abs(753-int(s[i:i+3])))
print(min(l))

X=input()
if X==7 or X==5 or X==3:
    print("YES")
else:
    print("NO")

age=input()

if age==7 or age==5 or age==3:
    print("YES")
else:
    print("NO")

print('YES' if int(input()) in [7, 5, 3] else 'NO')


Verdicts: Runtime Error

Runtime Error

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
 
if x==7 or x==5 or x==3:
  print('Yes')
else:
  print('No')

x = int(input())
 
if x==7 or x==5 or x==3:
  print("Yes")
else:
  print("No")

x = int(input())

if x ==7 or x == 5 or x==3:
  print('Yes')
else:
  print('No')

x = int(input())
 
if x==7 or x==5 or x==3:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == (7 or 5 or 3):
    print("YES")
else:
    print("NO")

X = int(input())
if X = 7 or 5 or 3:
    print("YES")
else:
    print("NO")

X = input()
if X in "753":
    print("YES")
else:
    print("NO")

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
l = [7,5,3]

if X in l:
  print('Yes')
else:
  print('No')

X = int(input())
l = [7,5,3]
 
if X in l:
  print('YES')
else:
  print('NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
print(["NO","YES"][x in input()])

print(["NO","YES"][input() in "357"])

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input())

print("YES" if x==7orx==5orx==3 else "NO")

x=int(input())

print(YES if x=7orx=5orx=3 else NO)

x=int(input())
 
print("YES" if x==7 or x==5 or x==3 else "NO")

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
n=input()
if n in "753":
  print("Yes")
else:
  print("No")


n=input()
if n in "753":
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n = int(input())

if (n == 3) or (n == 3) or (n == 7):
    print('YES')
else:
    print('NO')

n = int(input())

if (n == 3) or (n == 5) or (n == 7):
    print('YES')
else:
    print('NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a=int(input())
if a in [3,5,7]:
    print('Yes')
else:
    print('No')

a=int(input())
if a in [3,5,7]:
    print('YES')
else:
    print('NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = input()
print("Yes" if x in "753" else "No")

x = input()
print("YES" if x in "753" else "NO")


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n=input()
print("Yes" if "9" in n else "No")

x=input()
print("YES" if x in "753" else "NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a=int(input())
print('Yes' if a==7 or a==5 or a==3 else 'No')

a=int(input())
print('YES' if a==7 or a==5 or a==3 else 'NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
s = int(input())
if s==3 & s==7 & s==5:
 print("YES")
else:
  print("NO")

x = int(input())
if x==3 or x==5 or x==7:
  print('YES')
else:
  print('NO')


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())

if any(X == 3, X == 5, X == 7):
  print("YES")
else:
  print("NO")

X = int(input())
 
if X == 3 or X == 5 or X == 7:
  print("YES")
else:
  print("NO")

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
from sys import stdin
N=int(stdin.readline().rstrip())
cnt=0
for i in range(N+1):
    if set(list(str(i)))=={"3","5","7"}:
        cnt+=1
print(cnt)

from sys import stdin
age=int(stdin.readline().rstrip())
if age==7:
  print("YES")
elif age==5:
  print("YES")
elif age==3:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
print('Yes') if int(input()) in [3, 5, 7] else print('No')

print('Yes') if int(input()) in [3, 5, 7] else print('No')

print('Yes' if int(input()) in [3, 5, 7] else 'No')

print('YES') if int(input()) in [3, 5, 7] else print('NO')

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if x in [3,5,7]:
  print('Yes')
else:
  print('NO')

x = int(input())
if x in [3,5,7]:
  print('YES')
else:
  print('NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())

if X == (3, 5, 7):
    print('YES')
    
else:
    print('NO')

X = int(input())

if X in (3, 5, 7):
    print('YES')
    
else:
    print('NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 7 or 5 or 3:
  print('Yes')
else:
  print('No')

#B - 754
S = list(map(int,input()))

minimam = 987
for i in range(len(S)-2):
    X = 100*S[i] + 10*S[(i+1)] + S[(i+2)]
    if abs(X - 753)<minimam:
        minimam = abs(X - 753)
print(minimam)

X = int(input())
if X == 7 or X == 5 or X == 3:
  print('YES')
else:
  print('NO')


Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
#1256

x = int(input())
if x == 7 or x == 5 or x == 3:
    print('Yes')
else:
    print('No')

#1256

x = int(input())
if x == 7 or x == 5 or x == 3:
    print('YES')
else:
    print('NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())

if X == 7 or X == 5 or X == 3:
    print('Yes')
else:
    print('No')


X = int(input())

if X == 7 or X == 5 or X == 3:
    print('YES')
else:
    print('NO')


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
bit = [3,5,7]
X = int(input())
if(X in bit):
    print("Yes")
else:
    print("No")
  

bit = [3,5,7]
X = int(input())
if(X in bit):
    print("YES")
else:
    print("NO")
  

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
S = input().strip()
print(min(int([S[i:i+3]) for i in range(0,len(S)-2,3)))

print("YES" if int(input()) in [3,5,7] else "NO")

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
n=int(input())
if n==5 or n==7 or n==3:
  print("Yes")
else:
  print("No")

n=int(input())
if n==5 or n==7 or n==3:
  print("YES")
else:
  print("NO")


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
import math

n = input()
if "9" in n:
    print("Yes")
else:
    print("No")

import math

x = input()
print("YES" if x in "357" else "NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=input()
if x=='7' and x=='5' and x=='3':
  print('YES')
else:
  print('NO')
  

x=input()
if x=='7' or x=='5' or x=='3':
  print('YES')
else:
  print('NO')
  

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if x == 3 or x == 5 or x == 7:
  print("Yes")
else:
  print("No")

x = int(input())
if x == 3 or x == 5 or x == 7:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 3 or X == 5 or X == 7:
 	print("Yes")
else:
 	print("No")

X = int(input())
if X == 3 or X == 5 or X == 7:
  print("Yes")
else
  print("No")

X = int(input())
if X == 3 or X == 5 or X == 7:
 	print("Yes")
else
 	print("No")

#-*- coding : utf-8 -*-
X = int(input())
if X == 3 or X == 5 or X == 7:
 	print("YES")
else:
 	print("NO")

Verdicts: Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
year = int(input())
if year == 3 or year == 5 or year == 7:
  print(YES)
else:
  print(NO)

year = int(input())
if year == 3 or year == 5 or year == 7:
  print('YES')
else:
  print('NO')



Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 7 and X == 3 and X == 5:
  print("YES")
else:
  print("NO")

X = int(input())
if X == 7 or X == 3 or X == 5:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X=input()
print(["NO","YES"][X==3 or X==5 or X==7])

X=int(input())
print(["NO","YES"][X==3 or X==5 or X==7])

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X=int(input())
if X==7 or X==5 or X==3:
    print("Yes")
else:
    print("No")

X=int(input())
if X==7 or X==5 or X==3:
    print("YES")
else:
    print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())

if  X == 3 or X ==5 or X ==7:
    print("yes")
else:
    print("no")

X = int(input())

if  X == 3 or X == 5 or X == 7:
    print("yes")
else:
    print("no")

X = int(input())

if  X == 3 or X == 5 or X == 7:
    print("YES")
else:
    print("NO")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input());print('YNeos'[not(x==3 or x==5 or x==7)::2]) 

x=int(input());print('YNEOS'[not(x==3 or x==5 or x==7)::2])

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())

if x != 7 or x != 5 or x != 3:
    print("No")
else:
    print("Yes")

x = int(input())

if x == 7 or x == 5 or x == 3:
    print("Yes")
else:
    print("No")

x = int(input())

if x != 7 and x != 5 and x != 3:
    print("No")
else:
    print("Yes")

x = int(input())

if x != 7 and x != 5 and x != 3:
    print("NO")
else:
    print("YES")

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a=int(input())
if a ==7or5or3:
  print('YES')
else:
  print('NO')

a=int(input())
if a==3 or a==5 or a==7:
  print('YES')
else:
  print('NO')

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
print("YNEOS"[~input()in"357"%2::2]

print("YNEOS"[~(input()in"357")%2::2])

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input()) 

if x==3 or x==5 or x==7:
    print("Yes")
else:
    print("No")


x = int(input()) 

if x==3 or x==5 or x==7:
    print("YES")
else:
    print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if( x == 3 or 5 or 7):
  print('Yes')
else:
  print('No')

x = int(input())
if( x in [3,5,7]):
  print('Yes')
else:
  print('No')

x = int(input())
if( x in [3,5,7]):
  print('YES')
else:
  print('NO')

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
print('Yes' if x==7 or x==5 or x==3 else 'No')

x = int(input())
print('YES' if x==7 or x==5 or x==3 else 'NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n=int(input())

if n==3 or n==5 or n==7:
  print("Yes")
else:
  print("NO")

n=int(input())

if n==3 or n==5 or n==7:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=input()
if x == 7 or 5 or 3:
print("YES")
else:
print("NO")

x=input()
if (x == 7) or (x == 5) or (x == 3):
print("YES")
else:
print("NO")

x=int(input())
if x == 7 or x == 5 or x == 3:
print('YES')
else:
print('NO')

x=int(input())
if x == 7 or x == 5 or x == 3:
print("YES")
else:
print("NO")

x=input()
if x == 7 or x == 5 or x == 3:
print("YES")
else:
print("NO")

x=int(input())
if x == 7 or x == 5 or x == 3:
	print("YES")
else:
	print("NO")

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
N = int(input())
if N in [7, 5, 3]:
  print("Yes")
else:
  print("No")

N = int(input())
if N in [7, 5, 3]:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):

x = input()

if x == 3 or x == 5 or x == 7:
  print("YES")
else:
  print("NO)

x = int(input())

if x == 3 or x == 5 or x == 7:
  print("YES")
else:
  print("NO")

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = input()
if x == 3 or x == 5 or x == 7:
    print('YES')
else:
  print('NO')


x = int(input())
if x == 3 or x == 5 or x == 7:
    print('YES')
else:
  print('NO')


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
if X == 3 or X == 5 or X == 7:
  print('YES')
else:
  print('NO')
  


X = int(input())
 
if X==3 or X==5 or X==7:
  print("Yes")
else:
  print("NO")

if X = 3 or 5 or 7:
  print('YES')
else:
  print('NO')
  

X = int(input())
if X in [7,5,3]:
    print('YES')
else:
    print('NO')

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
#JMD


 
import sys
import math

#import fractions
#import numpy
 
###File Operations###
fileoperation=0
if(fileoperation):
    orig_stdout = sys.stdout
    orig_stdin = sys.stdin
    inputfile = open('W:/Competitive Programming/input.txt', 'r')
    outputfile = open('W:/Competitive Programming/output.txt', 'w')
    sys.stdin = inputfile
    sys.stdout = outputfile

###Defines...###
mod=1000000007
 
###FUF's...###
def nospace(l):
    ans=''.join(str(i) for i in l)
    return ans
 
 
 
##### Main ####
s=str(input())
l=len(s)

ans=100000000000
for i in range(l-2):
    k=""
    for j in range(3):
        k+=s[i+j]
    d=int(k)
    ans=min(ans,abs(753-d))
print(ans)

    
    
#####File Operations#####
if(fileoperation):
    sys.stdout = orig_stdout
    sys.stdin = orig_stdin
    inputfile.close()
    outputfile.close()

#JMD


 
import sys
import math

#import fractions
#import numpy
 
###File Operations###
fileoperation=0
if(fileoperation):
    orig_stdout = sys.stdout
    orig_stdin = sys.stdin
    inputfile = open('W:/Competitive Programming/input.txt', 'r')
    outputfile = open('W:/Competitive Programming/output.txt', 'w')
    sys.stdin = inputfile
    sys.stdout = outputfile

###Defines...###
mod=1000000007
 
###FUF's...###
def nospace(l):
    ans=''.join(str(i) for i in l)
    return ans
 
 
 
##### Main ####
t=1
for tt in range(t):
    n=int(input())
    if(n==7 or n==5 or n==3):
        print("YES")
    else:
        print("NO")
    #a=list(map(int,sys.stdin.readline().split(' ')))
    #n,k,s= map(int, sys.stdin.readline().split(' '))
    
    
#####File Operations#####
if(fileoperation):
    sys.stdout = orig_stdout
    sys.stdin = orig_stdin
    inputfile.close()
    outputfile.close()

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = input()

print('YES" if x in '753' else 'NO')


x = input()
 
print('YES' if x in '753' else 'NO')

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input())
if x==3 or x==5 or x==7:
  print("Yes")
else:
  print("No")

x=int(input())
if x==3 or x==5 or x==7:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
print("YNeos"[not(int(input())in[3,5,7])::2])


print("YNEOS"[not(int(input())in[3,5,7])::2])


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a = int(input())
if a == 3 or a == 5 or a == 7:
  print("Yes")
else:
  print("No")

a = int(input())
if a == 3 or a == 5 or a == 7:
  print("YES")
else:
  print("NO")


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n=int(input())

if n==7 or n==5 or n==3:
    print("Yes")

else:
    print("No")


n=int(input())

if n==7 or n==5 or n==3:
    print("YES")

else:
    print("NO")


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 3 or X == 5 or X == 7:
    print("Yes")
else:
    print("No")

import sys
input = sys.stdin.readline
X = int(input())
if X == 7 or X == 5 or X == 3 :
    print("YES")
else :
    print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
a =input()
a =int(a)

if a == 7 or a == 5 or a == 3:
  print(YES)
else:
  print(NO)

a =input()
a =int(a)

if a = 7 or a = 5 or a = 3:
  print(YES)
else:
  print(NO)

a =input()
a =int(a)

if a == 7 or a == 5 or a == 3:
  print('YES')
else:
  print('NO')

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X=int(input())
if X==3 or X==5 or X==7:
    print('Yes')
else:
    print('No')

X=int(input())
if X==3 or X==5 or X==7:
    print('YES')
else:
    print('NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
D = int(input())

if D == 25:
    print('Christmas')
elif D == 24:
    print('Christmas Eve')
elif D == 23:
    print('Christmas Eve Eve')
else:
    print('Christmas Eve Eve Eve')

X = int(input())

if X == 3 or X == 5 or X == 7:
	print("YES")
else:
	print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X=int(input())
if X==7 or X==5 or X==3:
  print("Yes")
else:
  print("No")

X=int(input())
if X==7 or X==5 or X==3:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x= int(input())
if x in [7,5,3]:
    print("Yes")
else:
    print("No")

x= int(input())
if x ==7 or x==5 or x==3:
    print("Yes")
else:
    print("No")

x = int(input())
if x == 3 or x == 5 or x == 7:
    print("YES")
else:
    print("NO")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())

if X == 3 or X == 5 or X == 7:
    print("Yes")
else:
    print("No")

X = int(input())
if X == 7 or X == 5 or X == 3:
    print("YES")
else:
    print("NO")


Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
x = [3, 5, 7]

for i in range(3):
    if X == x[i]:
        print('YES')
        break

    else:
        print('NO')

X = int(input())
x = [3, 5, 7]

for i in range(3):
    if X == x[i]:
        print('Yes')
        break

    else:
        print('No')

X = int(input())
x = [3, 5, 7]

for i in range(3):
    if X == x[i]:
        print('YES')
        break

else:
    print('NO')

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X=int(input())
if (X==3 || X==5 ||X==7):
  print('YES')
else:
  print('NO')

X=int(input())
if (X==3 or X==5 or X==7):
  print('YES')
else:
  print('NO')

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
a=input(int())

if a==3 or a==5 or a==7:
  print("YES")
else:
  print("NO")
  

a=input(int())

if a==3 or a==5 or a==7:
  print("YES")
else:
  print("NO")
  

a=int(input())

if a==3 or a==5 or a==7:
  print("YES")
else:
  print("NO")
  

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = input()

if "753" in x:
  print("Yes")
else:
  print("No")

x = input()
 
if x in "753":
  print("Yes")
else:
  print("No"

x = input()
 
if x in "753":
  print("Yes")
else:
  print("No")

x = input()
 
if x in "753":
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=int(intput())
if x==3||x==5||x==7:
  print ("YES")
else :
	print("NO")

x=int(input())
if x==3 or x==5 or x==7:
  print ("YES")
else :
	print("NO")


Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
n = int(input())
if n==3 or n==5 or n==7:


n = int(input())
if n==3 or n==5 or n==7:
    print('YES')
else:
    print('NO')

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
s = input()

x = []
for i in range(len(s) - 2):
    x.append(abs(int(s[i:i+3]) - 753))
    
print(min(x))

x = int(input())

if ((x == 7) or (x == 5) or (x ==3)):
    print("Yes")
else:
    print("No")

x = int(input())

if ((x == 7) or (x == 5) or (x ==3)):
    print("YES")
else:
    print("NO")

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=input()
print('YES' if x==3 or x==5 or x==7 else 'NO')


x=input()
print('Yes' if x==3 or x==5 or x==7 else 'No')


x=input()
print('Yes' if x==3 or x==5 or x==7 else 'NO')

x=int(input())
print('YES' if x==3 or x==5 or x==7 else 'NO')


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
n=int(input())
if n==7 or n==5 or n==3:
    print('Yes')
else:
    print('No')

x=input()
print('YES' if x in '753' else 'NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = [int(i) for i in input().split()]
if X == 3:
    print("YES")
elif X == 5:
    print("YES")
elif X == 7:
    print("YES")
else:
    print("NO")

X = [int(i) for i in input().split()]
if X == 3 or X == 5 or X == 7:
    print("YES")
else:
    print("NO")

X = int(input())
if X == 3 or X == 5 or X == 7:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
	if X==3 or X==5 or X==7:
    	print('Yes')
    else:
    	print('No')

X = int(input())

if X==3 or X==5 or X==7:
	print('YES')
else:
  	print('NO')

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if x ==3 or x==5 or x==7:
    print("Yes")
else:
    print("No")

x = int(input())
if x ==3 or x==5 or x==7:
    print("YES")
else:
    print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
import sys
 
def main():
	x = sys.stdin.read()
    if x == 7 or x == 5 or x == 3:
        print("YES")
    else:
        print("NO")
 
if __name__ == "__main__":
    main()

import sys
 
def main():
    x = sys.stdin.read()
    if x == 7 or x == 5 or x == 3:
        print("YES")
    else:
        print("NO")
 
if __name__ == "__main__":
    main()

import sys

def main():
	x = sys.stdin.read()
    if x == 7 or x == 5 or x == 3:
      print("YES")
    else:
      print("NO")

if __name__ == "__main__":
  main()

import sys
 
def main():
    x = int(sys.stdin.readline().strip())
    
    if x == 7 or x == 5 or x == 3:
        print("YES")
    else:
        print("NO")
 
if __name__ == "__main__":
    main()

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X == 7 or X == 5 or X ==3:
  print("Yes")
else:
  print("No")

X = int(input())
if X == 7 or X == 5 or X ==3:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
print('NYoe s'[input()in'753'::2])

print('NYOE S'[input()in'753'::2])

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())

l = [7, 5, 3]

if x in l:
    print("Yes")
else:
    print("No")


x = input()

if x in "753":
    print("Yes")
else:
    print("No")


x = input()

if x in "753":
    print("Yes")
else:
    print("No")


x = int(input())

l = [7, 5, 3]

if x in l:
    print("Yes")
else:
    print("No")



x = input()

if x in "753":
    print("YES")
else:
    print("NO")


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
if 3 <= x <= 7 and x % 2 != 0:
  print("Yes")
else:
  print("No")

x = int(input())
if 3 <= x <= 7 and x % 2 != 0:
  print("YES")
else:
  print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
X=int(input())
print("YES" if X==3or5or7 else "NO")

print("YES" if input() in "357" else "NO")

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
n = int(input())
if n == 3 or n == 5 or n == 7:
  print(YES)
else:
  print(NO)

n = int(input())
if n == 3 or n == 5 or n == 7:
  print("YES")
else:
  print("NO")

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
if(input() in ["7","5","3"]):
  print("YES")
print("NO")

if(input() in ["7","5","3"]):
  print("YES")
  exit()
print("NO")

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x=int(input())
if x==3||x==5||x==7:
  print("YES")
else:
  print("NO")


x=int(input())
if x==3 or x==5 or x==7:
  print("YES")
else:
  print("NO")


Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X in [7, 5, 3]:
    print('Yes')
else:
    print('No')

X = int(input())
if X in [7, 5, 3]:
    print('YES')
else:
    print('NO')

Verdicts: Wrong Answer

Accepted
Problem: _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?

Submission attempts (in order):
x = int(input())
li = [3,5,7]
if x in li:
    print('YES')
else:
    print('NO'

x = int(input())
li = [3,5,7]
if x in li:
    print('YES')
else:
    print('NO')

Verdicts: Runtime Error

Accepted
Problem: _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?

Submission attempts (in order):
X = int(input())
if X in "753":
  print("YES")
else:
  print("NO")

X = str(input())
if X in "753":
  print("YES")
else:
  print("NO")


Verdicts: Runtime Error

Accepted