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,5,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()
x=int(x)

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

x=int(input())

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

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

x=int(input())

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

x=input()
x=int(x)

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

x=int(input())

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

x=int(input())

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

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

x=int(input())

if x==7:
  	print("Yes")
if x==5:
  	print("Yes")
if x==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: Wrong Answer

Runtime Error

Wrong Answer

Wrong Answer

Wrong Answer

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):
n = int(input())

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

n = int(input())

if n in [7 , 5 ,3]:
  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 = input()
print('YES' if '357' in x else 'NO')

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):
s=int(input());print('Yes'*(2<s%2*s<8)or'No')

s=int(input());print('YES'*(2<s%2*s<8)or'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):
age= int(input())
if age==7 and 5 and 3:
  print('YES')
else:
  print('NO')

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

age= int(input())
if age== 7:
  print('YES')
elif age== 5:
  print('YES')
elif age== 3:
  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):
import itertools

N = int(input())
b = [False] * 101
prime = []
b[1] = True

for i in range(2, 101):
    if b[i]:
        continue
    k = i + i
    while k < 101:
        b[k] = True
        k += i

    prime.append(i)

p = [[0] * len(prime) for i in range(N + 1)]

for i in range(1, N + 1):
    n = i
    for j in range(len(prime)):
        while n % prime[j] == 0:
            p[i][j] += 1
            n //= prime[j]

pp = [0] * len(prime)

for i in range(len(prime)):
    for j in range(1, N + 1):
        pp[i] += p[j][i]

ans = 0

for x in pp:
    if x >= 74:
        ans += 1

for a in list(itertools.combinations(range(len(prime)), 2)):
    if pp[a[0]] >= 24 and pp[a[1]] >= 2:
        ans += 1
    if pp[a[0]] >= 2 and pp[a[1]] >= 24:
        ans += 1
    if pp[a[0]] >= 14 and pp[a[1]] >= 4:
        ans += 1
    if pp[a[0]] >= 4 and pp[a[1]] >= 14:
        ans += 1

for a in list(itertools.combinations(range(len(prime)), 3)):
    if pp[a[0]] >= 2 and pp[a[1]] >= 4 and pp[a[2]] >= 4:
        ans += 1
    if pp[a[0]] >= 4 and pp[a[1]] >= 2 and pp[a[2]] >= 4:
        ans += 1
    if pp[a[0]] >= 4 and pp[a[1]] >= 4 and pp[a[2]] >= 2:
        ans += 1

print(ans)

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')

X = int(input())
 
if X == 3 or X == 5 or X == 7:  
    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):
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):
a=imput()
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

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()

result = False
try:
  X = int(X)
except:
  X = -1
  
  
if X in (3, 5, 7):
  return "YES"
return "NO"

X = input()

try:
  X = int(X)
except:
  X = -1
  
if X in (3, 5, 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 [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)
lis = [3,5,7]

for i in range(3):
    if x == lis[i]:
        print("Yes")
    else:
        print("No")

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

for i in range(3):
    if x == lis[i]:
        print("Yes")
    else:
        print("No")

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


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

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


if x in lis:
    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):
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=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):
n = int(input())
if n in [3,5,7]:
    print('Yes')
else:
    print('No')

n = int(input())
if n 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())
# print('Yes' if X == 7 or X == 5 or X == 3 else 'No')
print(['No', 'Yes'][[7, 5, 3].count(X)])

X = int(input())
# print('YES' if X == 7 or X == 5 or X == 3 else 'NO')
print(['NO', 'YES'][[7, 5, 3].count(X)])

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):
def divisor_num(n):
    a = 1
    for _, x in factorization(n):
        a *= x + 1
    return a

def factorization(n):
    def factor_sub(n, m):
        c = 0
        while n % m == 0:
            c += 1
            n /= m
        return c, n
    buff = []
    c, m = factor_sub(n, 2)
    if c > 0: buff.append((2, c))
    c, m = factor_sub(m, 3)
    if c > 0: buff.append((3, c))
    x = 5
    while m >= x * x:
        c, m = factor_sub(m, x)
        if c > 0: buff.append((x, c))
        if x % 6 == 5:
            x += 2
        else:
            x += 4
    if m > 1: buff.append((m, 1))
    return buff

N = int(input())

