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.

Solution (Python):
def YN(P):
    if P:
        print("YES")
    else:
        print("NO")

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

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

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

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

Solution (Python):
X = int(input())

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

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

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

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

Solution (Python):
X = int(input())

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

Solution (Python):
X = input()
print('YES' if X in '357' else 'NO')

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

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

Solution (Python):
x = input()

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

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

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

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

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

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

Solution (Python):
import sys
input = lambda: sys.stdin.readline().rstrip()

X = int(input())

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

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

Solution (Python):
if input() in "753":
    print("YES")
else:
    print("NO")

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

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

Solution (Python):
import math
import collections
import sys


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

Solution (Python):
import sys
IS = lambda: sys.stdin.readline().rstrip()
II = lambda: int(IS())
MII = lambda: list(map(int, IS().split()))

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

if __name__ == '__main__':
    main()

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

Solution (Python):
X = int(input())

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

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

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

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

Solution (Python):
x = int(input())

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

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

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

Solution (Python):
x = int(input())

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

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

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

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

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

Solution (Python):
X = int(input())

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

else:
    print('NO')

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

Solution (Python):
x = int(input())

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

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

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

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

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

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

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

Solution (Python):
n=str(input())
l="753"
flag = 0
for m in l:
    if m in n:
        flag = 1
print("YES" if flag ==1 else "NO")

Solution (Python):
X = input()
print('YES' if X in '753' else 'NO')

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

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

Solution (Python):
print('YES' if input() in '753' else 'NO')

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

Solution (Python):
idade = int(input())

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

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

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

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

Solution (Python):
line = input()
num = [int(n) for n in line.split()][0]
predicted_value = "NO"
if num in [3, 5, 7]:
    predicted_value = "YES"
print(predicted_value)

Solution (Python):
''' Versao V judge'''
line = input()
num = [int(n) for n in line.split()][0]
predicted_value = "NO"
if num in [3, 5, 7]:
    predicted_value = "YES"
print(predicted_value)

Solution (Python):
x = int(input())

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

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

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

Solution (Python):
x = int(input())

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

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

Solution (Python):
X=int(input())

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

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

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

Solution (Python):
sinchi = [7, 5, 3]
ano = int(input())
if ano in sinchi:
    print("YES")
else:
    print("NO")

Solution (Python):
age = int(input())

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

Solution (Python):
idade = int(input())

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

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

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

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

Solution (Python):
n = int(input())

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

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

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

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

Solution (Python):
N = int(input())

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

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

Solution (Python):
X = int(input())

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

Solution (Python):
def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**7)
    from collections import Counter, deque
    
    from itertools import combinations, permutations, accumulate, groupby
    
    from bisect import bisect_left,bisect_right
    from heapq import heapify, heappop, heappush
    from math import floor, ceil
    

    
    

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

if __name__ == '__main__':
    main()

Solution (Python):
X = input()
if X in '753':
    print('YES')
else:
    print('NO')

Solution (Python):
x=int(input())
a=[7,5,3]
if x in a:
    print("YES")
else:
    print("NO")

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

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

Solution (Python):
X=int(input())
def age(X):
 if X==3 or X==5 or X==7:
   return 'YES'
     
 else:
   return 'NO'
 
print(age(X))

Solution (Python):

x = int(input())

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

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

Solution (Python):
print("YES" if input() in "357" else "NO")

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

Solution (Python):
import sys, math
from itertools import permutations, combinations
from collections import defaultdict, Counter, deque
from math import factorial
from bisect import bisect_left 

sys.setrecursionlimit(10**7)
enu = enumerate
MOD = 10**9+7
def input(): return sys.stdin.readline()[:-1]
def pri(x): print('\n'.join(map(str, x)))

N = int(input())

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

Solution (Python):
X = int(input())
if 105 % X == 0 and X != 1: print("YES")
else:print("NO")

Solution (Python):

X = int(input())
if X in {3,5,7}:
    print("YES")
else:
    print("NO")

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

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

Solution (Python):


import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))

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

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


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

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

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

Solution (Python):
MOD = 10 ** 9 + 7
INF = 10 ** 10
import sys
sys.setrecursionlimit(100000000)
dy = (-1,0,1,0)
dx = (0,1,0,-1)

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

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

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

Solution (Python):
X=int(input())

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

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

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

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

Solution (Python):
from collections import deque
from collections import Counter
from itertools import product, permutations,combinations
from operator import itemgetter
from heapq import heappop, heappush
from bisect import bisect_left, bisect_right, bisect




from fractions import gcd
from math import ceil,floor, sqrt, cos, sin, pi, factorial
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10**8)
INF = float('inf')
from datetime import datetime as dt

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

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

Solution (Python):

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

Solution (Python):
x = int(input())

if [3, 5, 7].count(x) > 0:
  print('YES')
else:
  print('NO')

Solution (Python):
def main():
  n = int(input())
  
  
  
  
  
  
  
  ans = 0
  count = 0
  lis = []
  
  if n == 7 or n == 5 or n == 3:
    print("YES")
  else:
    print("NO")

if __name__ == '__main__':
  main()

Solution (Python):
x = int(input())

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

Solution (Python):
import itertools
import fractions
def main():
  x = int(input())
  if x == 7 or x == 5 or x == 3:
    print("YES")
  else:
    print("NO")
if __name__ == '__main__':
  main()

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

Solution (Python):
X = int(input())

CELE=[3,5,7]

