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

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

Submission status: Accepted

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

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

print ans

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=int(input())
if s==7 or s==5 or s==3:
    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:
#2019/09/24
X = input()
list_753 = ["3", "5", "7"]
if (X in list_753):
    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:
  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())
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:
print(" YNEOS"[input() in "753"::2])

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def MAP(): return list(map(int,input().split()))
def INT(): return int(input())
def FLOAT(): return float(input())
MOD = 10**9+7

l = [3,5,7]
if INT() 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=input()
print('YES' if x in '357' else 'NO')

Submission status: Accepted

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    

X=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('NYOE S'[input()in'357'::2])

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#114a
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"NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = int(input())

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

print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

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

Submission status: Accepted

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

Submission status: Accepted

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

else:
    print('NO')

Submission status: Accepted

Solution code:
z=int(input())
print("YES" if z==7 or z==5 or z==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:
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('YNEOS'[x not in [3,5,7]::2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
r = int(input())
if r == 7 or r == 5 or r == 3:
    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:
D = int(input())
if D == 7 or D == 5 or D == 3:
    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:
#114 A
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:
print("YES" if int(input())%7%5%3==0 else "NO")

Submission status: Accepted

Solution code:
import sys
from collections import deque
stdin = sys.stdin

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

list = ["7", "5", "3"]
if input() in list:
  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:
def main():
    X = int(input())

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


main()

Submission status: Accepted

Solution code:
x = int(input())
if 1 <= x <= 9:
    if x == 3 or x == 5 or x == 7:
        print('YES')
    else:
        print('NO')
else:
    print('hoge!')

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    print(main())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve():
    s = int(input())
    yes = [7, 5, 3]
    return "YES" if s in yes else "NO"


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

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

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())
list = [3,5,7]

if N in list:
  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:
print(" YNEOS"[input()in'357'::2])

Submission status: Accepted

Solution code:
x = input()
if x in ['7', '5', '3']:
  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:
def test():
    year = [3,5,7]
    x = int(input())

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


if __name__ == "__main__":
    test()

Submission status: Accepted

Solution code:
import math

# inputList=[]
# for i in range(6):
#     inputNum = input()
#     inputList.append(inputNum)
inputa = input().split()
# inputb = input().split()

a = int(inputa[0])
# b = int(inputa[1])
# c = int(inputa[2])

# x = int(inputb[0])
# y = int(inputb[1])

list = [7, 5, 3]

flg = 0
for i in range (len(list)):
    if a == list[i]:
        flg = 1

if flg == 0:
    print("NO")
else:
    print("YES")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import sys
import itertools
import queue
from fractions import gcd

def lcm(a, b):
    return a * b // gcd(a, b)

def combination(n, r):
    return factorial(n) // (factorial(n - r) * factorial(r))

sys.setrecursionlimit(10000)

mod = 1000000007

"""
# 0埋め, 小数点出力桁指定時のときの出力
a = 100
b = 0.987654321
print("{0:06d}-{1:6f}".format(a,b))
000100-0.987654

# 文字列をリストに格納
char_list = list("abcd") # ["a","b","c","d"]

# 標準入力取得
## 文字列
    = sys.stdin.readline().rstrip()
    = list(sys.stdin.readline().rstrip())

## 数値
    = int(sys.stdin.readline())
    = map(int, sys.stdin.readline().split())
    = list(map(int, sys.stdin.readline().split()))
    = [list(map(int,list(sys.stdin.readline().split()))) for i in range(h)]  # 二次元配列入力　二次元マップみたいな入力のとき
"""

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
old = int(input())
if old == 7 or old ==5 or old ==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 == 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:
#年齢が入力される
#7or5or3ならYES
#そうでないならNO

age = input()
age = int(age)

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

Submission status: Accepted

Solution code:
#1256

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

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

Submission status: Accepted

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

r1 = "NO"
if n1 == 7 or n1 == 5 or n1 == 3:
    r1 = "YES"

print(r1)

Submission status: Accepted

Solution code:
x=int(input())
if x % 2 != 0:
  if x == 1 or x==9:
    print('NO')
  else:
    print('YES')
else:
  print('NO')

Submission status: Accepted

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

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


if __name__ == '__main__' :
    main()

Submission status: Accepted

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

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


if __name__ == '__main__' :
    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())
l =[3,5,7]
if N in l:
    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:
#ABC115
n = int(input())
happy = [3,5,7]
if n in happy:
  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:
#114 753

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

print(ans)

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

Submission status: Accepted

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

if X in c:
  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()
X = int(X)

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print("YES") if(int(input())in[7,5,3])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:
    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:
# coding: utf-8
# Your code here!

X = int(input())

# print(X)

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    main41()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

x=input()
print("NO" if "735".find(x) == -1 else "YES")

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
import sys
from collections import deque

sys.setrecursionlimit(4100000)


def inputs(num_of_input):
    ins = [input() for i in range(num_of_input)]
    return ins


def solve(inputs):
    X = int(inputs[0])
    if X == 3 or X == 5 or X == 7:
        return "YES"
    return "NO"


def string_to_int(string):
    return list(map(int, string.split()))


if __name__ == "__main__":
    ret = solve(inputs(1))
    print(ret)

Submission status: Accepted

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

Submission status: Accepted

Solution code:

def main():

    N = int(input())

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


if __name__== "__main__":
    main()

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

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

Submission status: Accepted

Solution code:
x=int(input())
res='NO'
if x==7 or x==5 or x==3:
	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:
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())

y = [3,5,7]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a= int(input());print('YNEOS'[a not in[3,5,7]::2])

Submission status: Accepted

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

Submission status: Accepted

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


main()

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

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 python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
import itertools
sys.setrecursionlimit(10**5)
stdin = sys.stdin
bisect_left = bisect.bisect_left
bisect_right = bisect.bisect_right
def LI(): return list(map(int, stdin.readline().split()))
def LF(): return list(map(float, stdin.readline().split()))
def LI_(): return list(map(lambda x: int(x)-1, stdin.readline().split()))
def II(): return int(stdin.readline())
def IF(): return float(stdin.readline())
def LS(): return list(map(list, stdin.readline().split()))
def S(): return list(stdin.readline().rstrip())
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float('INF')

#A
def A():
    n = II()
    a = [7,5,3]
    if n in a:
        print("YES")
    else:
        print("NO")
    return

#B
def B():
    return

#C
def C():
    return

#D
def D():
    return

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == '__main__':
    A()

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