count = 0
if 10 <= N:

    num = 1
    for i in range(2,N+1):
        num *= i
    num_array = []
    for i in range(1,num+1):
        if num % i == 0:
            num_array.append(i)

    for i in num_array:
        if divisor_num(i) == 75:
            count += 1

print(count)

z = int(input())

if z == 3 or z == 5 or z == 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(3<=n<=7 and n%2==1):print("Yes")
else: print("No")

print("YES" if input() 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):
r = 'Yes' if int(input()) in [7,5,3] else 'No'
print(r)

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

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')

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):
a = int(input())
print("Yes" if a == 3 or a == 5 or a == 7 else "No")

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

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

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 in [7, 5, 3]:
    	print('YES')
	else:
		print('NO')

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


X = int(input())

if X in (3, 5, 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):
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: 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 = str(input())
N_List = ["3","5","7"]
if N in N_List:
    print("Yes")
else:
    print("No")




N = str(input())
N_List = ["3","5","7"]
if N in N_List:
    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: 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 "357" else "No")

print("YES" if input() 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):

num = input()

if num == 5:
    print("YES") 

elif num == 7:
    print("YES") 

elif num == 3:
    print("YES") 

else:
    print("NO")



num = int(input())

if num == 5:
    print("YES") 

elif num == 7:
    print("YES") 

elif num == 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 in "753":
  print("Yes")
else:
  print("No")

x = input()
if x 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):
x=map(int,(input()))
if x==3 or x==5 or x==7:
  print("YES")
else:
  print("NO")

x=map(int,(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):
a = int(input())
x = [3,5,7]
if a in x:
  pritn("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):
X = int(raw_input())
if X==3 or X==5 or X==7:
    print("Yes")
else:
    print("No")

X = int(raw_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

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):
#









#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log 
from heapq import heappop, heappush, heappushpop
from collections import Counter,defaultdict,deque
from itertools import accumulate,permutations,combinations,product,combinations_with_replacement
from bisect import bisect_left,bisect_right
from copy import deepcopy
from fractions import gcd
from random import randint
def ceil(a,b): return (a+b-1)//b
inf=float('inf')
mod = 10**9+7
def pprint(*A): 
    for a in A:     print(*a,sep='\n')
def INT_(n): return int(n)-1
def MI(): return map(int,input().split())
def MF(): return map(float, input().split())
def MI_(): return map(INT_,input().split())
def LI(): return list(MI())
def LI_(): return [int(x) - 1 for x in input().split()]
def LF(): return list(MF())
def LIN(n:int): return [I() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]
def LLIN_(n: int): return [LI_() for _ in range(n)]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def I(): return int(input())
def F(): return float(input())
def ST(): return input().replace('\n', '')
def main():
    N=I()
    candidate = ["3","5","7"]
    for i in range(9):
        for c in candidate.copy():
            candidate.append(c+"3")
            candidate.append(c+"5")
            candidate.append(c+"7")
    
    ans = 0
    for c in candidate:
        if int(c)<=N and 0 not in (c.count("3"),c.count("5"),c.count("7")):
            ans += 1
    print(ans)



if __name__ == '__main__':
    main()



n=int(input())
print(["NO","YES"][n in {3,5,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):
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)


def main():
    N = input()
    if N in '753':
        print('YES')
    else:
        print('NO')


if __name__ == "__main__":
    import time
    start = time.time()
    main()
    end = time.time() - start
    print(end*10**3, 'ms')


import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**7)


def main():
    N = input()
    if N in '753':
        print('YES')
    else:
        print('NO')


if __name__ == "__main__":
    main()


print('YES' if input() in '753' else '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: 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):
age = input()

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

age = int(input())
 
if age == 7 or age == 5 or 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):
# your code goes here
max = int(input())
count=0
for x in range(1, max+1):
  for y in range(0, len(str(x))):
    currentNum = int(str(x)[y])
    if currentNum == 7 or currentNum == 5 or currentNum == 3:
      if y+1 == len(str(x)):
        count = count+1
    else:
      break
print (count)

max = int(input())
count=0
for x in range(1, max):
  for y in range(1, len(str(x))):
    currentNum = x[y]
    if currentNum == 7 or currentNum == 5 or currentNum == 3:
      if y == len(str(x)):
        count = count+1
    else:
      break

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):
n = input()
if (n == '3') or (n == '5') or (n == '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):
s = int(input())
if = 3 or 5 or 7:
  print("YES")
else:
  print("NO")

s = int(input())
if == 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

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 == 7 or X == 5 or X == 3:
    print('YES')

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())

sft = [3,5,7]

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

X = int(input())

sft = [3,5,7]

if X in sft:
  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):
