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

Submission status: Accepted

Solution code:
print("YES") if input() in '357' 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:
takahashi_kun = int(input())

if takahashi_kun == 3:
    print('YES')
elif takahashi_kun == 5:
    print('YES')
elif takahashi_kun == 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:
# -*- coding: utf-8 -*-

N = int(input())

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

Submission status: Accepted

Solution code:
num = input()
if int(num) == 3 or int(num) == 5 or int(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 == 3 or N==5 or N==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())
answer = None
if X == 3:
    answer = True
elif X == 5:
    answer = True
elif X == 7:
    answer = True
else :
    answer = False

if answer == True:
    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:
#入力の取得
x=input()
#取得した文字を数値へ変換
x=int(x)

#条件判定
if x == 3:
  print("YES")
elif x == 5:
  print("YES")
elif x == 7:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
p = ["NO"] * 10
p[7] = p[5] = p[3] = "YES"
print(p[int(input())])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
old = int(input())

if old==3 or old==5 or old==7 :
    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())
SichiGoSan=[3,5,7]
if X in SichiGoSan:
     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:
yo = int(input())
if yo == 3 or yo == 5 or yo == 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 = int(input())
if X in [3, 5, 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')

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

Submission status: Accepted

Solution code:

x = int( input() )

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

Submission status: Accepted

Solution code:
x = int(input())
y = str(x)

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

Submission status: Accepted

Solution code:
y = int(input())

array = [3, 5, 7]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 年齢取得
X = int(input())
res = 'NO'
if X == 3 or X == 5 or X == 7:
    res = 'YES'
print(res)

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

Submission status: Accepted

Solution code:
x=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:
from sys import stdin

a = stdin.readline().rstrip()
a = int(a)
if a == 7 or a == 5 or a == 3:
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

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:
# -*- coding: utf-8 -*-
# 整数の入力
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())

sft = [3,5,7]

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

Submission status: Accepted

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

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:
X = int(input())
iwau = [7,5,3]

if X in iwau:
    print("YES")
else:
    print("NO")

Submission status: Accepted

