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 == 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):
import sys
X = int(input())
if not ( 1 <= X <= 9 ): sys.exit()

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

import sys
X = int(input())
if not ( 1 <= X <= 9 ): sys.exit()

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

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 sys
sys.setrecursionlimit(10**5)
N = int(input())

def rec(num ,cnt=0):
    if int(num) > N:
        return cnt

    if '7' in num and '5' in num and '3' in num:
        cnt += 1

    return rec('7'+num, cnt) + rec('5'+num, cnt) + rec('3'+num, cnt)

print(rec('7')+rec('5')+rec('3'))


import sys
sys.setrecursionlimit(10**5)
N = int(input())

def rec(num, use, cnt):
    if num > N:
        return cnt

    if (use == 0b111):
        cnt += 1

    return rec(num*10+7, use | 0b100, cnt)\
        + rec(num*10+5, use | 0b010, cnt)\
        + rec(num*10+3, use | 0b001, cnt)

print(rec(0,0,0))


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

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

num=input()
if num==3 :
    print("YES")
elif num==5 :
    print("YES")
elif num==7 :
    print("YES")
else :
    print("NO")

num=int(input())
if num==3 or num==5 or num==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):
def is753(n):
    s = str(n)
    ans = False
    if s.find('3') != -1 and s.find('5') != -1 and s.find('7') != -1:
        ans = True
    return ans

N = int(input())

nums = [3,5,7]
for i in range(8):
    PrevNums = nums.copy()
    for n in PrevNums:
        nums.append(n * 10 + 3)
        nums.append(n * 10 + 5)
        nums.append(n * 10 + 7)

nums = set(nums)
nums2 = list()
for n in nums:
    if is753(n) :
        nums2.append(n)

nums2.sort()
ans = 0
for i in range(len(nums2)):
    if nums2[i] >= N:
        ans = i
        break
    ans = len(nums2)
print(ans)

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


old = int(input())
shichigosan = [7, 5, 3]
if old in shichigosan:
    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):
s = int(input())
is s == 3 or s == 5 or s == 7:
    print("YES")
else:
    print("NO")

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

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

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

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 (input() in (3,5,7)) else "NO")

rint("YES" if (input() in (3,5,7)) else "NO")

print("YES" if (int(input()) in (3,5,7)) else "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):
s = input()
ans = 999
for i in range(len(s) - 2):
    if abs(753 - int(s[i:i + 3])) < ans:
        ans = abs(753 - int(s[i:i + 3]))
print(ans)

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

X = int(input())
shichigosan = [7, 5, 3]
if X in shichigosan:
    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')

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):
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: 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 == 7:
  print("YES")
elif X == 5:
  print("YSE")
elif X == 3:
  print("YES")
else:
  print("NO")

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

X = input()
X = int(X)
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):
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: 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):
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):
#!/usr/bin/env python3

a = int(input())
a, b = list(map(int, input().split()))
a = list(str(input()))


#!/usr/bin/env python3

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):
cnt = 0
n = 357
l = int(input())+1
while n<l:
    #print(n)
    s = str(n)

    ok = False
    for i in "0124689":
        if i in s:
            ok = True
            break

    if ok:
        #print(s)
        if s[0] == '1':
            n += 2*(10**(len(s)-1))
        elif s[0] == '4' or s[0] == '6':
            n += 10**(len(s)-1)
        else:
            n+=2
        continue
        
    if '3' in s and '5' in s and '7' in s:
        #print(s)
        cnt += 1
        
    n+=2
print(cnt)


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

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

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

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

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

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


D = int(input())
if D == 7 or D == 5 or D == 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 == 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:
    print('YES')
elif x == 5:
    print('YES')
elif 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 == 0 or X % 3 == 5 or X % 7 == 0:
  print("YES")
else:
  print("NO")

X = int(input())
if X % 3 == 0 or X % 3 == 0 or X % 7 == 0:
  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())

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

a = input()
if int(a) == 3 or int(a) == 5 or int(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):
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 == 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):
from math import log10

n = int(input())
m = int(log10(n)) + 1

ans = 0