import sys
import math
import itertools

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

import sys
import math
import itertools

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

import sys
import math
import itertools

n=int(input())
if n==5 or n==7 or n==3 :
	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):
a = int,input()
if(a==7 or a==5 or a==3):
  print('YES')
else:
  print('NO')

a = int(input())
if(a==7 or a==5 or a==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())

print("Yes" if x in [3, 5, 7] else "No")


X = int(input())
print('YES' if X in [3, 5, 7] 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())
ret = 0
a = ['3','5','7']
for i in range(357, N+1):
    t = list(set(str(i))).sor()
    if t == a:
        ret += 1
print(ret)

a = ["7","5","3"]
old = input()
res = "NO"
if old in a:
  res = "YES"
print(res)

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 == '3' or X == '5' or X == '7':
    print('Yes')
else:
    print('No')


X = 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):
N = int(input())
if N == 7 or 5 or 3:
    print("Yes")
else:
    print("No")


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

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):
s = input()
sz = len(s)
ans = 1000
for i in range(len(s)):
    p = s[i:i+3]
    if(len(p) == 3):
        diff = abs(753 - int(p));
        if(ans > diff):
            ans = diff
        
print(ans)


n = int(input())
cnt = 0
for i in range(n):
    st = str(i+1)
    if ("7" in st) and ("5" in st) and ("3" in st) \
       and not("1" in st) and not("2" in st) and not("4" in st) \
       and not("6" in st) and not("8" in st) and not("9" in st) and not("0" in st):
        cnt = cnt + 1
print(cnt)

{True:"YES",False:"NO"}[(int(input()) in [3,4,5])]


print({True:"YES",False:"NO"}[(int(input()) in [7,5,3])])

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:
    print('yes')
elif x==5:
    print('yes')
elif x==3:
    print('yes')
else:
    print('no')

x=int(input())
if x= 7:
    print('yes')
elif x=5:
    print('yes')
elif x=3:
    print('yes')
else:
    print('no')

x=int(input())
if x==7:
    print('YES')
elif x==5:
    print('YES')
elif x==3:
    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())

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):
print("YES" input() in "753" else "NO")

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 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())
print(X)
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())

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


x = int(input())

ans = [3,5,7]
if x in ans:
    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() )

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

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: 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();print(min(abs(int(S[i:i+3])-753)for i in range(len(S))))


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

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')

n = int(input())
if n == 3 or n == 5 or n == 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 == 5 or X == 3 or X == 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 X == 3 or X == 5:
    print('NO')
else:
    print('YES')


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()

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

X = input()

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

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

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):
if input() in list('357'):
  print('Yes')
else:
  print('No')

if input() in list('357'):
  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')

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

S = input()

mini=999

for i in range(len(S)-2):
  if abs(753 - int(S[i:i+3])) < mini:
    mini = abs(753 - int(S[i:i+3]))

print(mini)


x=int(input())

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

Verdicts: Runtime Error

Runtime Error

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(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):
n=input()
if n==3 or n==5 or n==7:
  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: 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())
a = False
if x = 7 or x = 5 or x = 3:
  a = True
  
print('YES' if a else 'NO')

x = int(input())
a = False
if x == 7 or x == 5 or x == 3:
  a = True
  
print('YES' if a 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: 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):
age = int(input())

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

age = int(input())

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

age = int(input())

if age == 7 or age == 5 or age == 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  = 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==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 = 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 | x == 5 | x == 7:
    print("Yes")
else:
    print("No")


x = int(input())

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


x = int(input())

if (x == 3) | (x == 5) | (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):
A=int(intput())
print('Yes' if A in list(range(3,8,2)) else 'No')

X=int(input())
print('YES' if X in [7,5,3] 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 63 % N == 0:
    print("YES")
else:
    print("NO")

N = int(input())
if N == 1:
    print("NO")
elif 105 % N == 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())

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 = 7:
     print('YES')
 elif x = 5:
     print('YES')
 elif 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

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 = input()
if X == 3 || X == 5 || 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

Runtime Error

Accepted