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

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

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

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

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

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

Solution (Python):
def main():
    X = int(input())
    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):
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):
n = int(input())

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

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

ans = "NO"
if X in [3, 5, 7]:
    ans = "YES"

print(ans)

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

message = "NO"
if x == 7 or x == 5 or x == 3:
    message = "YES"

print(message)

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

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

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

Solution (Python):

 
x = int(input())

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

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

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

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

if(n==3 or n==7 or n==5):
    print("YES")
    sys.exit(0)

print("NO")

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

Solution (Python):
s = int(input())
if s is 3 or s is 5 or s is 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 == 3 or a== 5 or a ==7):
    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):

import collections, atexit, math, sys, bisect 

sys.setrecursionlimit(1000000)
def getIntList():
    return list(map(int, input().split()))    

try :
    
    import numpy
    def dprint(*args, **kwargs):
        
        
        print(*args,  file=sys.stderr)
    dprint('debug mode')
except Exception:
    def dprint(*args, **kwargs):
        pass



inId = 0
outId = 0
if inId>0:
    dprint('use input', inId)
    sys.stdin = open('input'+ str(inId) + '.txt', 'r') 
if outId>0:
    dprint('use output', outId)
    sys.stdout = open('stdout'+ str(outId) + '.txt', 'w') 
    atexit.register(lambda :sys.stdout.close())     
    
N, = getIntList()



if N in [3,5,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==3 or x==5 or x==7:
  print("YES")
else:
  print("NO")

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


N = input()

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

else:
    print('NO')

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

Solution (Python):
a = int(input())
print("YES" if a in [7,5,3] else "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:
    print("YES")
elif x == 5:
    print("YES")
elif x == 7:
    print("YES")
else:
    print("NO")

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

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

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

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

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

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

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

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

main()

Solution (Python):

def solve():
    X = int(input())
    if X in (3,5,7):
        return 'YES'
    else:
        return 'NO'    
if __name__ == '__main__':
    print(solve())

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

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

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

main()

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


if __name__ == "__main__":
    main()

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):
n = int(input())
if n == 3 or n == 5 or n==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):
a=int(input())
if a in [3,5,7]:
    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):
a = int(input())

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

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

print(ans)

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

if N == 7 or N == 5 or N == 3:
    S = 'YES'
else:
    S = 'NO'

print(S)

Solution (Python):
import sys
from collections import deque
import copy
import math
def get_read_func(fileobject):
    if fileobject == None :
        return raw_input
    else:
        return fileobject.readline


def main():
    if len(sys.argv) > 1:
        f = open(sys.argv[1])
    else:
        f = None
    read_func = get_read_func(f);
    input_raw = read_func().strip().split()
    [X] = [int(input_raw[0])]
    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:
    ans = 'YES'
else:
    ans = 'NO'

print(ans)

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 == 3 or n == 5 or n == 7:
  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):
a = int(input())
list = [3,5,7]
if a in list:
    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):
def run(a):
    ret = 'NO'
    if a == 5 or a == 3 or a == 7:
        ret = 'YES'
    return ret


def main():
    a = int(input())
    print(run(a))


if __name__ == '__main__':
    main()

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

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

Solution (Python):
X = int(input())
A = [3, 5, 7]
if X in A:
    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):
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):
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())
a=[3,5,7]
if x in a:
    print("YES")
else:
    print("NO")

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

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

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

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

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

Solution (Python):


import sys


input = sys.stdin.readline
INF = float('inf')
MOD = 10 ** 9 + 7


def inpl(): return list(map(int, input().split()))


N = int(input())

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

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

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

Solution (Python):
def getN():
    return int(input())

def getMN():
    a = input().split()
    b = [int(i) for i in a]
    return b[0],b[1]

def getlist():
    a = input().split()
    b = [int(i) for i in a]
    return b

n = getN()
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 - 7) * (X - 5) * (X - 3):
    print('NO')
else:
    print('YES')

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

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

ary = [7, 5, 3]

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

Solution (Python):
def intlist():
    k = [int(i) for i in input().split()]
    return k
def intmat(x):
    k = [[int(i) for i in input().split()] for i in range(x)]
    return k

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

Solution (Python):
import sys