def dfs(i, s):
    if i == m:
        if not '0' in all(a in str(int(s)) a in '753') and int(s) <= n:
            return 1
        return 0
    res = 0
    for a in '0357':
        res += dfs(i+1, s + a)
    return res

print(dfs(0, ''))


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

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

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

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

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

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

# Python3 (3.4.3)
import sys
input = sys.stdin.readline

# -------------------------------------------------------------
# function
# -------------------------------------------------------------


# -------------------------------------------------------------
# main
# -------------------------------------------------------------
X = input().rstrip()

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

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


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 = 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")


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


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

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

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 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):
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 == 3 or 5 or 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 5 or 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

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

n = int(input())
print("YES" if n == 7 or n == 5 or n == 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):
import itertools 
N = int(input())
stn = str(N)
lstn = len(stn)

seq = ['7','5','3']

r = []
for k in range(3,lstn+1):
    a = list(itertools.combinations_with_replacement(seq,k))
    b = [i for i in a if ('3' in i )&('5'in i)&('7'in i)]
    for j in b:
        r += list(itertools.permutations(j))

n = sorted(set([int(''.join(list(i))) for i in r]))

print(len([i for i in n if i<=N]))

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

if year < 1 or 9 < year:
    raise ValueError
elif year is in [3, 5, 7]:
    print('YES')
else:
    print('NO')


year = int(input())

if year < 1 or 9 < year:
    raise ValueError('Input value must be less than 9 and more than 1')
elif year 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):
S = input()
print(min((abs(753 - int(S[i:i+3])) for i in range(len(S)-2))))


x = int(input())

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

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

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

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

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

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

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

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

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

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

x = 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):
S = input()

result = 10 ** 9
for i in range(len(S) - 3 + 1):
  result = min(result, abs(753 - int(S[i:i+3])))
  
print(result)

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

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

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

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

Verdicts: 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):
# -*- coding: utf-8 -*-
a = int(input())

if a == 7 or a == 5 or a == 3:
    print("Yes")
else:
    print("no")

# -*- coding: utf-8 -*-
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):
print("NYoe s"[input()in"753"::2])

print(["No","Yes"][input()in"753"])

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

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


num = x

x = int(input('高橋くんは何歳ですか？'))

if x = 3:
    print "YES"

elif x = 5:
    print "YES"

elif x = 7:
    print "YES"

else:
    print "NO"
    




x = int(input('高橋くんは何歳ですか？'))

if x == 3:
    print "YES"

elif x == 5:
    print "YES"

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

x=int(input())
res='NO'
if x==7 or x==5 or x==3:
	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 5 or 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):
import numpy as np

i = input()

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

import numpy as np

i = input()

if i == '7' or i == '5' or  i == '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=map(int,input())

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

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 = list(map(int, input()))
n_len = len(S)

diff_min = 1000
for i in range(n_len-2):
    diff = abs(S[i] * 100 + S[i+1] * 10 + S[i+2] - 753)
    if diff_min > diff:
        diff_min = diff
print(diff_min)

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

S = input()
min = 999
for i in range(len(S)-2):
  if min > abs(int(S[i:i+3])-753):
    min = abs(int(S[i:i+3]-753)
    
print(min)

age = int(input())
if age == 3:
  print("YES")
elif age == 5:
  print("YES")
elif age == 7:
  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):
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):
#include<bits/stdc++.h>
using namespace std;
using ll = long long;

int main(){
    ll n; cin >> n;
    if(n == 3 || n == 5 || n== 7){
        cout << "YES" << endl;
    } else {
        cout << "NO" << endl;
    }
}


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

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 == 7 || X == 5:
	print("YES")
else:
	print("NO")

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


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


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):
x = 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')

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 or X == 5 or X == 3:
  print "YES"
else:
  print "NO"

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

N = input()
N = int(N)
if N == 7 or N == 5 or N == 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 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())
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: 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):
# coding: utf8

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

# coding: utf8

if __name__ == "__main__":
    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=input()
print("Yes" if n in "753" else "No")

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


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

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


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

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):
# coding: utf-8
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):
N = 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