if X in CELE:
    print('YES')
else:
    print('NO')

Solution (Python):
x = int(input())
y = [3,5,7]
print("YES" if x in y else "NO")

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

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

Solution (Python):
import sys

u = set('753')
x = sys.stdin.readline().rstrip()

def main():
    ans = 'YES' if x in u else 'NO'
    print(ans)

if __name__ ==  '__main__':
    main()

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

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

Solution (Python):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    s =int(input())

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

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

Solution (Python):
n = input()
if "3" in n:
    print("YES")
elif "5" in n:
    print("YES")
elif "7" in n:
    print("YES")
else:
    print("NO")

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

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

Solution (Python):
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
x=ii()

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

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

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

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

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

Solution (Python):


X = int(input())

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

Solution (Python):
X = int(input())

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

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

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

Solution (Python):
X = int(input())

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

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

Solution (Python):
import sys
from bisect import *
from heapq import *
from collections import *
from itertools import *
from functools import *
from math import *
from fractions import *

sys.setrecursionlimit(100000000)
input = lambda: sys.stdin.readline().rstrip()

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

main()

Solution (Python):
import sys
import os

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    N = iss()
    print('YES' if N in '753' else 'NO')



if __name__ == '__main__':
    main()

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

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

Solution (Python):
X = int(input())

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

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

Solution (Python):
X = int(input())

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

Solution (Python):
def main():
    from builtins import int, str, map, list, dict, float, print, len, sorted, max, min
    from itertools import accumulate, permutations, combinations
    from collections import deque, defaultdict, Counter
    from operator import itemgetter
    from bisect import bisect_left, bisect_right, bisect
    from heapq import heappop, heappush
    from fractions import gcd
    import sys, re, math, copy
    sys.setrecursionlimit(10 ** 6)

    input = sys.stdin.readline
    input_list = (lambda: input().rstrip().split())
    input_number = (lambda: int(input()))
    input_number_list = (lambda: list(map(int, input_list())))

    N = input_number()
    print('YNEOS'[not N in [3,5,7]::2])


if __name__ == '__main__':
    main()

Solution (Python):
X = int(input())

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

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

Solution (Python):
X=input()
if X in '753':
  print('YES')
else:
  print('NO')

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

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

Solution (Python):

N = int(input().strip())
print('YES' if N == 3 or N == 5 or N == 7 else 'NO')

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

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

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

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

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

Solution (Python):
X=int(input())

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

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

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

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

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

Solution (Python):
X = int(input())

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

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

Solution (Python):
x=input()

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

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

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

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

Solution (Python):
X=int(input())

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

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

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

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

Solution (Python):

x = int(input())

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

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

Solution (Python):
x = int(input())

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

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

Solution (Python):
print("YES" if input() in "357" else "NO")

Solution (Python):
n=int(input())
if(3<=n<=7 and n%2==1):print("YES")
else: print("NO")

Solution (Python):
x = int(input())
l = [3,5,7]

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

Solution (Python):
X = int(input())

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

Solution (Python):
x = int(input())

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

Solution (Python):

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

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

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


if __name__ == "__main__":
    main()

Solution (Python):
x = int(input())

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

Solution (Python):
x=input()
print(["NO","YES"][x in "357"])

Solution (Python):
X = int(input())

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

Solution (Python):

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

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

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

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

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

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

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

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

Solution (Python):
print('YNEOS'[input()not in'357'::2])

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

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

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

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

Solution (Python):
a=input()
if a in "753":
    print("YES")
else:
    print("NO")

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

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

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

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

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

Solution (Python):

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

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

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

Solution (Python):
n = int(input())
if n in (7, 5, 3):
    print('YES')
else:
    print('NO')

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

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

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

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

Solution (Python):
x = int(input())

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

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

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

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

Solution (Python):
x = int(input())
cel = [7, 5, 3]
if x in cel:
    print("YES")
else:
    print("NO")

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

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

Solution (Python):
X = int(input())

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

Solution (Python):
x = int(input())

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

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

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

Solution (Python):
x = int(input())

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

Solution (Python):
def main():
    x = int(input())
    answer = "NO"
    if x in [7,5,3]:
        answer = "YES"
    print(answer)

if __name__ == '__main__':
    main()

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

Solution (Python):


X = int(input().strip())

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

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

Solution (Python):
n=int(input())

check = [3,5,7]

if n in check:
    print('YES')
else:
    print('NO')

Solution (Python):
print('YES' if input() in '357' else 'NO')

Solution (Python):
x = int(input())

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

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

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

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

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

Solution (Python):
print("YES" if input() in "753" else "NO")

Solution (Python):
x = int(input())

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

Solution (Python):
X = int(input())

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

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

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

Solution (Python):

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

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

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

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

Solution (Python):
x = int(input())

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

Solution (Python):
if input() in "357":
  print("YES")
else:
  print("NO")

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

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

Solution (Python):
X = input()

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

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

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

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

Solution (Python):
X = int(input())

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

Solution (Python):
x=int(input())

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

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

Solution (Python):
print('YES' if int(input())in{3,5,7} else 'NO')

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

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

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

Solution (Python):
X = int(input())

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

Solution (Python):
X = int(input())

if X % 2 == 1 and 3 <= X <= 7:
  print('YES')
else:
  print('NO')

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

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

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

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

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

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

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

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

Solution (Python):
x=int(input())
for i in '753':
    if x==int(i):
        print('YES')
        exit()

print('NO')

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

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