def next_str() -> str:
    result = ""
    while True:
        tmp = sys.stdin.read(1)
        if tmp.strip() != "":
            result += tmp
        elif tmp != '\r':
            break
    return result


def next_int() -> int:
    return int(next_str())


def main() -> None:
    x = next_int()

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

ans = "NO"

if X == 3:
    ans = "YES"
elif X == 5:
    ans = "YES"
elif X == 7:
    ans = "YES"

print(ans)

Solution (Python):

X = int(input())

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

Solution (Python):



 
import sys
import math



 

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


mod=1000000007
 

def nospace(l):
    ans=''.join(str(i) for i in l)
    return ans
 
 
 

t=1
for tt in range(t):
    n=int(input())
    if(n==7 or n==5 or n==3):
        print("YES")
    else:
        print("NO")
    
    
    
    

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

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

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

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

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

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

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

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

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

Solution (Python):
n = int(input())
yes = [3,5,7]
if n in yes:
    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):
from statistics import mean, median,variance,stdev
import sys

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

Solution (Python):
def solve(X):
    return "YES" if X in [3, 5, 7] else "NO"

if __name__ == "__main__":
    print(solve(int(input())))

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

Solution (Python):
if int(input()) 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 = int(input())

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

Solution (Python):
x=int(input())
chk=[7,5,3]
print("YES" if x in chk 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 in [7, 5, 3]:
    print('YES')
else:
    print('NO')

Solution (Python):



def main():
    """Function."""
    x = int(input())

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

Solution (Python):
temp = int(input().rstrip())
if temp == 3 or temp == 5 or temp == 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 == 3 or a == 5 or a == 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):
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):
n=int(input())
if n==3 or n==5 or n==7:
    print("YES")
else:
    print("NO")

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

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

Solution (Python):
import sys
stdin = sys.stdin

sys.setrecursionlimit(10**5)

def li(): return map(int, stdin.readline().split())
def li_(): return map(lambda x: int(x)-1, stdin.readline().split())
def lf(): return map(float, stdin.readline().split())
def ls(): return stdin.readline().split()
def ns(): return stdin.readline().rstrip()
def lc(): return list(ns())
def ni(): return int(stdin.readline())
def nf(): return float(stdin.readline())

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

Solution (Python):
X = int(raw_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):
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())
if X == 3 or X == 5 or X == 7:
    print("YES")
else:
    print("NO")

Solution (Python):

def inpl(): return list(map(int, input().split()))
X = int(input())
if X in [3, 5, 7]:
    print("YES")
else:
    print("NO")

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

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

Solution (Python):
N = int(raw_input())
if N in (3, 5, 7):
  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 = int(input())

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

Solution (Python):
print("YES"*(input() in "357")or"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:
  print('YES')
elif n == 5:
  print('YES')
elif 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):
a = int(input())

if a == 3 or a == 5 or a == 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 [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):
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):
import sys
import math
import collections
import itertools
import array
import inspect


sys.setrecursionlimit(1000000)



def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))



def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v



def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk



def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


def comb(n, r):
    if n - r < r: r = n - r
    if r == 0: return 1
    if r == 1: return n

    numerator = [n - r + k + 1 for k in range(r)]
    denominator = [k + 1 for k in range(r)]

    for p in range(2, r + 1):
        pivot = denominator[p - 1]
        if pivot > 1:
            offset = (n - r) % p
            for k in range(p - 1, r, p):
                numerator[k - offset] /= pivot
                denominator[k] /= pivot

    result = 1
    for k in range(r):
        if numerator[k] > 1:
            result *= int(numerator[k])

    return result

def bisearch(L, target):
    low = 0
    high = len(L) - 1
    
    while low <= high:
        mid = (low + high) // 2
        guess = L[mid]
        if guess == target:
            return True
        elif guess < target:
            low = mid + 1
        elif guess > target:
            high = mid - 1
    if guess != target:
        return False



dp = None


def main():
    N = int(input())

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

main()

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

A()

Solution (Python):
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  

x = ni()

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

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

Solution (Python):

def main():
    buf = input()
    X = int(buf)
    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 == 5 or x == 7 or x == 3:
	print("YES")
else:
	print("NO")

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    n = I()
    if n in [7,5,3]:
        return 'YES'

    return 'NO'


print(main())

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