Solution code:
if input() in '753':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 = input()
x = int(X)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())
print('YES' if X==5 or X==3 or X==7 else '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:
# Title: Shichi-Go-San
# Link: https://abc114.contest.atcoder.jp/tasks/abc114_a

import sys


sys.setrecursionlimit(10 ** 6)

read_single_int = lambda: int(sys.stdin.readline().strip())


def solution(x: int):
    if x == 3 or x == 5 or x == 7:
        return 'YES'
    return 'NO'


def main():
    x = read_single_int()
    print(solution(x))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
 
def main():
    x = int(sys.stdin.readline().strip())
    
    if x == 7 or x == 5 or x == 3:
        print("YES")
    else:
        print("NO")
 
if __name__ == "__main__":
    main()

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

Submission status: Accepted

Solution code:
#-*- coding : utf-8 -*-
X = int(input())
if X == 3 or X == 5 or X == 7:
 	print("YES")
else:
 	print("NO")

Submission status: Accepted

Solution code:
age = int(input())

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

Submission status: Accepted

Solution code:
from statistics import mean, median,variance,stdev
import sys

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

Submission status: Accepted

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


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

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


if __name__ == '__main__':
    main()

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


print(abc114_a())

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

Submission status: Accepted

Solution code:
# coding: utf-8
print(["NO","YES"][input() in "357"])

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

print(["NO", "YES"][N == 3 or N == 7 or N == 5])

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = int(input())
if any([x==3,x==5,x==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:
from sys import stdin
a = [7,3,5]
n = int(stdin.readline())
ans = 'NO'
if n in a:
 ans = "YES"
print ans

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#abc114

x=int(raw_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:
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:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
X = int(input())
def f(n):
  if (n == 3)or(n == 5)or(n == 7):
    return "YES"
  else:
    return "NO"
    
print("{}".format(f(X)))

Submission status: Accepted

Solution code:
n=int(input())
print("YES"if 105%n<1 and n>1 else"NO")

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
x = abs(5-int(input()))

ans = 'NO'
if x<=2 and x%2==0:
    ans = 'YES'
print(ans)

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:

inp = input()

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

Submission status: Accepted

Solution code:
X = input()

x = int(X)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(['NO','YES'][input()in'753'])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
age=int(stdin.readline().rstrip())
if age==7:
  print("YES")
elif age==5:
  print("YES")
elif age==3:
  print("YES")
else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
ss = ["3", "5", "7"]

if s in ss:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
# _*_ coding:utf-8 _*_
#  Atcoder_Beginners_Contest114-A
#  https://beta.atcoder.jp/contests/abc114/tasks/abc114_a


def check_753(s):

	if(s == '7' or s=='5' or s=='3'):
		answer = "YES"
	else:
		answer = "NO"
	return answer


if __name__ == '__main__':
	problemStr=input()
	answerStr=check_753(problemStr)
	print(answerStr)

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# !/usr/bin/env python
# vim: set fileencoding=utf-8 :

"""
#
# Author:   Noname
# URL:      https://github.com/pettan0818
# License:  MIT License
# Created: 日 12/ 2 21:57:23 2018

# Usage
#
"""


if __name__ == '__main__':
    i = int(input())
    if [3,5,7].count(i) >= 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==5 or x==7 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:
n = input()
if n == 3:
    print "YES"
elif n==5:
    print "YES"
elif n==7:
    print "YES"
else:
    print "NO"

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = input()

if (x==5 or x==3 or 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 '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(raw_input())

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

Submission status: Accepted

Solution code:
# Input
x = int(input())

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

# Output
print(ans)

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*
N = int(input())
if N in [7, 5, 3]:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
# coding: utf8

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = int(input())


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

Submission status: Accepted

Solution code:
l = [3, 5, 7]
a = int(input())

if a in l:
  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:
s=[3,5,7]
print("YES"if s.count(int(input()))>0 else"NO")

Submission status: Accepted

Solution code:
a = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

if(X in x):
    print('YES')

else:
    print('NO')

Submission status: Accepted

Solution code:
# vim: set fileencoding=utf-8:


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



if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
a=int(input())
print("YES"if a==3 or a==5 or a==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:
#encoding utf-8

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 == 3 or age == 5:
    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 = 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 (3, 5, 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:
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:
def main():
	import numpy as np
	n = int(input())
	if (n == 7 or n == 5 or n == 3):
		print("YES")
	else:
		print("NO")

main()

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input = int(input())

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

Submission status: Accepted

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

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 = 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:
    print('YES')
elif n==5:
    print('YES')
elif n==7:
    print('YES')
else:
    print('NO')

Submission status: Accepted

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


i = int(input())
if i > 7:
  print("NO")
elif i % 7 == 0:
  print("YES")
elif i > 5:
  print("NO")
elif i % 5 == 0:
  print("YES")
elif i % 3 == 0:
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Sun Dec  2 20:06:38 2018

@author: Owner
"""

import collections
import scipy.misc
import sys
import numpy as np
import math
from operator import itemgetter

def prime_decomposition(n):
  i = 2
  table = []
  while i * i <= n:
    while n % i == 0:
      n /= i
      table.append(int(i))
    i += 1
  if n > 1:
    table.append(int(n))
  return table   

"""
N, X = map(int, input().split())

x = [0]*N
x[:] = map(int, input().split())

P = [0]*M
Y = [0]*M
for m in range(M):
    P[m], Y[m] = map(int, input().split())
"""

X = int(input())

if X == 7:
    print('YES')
    sys.exit()
elif X == 5:
    print('YES')
    sys.exit()
elif X == 3:
    print('YES')
    sys.exit()
else:
    print('NO')

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

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