Problem:


Score : 100 points

Problem Statement

Shichi-Go-San (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children.

Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time?

Constraints

1 ≤ X ≤ 9

X is an integer.

Input

Input is given from Standard Input in the following format:

X

Output

If Takahashi's growth will be celebrated, print YES; if it will not, print NO.

Sample Input 1

5

Sample Output 1

YES

The growth of a five-year-old child will be celebrated.

Sample Input 2

6

Sample Output 2

NO

See you next year.



Sample input:
5


Sample output:
YES

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=input()
if x=='7' and x=='5' and x=='3':
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=int(input())
print(['No','Yes'][a == 7 or a==5 or a==3])

Submission status: Wrong Answer

Solution code:
i = int(input())

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

Submission status: Wrong Answer

Solution code:
import sys


# \n
def input():
    return sys.stdin.readline().rstrip()


def main():
    X =int(input())
    if 105 % X ==0:
        print("YES")
    else:
        print("NO")





if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = str(input())
N_List = ["3","5","7"]
if N in N_List:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
N = int(input())
if N == 7 or N == 5 or N == 3:
    print('YES')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("Yes" if int(input()) in [7,5,3] else "No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from itertools import product

n = input()

if int(n) < 100:
    print(0)
    
ans = 0
    
for i in range(3,len(n)+1):
    s = list(product("753",repeat=i))
    for combi in s:
        n_s = "".join(combi)
        if int(n_s) >= int(n):
            continue
        if ("7" in combi) and ("5" in combi) and ("3" in combi):
            ans += 1
    
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()
print('YES' if '357' in x else 'NO')

Submission status: Wrong Answer

Solution code:
X = int(input())

if X in (3, 5, 7):
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = input()

print("Yes" if (X in "753") else "NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
age = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print('YES'if int(input()) in [3,5,7] else 'No')

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

Solution code:
tosi = int(input('お子さんの年齢を入力してください'))

if tosi == 7 or tosi == 5 or tosi == 3:
    print('yes')

else:
    print('no')

Submission status: Wrong Answer

Solution code:
x = int(raw_input())
print 'YES' if x >= 3 else 'NO'

Submission status: Wrong Answer

Solution code:
# a, b = map(int, input().split())
n = int(input())
print("Yes" if n==3 or n==5 or n==7 else "No")

Submission status: Wrong Answer

Solution code:
if input() in "753":
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
N = int(input())
if 105 % N == 0:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
N = int(input())
if 63 % N == 0:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3

x = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print('NYoe s'[input()in'753'::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s=int(input());print('Yes'*(2<s%2*s<8)or'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print('YNeos'[input() not in '753'::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
if a == 3 or 5 or 7:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
year=int(input())

if year==3 or year==5:
  print("YES")

Submission status: Wrong Answer

Solution code:
year=int(input())

if year==3 or year==5:
  print("YES")

Submission status: Wrong Answer

Solution code:
# input
X = int(input())

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

Submission status: Wrong Answer

Solution code:
import sys, re
from math import ceil, floor, sqrt, pi, factorial#, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left
from functools import reduce
# input = sys.stdin.readline 
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_list(N): return [s_list() for _ in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7

def main():
    n = i_input()
    if n == 3 or n == 5 or n == 7:
        Yes()
    else:
        No()

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l=[1,1,1,0,1,0,1,1,1,1]
print("YNEOS"[l[int(input())]::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
gr = [3,5,7]

if (N in gr):
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

Solution code:
x = int(input())

l = [7, 5, 3]

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

Submission status: Wrong Answer

Solution code:
x = int(input())

l = [7, 5, 3]

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

Submission status: Wrong Answer

Solution code:
def ABC_114_A():
    X = int(input())

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

if __name__ == '__main__':

    ABC_114_A()

Submission status: Wrong Answer

Solution code:
X = int(input())
# print('Yes' if X == 7 or X == 5 or X == 3 else 'No')
print(['No', 'Yes'][[7, 5, 3].count(X)])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()

n = int(n)

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

Submission status: Wrong Answer

Solution code:
n = input()

n = int()

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

Submission status: Wrong Answer

Solution code:
y=[3,5,7]
x=int(input())
if x in y:
    print("祝ってやる")
else:
    print("呪ってやる")

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
x=map(int,open(0).read().split())
if x in [3,5,7]:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product, groupby
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
o=int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
if x == 7 or x == 5 or x == 3:
    print('Yes')

else:
    print('No')

Submission status: Wrong Answer

Solution code:
x = int(input())
if x == 7 or x == 5 or x == 3:
    print('Yes')

else:
    print('No')

Submission status: Wrong Answer

Solution code:
a=input(int())

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def a753(x):

    return "YES" if x == 3 or 5 or 7 else "NO"

def main():
    x = int(input())
    print(a753(x))

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
X = int(input())
ans = 'YES' if X == 3 or X == 5 or X == 7 else 'No'
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=input()
if n in "753":
  print("Yes")
else:
  print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
import collections
import sys

#input = sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l=[3,5,7]
print("Yes" if int(input()) in l else "No" )

Submission status: Wrong Answer

Solution code:
age = int(input())
print("YES") if age >= 3 and age <= 7 else print("NO")

Submission status: Wrong Answer

Solution code:
idade = int(input())

if idade in range(1 ,9):
    if idade == 3 :
        print("YES")
    elif idade == 5 :
        print("YES")
    elif idade == 7 :
        print("YES")
    else :
        print("NO")

Submission status: Wrong Answer

Solution code:
idade = int(input())

if idade in range(1 ,9):
    if idade == 3 :
        print("YES")
    elif idade == 5 :
        print("YES")
    elif idade == 7 :
        print("YES")
    else :
        print("NO")
else:
    exit()

Submission status: Wrong Answer

Solution code:
X = int(input())
if X % 3 == 0 or X % 3 == 0 or X % 7 == 0:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
c = [7, 5, 3]
if X in c:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("YES" if input() in "357" else "No")

Submission status: Wrong Answer

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


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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
y = [3,5,7]
print("Yes" if x in y else "No")

Submission status: Wrong Answer

Solution code:
S = input()
mi = 9999999
for i in range(len(S) - 2):
  mi = min(mi, abs(753 - int(S[i]+S[i+1]+S[i+2])))
print(mi)

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=int(input())
print(["NO","YES"][n==7 |n==5|n==3])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
age = int(input())
if age == 3:
  print("YES")
if age == 5:
  print("YES")
if age == 7:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
if X%2 != 0 and X != 3 and X != 9:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
n=int(input())
if(3<=n<=7 and n%2==1):print("Yes")
else: print("No")

Submission status: Wrong Answer

Solution code:
n=int(input())
if(5<=n<=9 and n%2==1):print("YES")
else: print("NO")

Submission status: Wrong Answer

Solution code:
X = input()

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

Submission status: Wrong Answer

Solution code:
X = input()

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

Submission status: Wrong Answer

Solution code:
#abc114 a
x=int(input())
medetai=[7,5,3]
if x in medetai:
    print("YES")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
if x%2 == 0 or x == 9:
    print("NO")
else:
    print("YES")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print('YNeos'[input()not in'357'::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
i=int(input())
if(i==7 or i==5 or i==3):
    print("YES")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
print("Yes" if int(input()) in [7, 5, 3] else "No")

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
#114_A
print('YES' if input() in ['3','5','7'] else 'No')

Submission status: Wrong Answer

Solution code:
#
# 　　  ⋀_⋀　 
#　　  (･ω･)  
# .／ Ｕ ∽ Ｕ＼
#  │＊　合　＊│
#  │＊　格　＊│ 
#  │＊　祈　＊│ 
#  │＊　願　＊│ 
#  │＊　　　＊│ 
#      ￣
#
import sys
sys.setrecursionlimit(10**6)
input=sys.stdin.readline
from math import floor,sqrt,factorial,hypot,log #log2ないｙｐ
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()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
s = input()
num = 9999
for i in range(len(s)-2):
  num = min(num, abs(int(s[i:i+3])-753))
print(num)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s=list(input())
m=753
for i in range(0,len(s)-2):
  x=int("".join(s[i:i+3]))
  m=min(m,abs(753-x))
print(m)

Submission status: Wrong Answer

Solution code:
X=int(input())

if (X%2==1)and(not(X==1)):
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    X = int(input())
    if 105 % X == 0:
        print("YES")
    else:
        print("NO")


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
import math
import itertools

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

Submission status: Wrong Answer

Solution code:
import sys

INPUT = lambda: sys.stdin.readline().rstrip()
INT = lambda: int(INPUT())

sys.setrecursionlimit(10 ** 9)


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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
li753 = [7,5,3]

if x in li753:
    ans = "YeS"
else:
    ans = "NO"

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input()) #integer 数

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