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

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

if len({7,5,3} & {s}) > 0:
    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 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):
n=input()
print("YES" if n in "753" else "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 in [3, 5, 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):
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(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):
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):
age = int(input())
l = [7, 5, 3]

print("YES" if age in l else "NO")

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

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

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

if __name__ == "__main__":
    main()

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

import sys

YES = "YES"  
NO = "NO"  

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

    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    solve(X)

if __name__ == '__main__':
    main()

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

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

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

print(ans)

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

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,5,7) else 'NO')

Solution (Python):
from __future__ import print_function
import numpy as np
import sys
import math,string,itertools,fractions,heapq,collections,re,array,bisect,copy,functools


import random

def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)

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

Solution (Python):
import sys


def input():
    return sys.stdin.readline()[:-1]








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

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

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

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

Solution (Python):
X=[3,5,7]
print("YES" if int(input()) in X 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):
X = int(input())
if X == 3 or X == 5 or X == 7:
    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):
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):
if __name__ == '__main__':
    X = int(input())

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

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

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

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

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

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

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

celebration = (7, 5, 3)

if x in celebration:
    print('YES')
else:
    print('NO')

Solution (Python):
X = int(input())
print('YES' if [3,5,7].count(X) > 0 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())
a = set([3,5,7])

if X in a:
    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):
import sys
import itertools
input = sys.stdin.readline

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

Solution (Python):
X = int(input())
if 3 <= X <= 7 and X%2 == 1:
  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):
D = int(input())

if D == 7 or D == 5 or D == 3:
    print('YES')
    exit(0)
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 ==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):
n=int(input())
print('YES') if (n==3 or n==5 or n==7) 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 [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 = int(input())
if x in [7, 5, 3]:
    print("YES")
else:
    print("NO")

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

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

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

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

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

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

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

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

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

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

Solution (Python):

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

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

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

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

Solution (Python):

import sys
from math import *
from itertools import *
from collections import *
from functools import *
try:
    from math import gcd
except Exception:
    from fractions import gcd

YES = "YES"  
NO = "NO"  

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


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    result = solve(X)
    print(result)

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

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

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

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

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

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




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

Solution (Python):
L = [3,5,7]
X = int(input())
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())
l=[3,5,7]
print("YES" if x in l else "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 "753".count(input())>=1 else "NO")

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

Solution (Python):
X = input()
print('YES' if X in '753' 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())
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):
import sys

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

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

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

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

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

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

Solution (Python):
import functools
import math

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


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


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


if inp() in [7, 5, 3]:
    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())
l = [7,5,3]
ans = "NO"
for i in l:
    if x == i:
        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):
X = int(input())
print('YES') if X==3 or X==5 or X==7 else print('NO')

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

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

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

print('YES' if x 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())
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())

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

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

target = [7,5,3]

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

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

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

if age == 7 or age == 5 or age == 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 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):
a = ["7","5","3"]
old = input()
res = "NO"
if old in a:
  res = "YES"
print(res)

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

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

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

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

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

s = {7,5,3}

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

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

Solution (Python):
print(["YES", "NO"][not(input() in "753")])

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

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

Solution (Python):

import sys
INF = float("inf")


def yes():
    print("YES")  


def no():
    print("NO")  


def solve(X: int):
    if X == 3 or X == 5 or X == 7:
        yes()
    else:
        no()
    return


def main():

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    solve(X)


if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

Solution (Python):
a=int(input())
print("YES" if a%2!=0 and a!=1 and a!=9 else "NO")

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

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

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

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

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

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

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

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

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

Solution (Python):
def is_753(X):
    if X == 7 or X == 5 or X == 3:
        return True
    else:
        return False

X = int(input())
if is_753(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):
x = int(input())
y = list([3,5,7])

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

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

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

if n 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 == 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) | (x==5) | (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):
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):

num = int(input())

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

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

elif num == 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

YES = "YES"  
NO = "NO"  

def solve(x: int):
    if x == 7 or x == 5 or x == 3:
        ret = YES
    else:
        ret = NO
    print(ret)
    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    solve(X)

if __name__ == '__main__':
    main()

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:
    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())
print('YES' if X 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):
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 int(input()) 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 in "753" else "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):
print('NYOE S'[input()in'357'::2])