Problem:


Score : 100 points

Problem Statement

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

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

Constraints

1 ≤ X ≤ 9

X is an integer.

Input

Input is given from Standard Input in the following format:

X

Output

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

Sample Input 1

5

Sample Output 1

YES

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

Sample Input 2

6

Sample Output 2

NO

See you next year.



Sample input:
5


Sample output:
YES

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A
N = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def f(X):
        return 'YES' if X in (7, 5, 3) else 'NO'


print(f(int(input())))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc114/tasks/abc114_a

X = int(input())

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

Submission status: Accepted

Solution code:
n, = map(int,input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
# -*- coding utf-8 -*-

X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s={7,5,3}
s.discard(int(input()))
if len(s) == 2:
    print('YES')
else:
    print('NO')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

X = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = input()

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
import sys

def main():
  input = sys.stdin.readline
  n = int(input())
  fes = [7, 5, 3]
  if n in fes:
    print('YES')
  else:
    print('NO')

if __name__ == '__main__':
  main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding:utf-8 -*-

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

if __name__=='__main__':
  main()

Submission status: Accepted

Solution code:
# https://qiita.com/_-_-_-_-_/items/34f933adc7be875e61d0
# abcde	s=input()	s='abcde'
# abcde	s=list(input())	s=['a', 'b', 'c', 'd', 'e']
# 5(1つだけ)	a=int(input())	a=5
# 1 2	x,y = map(int,input().split())	x=1,y=2
# 1 2 3 4 5 ... n 　	li = input().split()	li=['1','2','3',...,'n']
# 1 2 3 4 5 ... n 　	li = list(map(int,input().split()))	li=[1,2,3,4,5,...,n]
# FFFTFTTFF 　	li = input().split('T')	li=['FFF', 'F', '', 'FF']

# 3
# hoge
# foo
# bar
# n=int(input())
# string_list=[input() for i in range(n)]
X=int(input())
if X==7 or X==5 or X==3:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
y = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

s = (3,5,7)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
takahashi = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = input()

if i == 3 or i == 5 or i == 7:
  print "YES"
else:
  print "NO"

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())
list = {3, 5, 7}
if x in list:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


# aとbの最大公約数
def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)


# aとbの最小公倍数
def lcm(a, b):
    g = gcd(a, b)
    return a / g * b


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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np

i = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())
dig = [7,5,3]

if n in dig:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
age = int(input())
shichigosanAges = {3, 5, 7}
print("YES" if age in shichigosanAges else "NO")

Submission status: Accepted

Solution code:
#!/usr/bin/python

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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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



if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
# 753
print('YES' if input() in ('7', '5', '3') else 'NO')

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
year=int(input())
if year%2==1 and year !=1 and year !=9:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
x = input()
a = '753'
if any(x==c for c in a):
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())
flag=0
if (N==7):
  flag=1
if (N==5):
  flag=1
if (N==3):
  flag=1
  
if(flag==1):
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
shichigosan = [7, 5, 3]
X = int(raw_input())

ans = 'NO'

for i in range(0, 3):
	if X == shichigosan[i]: ans = 'YES'

print ans

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
n = int(input());

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
# coding: utf-8

x=int(input())

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# AtCoder Beginner Contest 114：A - 753


def main():
    X = int(raw_input().strip())

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())
print("{}".format("YES" if (n == 3 or n == 5 or n == 7) else "NO"))

Submission status: Accepted

Solution code:
year = int(input())

if year < 1 or 9 < year:
    raise ValueError('Input value must be less than 9 and more than 1')
elif year in [3, 5, 7]:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
[print(["NO" if not [i for i in [int(input())] if i in [3, 5, 7]] else "YES" for i in [None]][0]) for i in [None]]

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n1 = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 753
import sys

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
fetchYear = int(input())


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
  x = input()
  
  if x in ['7', '5', '3']:
  	print('YES')
  	return
  print('NO')
  return
  
if __name__ == '__main__':
  main()

Submission status: Accepted

Solution code:
old = int(input())
if old is 7 or old is 5 or old is 3:
    print("YES")

else:
    print("NO")

Submission status: Accepted

Solution code:
""" Atcoder """

import sys
input = sys.stdin.readline

X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    X = int(input())

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

Submission status: Accepted

Solution code:
x = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Wed Jan  2 15:24:02 2019

@author: Yamazaki Kenichi
"""

X = input()

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

print(ans)

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
x=int(input())
if x==3 or x==5 or x==7:
    print('YES')
if x==1 or x==2 or x==4 or x==6 or x==8 or x==9:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
A - 753

"""
import sys
from sys import stdin
input = stdin.readline


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


def main(args):
    ans = solve()
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(["NO","YES"][input()in"357"])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(" YNEOS"[input()in'357'::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

import sys

def to_be_celebrate(n):
    if n == '3':
        return True
    if n == '5':
        return True
    if n == '7':
        return True
    return False

X = sys.stdin.readline().rstrip()

print('YES' if to_be_celebrate(X) else 'NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=int(input())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print({True:"YES",False:"NO"}[(int(input()) in [7,5,3])])

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
from sys import stdin

s_in = lambda: stdin.readline()[:-1]  # s = s_in()
d_in = lambda: int(stdin.readline())  # N = d_in()
ds_in = lambda: list(map(int, stdin.readline().split()))  # List = ds_in()

X = d_in()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main() -> None:
    v = int(input())
    y = [7, 5, 3]
    o = 'YES' if v in y else 'NO'
    print(o)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
#coding:utf-8
x = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input()) 
if (n%5 == 0 or n%3 == 0 or n%7 ==0) and n%9!=0 and n%6 !=0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
print(['NO', 'YES'][[7, 5, 3].count(int(input()))])

Submission status: Accepted

Solution code:
#753

D = int(input())

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

Submission status: Accepted

Solution code:
x=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())

if (x - 3) * (x - 5) * (x - 7) == 0:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
# A

s = input() # 1行読み込む（文字列）
X = int(s) # 文字列を数字に変換

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8


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

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A

s = input() # 1行読み込む（文字列）
X = int(s) # 文字列を数字に変換

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

Submission status: Accepted

Solution code:
a = input()

cong = ['7', '5', '3']

if a in cong:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

Solution code:
X = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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