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

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

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

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

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

Solution (Python):
import sys
import math
import itertools
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7

X = i()
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 (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):
s=int(input());print('YES'*(2<s%2*s<8)or'NO')

Solution (Python):
n = int(input())
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):
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 == 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())
print("YES" if 105%X == 0 and X != 1 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):
N = input()
if N in ['7','5','3']:
    print('YES')
else:
    print('NO')

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

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

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

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

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

    print(ans)

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
x = str(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):
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 [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==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):
def main():
    x = int(input())
    ans = "NO"
    if (x == 7 or x == 5 or x == 3):
        ans = "YES"

    print(ans)

if __name__ == '__main__':
    main()

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

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

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

s = [3,5,7]

if n in s:
    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 in [7,5,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):
def main():
    x = int(input())
    ans = "NO"
    if (x == 7 or x == 5 or x == 3):
        ans = "YES"

    print(ans)


if __name__ == '__main__':
    main()

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

    print(ans)


if __name__ == '__main__':
    main()

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

    print(ans)


if __name__ == '__main__':
    main()

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

    print(ans)


if __name__ == '__main__':
    main()

Solution (Python):

def main():
    x = int(input())
    ans = "NO"
    if (x == 7 or x == 5 or x == 3):
        ans = "YES"

    print(ans)


if __name__ == '__main__':
    main()

Solution (Python):

def main():
    x = int(input())
    ans = "NO"
    if (x == 7 or x == 5 or x == 3):
        ans = "YES"

    print(ans)


if __name__ == '__main__':
    main()

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

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

Solution (Python):

import sys
input = sys.stdin.readline









X = input().rstrip()

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

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

Solution (Python):
a=[7,5,3]
if int(input()) 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):
print("NYOE S"[input()in'357'::2])

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

Solution (Python):
import sys, re
from math import ceil, floor, sqrt, pi, factorial
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left
from functools import reduce

def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_list(N): return [s_list() for _ in range(N)]
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7

def main():
    n = i_input()
    if n == 3 or n == 5 or n == 7:
        YES()
    else:
        NO()

if __name__ == '__main__':
    main()

Solution (Python):
X = input()
if X in '753':
  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 = [3, 5, 7]
if int(input()) in 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):
import sys
def input(): return sys.stdin.readline().strip()


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

stdin = sys.stdin

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


X = ni()

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

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

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


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

Solution (Python):
Ans = [3, 5, 7]
X = int(input())

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

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

    if x in [3, 5, 7]:
        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 math
import fractions
import functools
import copy

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

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

print(solve_A())

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 = 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):
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop, heapify
from itertools import permutations, accumulate, combinations, combinations_with_replacement
from math import sqrt, ceil, floor, factorial
from bisect import bisect_left, bisect_right, insort_left, insort_right
from copy import deepcopy
from operator import itemgetter
from functools import reduce
from fractions import gcd
import sys
def input(): return sys.stdin.readline().rstrip()
def I(): return int(input())
def Is(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def TI(): return tuple(map(int, input().split()))
def IR(n): return [I() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def TIR(n): return [TI() for _ in range(n)]
def S(): return input()
def Ss(): return input().split()
def LS(): return list(input())
def SR(n): return [S() for _ in range(n)]
def SsR(n): return [Ss() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
sys.setrecursionlimit(10**6)
MOD = 10**9+7
INF = 10**18


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

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

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

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

Solution (Python):
x=input()
if x in "357":
  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):
print("NYOE S"[input()in"753"::2])

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


import sys






















def main():
    mod = 1000000007                
    inf = float('inf')              
    
    sys.setrecursionlimit(10**6)    
    def input(): return sys.stdin.readline().rstrip()
    def ii():    return int(input())
    def mi():    return map(int, input().split())
    def mi_0():  return map(lambda x: int(x)-1, input().split())
    def lmi():   return list(map(int, input().split()))
    def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))
    def li():    return list(input())
    
    
    x = ii()
    print('YES') if x == 3 or x == 5 or x == 7 else print('NO')


if __name__ == "__main__":
    main()

Solution (Python):
import sys
import math
import bisect

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

if __name__ == "__main__":
    main()

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

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

Solution (Python):
N = int(input())
gre = [3,5,7]

if (N in gre):
  print("YES")
else:
  print("NO")

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

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

Solution (Python):
x = input()

if x in "753":
    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):
import sys

input = sys.stdin.readline


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

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

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

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

if __name__ == '__main__':

    ABC_114_A()

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):
print("YES" if input() in "357" else "NO")

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

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

print(['NO', 'YES'][[7, 5, 3].count(X)])

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

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

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

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

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

num = abs(X -5)
ans = "NO"
if num == 0 or num == 2:
    ans = "YES"
print(ans)

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

Solution (Python):

import sys


YES = "YES"  
NO = "NO"  


def solve(X: int):
    print(YES if X in {3, 5, 7} 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))  
    solve(X)


if __name__ == '__main__':
    main()

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

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

Solution (Python):
x = int(input())
print('YES') if x==7 or x==5 or x==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):
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):
print('NYOE S'[input()in '753'::2])

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

Solution (Python):
x = int(input())
print('YES' if x == 5 or abs(x-5) == 2 else 'NO')

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

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

Solution (Python):

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

Solution (Python):
y=[3,5,7]
x=int(input())
if x in y:
    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 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):
i = int(input())

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

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

    print(ans)

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

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

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

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

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

def check():
    if N==3 or N==5 or N==7:
        return True
    return False
if check():
    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):
x = int(input())

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

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

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

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

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

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

Solution (Python):


import sys
import math
import time

import collections
from collections import deque
from collections import Counter
import queue
import copy
import bisect
import heapq
import itertools








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

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

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

X = ir()
bl = (3 <= X <= 7) and X&1
print('YES' if bl else 'NO')

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

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

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

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

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

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

Solution (Python):


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


if __name__ == "__main__":
    solve()

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

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

Solution (Python):
def a753(x):

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

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

if __name__ == '__main__':
    main()

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

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