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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

s = {7,5,3}

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
INF = float("inf")


def yes():
    print("YES")  # type: str


def no():
    print("NO")  # type: str


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


def main():

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

if age==7 or age==5 or age==3:
    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:
bit = [3,5,7]
X = int(input())
if(X in bit):
    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:
print("YES" if 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:
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=input()
print("YES" if X 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:
lst = [7, 5, 3]
X = int(raw_input())
if X in lst: 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()
X = int(X)
if X == 3 or X == 5 or X == 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:
a=int(input())
print("YES" if a%2!=0 and a!=1 and a!=9 else "NO")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
year=int(input())
if year==3:
    print("YES")
elif year==5:
    print("YES")
elif year==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:
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 == 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 == 3 or X == 5 or X == 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 == 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=input()
if x in"753":
  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:
# -*- 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 = int(input())
print('YES' if X in [7, 5, 3] 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:
def is_753(X):
    if X == 7 or X == 5 or X == 3:
        return True
    else:
        return False

X = int(input())
if is_753(X):
    print("YES")
else:
    print("NO")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

num = int(input())

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

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

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

else:
    print("NO")

Submission status: Accepted

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

YES = "YES"  # type: str
NO = "NO"  # type: str

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


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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
X = int(input())

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

print(ans)

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
X = int(input())
print('YES') if X == 3 or X == 7 or X == 5 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:
#!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
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007

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

#B
def B():
    return

#C
def C():
    n = list(map(int,S()))
    l = len(n)
    dp = [[[0 for k in range(16)] for j in range(2)] for i in range(l+1)]
    dp[0][0][0] = 1
    for i in range(l):
        for j in range(2):
            for k in range(9):
                x = 9 if j else n[i]
                for d in range(x+1):
                    if d == 3:
                        f = 1
                    elif d == 5:
                        f = 2
                    elif d == 7:
                        f = 4
                    else:
                        if k == 0 and d == 0:
                            f = 0
                        else:
                            f = 8
                    dp[i+1][j or d < n[i]][k|f] += dp[i][j][k]
    ans = 0
    for i in range(2):
        ans += dp[l][i][7]
    print(ans)
#D
def D():
    def factorial(n):
        if n <= 3:
            return [n]
        l = []
        i = 2
        m = n
        while i**2 <= n:
            while m%i == 0:
                l.append(i)
                m //= i
            i += 1
        if m != 1:
            l.append(m)
        return l

    n = I()
    d = defaultdict(int)
    for i in range(2,n+1):
        l = factorial(i)
        for j in l:
            d[j] += 1
    a3 = 0
    a5 = 0
    a15 = 0
    a25 = 0
    a75 = 0
    for i in d.keys():
        if d[i] >= 74:
            a75 += 1
        if d[i] >= 24:
            a25 += 1
        if d[i] >= 14:
            a15 += 1
        if d[i] >= 4:
            a5 += 1
        if d[i] >= 2:
            a3 += 1
    ans = a75+(a3-1)*a25+(a5-1)*a15+(a3-2)*a5*(a5-1)//2
    print(ans)
#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:
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==3 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())

celebration = [7, 5, 3]

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8-*-
if __name__ == '__main__':
    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:
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 "357":
  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=='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())

def main():
    if X in {7, 5, 3}:
        return 'YES'
    else:
        return 'NO'

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

Submission status: Accepted

Solution code:
year = int(input())
if year == 3 or year == 5 or year == 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:
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())
ans = "NO"
if x in [7, 5, 3]:
  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:
from sys import exit
# A,B,C = [int(n) for n in input().split()]
N = int(input())
# a = [int(input()) for _ in range(N)]
# S = str(input())
# L = len(S)
# T = str(input())
# exit()
if( N in [7,5,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:
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 ['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:
age = int(input())
print('YES' if age == 3 or age == 5 or age == 7 else 'NO')

Submission status: Accepted

Solution code:
X = input()

try:
  X = int(X)
except:
  X = -1
  
if X in (3, 5, 7):
  print("YES")
else:
  print("NO")

Submission status: Accepted

Solution code:
lis = [3,5,7]
n = int(input())
if n in lis:
  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())
L = [3, 5, 7]
if X in L:
    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(raw_input())

if x in (3,5,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())
 
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 == 3 or N == 5 or N == 7 else "NO")

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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 in (3,5,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=int(input())
print("YES" if a==7 or a==5 or a==3 else "NO")

Submission status: Accepted

Solution code:
if int(input()) 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:
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:
A=["7","5","3"]
if input() in A :
  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:
a=int(input())

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

else:
  print("NO")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
D = int(input())
if D ==3:
    print('YES')
elif D ==5:
    print('YES')
elif D ==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==3 or x==5 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:
# coding: utf-8
N = int(input())
print(['NO', 'YES'][N in [3, 5, 7]])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input();print("NO") if a!="5" and a!="3" and a!="7" else print("YES")

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())
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:
#!/usr/bin/env python3
import sys

YES = "YES"  # type: str
NO = "NO"  # type: str


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


# Generated by 1.1.3 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  # type: int
    solve(X)

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

Submission status: Accepted

Solution code:
x = int(input()) #intを忘れない
if x == 7 or x == 5 or x == 3: #1行で書ける
  print('YES')
else:
  print('NO')

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
X, = (int(x) for x in input().split())

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

Submission status: Accepted

Solution code:
def q753(X: int) -> bool:
    return X == 7 or X == 5 or X == 3


if __name__ == "__main__":
    X = int(input())
    ans = q753(X)
    print('YES' if ans else 'NO')

Submission status: Accepted

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

ans = X == 3 or X == 5 or X == 7

print("YES" if ans else "NO")
print()

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:
# https://atcoder.jp/contests/abc114/tasks/abc114_a
x = int(input())
print("YES") if x == 7 or x == 5 or x == 3 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==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 in [3,5,7] else "NO")

Submission status: Accepted

Solution code:
ri = lambda: int(input())
rl = lambda: list(map(int,input().split()))
rr = lambda N: [ri() for _ in range(N)]
INF = 10**18

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

Submission status: Accepted

Solution code:
yo = int(input()) 

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
n=int(stdin.readline().rstrip())

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

Submission status: Accepted

Solution code:
x = int(input())

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

Submission status: Accepted

Solution code:
l=[7,5,3]

print('YES' if int(input()) in l 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 in (7, 5, 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:
def solve(string):
    return "YES" if string in "753" else "NO"


if __name__ == '__main__':
    print(solve(input()))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import math
import sys

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

if __name__ == "__main__":
    x = int(sys.stdin.readline().rstrip())
    print(solve(x))

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"[int(input())not in[3,5,7]::2])

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())
x = [3,5,7]
if a in x:
  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:
#cording: utf-8

X = int(input())

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

Submission status: Accepted

Solution code:

# coding: utf-8

# In[3]:


x = int(input())


# In[4]:


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

Submission status: Accepted

Solution code:
#ABC114A-753.py

X = int(input())

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

Submission status: Accepted

Solution code:
import math, string, itertools, fractions, heapq, collections, re,  array, bisect, sys, random, time, copy, functools


sys.setrecursionlimit(10**7)
inf = 10 ** 20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1, 0), (0, 1), (1, 0), (0, -1)]
ddn = [(-1, 0), (-1, 1), (0, 1), (1, 1), (1, 0), (1, -1), (0, -1), (-1, -1)]


def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    X = I()
    if X in [7,5,3]:
        print('YES')
    else:
        print('NO')
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:
X = input()
 
if X in ['3', '5', '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:
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力

n = int(input())
l = (3, 5, 7)
res = n in l

print("YES" if res else "NO")

Submission status: Accepted

Solution code:

def hantei(a):
    if a == 3 or a == 5 or a == 7:
        return "YES"
    else:
        return "NO"

x = int(input())

print(hantei(x))

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

Submission status: Accepted

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

Submission status: Accepted

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